The following terraform code:
resource “cloudflare_account_member” “rmichel” {
email_address = “redacted”
role_ids = [
local.roles_by_name[“Administrator”].id,
]
}
It gives the following error when it runs:
│ Error: failed to update Cloudflare account member: Invalid request: users in the zone-scoped role beta cannot update membership of a user outside the beta (1001)
│
│ with cloudflare_account_member.rmichel,
│ on permissions.tf line 92, in resource “cloudflare_account_member” “rmichel”:
│ 92: resource “cloudflare_account_member” “rmichel” {
How does this issue get fixed?