cloudfront
cesarpball/cloudfront/aws
Amazon Cloudfront module for Terraform.
Install
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)
| Name | Type | Description | Default |
|---|---|---|---|
| default_root_object | string | "" | |
| locations | list(string) | The ISO 3166-1-alpha-2 codes for which you want CloudFront either to distribute | [] |
| ordered_cache_behavior_variables | list | [
{
"allowed_methods": [
"GE | |
| waf_web_acl_id | string | The Id of the AWS WAF web ACL that is associated with the distribution. | "" |
| tags | map | A map of tags to add to your cloudfront distribution | {} |
| aliases | list(string) | Extra CNAMEs (alternate domain names), if any, for this distribution. | [] |
| restriction_type | string | "none" | |
| price_class | string | "PriceClass_200" | |
| custom_origin_configs | map | Define values for origin or multiple origins | {
"domain_name": "",
"http_port": "8 |
| role | string | "cf" | |
| enable | string | true | |
| s3_origin_configs | list(map(string)) | Define values for origin or multiple origins | [] |
| default_cache_behavior | map | {
"allowed_methods": [
"GET",
| |
| cloudfront_default_certificate | bool | true | |
| cloudfront_logging_enabled | bool | If true, mandatory values are needed | false |
| logging_config | map | {
"bucket": null,
"include_cookies": | |
| acm_certificate_arn_config | map | {
"acm_certificate_arn": null,
"mini | |
| app_name | string | "" | |
| environment | string | "" | |
| is_ipv6_enabled | string | true |
Outputs (4)
cloudfront_idcloudfront_arncloudfront_domain_namehosted_zone_idResources (1)
Topics & Tags
Details
Similar packages
Azure landing zones Terraform module
Terraform supermodule for the Terraform platform engineering for Azure
Terraform module to deploy landing zone subscriptions (and much more) in Azure
Terraform Module to define a consistent naming convention by (namespace, stage,