jason-johnson / azure-pipelines-tasks-terraform

Azure Pipelines extension for Terraform
MIT License
121 stars 52 forks source link

fix: set correct input value for resource addesses in state #350

Closed fsocietyinc closed 1 year ago

fsocietyinc commented 1 year ago

When running a Classic task for terraform state remove the input for "state list and rm addresses" was being passed to the variable stateAddresses instead of stateSubCommandAddresses keeping the required field stateSubCommandAddresses empty.

This issue made the terraform state rm command unusable with classic pipelines where as YAML pipelines work due to the values being explicitly assigned in definition.

Fixes #259 | Azure DevOps Release Pipeline task terraform state remove : Error: Input required: stateSubCommandAddresses