terraform-aws-modules/cloudfront
Terraform module to create AWS CloudFront resources.
About
Terraform module to create AWS CloudFront resources.
Maintained by terraform-aws-modules on the Terraform Registry. Latest version 6.7.1, 35.8M downloads. Requires providers: aws >= 6.46.
Deploy creates a StackGuardian workflow from the module's GitHub repository, pinned to this version. You set the inputs, see the plan, then approve the apply.
Use cases
- Load balancers, certificates and DNS wired up in one reviewed change.
- Edge protection applied the same way on every public endpoint.
- Security groups and firewall rules with an owner and a reason.
Inputs
Required inputs:
default_cache_behavior— object
41 inputs, 22 outputs in total. The full list, with defaults and descriptions, is on the registry page.
What it creates
aws_cloudfront_distributionaws_cloudfront_origin_access_controlaws_cloudfront_cache_policyaws_cloudfront_origin_request_policyaws_cloudfront_response_headers_policyaws_cloudfront_functionaws_cloudfront_vpc_originaws_cloudwatch_log_delivery
How it runs on StackGuardian
Terraform workflow from the module's GitHub repository: plan, policy check, approval, then apply.
Approvals happen in StackGuardian. An agent can never approve its own run. Every run keeps its plan, policy results and approver in the audit log.