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
is not used to fill the results so we have the account id passed in the command line in every zones. If we do not specify an account id in the command line the account_id attribute just do not appears:
resource "cloudflare_zone" "terraform_managed_resource_a7eb80xxxxxxxxxf24ffe" {
paused = false
plan = "enterprise"
type = "partial"
zone = "example1.com"
}
Steps to reproduce
Token with Account.Access: Apps and Policies permission on all account.
Confirmation
cf-terraforming version
v0.8.2
Expected outcome
when using
cf-terraforming generate --resource-type cloudflare_zone --account 0123456789abcdef
I expect having zones for the specified account:Actual outcome
I have all the zones listed with the same
account_id
attribute even if the zone belong to another account.with
generate -v
:we can see that the account id is not used in the API Call (https://api.cloudflare.com/#zone-list-zones account.id can be used to filter the results).
Also
is not used to fill the results so we have the account id passed in the command line in every zones. If we do not specify an account id in the command line the
account_id
attribute just do not appears:Steps to reproduce
Account.Access: Apps and Policies
permission on all account.export CLOUDFLARE_API_TOKEN="<token>"
cf-terraforming generate --resource-type cloudflare_zone --account <specific_account_id>
References
No response
The text was updated successfully, but these errors were encountered: