Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug when pipeline is deleted in UI: "Error: NoSuchEntityException" #155

Open
max-rocket-internet opened this issue Apr 26, 2022 · 1 comment

Comments

@max-rocket-internet
Copy link

max-rocket-internet commented Apr 26, 2022

When I run terraform:

$ terraform apply
module.locust_pipeline.null_resource.render_pipeline: Refreshing state... [id=4622595260021803334]
module.locust_pipeline.spinnaker_pipeline.locust: Refreshing state... [id=110bac63-4bc2-4de6-86a2-067c0d156960]
spinnaker_pipeline.load_test["dms"]: Refreshing state... [id=230a5a70-290e-4e28-8f12-acf5969b116f]
spinnaker_pipeline.load_test["mas"]: Refreshing state... [id=0fd3373e-29d7-4a57-86e8-4b9f92eb6ca9]
spinnaker_pipeline.load_test["dps"]: Refreshing state... [id=380d199b-3425-4d26-8771-98856a6ad15b]
...
spinnaker_pipeline.load_test["opa-oma-cs"]: Refreshing state... [id=863e7992-e58e-49e6-a7f8-c45c20083c1f]

Error: NoSuchEntityException

Any idea how to fix this? Normally terraform would just recreate the resource.

To fix this you need to remove the pipeline from the state: terraform state rm module.locust_pipeline.spinnaker_pipeline.locust

@max-rocket-internet
Copy link
Author

I reported it here also but it seems the original repo is not maintained any more: armory-io/terraform-provider-spinnaker#57

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant