-
Notifications
You must be signed in to change notification settings - Fork 178
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
email_enabled always reported as a change for mongodbatlas_alert_configuration #306
Comments
Thank you @MartinCanovas! We'll add this to the list to address. |
@MartinCanovas Therefore, the correct terraform config would be -
This way terraform plan will not show changes everytime and thus this issue can be closed as it is not a bug. |
@nikhil-mongo Excellent! Thanks for clarifying that, and my apologies for reporting this as a bug when it isn't. |
Good catch @nikhil-mongo - I'll close this since resolved. |
Terraform CLI and Terraform MongoDB Atlas Provider Version
Terraform Configuration File
Steps to Reproduce
terraform init
terraform apply
terraform apply
without any changes on the code, terraform will report in the Plan a change for the alert configuration:~ notification {
delay_min = 0
email_address = "xxxxxxxxxxx"
~ email_enabled = false -> true
interval_min = 5
roles = []
sms_enabled = false
type_name = "EMAIL"
}
Plan: 0 to add, 1 to change, 0 to destroy.
Expected Behavior
Plan: 0 to add, 0 to change, 0 to destroy.Actual Behavior
Plan: 0 to add, 1 to change, 0 to destroy.Debug Output
Crash Output
Additional Context
References
The text was updated successfully, but these errors were encountered: