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
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -69,11 +69,14 @@ This file will contain any instructional information about this module.
69
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
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
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_create_tfe_agent_pool"></a> [create\_tfe\_agent\_pool](#input\_create\_tfe\_agent\_pool)| Option to omit agent pool/token creation |`bool`|`true`| no |
72
73
| <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 |
73
74
| <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 |
74
75
| <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 |
75
76
| <aname="input_num_agents"></a> [num\_agents](#input\_num\_agents)| The number of agent containers to run. |`number`|`1`| no |
76
77
| <aname="input_task_policy_arns"></a> [task\_policy\_arns](#input\_task\_policy\_arns)| ARN(s) of IAM policies to attach to the agent task. Determines what actions the agent can take without requiring additional AWS credentials. |`list(string)`|`[]`| no |
78
+
| <aname="input_tfe_agent_pool_name"></a> [tfe\_agent\_pool\_name](#input\_tfe\_agent\_pool\_name)| Terraform agent pool name to be used when agent creation is omitted |`string`|`""`| no |
79
+
| <aname="input_tfe_agent_token"></a> [tfe\_agent\_token](#input\_tfe\_agent\_token)| Terraform agent token to be used when agent creation is omitted |`string`|`""`| no |
77
80
| <aname="input_use_spot_instances"></a> [use\_spot\_instances](#input\_use\_spot\_instances)| Whether to use Fargate Spot instances. |`bool`|`false`| no |
description="ARN(s) of IAM policies to attach to the agent task. Determines what actions the agent can take without requiring additional AWS credentials."
163
163
default=[]
164
164
}
165
+
166
+
variable"create_tfe_agent_pool" {
167
+
type=bool
168
+
default=true
169
+
description="Option to omit agent pool/token creation"
170
+
}
171
+
172
+
variable"tfe_agent_token" {
173
+
type=string
174
+
default=""
175
+
description="Terraform agent token to be used when agent creation is omitted"
176
+
sensitive=true
177
+
}
178
+
179
+
variable"tfe_agent_pool_name" {
180
+
type=string
181
+
default=""
182
+
description="Terraform agent pool name to be used when agent creation is omitted"
0 commit comments