Releases: fillup/terraform-aws-hugo-s3-cloudfront
Releases · fillup/terraform-aws-hugo-s3-cloudfront
Adding cors_rule support
New optional variables:
cors_allowed_headers
- List of headers allowed in CORS. Default:[]
cors_allowed_methods
- List of methods allowed in CORS. Default:["GET"]
cors_allowed_origins
- List of origins allowed to make CORS requests. Default:["https://s3.amazonaws.com"]
cors_expose_headers
- List of headers to expose in CORS response. Default:[]
cors_max_age_seconds
- Specifies time in seconds that browser can cache the response for a preflight request. Default:3000
Move routing_rules and viewer_protocol_policy to variables
1.0.3 move routing_rules and viewer_protocol_policy to variables
Change static value to variable
Added variable s3_origin_id
in case you want something other than the default of hugo-s3-origin
.
Fix formatting
1.0.1 terraform format
Initial working release
1.0 add MIT license