cloudamqp / terraform-provider-cloudamqp

Terraform Provider for CloudAMQP
https://registry.terraform.io/providers/cloudamqp/cloudamqp
Mozilla Public License 2.0
35 stars 39 forks source link

firewall rules overriden #103

Closed mced closed 3 years ago

mced commented 3 years ago

When the terraform applies its firewall rules, it erases the current rules on cloudamqp instance without telling the inconsistency. Is there a way to notify when a such behavior occurs?

tbroden84 commented 3 years ago

We have had some issues when dealing with the rules. But the workflow should be that, all rules specified in the module file is used when applying the rules. Terraform should automatically detect if there are any rules added or deleted, and from there apply the rules if necessary.

dentarg commented 3 years ago

@mced are you importing the rules before starting to manage them with Terraform?

mced commented 3 years ago

@dentarg I double-checked and it works now, terraform detects drifts. I guess that something changed from the cloudamqp API...

dentarg commented 3 years ago

@mced great! Yes a bug was fixed in the backend yesterday