Creating a spacelift_stack for a terragrunt config, and it fails with this error:
│ Error: could not create stack: stack has 2 errors: terraform: invalid Terraform version constraints: improper constraint: , terragrunt: invalid Terragrunt version constraints: improper constraint:
│
│ with spacelift_stack.this,
│ on main.tf line 2, in resource "spacelift_stack" "this":
│ 2: resource "spacelift_stack" "this" {
The docs say that terraform_version and terragrunt_version are optional, so I haven't specified them:
The plan marked the values as known after apply, which seemed fine to me. Was just expecting it to use the latest versions, which is what the docs implied would happen. From the plan:
Creating a
spacelift_stack
for aterragrunt
config, and it fails with this error:The docs say that
terraform_version
andterragrunt_version
are optional, so I haven't specified them:The plan marked the values as known after apply, which seemed fine to me. Was just expecting it to use the latest versions, which is what the docs implied would happen. From the plan: