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
When you query resources from Apigee API the string list properties are not returned in the same order you specify them during creation. If we don't take this into consideration in the resource read operation it might happen that our terraform plan will never be empty.
I'm going to send a PR for this in a few minutes - this should be handled on the same way it happens now with the company resource's api_products attribute.
Don't detect change if the elements of these lists are the same and only the order differs.
Actual Behavior
When the order of these elements differ from the order specified during creation a change is detected by terraform on the resource, so the plan can never be empty.
Steps to Reproduce
Create an apigee_product with multiple proxies
terraform apply
terraform plan
The plan should be empty, but it is not.
The text was updated successfully, but these errors were encountered:
zkauker
changed the title
Unordered proxy names in API products prevents having empty terraform plan
Unordered proxy names in API products prevent having empty terraform plan
Nov 14, 2019
Hi,
When you query resources from Apigee API the string list properties are not returned in the same order you specify them during creation. If we don't take this into consideration in the resource read operation it might happen that our terraform plan will never be empty.
I'm going to send a PR for this in a few minutes - this should be handled on the same way it happens now with the company resource's api_products attribute.
Terraform Version
Terraform v0.12.13
Affected Resource(s)
apigee_product
Terraform Configuration Files
Expected Behavior
Don't detect change if the elements of these lists are the same and only the order differs.
Actual Behavior
When the order of these elements differ from the order specified during creation a change is detected by terraform on the resource, so the plan can never be empty.
Steps to Reproduce
terraform apply
terraform plan
The text was updated successfully, but these errors were encountered: