bsmsapp/terraform/modules/cloudfront/README.md

2.6 KiB

Requirements

Name Version
terraform >= 1.3.1
aws >= 4.10.0

Providers

Name Version
aws 4.38.0

Modules

No modules.

Resources

Name Type
aws_cloudfront_distribution.this resource
aws_cloudfront_function.this resource

Inputs

Name Description Type Default Required
acm_certificate_arn ACM certificate. string n/a yes
aliases Domain aliases. any n/a yes
code CloudFront function code to run. string n/a yes
default_cache_behavior The default cache behavior for this distribution any n/a yes
default_root_object The object that you want CloudFront to return (for example, index.html) when an end user requests the root URL. string null no
enabled Whether the distribution is enabled to accept end user requests for content. bool true no
origin One or more origins for this distribution. any n/a yes
tags A map of tags to assign to the resource. map(string) {} no
web_acl_id Id or ARN of the AWS WAF web ACL that is associated with the distribution. string n/a yes

Outputs

Name Description
distribution_domain_name The domain name corresponding to the distribution.
distribution_hosted_zone_id The CloudFront Route 53 zone ID that can be used to route an Alias Resource Record Set to.