Refactor GKE cluster modules access configurations, add support for DNS endpoint (#2761)
* stub * gke standard module and tests * blueprints * tfdoc * autopilot * blueprints * tfdoc * gke hub module examples * dataproc and gke fixture
This commit is contained in:
committed by
GitHub
parent
d59d182456
commit
d86b8d565c
15
tests/fixtures/gke-cluster-standard.tf
vendored
15
tests/fixtures/gke-cluster-standard.tf
vendored
@@ -18,18 +18,17 @@ module "gke-cluster-standard" {
|
||||
name = "cluster"
|
||||
location = "${var.region}-b"
|
||||
deletion_protection = false
|
||||
access_config = {
|
||||
ip_access = {
|
||||
authorized_ranges = {
|
||||
internal-vms = "10.0.0.0/8"
|
||||
}
|
||||
}
|
||||
}
|
||||
vpc_config = {
|
||||
network = var.vpc.self_link
|
||||
subnetwork = var.subnet.self_link
|
||||
secondary_range_names = {} # use default names "pods" and "services"
|
||||
master_authorized_ranges = {
|
||||
internal-vms = "10.0.0.0/8"
|
||||
}
|
||||
master_ipv4_cidr_block = "192.168.0.0/28"
|
||||
}
|
||||
private_cluster_config = {
|
||||
enable_private_endpoint = true
|
||||
master_global_access = false
|
||||
}
|
||||
enable_features = {
|
||||
dataplane_v2 = true
|
||||
|
||||
Reference in New Issue
Block a user