We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e2f2c54 + a7f5df8 commit bec1756Copy full SHA for bec1756
main.tf
@@ -65,7 +65,7 @@ resource "aws_ecs_task_definition" "tfc_agent" {
65
environment = concat([
66
{
67
name = "TFC_AGENT_SINGLE",
68
- value = "true"
+ value = tostring(var.agent_single_execution)
69
},
70
71
name = "TFC_AGENT_NAME",
variables.tf
@@ -38,6 +38,12 @@ variable "agent_image" {
38
default = "hashicorp/tfc-agent:latest"
39
}
40
41
+variable "agent_single_execution" {
42
+ type = bool
43
+ description = "Whether to use single-execution mode."
44
+ default = true
45
+}
46
+
47
variable "extra_env_vars" {
48
type = list(object({
49
name = string
0 commit comments