Open
Description
Please consider either removing the .terraform.lock.hcl file (or adding it to .gitignore) or removing required_providers versions from the modules.
Otherwise, students will encounter the following error:
╷ │ Error: Failed to query available provider packages │ │ Could not retrieve the list of available versions for provider hashicorp/aws: locked provider │ registry.terraform.io/hashicorp/aws 3.56.0 does not match configured version constraint >= 3.72.0; │ must use terraform init -upgrade to allow selection of new versions ╵
The lock file currently specifies version 3.56.0, and the modules specify >=3.72.0.
I have resolved this conflict by deleting the lock file in my repo. So, I am running the latest aws and kubernetes providers as a result.
Metadata
Metadata
Assignees
Labels
No labels