File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed
examples/simple_zonal_with_asm Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change 14
14
* limitations under the License.
15
15
*/
16
16
17
+ resource "google_gke_hub_feature" "mesh_feature" {
18
+ name = " servicemesh"
19
+ project = var. project_id
20
+ location = " global"
21
+ provider = google- beta
22
+ }
23
+
17
24
resource "google_gke_hub_membership" "cluster_membership" {
18
25
provider = google- beta
19
26
project = var. project_id
@@ -24,3 +31,4 @@ resource "google_gke_hub_membership" "cluster_membership" {
24
31
}
25
32
}
26
33
}
34
+
Original file line number Diff line number Diff line change @@ -58,8 +58,10 @@ module "gke" {
58
58
59
59
module "asm" {
60
60
source = " ../../modules/asm"
61
+ project_id = var. project_id
61
62
cluster_name = module. gke . name
62
63
cluster_location = module. gke . location
63
- project_id = var. project_id
64
64
location = module. gke . location
65
+ enable_cross_cluster_service_discovery = true
66
+ enable_cni = true
65
67
}
You can’t perform that action at this time.
0 commit comments