-
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
cloudflare_ruleset
: An argument named "version" is not expected here.
#4757
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 |
yes, it was called out in the release notes and CHANGELOG. the PR is #4697 if you would like to read more about it. there was no deprecation period as the field(s) don't actually do anything in the Terraform configuration nor could they be configured to do anything that would change the behaviour. |
@jacobbednarz Hmm? I do not see anything about a removed I applaud the PR, however it would also be nice to account for existing configurations of customers still including to-be-removed arguments, whether or not the argument was a no-op. But I guess this is also a way of getting there, just somewhat more harsh. In any case, it should be removed from the docs if it doesn't exist anymore. |
the source documentation has already been updated; see https://github.com/cloudflare/terraform-provider-cloudflare/blob/master/docs/resources/ruleset.md. there is an ongoing issue we've been working with Hashicorp on for the registry documentation not always reflecting the correct version. in the meantime, the GitHub repository is the best place to read the latest version. |
Confirmation
Terraform and Cloudflare provider version
terraform 1.10.2
cloudflare 4.48.0
Affected resource(s)
cloudflare_ruleset
Terraform configuration files
Link to debug output
n/a
Panic output
│ Error: Unsupported argument
│
│ on modules/zone/managed_ruleset.tf line 115, in resource "cloudflare_ruleset" "waf":
│ 115: version = "latest"
│
│ An argument named "version" is not expected here.
Expected output
A successful plan with a deprecation warning
Actual output
Plan failed
Steps to reproduce
rules.actionparameters
block containing aversion
argument.Additional factoids
Apparently the
version
parameter was removed fromrules.action_parameters
in 4.48.0 without any deprecation period. This wasn't mentioned in the release notes and also the documentation still mentions the argument as existing.References
No response
The text was updated successfully, but these errors were encountered: