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
Copy file name to clipboardExpand all lines: README.md
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -116,13 +116,14 @@ module "ecs" {
116
116
| <aname="input_create_acm_certificate"></a> [create\_acm\_certificate](#input\_create\_acm\_certificate)| Create an ACM Certificate to use with the ALB |`bool`|`true`| no |
117
117
| <aname="input_environment"></a> [environment](#input\_environment)| ID element. Usually used for region e.g. 'uw2', 'us-west-2', OR role 'prod', 'staging', 'dev', 'UAT' |`string`| n/a | yes |
118
118
| <aname="input_execution_policy_attachment_arns"></a> [execution\_policy\_attachment\_arns](#input\_execution\_policy\_attachment\_arns)| The ARNs of the policies you want to apply |`list(string)`| <pre>[<br> "arn:aws:iam::aws:policy/AmazonSSMReadOnlyAccess",<br> "arn:aws:iam::aws:policy/service-role/AmazonECSTaskExecutionRolePolicy"<br>]</pre> | no |
119
-
| <aname="input_health_check_route_53_private_zone"></a> [health\_check\_route\_53\_private\_zone](#input\_health\_check\_route\_53\_private\_zone)|Used with `name` field to get a private Hosted Zone|`bool`|`false`| no |
119
+
| <aname="input_externally_managed_route_53_record"></a> [externally\_managed\_route\_53\_record](#input\_externally\_managed\_route\_53\_record)|If there is a Route 53 Zone externally managed from the account you are running in. If `true`, you will have to manage your DNS yourself.|`bool`|`false`| no |
120
120
| <aname="input_health_check_route_53_records"></a> [health\_check\_route\_53\_records](#input\_health\_check\_route\_53\_records)| List of Route 53 records for the health check service. |`list(string)`| n/a | yes |
121
121
| <aname="input_health_check_subnet_ids"></a> [health\_check\_subnet\_ids](#input\_health\_check\_subnet\_ids)| Subnet IDs for the health check tasks to run in. If not defined, this will use `var.alb_subnet_ids`. |`list(string)`|`[]`| no |
122
122
| <aname="input_log_group_retention_days"></a> [log\_group\_retention\_days](#input\_log\_group\_retention\_days)| Specifies the number of days you want to retain log events in the specified log group.<br>Possible values are: 1, 3, 5, 7, 14, 30, 60, 90, 120, 150, 180, 365, 400, 545, 731, 1096,<br>1827, 2192, 2557, 2922, 3288, 3653, and 0.<br>If you select 0, the events in the log group are always retained and never expire |`number`|`30`| no |
123
123
| <aname="input_log_group_skip_destroy"></a> [log\_group\_skip\_destroy](#input\_log\_group\_skip\_destroy)| Set to true if you do not wish the log group (and any logs it may contain) to be deleted at destroy time, and instead just remove the log group from the Terraform state. |`bool`|`false`| no |
124
124
| <aname="input_namespace"></a> [namespace](#input\_namespace)| Namespace your resource belongs to.<br>Usually an abbreviation of your organization name, e.g. 'example' or 'arc', to help ensure generated IDs are globally unique" |`string`| n/a | yes |
125
-
| <aname="input_route_53_zone"></a> [route\_53\_zone](#input\_route\_53\_zone)| Route 53 domain to generate an ACM request for and to create A records against, i.e. sfrefarch.com. A wildcard subject alternative name is generated with the certificate. |`string`| n/a | yes |
125
+
| <aname="input_route_53_zone_id"></a> [route\_53\_zone\_id](#input\_route\_53\_zone\_id)| Route 53 zone ID |`string`|`null`| no |
126
+
| <aname="input_route_53_zone_name"></a> [route\_53\_zone\_name](#input\_route\_53\_zone\_name)| Route 53 domain to generate an ACM request for and to create A records against, i.e. sfrefarch.com. A wildcard subject alternative name is generated with the certificate. |`string`|`null`| no |
126
127
| <aname="input_service_discovery_private_dns_namespace"></a> [service\_discovery\_private\_dns\_namespace](#input\_service\_discovery\_private\_dns\_namespace)| The name of the namespace |`list(string)`| <pre>[<br> "default.example.local"<br>]</pre> | no |
127
128
| <aname="input_tags"></a> [tags](#input\_tags)| Tags to assign the resources. |`map(string)`|`{}`| no |
128
129
| <aname="input_vpc_id"></a> [vpc\_id](#input\_vpc\_id)| Id of the VPC where the resources will live |`string`| n/a | yes |
|[aws_route53_zone.this](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/route53_zone)| data source |
38
37
39
38
## Inputs
40
39
@@ -44,6 +43,7 @@ AWS Terraform ALB Health Check Module
44
43
| <aname="input_alb_zone_id"></a> [alb\_zone\_id](#input\_alb\_zone\_id)| ALB Route53 zone ID to create A record for health check service |`string`| n/a | yes |
45
44
| <aname="input_cluster_id"></a> [cluster\_id](#input\_cluster\_id)| ID of the ECS cluster. |`string`| n/a | yes |
46
45
| <aname="input_cluster_name"></a> [cluster\_name](#input\_cluster\_name)| Name of the ECS cluster. |`string`| n/a | yes |
46
+
| <aname="input_externally_managed_route_53_record"></a> [externally\_managed\_route\_53\_record](#input\_externally\_managed\_route\_53\_record)| If there is a Route 53 Zone externally managed from the account you are running in. If `true`, you will have to manage your DNS yourself. |`bool`|`false`| no |
47
47
| <aname="input_health_check_desired_count"></a> [health\_check\_desired\_count](#input\_health\_check\_desired\_count)| Number of ECS tasks to run for the health check. |`number`|`1`| no |
48
48
| <aname="input_health_check_image"></a> [health\_check\_image](#input\_health\_check\_image)| Docker image used for the health-check |`string`|`"ealen/echo-server"`| no |
49
49
| <aname="input_health_check_launch_type"></a> [health\_check\_launch\_type](#input\_health\_check\_launch\_type)| Launch type for the health check service. |`string`|`"FARGATE"`| no |
@@ -52,8 +52,7 @@ AWS Terraform ALB Health Check Module
52
52
| <aname="input_health_check_route_53_records"></a> [health\_check\_route\_53\_records](#input\_health\_check\_route\_53\_records)| List of A record domains to create for the health check service |`list(string)`| n/a | yes |
53
53
| <aname="input_lb_listener_arn"></a> [lb\_listener\_arn](#input\_lb\_listener\_arn)| ARN of the load balancer listener. |`string`| n/a | yes |
54
54
| <aname="input_lb_security_group_ids"></a> [lb\_security\_group\_ids](#input\_lb\_security\_group\_ids)| LB Security Group IDs for ingress access to the health check task definition. |`list(string)`| n/a | yes |
55
-
| <aname="input_route_53_private_zone"></a> [route\_53\_private\_zone](#input\_route\_53\_private\_zone)| Used with `name` field to get a private Hosted Zone |`bool`|`false`| no |
56
-
| <aname="input_route_53_zone_name"></a> [route\_53\_zone\_name](#input\_route\_53\_zone\_name)| Route53 zone name used for looking up and creating an `A` record for the health check service |`string`| n/a | yes |
55
+
| <aname="input_route_53_zone_id"></a> [route\_53\_zone\_id](#input\_route\_53\_zone\_id)| Route53 zone ID used for looking up and creating an `A` record for the health check service |`string`| n/a | yes |
57
56
| <aname="input_subnet_ids"></a> [subnet\_ids](#input\_subnet\_ids)| Subnet IDs to run health check task in |`list(string)`| n/a | yes |
58
57
| <aname="input_tags"></a> [tags](#input\_tags)| Tags to assign the resources. |`map(string)`|`{}`| no |
59
58
| <aname="input_task_definition_cpu"></a> [task\_definition\_cpu](#input\_task\_definition\_cpu)| Number of cpu units used by the task. If the requires\_compatibilities is FARGATE this field is required. |`number`|`1024`| no |
description="Used with `name` field to get a private Hosted Zone"
122
+
description="If there is a Route 53 Zone externally managed from the account you are running in. If `true`, you will have to manage your DNS yourself."
description="Route 53 domain to generate an ACM request for and to create A records against, i.e. sfrefarch.com. A wildcard subject alternative name is generated with the certificate."
87
+
default=null
81
88
}
82
89
83
90
variable"health_check_route_53_records" {
84
91
type=list(string)
85
92
description="List of Route 53 records for the health check service."
86
93
}
87
94
88
-
variable"health_check_route_53_private_zone" {
95
+
variable"externally_managed_route_53_record" {
89
96
type=bool
90
-
description="Used with `name` field to get a private Hosted Zone"
97
+
description="If there is a Route 53 Zone externally managed from the account you are running in. If `true`, you will have to manage your DNS yourself."
0 commit comments