You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Getting the error when running the terragrunt appy in GitHub Actions. This started happening 2-3 days and the same code was working without any issue.
Error: The variable resource_groups cannot be set using the -var and -var-file
│ options when applying a saved plan file, because a saved plan includes the
│ variable values that were set when it was created. The saved plan specifies
│ "{"dev-rg-common-01":{"location":"centralindia","name":"dev-rg-common-01","tags":{"resource_type":"rg"}}}"
│ as the value whereas during apply the value object with 1 attribute
│ "dev-rg-common-01" was set by an environment variable. To declare an
│ ephemeral variable which is not saved in the plan file, use ephemeral =
│ true.
Until it's fully supported, you may have to take advantage of workarounds like adding ephemeral to variables or waiting for Terraform to fix the bug with applying saved plans.
Describe the bug
Getting the error when running the terragrunt appy in GitHub Actions. This started happening 2-3 days and the same code was working without any issue.
Error: The variable resource_groups cannot be set using the -var and -var-file
│ options when applying a saved plan file, because a saved plan includes the
│ variable values that were set when it was created. The saved plan specifies
│ "{"dev-rg-common-01":{"location":"centralindia","name":"dev-rg-common-01","tags":{"resource_type":"rg"}}}"
│ as the value whereas during apply the value object with 1 attribute
│ "dev-rg-common-01" was set by an environment variable. To declare an
│ ephemeral variable which is not saved in the plan file, use ephemeral =
│ true.
To Reproduce
ARM_CLIENT_ID
ARM_CLIENT_SECRET
ARM_SUBSCRIPTION_ID
ARM_TENANT_ID
Expected behavior
Terragrunt apply should work as expected
Nice to have
Versions
TERRAGRUNT_VERSION: 0.69.2
TERRAFORM_VERSION: v1.10.0
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: