cloudfront

DTherHtun/cloudfront/aws

Terraform Module HCL AWS ⏱ stale 5y 3mo

Terraform module which creates Amazon Cloudfront Distribution

Install

module "cloudfront" {
source = "DTherHtun/cloudfront/aws"
version = "0.1.1"
}
⭐ Source on GitHub 📦 Registry page

README

terraform-aws-cloudfront Requirements | Name | Version | |------|---------| | terraform | >= 0.12.24 | | aws | >= v2.70.0 | Providers | Name | Version | |------|---------| | aws | >= v2.70.0 | Inputs | Name | Description | Type | Default | Required | |------|-------------|------|---------|:--------:| | acm\_cert\_arn | n/a | string | n/a | yes | | aliases | n/a | list(string) | n/a | yes | | allowed\_methods | n/a | list(string) | [ "DELETE", "GET", "HEAD", "OPTIONS", "PATCH", "POST", "PUT" ] | no | | bucket\_regional\_domain\_name | n/a | string | n/a | yes | | cached\_methods | n/a | list(string) | [ "GET", "HEAD" ] | no | | cf\_access\_identity\_path | n/a | string | "" | no | | cf\_default\_cert | n/a | bool | true | no | | compress | n/a | bool | true | no | | default\_ttl | n/a | num

Inputs (20)

NameTypeDescriptionDefault
acm_cert_arnstring required
aliaseslist(string) required
bucket_regional_domain_namestring required
allowed_methodslist(string)[ "DELETE", "GET", "HEAD", "OPTI
compressbooltrue
max_ttlnumber86400
ssl_protocol_versionstring"TLSv1.2_2019"
cf_access_identity_pathstring""
viewer_protocol_policystring"allow-all"
default_ttlnumber3600
price_classstring"PriceClass_All"
cf_default_certbooltrue
ssl_methodstring"sni-only"
enabledbooltrue
ipv6_enabledboolfalse
environmentstring"production"
min_ttlnumber0
restrict_typestring"none"
restrict_locationslist(string)[]
cached_methodslist(string)[ "GET", "HEAD" ]

Outputs (3)

cf_domain_name — Domain name corresponding to the distribution
cf_arn — ARN of AWS CloudFront distribution
cf_aliases — Extra CNAMEs of AWS CloudFront

Resources (1)

aws_cloudfront_distribution

Details

FrameworkTerraform Module
LanguageHCL
Version0.1.1
Cloud AWS
★ Stars0
Forks0
Total downloads6.1k
Inputs20
Outputs3
Resources1
LicenseApache-2.0
NamespaceDTherHtun
Updated