cloudfront

cesarpball/cloudfront/aws

Terraform Module HCL AWS

Amazon Cloudfront module for Terraform.

Install
module "cloudfront" {
source = "cesarpball/cloudfront/aws"
version = "3.0.0"
}
plain text: /constructs/tfmod-cesarpball-cloudfront-aws/install.txt
⭐ Source on GitHub 📦 Registry page
README

Cloudfront module ========================== Create Cloudfront distributions using multiple origins (S3 or ALB) and dynamic behaviour - v3.0.0 -> Terraform version 0.13 - v2.0.0 -> Terraform version 0.12 Variables --------- - environment: Optional. To create an cloudfront name and using in the locals origin_id - app_name: Optional. To create an cloudfront name and using in the locals origin_id - role: Optional. To create an cloudfront name and using in the locals origin_id - enable: Mandatory. Boolean to enable the Cloudfront distribution or not. Defaults true - is_ipv6_enabled: Optional. Boolean to enable IPv6. Defaults true - comment: Optional. Description of your comment for your CloudFront - default_root_object: Optional. Root index object. Defaults empty - aliases: Optional. Extra CNA

Inputs (21)
NameTypeDescriptionDefault
default_root_objectstring""
locationslist(string)The ISO 3166-1-alpha-2 codes for which you want CloudFront either to distribute []
ordered_cache_behavior_variableslist[ { "allowed_methods": [ "GE
waf_web_acl_idstringThe Id of the AWS WAF web ACL that is associated with the distribution. ""
tagsmapA map of tags to add to your cloudfront distribution{}
aliaseslist(string)Extra CNAMEs (alternate domain names), if any, for this distribution.[]
restriction_typestring"none"
price_classstring"PriceClass_200"
custom_origin_configsmapDefine values for origin or multiple origins{ "domain_name": "", "http_port": "8
rolestring"cf"
enablestringtrue
s3_origin_configslist(map(string))Define values for origin or multiple origins[]
default_cache_behaviormap{ "allowed_methods": [ "GET",
cloudfront_default_certificatebooltrue
cloudfront_logging_enabledboolIf true, mandatory values are neededfalse
logging_configmap{ "bucket": null, "include_cookies":
acm_certificate_arn_configmap{ "acm_certificate_arn": null, "mini
app_namestring""
environmentstring""
is_ipv6_enabledstringtrue
Outputs (4)
cloudfront_id
cloudfront_arn
cloudfront_domain_name
hosted_zone_id
Resources (1)
aws_cloudfront_distribution
Details
FrameworkTerraform Module
LanguageHCL
Version3.0.0
Cloud AWS
★ Stars4
Forks4
Total downloads6.7k
Inputs21
Outputs4
Resources1
Namespacecesarpball
Updated