-
Notifications
You must be signed in to change notification settings - Fork 624
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
cloudflare_ruleset can't be independent of its rules #3226
Comments
Community NoteVoting for Prioritization
Volunteering to Work on This Issue
|
Thank you for reporting this issue! For maintainers to dig into issues it is required that all issues include the entirety of This issue has been marked with |
I added a workaround using multiple repositories here: #3027 (comment) |
Confirmation
Terraform and Cloudflare provider version
Affected resource(s)
cloudflare_ruleset
Terraform configuration files
Link to debug output
n/a
Panic output
No response
Expected output
This is a suggestion to create a new optional resource
cloudflare_ruleset_rule
that you could attach to an existingcloudflare_ruleset
, say via a data lookup. My use case is that I want to have multiple terraform workspaces (environments) each handling their own rule for the ruleset. With this pattern I could create an empty ruleset for the phase, and then control individual rules from their respective environment's workspace.Actual output
With the current implementation of
cloudflare_ruleset
I'm forced to handle all possible rules on a phase at the same time. This means the code for it needs to live outside my existing workspaces, and needs to lookup all the values it needs to construct the rules.Steps to reproduce
This is a design issue.
Additional factoids
No response
References
No response
The text was updated successfully, but these errors were encountered: