ecs-app-front
DNXLabs/ecs-app-front/aws
This terraform module is an AWS ECS Application Module (frontend component).
terraform-aws-ecs-app-front   This terraform module is an AWS ECS Application Module (frontend component). It's designed to be used with DNXLabs/terraform-aws-ecs (https://github.com/DNXLabs/terraform-aws-ecs). and DNXLabs/terraform-aws-ecs-app (https://github.com/DNXLabs/terraform-aws-ecs-app). The following resources will be created: - Cloudwatch Metrics alarm - Provides a CloudWatch Metric Alarm resource. - Application Load Balancer (ALB) cloudfront key - Key generated by terraform-aws-ecs module to allow ALB connection from CloudFront - ALB Dns Name - ALB DNS Name that CloudFront will point as origin - Certificate Amazon Res
| Name | Type | Description | Default |
|---|---|---|---|
| name | string | Name of your ECS service | required |
| hosted_zone | string | Existing Hosted Zone domain to add hostnames as DNS records | required |
| alb_dns_name | string | ALB DNS Name that CloudFront will point as origin | required |
| certificate_arn | string | Certificate for this app to use in CloudFront (US), must cover `hostname`. | required |
| hostnames | list(string) | Hostnames to create DNS record for this app that the cloudfront distribution wil | required |
| alb_cloudfront_key | string | Key generated by terraform-aws-ecs module to allow ALB connection from CloudFron | required |
| alarm_cloudfront_500_errors_threshold | number | Cloudfront 500 Errors rate threshold (use 0 to disable this alarm) | 5 |
| dynamic_custom_origin_config | any | Configuration for the custom origin config to be used in dynamic block | [] |
| cloudfront_function_name | string | Name of the CloudFront Function | null |
| cloudfront_function_event_type | string | Event type to associate with the function: viewer-request or viewer-response | "viewer-request" |
| wafv2_managed_rule_groups | list(string) | List of WAF V2 managed rule groups, set to count | [
"AWSManagedRulesCommonRuleSet"
] |
| wafv2_managed_block_rule_groups | list(string) | List of WAF V2 managed rule groups, set to block | [] |
| wafv2_rate_limit_rule | number | The limit on requests per 5-minute period for a single originating IP address (l | 0 |
| cloudfront_origin_read_timeout | number | The amount of time, in seconds, that CloudFront waits for a response from a cust | 30 |
| cloudfront_logging_bucket | string | Bucket to store logs from app | null |
| alarm_sns_topics_us | list(string) | Alarm topics to create and alert on metrics on US region | [] |
| restriction_location | list(any) | The ISO 3166-1-alpha-2 codes for which you want CloudFront either to distribute | [] |
| dynamic_ordered_cache_behavior | any | Ordered Cache Behaviors to be used in dynamic block | [] |
| dynamic_custom_error_response | list(object({ error_code | One or more custom error response elements (multiples allowed) | [] |
| cloudfront_forward_headers | list(string) | Headers to forward to origin from CloudFront | [
"*"
] |
| iam_certificate_id | string | Specifies IAM certificate id for CloudFront distribution | null |
| alarm_prefix | string | String prefix for cloudwatch alarms. (Optional) | "alarm" |
| cloudfront_function_code | string | JavaScript code (cloudfront-js-2.0) of the CloudFront Function | null |
| hostname_create | bool | Create hostnames in the hosted zone passed? | true |
| minimum_protocol_version | string | The minimum version of the SSL protocol that you want CloudFront to use for | "TLSv1.2_2018" |
| restriction_type | string | The restriction type of your CloudFront distribution geolocation restriction. Op | "none" |
cloudfront_distribution_hostname — The hostname of the CloudFront Distribution (use for DNS CNAME).cloudfront_zone_id — The Zone ID of the CloudFront Distribution (use for DNS Alias).aws_cloudfront_origin_access_identity — Define cloudfront origin access identitycloudfront_distribution_id — The ID of the CloudFront Distribution.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,