Closed sk4zuzu closed 4 months ago
This issue is stale because it has been open for 30 days with no activity and it has not the 'status: confirmed' label or it is not in a milestone. Remove the 'status: stale' label or comment, or this will be closed in 5 days.
This issue is stale because it has been open for 30 days with no activity and it has not the 'status: confirmed' label or it is not in a milestone. Remove the 'status: stale' label or comment, or this will be closed in 5 days.
Description
OneKE deployment example defined here is not idempotent, but it seems to be a problem in the Provider and not in the example itself. After applying it twice, second run yields (with horrible consequences :face_holding_back_tears:):
Terraform and Provider version
Affected resources and data sources
opennebula_service
opennebula_service_template
Terraform configuration
Expected behavior
Second run of
terraform apply
should not destroy the service deployed on the first run.Actual behavior
Provider destroys the service.
Steps to Reproduce
terraform apply
terraform apply
Debug output
N/A
Panic output
N/A
Important factoids
N/A
References
https://github.com/OpenNebula/one-apps/wiki/oneke_deploy#deploying-oneke