-
I am following the Getting Started guide in our RA deployment and I am at 03-configure-gw-pipelines.md. The guide says:
The reference to Open the file dev/us-east-1/dev/services/sample-app-frontend in your editor doesn't seem accurate as it is a directory, not a file. The directory contains a terragrunt.hcl file, nothing more. There is no input variable that I can find called "desired_number_of_tasks". In fact, I grepped my entire infrastructure-live repo and did not find a match for it. I looked into https://github.com/gruntwork-io/terraform-aws-service-catalog and found it in modules/services/ecs-service/variables.tf. The closest thing I can find to that ecs-services/variables.tf in the deployed RA repo is _envcommon/services/ecs-sample-app-frontend.hcl, but inside it I do not see a specification for the number of tasks. I am confused as to how desired_number_of_tasks is being defined and where to go about changing it. Perhaps it defaults to one and I need to add variables.tf somewhere under /dev or /stage? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
It turns out that you need to edit the dev/us-east-1/dev/services/sample-app-frontend/terragrunt.hcl file. Under inputs you can pass in variables that override the defaults. At the bottom of the file, within the Module Parameters to pass in, you can drop this in the inputs.
|
Beta Was this translation helpful? Give feedback.
It turns out that you need to edit the dev/us-east-1/dev/services/sample-app-frontend/terragrunt.hcl file.
Under inputs you can pass in variables that override the defaults.
At the bottom of the file, within the Module Parameters to pass in, you can drop this in the inputs.