cloud-foundation-fabric/tests/modules/gke_hub/examples/multi-cluster.yaml

71 lines
2.0 KiB
YAML

# Copyright 2023 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.
values:
module.hub.google_gke_hub_feature.default["servicemesh"]:
location: global
name: servicemesh
project: gkehub-test
module.hub.google_gke_hub_feature_membership.servicemesh["cluster-1"]:
configmanagement: []
feature: servicemesh
location: global
membership: cluster-1
mesh:
- control_plane: null
management: MANAGEMENT_AUTOMATIC
project: gkehub-test
module.hub.google_gke_hub_feature_membership.servicemesh["cluster-2"]:
configmanagement: []
feature: servicemesh
location: global
membership: cluster-2
mesh:
- control_plane: null
management: MANAGEMENT_AUTOMATIC
project: gkehub-test
module.hub.google_gke_hub_membership.default["cluster-1"]:
authority:
- {}
endpoint:
- gke_cluster:
- {}
membership_id: cluster-1
project: gkehub-test
module.hub.google_gke_hub_membership.default["cluster-2"]:
authority:
- {}
endpoint:
- gke_cluster:
- {}
membership_id: cluster-2
project: gkehub-test
counts:
google_compute_firewall: 6
google_compute_network: 1
google_compute_subnetwork: 3
google_container_cluster: 2
google_container_node_pool: 2
google_gke_hub_feature: 1
google_gke_hub_feature_membership: 2
google_gke_hub_membership: 2
google_project: 1
google_project_iam_member: 1
google_project_service: 7
google_project_service_identity: 2
google_service_account: 2
modules: 8
resources: 32