fast/project-templates/managed-kafka/project.yaml (31 lines of code) (raw):
# Copyright 2025 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# FAST-compliant project definition for the Managed Kafka cluster
parent: shared
name: prod-shared-managed-kafka-0
services:
- compute.googleapis.com
- logging.googleapis.com
- monitoring.googleapis.com
- kafka.googleapis.com
- dns.googleapis.com
# If automation resources are not used, grant these roles to the principal
# that will be used to apply this Terraform setup
iam:
roles/compute.admin:
- automation/rw
roles/servicedirectory.admin:
- automation/rw
roles/managedkafka.client:
- automation/rw
automation:
project: foo-prod-shared-iac-0
service_accounts:
rw:
description: Read/write automation service account for Managed Kafka.
bucket:
description: Terraform state bucket for Managed Kafka.
iam:
roles/storage.objectAdmin:
- automation/rw
roles/storage.objectViewer:
- automation/rw
# Edit or comment shared VPC service host
shared_vpc_service_config:
host_project: dev-spoke-0
network_users:
- automation/rw