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
make ecs cluster creation options as default in #21 (#24)
* make ecs cluster creation options as default in #21
* updating region to match the other defaults
* make default option for cloudwatch log group
* fixing defaults
* updating docs
---------
Co-authored-by: [email protected]
| <aname="input_cloudwatch_log_group_name"></a> [cloudwatch\_log\_group\_name](#input\_cloudwatch\_log\_group\_name)| The name of the CloudWatch log group where agent logs will be sent. |`string`| n/a | yes |
54
-
| <aname="input_ecs_cluster_arn"></a> [ecs\_cluster\_arn](#input\_ecs\_cluster\_arn)| ARN of the ECS cluster where the agent will be deployed. |`string`| n/a | yes |
55
56
| <aname="input_hcp_terraform_org_name"></a> [hcp\_terraform\_org\_name](#input\_hcp\_terraform\_org\_name)| The name of the HCP Terraform or HCP Terraform enterprise organization where the agent pool will be configured. The combination of `hcp_terraform_org_name` and `name` must be unique within an AWS account. |`string`| n/a | yes |
56
57
| <aname="input_name"></a> [name](#input\_name)| A name to apply to resources. The combination of `name` and `hcp_terraform_org_name` must be unique within an AWS account. |`string`| n/a | yes |
57
58
| <aname="input_subnet_ids"></a> [subnet\_ids](#input\_subnet\_ids)| IDs of the subnet(s) where agents can be deployed (public subnets required) |`list(string)`| n/a | yes |
@@ -64,6 +65,11 @@ No modules.
64
65
| <aname="input_agent_log_level"></a> [agent\_log\_level](#input\_agent\_log\_level)| The logging verbosity for the agent. Valid values are trace, debug, info (default), warn, and error. |`string`|`"info"`| no |
65
66
| <aname="input_agent_memory"></a> [agent\_memory](#input\_agent\_memory)| The amount of memory, in MB, allocated to the agent container(s). |`number`|`512`| no |
66
67
| <aname="input_agent_single_execution"></a> [agent\_single\_execution](#input\_agent\_single\_execution)| Whether to use single-execution mode. |`bool`|`true`| no |
68
+
| <aname="input_cloudwatch_log_group_name"></a> [cloudwatch\_log\_group\_name](#input\_cloudwatch\_log\_group\_name)| The name of the CloudWatch log group where agent logs will be sent. |`string`|`"/ecs/hcp-terraform-agent"`| no |
69
+
| <aname="input_cloudwatch_log_group_retention"></a> [cloudwatch\_log\_group\_retention](#input\_cloudwatch\_log\_group\_retention)| The number of days to retain logs in the CloudWatch log group. |`number`|`7`| no |
70
+
| <aname="input_create_cloudwatch_log_group"></a> [create\_cloudwatch\_log\_group](#input\_create\_cloudwatch\_log\_group)| The name of the CloudWatch log group where agent logs will be sent. |`bool`|`true`| no |
71
+
| <aname="input_create_ecs_cluster"></a> [create\_ecs\_cluster](#input\_create\_ecs\_cluster)| Whether to create a new ECS cluster for the agent. |`bool`|`true`| no |
72
+
| <aname="input_ecs_cluster_arn"></a> [ecs\_cluster\_arn](#input\_ecs\_cluster\_arn)| ARN of the ECS cluster where the agent will be deployed. |`string`|`"arn:aws:ecs:us-west-2:000000000000:cluster/ecs-basic"`| no |
67
73
| <aname="input_extra_env_vars"></a> [extra\_env\_vars](#input\_extra\_env\_vars)| Extra environment variables to pass to the agent container. | <pre>list(object({<br> name = string<br> value = string<br> }))</pre> |`[]`| no |
68
74
| <aname="input_hcp_terraform_address"></a> [hcp\_terraform\_address](#input\_hcp\_terraform\_address)| The HTTPS address of the HCP Terraform or HCP Terraform enterprise instance. |`string`|`"https://app.terraform.io"`| no |
69
75
| <aname="input_num_agents"></a> [num\_agents](#input\_num\_agents)| The number of agent containers to run. |`number`|`1`| no |
0 commit comments