New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
resource circleci_webhook shows events attribute changed on terraform plan
even though there is no changes.
#45
Comments
thanks for filing this issue! I will be making a PR to address this soon. |
See https://developer.hashicorp.com/terraform/plugin/framework/handling-data/attributes#set This also ensures the order of items does not matter. We also get uniqueness verified for free. Addresses #45
terraform plan
even though there is no changes.
I added fixes re: detecting changes on the This way, it does not matter re: the order of the events' items, and thus should reflect no changes as expected when there is indeed no changes. Can you try updating your use of this plugin to v0.11.0 and see if this fixes for you now? terraform {
required_providers {
circleci = {
source = "kelvintaywl/circleci"
version = "0.11.0"
}
}
}
provider "circleci" {
# Configuration options
} |
@kelvintaywl The issue is fixed after upgrading to the latest version for the provider. |
terraform plan shows the circleci_webhook resource events have been changed .
subsequently terraform apply runs and the final state of webhook remains unchanged.
ideally no changes should be reported by terraform plan.
this can be misleading . please help us fix this issue
The text was updated successfully, but these errors were encountered: