- Update python dependencies
- Add repo best practices
- Structure terraform files in separate folder
- Add script test cases
- Add repo controls into workflows
- Bump major version due to module reference
- Refactor GitHub Actions and script structure
- Enhancements to GitHub Actions Workflow
- Documentation Updates
- Simplify Contribution Workflow
- Fix GitHub Actions
- Update
version.tf
to support aws provider >= 3.41
-
Update
default_cache_behavior
anddynamic_ordered_cache_behavior
with ability to acceptresponse_headers_policy_id
(UUID) parameter. -
Move from Travis CI to GitHub Actions
- Update to add Cloudfront Function support. PLEASE NOTE: Logging must be enabled for the function to be attached.
- Update
origin_path
variables to default to""
as opposed tonull
. This will solve issue #36
-
Add enhancement to support
cache_policy_id
andorigin_request_policy_id
. When in use, forwarded values cannot be used. You are now able to setuse_forwarded_values
in the cache behavior blocks. -
General Code clean-up
- fix
dynamic_s3_origin_config
variable, to match the configuration ofdynamic_custom_origin_config
. This fixes a bug wherecustom_headers
couldn't be set.
- refactored the
dynamic_custom_error_response
variable, specifying all the fields is not needed anymore
- Updated the module to support AWS Provider 3.0.0, this is now minimum version required
active_trusted_signers
variable has been renamed totrusted_signers
to accomodate the change in the provider- Supports now
TLSv1.2_2019
for SSL in Cloudfront, under theminimum_protocol_version
variable
- fixed a bug that was previously allowing to apply a security policy when no certificate is specified
- default root object now set as null
- Added ability to disable the creation of the resource with variable
create_cf
, defaults totrue
- Adding possibility to add additional tags
- Inside
ordered_cache_behavior
&default_cache_behavior
made these variables optional:compress
,headers
,min_ttl
,max_ttl
,default_ttl
, also madelambda_function_association
optional, now possible not to specify it at all - Inside
lambda_function_association
, made the variableinclude_body
optional - Inside
logging_config
, the variablesinclude_cookies
&prefix
are now optional origin_group
is now optionallogging_config
&default_cache_behavior
are not iterating anymore (as there can be only max one of these configs)- remove
provider.tf
as this should be defined per implementation. Also removedregion
variable as this was only used for the provider. - certificates -
cloudfront_default_certificate
&ssl_support_method
are not required anymore, they default totrue
&sni-only
if a certificate acm or iam is specified, configuration will auto modify them
- Adding in the ability to Test
- Adding ability to bump version
- Files created:
CONTRIBUTING.md
VERSION
bump.py
.travis.yml
- Add all CloudFront outputs
- Made
s3_origin_config
dynamic andorigin_access_identity
optional
- Update the
viewer_certificate
block to includeacme_certificate_arn
andcloudfront_default_certificate
- Update the name of
ssl_certificate
toiam_certificate_id
to align with the resource - Made
iam_certificate_id
optional
- Update to Terraform version 12 syntax
- Add
custom_header
to bothdynamic_custom_origin_config
anddynamic_s3_origin_config
- Update the way origin group members are assigned. Fixes Issue #1
- Remove the dependancy to always have
origin_path
defined - Add
lambda_function_assocation
to all cache behaviors. Fixes Issue #3
- Update to
dynamic_custom_origin_config
variable to includeorigin_path
- Breaking change as you will now need to include this in your variable block
- Fixes Issue #5
- Initial Release
- Supports Terraform Version 12 only