Open annymsMthd opened 1 year ago
Update. The breaking change was introduced in 0.13.1. 0.13.0 works
I believe it might be this https://github.com/harness/terraform-provider-harness/commit/7c4b57bfa43522768ee5b529d31c294d4b705686
Also had to edit my terraform so the things matched in the yaml
name: testtt
identifier: testddd
allowStageExecutions: false
projectIdentifier: pavedroads
orgIdentifier: sre
I had to re-import all of my harness_platform_pipeline
resources to get the tfstate to recognize that the pipelines exist already. After doing that, everything is working as usual.
The commit posted above is suspect to what my problem was too though. 🤔
Terraform Version
v1.2.9
Affected Resource(s)
Please list the resources as a list, for example:
Terraform Configuration Files
this is from the example in the documentation
Debug Output
Panic Output
Expected Behavior
The pipeline to be created
Actual Behavior
The apply fails
Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
terraform apply
Important Factoids
Moving from 0.12.x to 0.13.x also wants to recreate all pipelines like they weren't even in the state