-
Notifications
You must be signed in to change notification settings - Fork 625
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
Whitespace changed causes recreation of the ruleset rules #4767
Comments
Terraform debug log detected ✅ |
Community NoteVoting for Prioritization
Volunteering to Work on This Issue
|
if you define the |
@jacobbednarz Thanks for the quick reply. I didn't catch the Do the whitespace changes cause any other side-effect on Cloudflare API apart from the look? |
Confirmation
Terraform and Cloudflare provider version
Affected resource(s)
cloudflare_ruleset
Terraform configuration files
Link to debug output
https://gist.github.com/Dragotic/90193d616755c15356f079fbe3431fcf
Panic output
No response
Expected output
No changes. Your infrastructure matches the configuration.
Actual output
After typing
yes
on theterraform apply
the rules are recreated with new IDsSteps to reproduce
jsonencode()
function before passing it to the response of thecloudflare_ruleset
resourceAdditional factoids
It's not only that whitespace is recognised as change by the cloudflare API, but it also recreates the rules when applied. Effectively losing activity for last 24 hours
References
No response
The text was updated successfully, but these errors were encountered: