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
Stable clean terraform plan/apply once deployed within the same configuration (No changes).
Actual Behavior
It deploys and configures resources in NS1 properly, but it tries to reshuffle values with another run. The issue is that NS1 probably does not care about order. Hence it sets values in some internal order, and changing the order via NS1 API does nothing with NS1 values. I see the same diff even after several passed successful terraform apply.
It shows the same output/diff until the affected resource is deleted and recreated again.
Steps to Reproduce
Define several resources with the configuration from the example.
terraform apply
terraform plan or terraform apply again anytime later
Important Factoids
We use the terragrunt to maintain resources with different values using variables (eg. ${var.clusterid} variable).
It is important to have more resources created so different ordering in the NS1 setup might occur. I was not able to reproduce it easily with single resource deployment, but having 6 of them was enough (eg. several different clusters).
Hi, I'm seeing the inconsistent ordering issue when using ns1_notifylist resource with multiple
notifications
objects.Terraform Version
Terragrunt version
Affected Resource(s)
Terraform Configuration Files
Expected Behavior
Stable clean terraform plan/apply once deployed within the same configuration (No changes).
Actual Behavior
It deploys and configures resources in NS1 properly, but it tries to reshuffle values with another run. The issue is that NS1 probably does not care about order. Hence it sets values in some internal order, and changing the order via NS1 API does nothing with NS1 values. I see the same diff even after several passed successful terraform apply.
Initial run (first apply)
Other runs of plan or apply
It shows the same output/diff until the affected resource is deleted and recreated again.
Steps to Reproduce
terraform apply
terraform plan
orterraform apply
again anytime laterImportant Factoids
We use the terragrunt to maintain resources with different values using variables (eg.
${var.clusterid}
variable).It is important to have more resources created so different ordering in the NS1 setup might occur. I was not able to reproduce it easily with single resource deployment, but having 6 of them was enough (eg. several different clusters).
References
Might be similar to:
The text was updated successfully, but these errors were encountered: