diff --git a/terraform/ecs.tf b/terraform/ecs.tf index 7b2806a83630819a66097f6f839df50ede6c31f7..f5b522de9f2b65847bc71b92afeeeae94c39f55d 100644 --- a/terraform/ecs.tf +++ b/terraform/ecs.tf @@ -10,7 +10,7 @@ data "template_file" "container" { app_port3 = var.container_app_port[2] informatica_username = var.informatica_username informatica_password = var.informatica_password - secure_agent_configs_path = var.secure_agent_configs_path + secure_agent_mount_path = var.secure_agent_mount_path } } diff --git a/terraform/templates/container-definitions.tpl b/terraform/templates/container-definitions.tpl index a85966034c4e21a91b2fb8fc053b0e50f92256a2..0102cd9e2c16e202e713cd937ce2400b58bf3c68 100644 --- a/terraform/templates/container-definitions.tpl +++ b/terraform/templates/container-definitions.tpl @@ -30,7 +30,7 @@ ], "mountPoints": [ { - "containerPath": "${secure_agent_configs_path}", + "containerPath": "${secure_agent_mount_path}", "sourceVolume": "agent-configs-path" } ] diff --git a/terraform/variables.tf b/terraform/variables.tf index 61204a641bf61ca37eb6ec339f8d8561728dd86e..687c45728e12ed89d0fed80e455fcee38d677bb1 100644 --- a/terraform/variables.tf +++ b/terraform/variables.tf @@ -129,8 +129,8 @@ variable "efs_tags" { } } -variable "secure_agent_configs_path" { - default = "/home/agent/infaagent/apps/agentcore/" +variable "secure_agent_mount_path" { + default = "/home/agent/infaagent/" } variable "secure_agent_sg_tags" {