-
Notifications
You must be signed in to change notification settings - Fork 10.3k
Terraform doesn't understand pre-release required_version constraint #28148
Copy link
Copy link
Closed
Labels
bugconfirmeda Terraform Core team member has reproduced this issuea Terraform Core team member has reproduced this issueexplaineda Terraform Core team member has described the root cause of this issue in codea Terraform Core team member has described the root cause of this issue in code
Description
Terraform Version
0.15.0-beta2
Terraform Configuration Files
terraform
terraform {
required_version = "0.15.0-beta2"
}
output "test" {
value = "foo"
}
Debug Output
Crash Output
Expected Behavior
Outputs:
test = "foo"
Actual Behavior
│ Error: Unsupported Terraform Core version
│
│ on main.tf line 2, in terraform:
│ 2: required_version = "0.15.0-beta2"
│
│ This configuration does not support Terraform version 0.15.0-beta2. To proceed, either choose
│ another supported Terraform version or update this version constraint. Version constraints are
│ normally set for good reason, so updating the constraint may lead to other errors or unexpected
│ behavior.
Steps to Reproduce
- `terraform apply
Additional Context
Using tfenv for Terraform version management. Specifically using tfenv use 0.15.0-beta2 before running terraform apply
References
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugconfirmeda Terraform Core team member has reproduced this issuea Terraform Core team member has reproduced this issueexplaineda Terraform Core team member has described the root cause of this issue in codea Terraform Core team member has described the root cause of this issue in code