Replies: 1 comment 1 reply
-
Hi, |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Question: If we are running a
plan
for a module that does a data lookup, and that resource doesn't yet exist, what options do we have for the first time we deploy?We are referencing: https://github.com/gruntwork-io/terraform-aws-ecs/blob/08ec667c8dfbc84ca21471e8bfcbb1218408ade6/modules/ecs-service
Our terragrunt.hcl has:
Because of the data resource in the module we're referencing, our
terragrunt plan
jobs fail with:In
dev
, our solution for fresh deploys is to just apply the iam-role dependency first and then everything works as expected. That's not a great solution forstable
orPRODUCTION
though. What's the correct way to have our plans succeed here, prior to running apply (without a double apply)?Tracked in ticket #109578
Beta Was this translation helpful? Give feedback.
All reactions