Name | Version |
---|---|
aws | >= 5.0 |
Name | Version |
---|---|
aws | >= 5.0 |
No modules.
Name | Type |
---|---|
aws_cloudfront_distribution.cloudfront | resource |
aws_route53_record.cloudfront | resource |
aws_s3_object.object | resource |
Name | Description | Type | Default | Required |
---|---|---|---|---|
acm_arn | ACM cert arn | string |
"" |
no |
allowed_methods | Allowed methods | list(any) |
[ |
no |
cache_policy_id | AWS managed cache policy id | string |
"" |
no |
cached_methods | Cached methods | list(any) |
[ |
no |
comment | n/a | string |
" " |
no |
compress | Compress file | bool |
false |
no |
custom_error_response | Custom error response | list(any) |
[] |
no |
default_cache_behaviour_target_origin_id | Target origin ID for default cache behaviour | string |
n/a | yes |
default_cache_forwarded_values | forwarded values for default cache behavior | any |
{} |
no |
default_root_object | Default root object | string |
"index.html" |
no |
default_root_object_content | Content for the default root object | string |
"" |
no |
domain_aliases | domain aliases | list(string) |
null |
no |
enabled | Cloudfront state | bool |
true |
no |
function_association | Function association | list(any) |
[] |
no |
http_version | HTTP version to be allowed | string |
"http2" |
no |
is_ipv6_enabled | ipv6 status | bool |
false |
no |
lambda_function_association | Lambda edge association | list(any) |
[] |
no |
logging_config | Cloudfront logging config | map(any) |
{} |
no |
ordered_cache_behavior | List of ordered cache behaviour | any |
[] |
no |
origin | Origin configuration | any |
n/a | yes |
origin_request_policy_id | Unique identifier of the origin request policy that is attached to the behavior | string |
"" |
no |
put_default_root_object | flag for default s3 object on index.html | bool |
false |
no |
route53_zone_id | Route53 zone id | string |
"" |
no |
s3_bucket_name | s3 bucket name for flag | string |
"" |
no |
ttl_values | map of ttl variables | map(any) |
{} |
no |
viewer_protocol_policy | the protocol that users can use to access the files in the origin, valid values are allow-all, https-only, or redirect-to-https. | string |
"redirect-to-https" |
no |
web_acl_id | WAF web ACL id | string |
"" |
no |
Name | Description |
---|---|
aliases | n/a |
arn | n/a |
domain_name | n/a |
hosted_zone_id | n/a |
id | n/a |
Apache 2 Licensed. See LICENSE for full details.