locals { region = substr(var.zone, 0, length(var.zone) - 2) } module "gcp_iam" { source = "../infrastructure/iam/gcp" project_id = var.project service_account_id = var.service_account_id region = local.region zone = var.zone } resource "null_resource" "ensure_yq" { provisioner "local-exec" { command = <