-
-
Notifications
You must be signed in to change notification settings - Fork 998
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
Compatibility with Terraform 1.10 #3604
Comments
Hi, If you'd like to contribute fixes or insights, we’d greatly appreciate your support. Contributions from the community play a significant role in making updates faster and smoother. Example failing tests: Reference PR |
For now i'm getting the following ╷
│ Error: Can't change variable when applying a saved plan
│
│ The variable asg_capacity 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
│ "{\"desired_capacity\":1,\"max_size\":1,\"min_size\":1}" as the value
│ whereas during apply the value object with 3 attributes was set by an
│ environment variable. To declare an ephemeral variable which is not saved
│ in the plan file, use ephemeral = true.
╵ ➜ terragrunt --version
terragrunt version v0.69.2
➜ terraform --version
Terraform v1.10.0
on darwin_arm64
+ provider registry.terraform.io/hashicorp/aws v5.78.0
+ provider registry.terraform.io/hashicorp/cloudinit v2.3.5 Update with Issue on hashicorp for reference : hashicorp/terraform#36106 |
Experiencing the same, seems like quite a serious issue, its a breaking change |
Issue solved with https://github.com/hashicorp/terraform/releases/tag/v1.10.1 Tested new backend with s3 state lock and working. remote_state {
backend = "s3"
config = {
bucket = "xxxxx-bucket"
key = format("%s/terraform.tfstate", get_path_from_repo_root())
region = "eu-west-3"
encrypt = true
dynamodb_table = "xxxxxx-db-table"
use_lockfile = true
}
} result aws s3 cp s3://xxxxx-bucket/terraform.tfstate.tflock - | jq .
{
"ID": "ee0b3c54-de6a-d4ca-d0a6-52f5298ed7c9",
"Operation": "OperationTypeApply",
"Info": "",
"Who": "xxxx@device",
"Version": "1.10.1",
"Created": "2024-12-04T16:54:05.570709Z",
"Path": "xxxxx-bucket/terraform.tfstate"
} |
Terraform has released 1.10.1 for the fix. Could we please bump the version up to the same for Terragrunt docker container? Thanks. |
Hey folks, We're still seeing failures in our CI testing the integration with 1.10.1 related to applying stored plans (the three failing tests are We won't bump the officially supported version until it passes CI. |
The recent release of 1.10.2 seems to have a release note related to fixing applying plans, so I'm re-running integration tests on that version. |
Still seeing failures in CI: TestStorePlanFilesRunAllPlanApply:
|
Hi,
Describe the enhancement
Terraform 1.10 was released two hours ago and Terragrunt is not yet compatible with this version !!
Two hours !! What are you doing, guys ?! 🤣
Thanks, ;)
David
The text was updated successfully, but these errors were encountered: