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

When using terragrunt binary state locking is explicitly disabled #785

Closed
dz-sourced opened this issue Feb 15, 2021 · 0 comments · Fixed by #788
Closed

When using terragrunt binary state locking is explicitly disabled #785

dz-sourced opened this issue Feb 15, 2021 · 0 comments · Fixed by #788
Labels
enhancement New feature or request

Comments

@dz-sourced
Copy link
Contributor

We are using terragrunt together with Terratest for integration testing and ran into an issue where this function

func TgApplyAllE(t testing.TestingT, options *Options) (string, error) {
explicitly sets -lock=false

It's not quite clear why this is specific to Terragrunt, but it is triggering this bug in Terraform hashicorp/terraform#27771 when used in combination with Azure remote state backend.

Unless there is a specific reason to disable state locking when using terragrunt binary, I suggest leaving this options in control of the end users via terraform.Options

If the above makes sense, I can create a small PR to fix this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants