Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

azurerm provider maintainer pointing finger at terragrunt for woes in 2.99 -> 3.3.0 upgrade #2091

Open
surlypants opened this issue Apr 29, 2022 · 3 comments
Labels
p:needs triage Needs to be processed by maintainer and issue type / priority added

Comments

@surlypants
Copy link

Anyone willing and able to help here:

hashicorp/terraform-provider-azurerm#16540

@yorinasub17
Copy link
Contributor

It's going to be hard to pinpoint where in the chain the bug is coming up from while you are going through terragrunt.

My suggestion would be to cut terragrunt out of the equation by using terragrunt debug mode and use terraform directly with the terragrunt generated code. If the issue goes away, then it's clearly a bug in terragrunt. If the issue persists, terragrunt could still be an issue, but now we isolated the possibility to an issue in the code generation as opposed to the runtime.

@surlypants
Copy link
Author

surlypants commented Apr 29, 2022

something else is awry. doubt it terragrunt at this point given my most recent update on the azurerm ticket. think that shows it ought be safe to close this out.

in the example to which you've directed me, the 'apply' does NOT actually apply, correct? (a true apply would break a number of things)

@yorinasub17
Copy link
Contributor

Well, as a maintainer, I can certainly see their point. If someone isn't using terragrunt, then they most likely don't understand what terragrunt is doing, and know if the bug is in the provider, terraform, or terragrunt, especially if they can't repro.

Using debug mode is useful as a tool in these cases to help see that:

  • Terragrunt is mostly doing code generation and then passing through to Terraform.
  • Identify a reproducible pure Terraform example to help all maintainers identify the bug.

If anything, it helps cut out the blame game relatively quickly.


In any case, we're happy to help if we identify that there is an issue in Terragrunt!

@yorinasub17 yorinasub17 added the p:needs triage Needs to be processed by maintainer and issue type / priority added label Apr 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
p:needs triage Needs to be processed by maintainer and issue type / priority added
Projects
None yet
Development

No branches or pull requests

2 participants