You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| alarm\_cloudfront\_500\_errors\_threshold | Cloudfront 500 Errors rate threshold (use 0 to disable this alarm) |`number`|`5`| no |
54
55
| alarm\_prefix | String prefix for cloudwatch alarms. (Optional) |`string`|`"alarm"`| no |
55
-
| alarm\_sns\_topics\_us | Alarm topics to create and alert on metrics on US region |`list`|`[]`| no |
56
-
| alb\_cloudfront\_key | Key generated by terraform-aws-ecs module to allow ALB connection from CloudFront |`any`| n/a | yes |
57
-
| alb\_dns\_name | ALB DNS Name that CloudFront will point as origin |`any`| n/a | yes |
58
-
| certificate\_arn | Certificate for this app to use in CloudFront (US), must cover `hostname`. |`any`| n/a | yes |
59
-
| cloudfront\_forward\_headers | Headers to forward to origin from CloudFront |`list`| <pre>[<br> "*"<br>]</pre> | no |
56
+
| alarm\_sns\_topics\_us | Alarm topics to create and alert on metrics on US region |`list(string)`|`[]`| no |
57
+
| alb\_cloudfront\_key | Key generated by terraform-aws-ecs module to allow ALB connection from CloudFront |`string`| n/a | yes |
58
+
| alb\_dns\_name | ALB DNS Name that CloudFront will point as origin |`string`| n/a | yes |
59
+
| certificate\_arn | Certificate for this app to use in CloudFront (US), must cover `hostname`. |`string`| n/a | yes |
60
+
| cloudfront\_forward\_headers | Headers to forward to origin from CloudFront |`list(string)`| <pre>[<br> "*"<br>]</pre> | no |
60
61
| cloudfront\_logging\_bucket | Bucket to store logs from app |`string`|`null`| no |
61
62
| cloudfront\_logging\_prefix | Logging prefix |`string`|`""`| no |
62
63
| cloudfront\_origin\_keepalive\_timeout | The amount of time, in seconds, that CloudFront maintains an idle connection with a custom origin server before closing the connection. Valid values are from 1 to 60 seconds. |`number`|`5`| no |
63
64
| cloudfront\_origin\_read\_timeout | The amount of time, in seconds, that CloudFront waits for a response from a custom origin. The value applies both to the time that CloudFront waits for an initial response and the time that CloudFront waits for each subsequent packet. Valid values are from 4 to 60 seconds. |`number`|`30`| no |
64
-
| cloudfront\_web\_acl\_id | Optional web acl (WAF) to attach to CloudFront |`string`|`""`| no |
65
-
| cluster\_name | Name of existing ECS Cluster to deploy this app to |`any`| n/a | yes |
66
65
| dynamic\_custom\_error\_response | One or more custom error response elements (multiples allowed) | <pre>list(object({<br> error_code = optional(number)<br> response_code = optional(number)<br> response_page_path = optional(string)<br> }))</pre> |`[]`| no |
67
66
| dynamic\_custom\_origin\_config | Configuration for the custom origin config to be used in dynamic block |`any`|`[]`| no |
68
67
| dynamic\_ordered\_cache\_behavior | Ordered Cache Behaviors to be used in dynamic block |`any`|`[]`| no |
69
-
| hosted\_zone | Existing Hosted Zone domain to add hostnames as DNS records |`any`| n/a | yes |
68
+
| hosted\_zone | Existing Hosted Zone domain to add hostnames as DNS records |`string`| n/a | yes |
70
69
| hostname\_create | Create hostnames in the hosted zone passed? |`bool`|`true`| no |
71
-
| hostnames | Hostnames to create DNS record for this app that the cloudfront distribution will accept |`any`| n/a | yes |
70
+
| hostnames | Hostnames to create DNS record for this app that the cloudfront distribution will accept |`list(string)`| n/a | yes |
72
71
| iam\_certificate\_id | Specifies IAM certificate id for CloudFront distribution |`string`|`null`| no |
73
72
| minimum\_protocol\_version | The minimum version of the SSL protocol that you want CloudFront to use for HTTPS connections. <br> One of SSLv3, TLSv1, TLSv1\_2016, TLSv1.1\_2016 or TLSv1.2\_2018. Default: TLSv1.2\_2018. <br> NOTE: If you are using a custom certificate (specified with acm\_certificate\_arn or iam\_certificate\_id), <br> and have specified sni-only in ssl\_support\_method, TLSv1 or later must be specified. <br> If you have specified vip in ssl\_support\_method, only SSLv3 or TLSv1 can be specified. <br> If you have specified cloudfront\_default\_certificate, TLSv1 must be specified. |`string`|`"TLSv1.2_2018"`| no |
74
-
| name | Name of your ECS service |`any`| n/a | yes |
73
+
| name | Name of your ECS service |`string`| n/a | yes |
74
+
| record\_type | Type of the record to create on Route53 |`string`|`"CNAME"`| no |
75
75
| restriction\_location | The ISO 3166-1-alpha-2 codes for which you want CloudFront either to distribute your content (whitelist) or not distribute your content (blacklist) |`list(any)`|`[]`| no |
76
76
| restriction\_type | The restriction type of your CloudFront distribution geolocation restriction. Options include none, whitelist, blacklist |`string`|`"none"`| no |
77
77
| waf\_cloudfront\_enable | Enable WAF for Cloudfront distribution |`bool`|`false`| no |
78
78
| wafv2\_managed\_block\_rule\_groups | List of WAF V2 managed rule groups, set to block |`list(string)`|`[]`| no |
79
79
| wafv2\_managed\_rule\_groups | List of WAF V2 managed rule groups, set to count |`list(string)`| <pre>[<br> "AWSManagedRulesCommonRuleSet"<br>]</pre> | no |
80
80
| wafv2\_rate\_limit\_rule | The limit on requests per 5-minute period for a single originating IP address (leave 0 to disable) |`number`|`0`| no |
81
-
| web\_acl\_id | Web ACL ARN for Cloudfront distribution |`string`|`null`| no |
description="The amount of time, in seconds, that CloudFront maintains an idle connection with a custom origin server before closing the connection. Valid values are from 1 to 60 seconds."
68
+
type=number
69
69
}
70
70
71
71
variable"cloudfront_origin_read_timeout" {
72
72
default=30
73
73
description="The amount of time, in seconds, that CloudFront waits for a response from a custom origin. The value applies both to the time that CloudFront waits for an initial response and the time that CloudFront waits for each subsequent packet. Valid values are from 4 to 60 seconds."
74
+
type=number
74
75
}
75
76
76
77
variable"alarm_cloudfront_500_errors_threshold" {
77
78
default=5
78
79
description="Cloudfront 500 Errors rate threshold (use 0 to disable this alarm)"
80
+
type=number
79
81
}
80
82
81
83
variable"alarm_sns_topics_us" {
82
84
default=[]
83
85
description="Alarm topics to create and alert on metrics on US region"
0 commit comments