-
Notifications
You must be signed in to change notification settings - Fork 599
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
Gritfile for provider version upgrade from 4.x to 5.x does not exist #4214
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 |
you need to reference the branch in the the local apply definitely works (it's what rewrites the tests and you can confirm it works with |
Confirmation
Terraform and Cloudflare provider version
5.0.0-alpha1
Affected resource(s)
Terraform configuration files
Link to debug output
https://pastebin.com/982y2Ahy
Panic output
No response
Expected output
$ grit apply terraform_cloudflare_v5
Processed 110 files and found 22 matches
$ grit list --language hcl
STANDARD LIBRARY PATTERNS
HCL patterns
✔ terraform_cloudflare_v5 (source: cloudflare/terraform-provider-cloudflare)
✔ cloudflare_record_deprecate_value_for_content (source: cloudflare/terraform-provider-cloudflare)
✔ cloudflare_zone_settings_override_deprecate_minify (source: cloudflare/terraform-provider-cloudflare)
✔ edit_module (source: getgrit/stdlib)
✔ kv_pair (source: getgrit/stdlib)
Actual output
$ grit apply terraform_cloudflare_v5
$ grit list --language hcl
STANDARD LIBRARY PATTERNS
HCL patterns
✔ cloudflare_record_deprecate_value_for_content (source: cloudflare/terraform-provider-cloudflare)
✔ cloudflare_zone_settings_override_deprecate_minify (source: cloudflare/terraform-provider-cloudflare)
✔ edit_module (source: getgrit/stdlib)
✔ kv_pair (source: getgrit/stdlib)
Steps to reproduce
In any directory run:
Grit does not find this pattern even though it is documented here: https://registry.terraform.io/providers/cloudflare/cloudflare/latest/docs/guides/version-5-upgrade#cloudflare_record. Even if this repo is imported (see yaml below), the pattern still won't exist.
Additional factoids
for comparison, how the output looks like when using
cloudflare_record_deprecate_value
$ grit apply cloudflare_record_deprecate_value_for_content --dry-run
content of
.grit/grit.yml
:References
No response
The text was updated successfully, but these errors were encountered: