Closed Cwagne17 closed 1 year ago
Terraform Version: 1.5.5 Spacelift Provider Version: 0.1.37
The terragrunt block in the spacelift_stack resource does not get parsed properly by the provider causing an error.
terragrunt
spacelift_stack
resource "spacelift_stack" "this" { # other configuration terragrunt { terraform_version = var.terraform_version terragrunt_version = var.terragrunt_version use_run_all = var.terragrunt_use_run_all use_smart_sanitization = true } }
or with dynamic configuration
resource "spacelift_stack" "this" { # other configuration dynamic "terragrunt" { for_each = var.terragrunt_version ? [1] : [] content { terraform_version = var.terraform_version terragrunt_version = var.terragrunt_version use_run_all = var.terragrunt_use_run_all use_smart_sanitization = true } } }
terraform init
terraform plan
plan
Terragrunt block should not have result with an error. Also an example of using terragrunt should be added to the examples.
Bug Description
Terraform Version: 1.5.5 Spacelift Provider Version: 0.1.37
The
terragrunt
block in thespacelift_stack
resource does not get parsed properly by the provider causing an error.Steps to Reproduce
terragrunt
block or use a dynamic terraform block forterragrunt
or with dynamic configuration
terraform init
followed byterraform plan
, theplan
step should produce the errorExpected Behavior
Terragrunt block should not have result with an error. Also an example of using
terragrunt
should be added to the examples.