@@ -130,7 +130,6 @@ func RunInstanceLifecycleValidation(t *testing.T, config ProviderConfig) {
130130type NetworkValidationOpts struct {
131131 Name string
132132 RefID string
133- Location string
134133 CidrBlock string
135134 PublicSubnetCidrBlock string
136135 Tags map [string ]string
@@ -156,7 +155,6 @@ func RunNetworkValidation(t *testing.T, config ProviderConfig, opts NetworkValid
156155 vpc , err := v1 .ValidateCreateVPC (ctx , client , v1.CreateVPCArgs {
157156 Name : opts .Name ,
158157 RefID : opts .RefID ,
159- Location : opts .Location ,
160158 CidrBlock : opts .CidrBlock ,
161159 Subnets : []v1.CreateSubnetArgs {
162160 {CidrBlock : opts .PublicSubnetCidrBlock , Type : v1 .SubnetTypePublic },
@@ -253,7 +251,6 @@ type KubernetesValidationNodeGroupOpts struct {
253251type KubernetesValidationNetworkOpts struct {
254252 Name string
255253 RefID string
256- Location string
257254 CidrBlock string
258255 PublicSubnetCidrBlock string
259256 PrivateSubnetCidrBlock string
@@ -286,7 +283,6 @@ func RunKubernetesValidation(t *testing.T, config ProviderConfig, opts Kubernete
286283 vpc , err := v1 .ValidateCreateVPC (ctx , client , v1.CreateVPCArgs {
287284 Name : opts .NetworkOpts .Name ,
288285 RefID : opts .NetworkOpts .RefID ,
289- Location : opts .NetworkOpts .Location ,
290286 CidrBlock : opts .NetworkOpts .CidrBlock ,
291287 Subnets : []v1.CreateSubnetArgs {
292288 {CidrBlock : opts .NetworkOpts .PublicSubnetCidrBlock , Type : v1 .SubnetTypePublic },
@@ -332,7 +328,6 @@ func RunKubernetesValidation(t *testing.T, config ProviderConfig, opts Kubernete
332328 VPCID : vpc .ID ,
333329 SubnetIDs : []v1.CloudProviderResourceID {vpc .Subnets [0 ].ID },
334330 KubernetesVersion : opts .KubernetesVersion ,
335- Location : opts .NetworkOpts .Location ,
336331 Tags : opts .Tags ,
337332 })
338333 require .NoError (t , err , "ValidateCreateKubernetesCluster should pass" )
0 commit comments