-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
google_cloudfunctions_function does not see event_trigger topic name changes as a difference #13513
google_cloudfunctions_function does not see event_trigger topic name changes as a difference #13513
Comments
@jkosternl I can't repro the issue. Below code seems working as expected. Can you detail the config and steps so I can repro?
|
Thanks for checking out on our bug report @edwardmedia. We will create some better repro path with an easy example to show it. |
But wait, is the next line L85 not already showing the problem @edwardmedia ? To my opinion, this should be just a |
Thanks @edwardmedia for addressing and fixing this issue! Looks like the new code contains a lot more logic to compare the old and new values. |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Community Note
modular-magician
user, it is either in the process of being autogenerated, or is planned to be autogenerated soon. If an issue is assigned to a user, that user is claiming responsibility for the issue. If an issue is assigned tohashibot
, a community member has claimed the issue already.Terraform Version
1.3.6
Used: hashicorp/google v4.49.0
Affected Resource(s)
Terraform Configuration Files
When changing an existing Cloud Function trigger topic name, a name change are not picked up as a change and thus ignored.
For example:
Current state in TF:
New to be state:
If you
tf plan
this change, TF concludes that there is no change.Debug Output
Didn't make, since it is not needed.
Panic Output
NA
Expected Behavior
Every name change of a topic trigger should be taken as a change.
Actual Behavior
Name changes on a trigger from "price-events-inbound" to "new-price-events-inbound" are not considered as a change.
Only if you also change the last parts of the name, it does work. Like: "price-events-inbound" -> "price-events-inboundXX"
Steps to Reproduce
tf plan
and see that TF concludes: there is no change.Important Factoids
NA
References
NA
The text was updated successfully, but these errors were encountered: