aws-s3-bucket
Adaptavist/aws-s3-bucket/module
AWS S3 Website This module creates and configures an S3 bucket for hosting a website. Variables | Name | Type | Required | Default | Description | | --------------- | -------------------------------------- | -------- | ---------- | ------------------------------------- | | domain | string | ✓ | | domain the bucket is hosting for | | index_document | string | | index.html | index object when one isn't specified | | error_document | string | | error.html | error object served | | policy | string | | null | IAM policy attached to the bucket | | routing_rules | string | | null | Routing rules JSON | | logging_enabled | bool | | false | Do you want to enable access logging | | logging_config | object({bucket=string, prefix=string}) | | null | access log configuration | | tags | map(string) | |
| Name | Type | Description | Default |
|---|---|---|---|
| policy | string | IAM policy attached to the bucket | required |
| routing_rules | string | Routing rules JSON | required |
| logging_config | object({ bucket = string | access log configuration | required |
| domain | string | domain | required |
| index_document | string | "index.html" | |
| error_document | string | "error.html" | |
| logging_enabled | bool | Do you want to enable access logging | false |
| tags | map(string) | tags applied to the resources | {} |
website_bucket_idwebsite_bucket_arnwebsite_bucket_namewebsite_bucket_dnslogging_bucket_idlogging_bucket_arnlogging_bucket_name