Skip to content

Commit 909a264

Browse files
authored
Rename default vpc name to adhere to naming rules (#113)
Signed-off-by: Ferran Rodenas <ferran.rodenas@broadcom.com>
1 parent e5975af commit 909a264

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

examples/greenfield/tenant/03-supervisor_namespaces.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ resource "vcfa_supervisor_namespace" "example" {
2525
class_name = "small"
2626
description = "Created by Terraform VCFA Provider"
2727
region_name = var.region_name
28-
vpc_name = format("%s-%s", var.region_name, "Default-VPC")
28+
vpc_name = format("%s-%s", var.region_name, "default-vpc")
2929

3030
storage_classes_initial_class_config_overrides {
3131
limit = "200Mi"

vcfa/resource_vcfa_supervisor_namespace_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ func TestAccVcfaSupervisorNamespace(t *testing.T) {
5858

5959
"Supervisor": testConfig.Tm.VcenterSupervisor,
6060
"RegionName": testConfig.Tm.Region,
61-
"VpcName": testConfig.Tm.Region + "-Default-VPC",
61+
"VpcName": testConfig.Tm.Region + "-default-vpc",
6262
"Tier0Gateway": testConfig.Tm.NsxTier0Gateway,
6363
"NsxEdgeCluster": testConfig.Tm.NsxEdgeCluster,
6464
"RegionVmClass": "best-effort-2xlarge",

vcfa/sample_vcfa_test_config-cci.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"cci": {
2323
"//": "existing entity configuration that are available in the above defined Org",
2424
"region": "terraform-demo",
25-
"vpc": "terraform-demo-Default-VPC",
25+
"vpc": "terraform-demo-default-vpc",
2626
"storagePolicy": "vSAN Default Storage Policy",
2727
"supervisorZone": "terraform-demo"
2828
}

vcfa/sample_vcfa_test_config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"cci": {
3333
"//": "existing entity configuration that are available in the above defined Org",
3434
"region": "terraform-demo",
35-
"vpc": "terraform-demo-Default-VPC",
35+
"vpc": "terraform-demo-default-vpc",
3636
"storagePolicy": "vSAN Default Storage Policy",
3737
"supervisorZone": "vcfa-gen-wl-vc08-cl1-zone1"
3838
},

0 commit comments

Comments
 (0)