Fix comment in shared VPC + GKE example

This commit is contained in:
Julio Castillo
2020-05-14 19:05:55 +02:00
committed by GitHub
parent 65d6b7f1c3
commit dd365f6bb0

View File

@@ -17,6 +17,7 @@
###############################################################################
# the container.hostServiceAgentUser role is needed for GKE on shared VPC
# see: https://cloud.google.com/kubernetes-engine/docs/how-to/cluster-shared-vpc#grant_host_service_agent_role
module "project-host" {
source = "../../modules/project"
@@ -81,12 +82,6 @@ module "project-svc-gke" {
# Networking #
################################################################################
# the service project GKE robot needs the `hostServiceAgent` role throughout
# the entire life of its clusters; the `iam_project_id` project output is used
# here to set the project id so that the VPC depends on that binding, and any
# cluster using it then also depends on it indirectly; you can of course use
# the `project_id` output instead if you don't care about destroying
# subnet IAM bindings control which identities can use the individual subnets
module "vpc-shared" {