You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I manually update a product whose state is managed by terraform, if I later rerun terraform apply Terraform will detect the drift and offer to fix it. It will even say it's made the change. However, it doesn't actually make the change; the drift is not resolved.
Steps To Reproduce
create a product using terraform
log into CM and update the product's description
do not make any changes to the TF files and re-run terraform apply
Expected Results
Terraform detects the drift, offers to correct it, and corrects it.
Actual results
Terraform detects the drift and says it will correct it, but fails to actually correct it. After running terraform apply I see the following plan:
Terraform will perform the following actions:
# epcc_product.espresso-cleaning-tablets-bec250uk will be updated in-place
~ resource "epcc_product" "espresso-cleaning-tablets-bec250uk" {
- description = "A description" -> null
id = "8c92c2d2-158e-492e-bbee-e5352ddd7576"
name = "Espresso Cleaning Tablets"
# (6 unchanged attributes hidden)
}
Plan: 0 to add, 1 to change, 0 to destroy.
Do you want to perform these actions?
Terraform will perform the actions described above.
Only 'yes' will be accepted to approve.
Enter a value: yes
If you answer yes it tries to apply the change and gives a success message ...
... but nothing actually happens in EPCC. The product is not actually updated. Rerunning terraform apply detects the drift again - the scenario repeats.
The text was updated successfully, but these errors were encountered:
the id in the json df4771c5-b216-4994-a1fe-f5912c1da2ef is the ID or a file object, not the product whose description we want to update. The product ID is `146020eb-1cc1-4ed5-9080-c7e946c761c2' in this case.
Description
If I manually update a product whose state is managed by terraform, if I later rerun
terraform apply
Terraform will detect the drift and offer to fix it. It will even say it's made the change. However, it doesn't actually make the change; the drift is not resolved.Steps To Reproduce
terraform apply
Expected Results
Terraform detects the drift, offers to correct it, and corrects it.
Actual results
Terraform detects the drift and says it will correct it, but fails to actually correct it. After running
terraform apply
I see the following plan:If you answer
yes
it tries to apply the change and gives a success message ...... but nothing actually happens in EPCC. The product is not actually updated. Rerunning
terraform apply
detects the drift again - the scenario repeats.The text was updated successfully, but these errors were encountered: