File tree Expand file tree Collapse file tree 7 files changed +13
-15
lines changed
autopilot_private_firewalls
safer_cluster_iap_bastion
autopilot_private_firewalls
simple_autopilot_private_non_default_sa Expand file tree Collapse file tree 7 files changed +13
-15
lines changed Original file line number Diff line number Diff line change @@ -23,9 +23,10 @@ module "gcp-network" {
23
23
24
24
subnets = [
25
25
{
26
- subnet_name = local.subnet_name
27
- subnet_ip = " 10.0.0.0/17"
28
- subnet_region = var.region
26
+ subnet_name = local.subnet_name
27
+ subnet_ip = " 10.0.0.0/17"
28
+ subnet_region = var.region
29
+ subnet_private_access = true
29
30
},
30
31
{
31
32
subnet_name = local.master_auth_subnetwork
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ locals {
21
21
22
22
module "bastion" {
23
23
source = " terraform-google-modules/bastion-host/google"
24
- version = " ~> 7 .0"
24
+ version = " ~> 8 .0"
25
25
26
26
network = module. vpc . network_self_link
27
27
subnet = module. vpc . subnets_self_links [0 ]
Original file line number Diff line number Diff line change @@ -23,9 +23,10 @@ module "gcp-network" {
23
23
24
24
subnets = [
25
25
{
26
- subnet_name = local.subnet_name
27
- subnet_ip = " 10.0.0.0/17"
28
- subnet_region = var.region
26
+ subnet_name = local.subnet_name
27
+ subnet_ip = " 10.0.0.0/17"
28
+ subnet_region = var.region
29
+ subnet_private_access = true
29
30
},
30
31
{
31
32
subnet_name = local.master_auth_subnetwork
Original file line number Diff line number Diff line change @@ -26,8 +26,7 @@ import (
26
26
func TestAutopilotPrivateFirewalls (t * testing.T ) {
27
27
bpt := tft .NewTFBlueprintTest (t )
28
28
bpt .DefineVerify (func (assert * assert.Assertions ) {
29
- //Skipping Default Verify as the Verify Stage fails due to change in Client Cert Token
30
- // bpt.DefaultVerify(assert)
29
+ bpt .DefaultVerify (assert )
31
30
projectId := bpt .GetStringOutput ("project_id" )
32
31
location := bpt .GetStringOutput ("location" )
33
32
clusterName := bpt .GetStringOutput ("cluster_name" )
Original file line number Diff line number Diff line change @@ -33,8 +33,7 @@ func TestBetaCluster(t *testing.T) {
33
33
)
34
34
35
35
gke .DefineVerify (func (assert * assert.Assertions ) {
36
- // Commenting Default Verify due to issue 1478 for location Policy
37
- // gke.DefaultVerify(assert) //disables no changes
36
+ gke .DefaultVerify (assert )
38
37
39
38
projectId := gke .GetStringOutput ("project_id" )
40
39
location := gke .GetStringOutput ("location" )
Original file line number Diff line number Diff line change @@ -33,8 +33,7 @@ func TestSimpleAutopilotPrivateNonDefaultSA(t *testing.T) {
33
33
)
34
34
35
35
bpt .DefineVerify (func (assert * assert.Assertions ) {
36
- //Skipping Default Verify as the Verify Stage fails due to change in Client Cert Token
37
- // bpt.DefaultVerify(assert)
36
+ bpt .DefaultVerify (assert )
38
37
39
38
location := bpt .GetStringOutput ("location" )
40
39
clusterName := bpt .GetStringOutput ("cluster_name" )
Original file line number Diff line number Diff line change @@ -30,8 +30,7 @@ func TestSimpleAutopilotPublic(t *testing.T) {
30
30
)
31
31
32
32
bpt .DefineVerify (func (assert * assert.Assertions ) {
33
- //Skipping Default Verify as the Verify Stage fails due to change in Client Cert Token
34
- // bpt.DefaultVerify(assert)
33
+ bpt .DefaultVerify (assert )
35
34
36
35
projectId := bpt .GetStringOutput ("project_id" )
37
36
location := bpt .GetStringOutput ("location" )
You can’t perform that action at this time.
0 commit comments