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
| <aname="input_access_logs"></a> [access\_logs](#input\_access\_logs)| (Optional) Define an Access Logs block |`map(string)`|`{}`| no |
237
237
| <aname="input_acm_certificate_arn"></a> [acm\_certificate\_arn](#input\_acm\_certificate\_arn)| ARN of ACM generated/third party certificate |`string`|`null`| no |
238
-
| <aname="input_adjustment_type"></a> [adjustment\_type](#input\_adjustment\_type)| Required) Specifies whether the adjustment is an absolute number or a percentage of the current capacity. Valid values are ChangeInCapacity, ExactCapacity, and PercentChangeInCapacity. |`string`|`"ChangeInCapacity"`| no |
238
+
| <aname="input_adjustment_type"></a> [adjustment\_type](#input\_adjustment\_type)|(Required) Specifies whether the adjustment is an absolute number or a percentage of the current capacity. Valid values are ChangeInCapacity, ExactCapacity, and PercentChangeInCapacity. |`string`|`"ChangeInCapacity"`| no |
239
239
| <aname="input_alb_subnets"></a> [alb\_subnets](#input\_alb\_subnets)| Subnet IDs for the application load balancer. |`list(string)`|`[]`| no |
240
240
| <aname="input_associate_with_waf"></a> [associate\_with\_waf](#input\_associate\_with\_waf)| Whether to associate created ALB with AWS WAFv2 ACL |`bool`|`false`| no |
241
241
| <aname="input_associate_with_wafregional"></a> [associate\_with\_wafregional](#input\_associate\_with\_wafregional)| Whether to associate created ALB with WAF Regional Web ACL |`bool`|`false`| no |
| <aname="input_access_logs_enabled"></a> [access\_logs\_enabled](#input\_access\_logs\_enabled)| Whether to enable access logs for the lb |`bool`|`true`| no |
76
77
| <aname="input_alb_ingress_rules"></a> [alb\_ingress\_rules](#input\_alb\_ingress\_rules)| Incoming traffic configuration for the load balancer security group |`list(any)`| <pre>[<br> {<br> "cidr_blocks": [<br> "0.0.0.0/0"<br> ],<br> "description": "Allow traffic to load balancer on port 443",<br> "from_port": 443,<br> "protocol": "tcp",<br> "to_port": 443<br> },<br> {<br> "cidr_blocks": [<br> "0.0.0.0/0"<br> ],<br> "description": "Allow traffic to alb load balancer on port 80",<br> "from_port": 80,<br> "protocol": "tcp",<br> "to_port": 80<br> }<br>]</pre> | no |
78
+
| <aname="input_cloudwatch_metrics_enabled"></a> [cloudwatch\_metrics\_enabled](#input\_cloudwatch\_metrics\_enabled)| Whether to enable cloudwatch metrics |`bool`|`false`| no |
77
79
| <aname="input_containerport"></a> [containerport](#input\_containerport)| Specify container port |`number`|`5000`| no |
78
80
| <aname="input_cpu"></a> [cpu](#input\_cpu)| The number of cpu units to allocate |`number`|`10`| no |
79
81
| <aname="input_create_load_balancer"></a> [create\_load\_balancer](#input\_create\_load\_balancer)| Whether to create a load balancer for ecs. |`bool`|`true`| no |
82
+
| <aname="input_custom_header_name"></a> [custom\_header\_name](#input\_custom\_header\_name)| The name of the custom header to insert |`string`|`"X-My-Company-Tracking-ID"`| no |
83
+
| <aname="input_custom_header_value"></a> [custom\_header\_value](#input\_custom\_header\_value)| The value of the custom header to insert |`string`|`"1234567890"`| no |
80
84
| <aname="input_drop_invalid_header_fields"></a> [drop\_invalid\_header\_fields](#input\_drop\_invalid\_header\_fields)| Indicates whether HTTP headers with header fields that are not valid are removed by the load balancer (true) or routed to targets (false). |`bool`|`true`| no |
81
85
| <aname="input_enable_autoscaling"></a> [enable\_autoscaling](#input\_enable\_autoscaling)| Whether to enable autoscaling or not for ecs |`bool`|`true`| no |
82
86
| <aname="input_enable_execute_command"></a> [enable\_execute\_command](#input\_enable\_execute\_command)| value to enable execute command at the ecs service, default = false |`bool`|`true`| no |
@@ -92,6 +96,7 @@ To test the deployment, follow these steps:
92
96
| <aname="input_path"></a> [path](#input\_path)| Destination for the health check request. Required for HTTP/HTTPS ALB and HTTP NLB. Only applies to HTTP/HTTPS. |`string`|`"/healthz"`| no |
93
97
| <aname="input_requires_compatibilities"></a> [requires\_compatibilities](#input\_requires\_compatibilities)| Set of launch types required by the task. The valid values are EC2 and FARGATE. |`list(string)`| <pre>[<br> "FARGATE"<br>]</pre> | no |
94
98
| <aname="input_retention_in_days"></a> [retention\_in\_days](#input\_retention\_in\_days)| Number of days you want to retain log events in the specified log group. |`number`|`1`| no |
99
+
| <aname="input_sampled_requests_enabled"></a> [sampled\_requests\_enabled](#input\_sampled\_requests\_enabled)| Whether to enable simple requests |`bool`|`false`| no |
95
100
| <aname="input_scalable_dimension"></a> [scalable\_dimension](#input\_scalable\_dimension)| The scalable dimension of the scalable target. |`string`|`"ecs:service:DesiredCount"`| no |
96
101
| <aname="input_service_namespace"></a> [service\_namespace](#input\_service\_namespace)| The AWS service namespace of the scalable target. |`string`|`"ecs"`| no |
97
102
| <aname="input_supporting_resources_name"></a> [supporting\_resources\_name](#input\_supporting\_resources\_name)| Name of the supporting resources stack |`string`|`"terraform-aws-ecs-service"`| no |
Copy file name to clipboardExpand all lines: variables.tf
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -337,7 +337,7 @@ variable "policy_type" {
337
337
}
338
338
339
339
variable"adjustment_type" {
340
-
description="Required) Specifies whether the adjustment is an absolute number or a percentage of the current capacity. Valid values are ChangeInCapacity, ExactCapacity, and PercentChangeInCapacity."
340
+
description="(Required) Specifies whether the adjustment is an absolute number or a percentage of the current capacity. Valid values are ChangeInCapacity, ExactCapacity, and PercentChangeInCapacity."
0 commit comments