Googleapi error 403 Required 'compute.zones.list' permission for 'projects/XXX', forbidden
Closed this issue · 0 comments
Golge commented
TL;DR
vault >> modules >> cluster >> main.tf
data "google_compute_zones" "available" {
project = var.project_id
region = var.region
}
Expected behavior
No response
Observed behavior
│ Error: googleapi: Error 403: Required 'compute.zones.list' permission for 'projects/XXX', forbidden
│
│ with module.cluster.data.google_compute_zones.available,
│ on modules/cluster/main.tf line 41, in data "google_compute_zones" "available":
│ 41: data "google_compute_zones" "available" {
Terraform Configuration
project_id = "XXX"
region = "europe-west4"
storage_bucket_class = "REGIONAL"
storage_bucket_force_destroy = "true" # SET FALSE FOR PRODUCTION
storage_bucket_location = "EUROPE-WEST4"
vault_machine_type = "n1-standard-1"
vault_max_num_servers = "3"
vault_min_num_servers = "2"
vault_version = "1.16.2" # LATEST VERSION
kms_keyring = "vault-keyring-01"
kms_crypto_key = "vault-key-01"
Terraform Version
OpenTofu v1.7.1