mirror of
https://github.com/khuedoan/homelab.git
synced 2024-12-22 21:14:50 +07:00
fix(cloudflared): remove deprecated permissions field
This commit is contained in:
parent
8d00d55eb1
commit
295914cfae
@ -50,8 +50,8 @@ resource "cloudflare_api_token" "external_dns" {
|
|||||||
|
|
||||||
policy {
|
policy {
|
||||||
permission_groups = [
|
permission_groups = [
|
||||||
data.cloudflare_api_token_permission_groups.all.permissions["Zone Read"],
|
data.cloudflare_api_token_permission_groups.all.zone["Zone Read"],
|
||||||
data.cloudflare_api_token_permission_groups.all.permissions["DNS Write"]
|
data.cloudflare_api_token_permission_groups.all.zone["DNS Write"]
|
||||||
]
|
]
|
||||||
resources = {
|
resources = {
|
||||||
"com.cloudflare.api.account.zone.*" = "*"
|
"com.cloudflare.api.account.zone.*" = "*"
|
||||||
@ -79,8 +79,8 @@ resource "cloudflare_api_token" "cert_manager" {
|
|||||||
|
|
||||||
policy {
|
policy {
|
||||||
permission_groups = [
|
permission_groups = [
|
||||||
data.cloudflare_api_token_permission_groups.all.permissions["Zone Read"],
|
data.cloudflare_api_token_permission_groups.all.zone["Zone Read"],
|
||||||
data.cloudflare_api_token_permission_groups.all.permissions["DNS Write"]
|
data.cloudflare_api_token_permission_groups.all.zone["DNS Write"]
|
||||||
]
|
]
|
||||||
resources = {
|
resources = {
|
||||||
"com.cloudflare.api.account.zone.*" = "*"
|
"com.cloudflare.api.account.zone.*" = "*"
|
||||||
|
Loading…
Reference in New Issue
Block a user