You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cloudflare provider 5.3.0 documentation says account_id is required parameter but does not support it on cloudflare_account_api_token_permission_groups_list data lookup
#5506
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.
This is a bug with an existing resource and is not a feature request or enhancement. Feature requests should be submitted with Cloudflare Support or your account team.
I have searched the issue tracker and my issue isn't already found.
I have replicated my issue using the latest version of the provider and it is still present.
Terraform and Cloudflare provider version
Terraform version 1.11.2, Cloudflare provider version 5.3.0.
Error: Unsupported argument
on module/zone/terraform_cloud.tf line 181, in data "cloudflare_api_token_permission_groups_list" "moller":
account_id = local.account_ids.moller
An argument named "account_id" is not expected here.
Steps to reproduce
Set account_id on data.cloudflare_account_api_token_permission_groups_list with Cloudflare provider version 5.3.0
Additional factoids
No response
References
No response
The text was updated successfully, but these errors were encountered:
jhutchings1
added
version/5
Categorizes issue or PR as related to version 5 of the provider.
and removed
needs-triage
Indicates an issue or PR lacks a `triage/foo` label and requires one.
labels
Apr 14, 2025
The title and the description state that cloudflare_account_api_token_permission_groups_list has a problem, but the example uses cloudflare_api_token_permission_groups_list, which shouldn't support account_id parameter.
Confirmation
Terraform and Cloudflare provider version
Terraform version 1.11.2, Cloudflare provider version 5.3.0.
Docs says account_id is required parameter for cloudflare_account_api_token_permission_groups_list: https://registry.terraform.io/providers/cloudflare/cloudflare/5.3.0/docs/data-sources/account_api_token_permission_groups_list
Affected resource(s)
cloudflare_account_api_token_permission_groups_list
Terraform configuration files
Link to debug output
https://gist.github.com/anordby/a01b37bee6da9e083ff1166189487275
Panic output
No response
Expected output
No error
Actual output
Error: Unsupported argument
on module/zone/terraform_cloud.tf line 181, in data "cloudflare_api_token_permission_groups_list" "moller":
account_id = local.account_ids.moller
An argument named "account_id" is not expected here.
Steps to reproduce
Set account_id on data.cloudflare_account_api_token_permission_groups_list with Cloudflare provider version 5.3.0
Additional factoids
No response
References
No response
The text was updated successfully, but these errors were encountered: