You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ibm/acctest/acctest.go
+32Lines changed: 32 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -425,6 +425,9 @@ var (
425
425
var (
426
426
Vmaas_Directorsite_idstring
427
427
Vmaas_Directorsite_pvdc_idstring
428
+
Vmaas_edge_idstring
429
+
Vmaas_transit_gateway_idstring
430
+
Vmaas_vdc_idstring
428
431
)
429
432
430
433
// For IAM Access Management
@@ -2103,6 +2106,21 @@ func init() {
2103
2106
fmt.Println("[WARN] Set the environment variable IBM_VMAAS_DS_PVDC_ID for testing ibm_vmaas_vdc resource else tests will fail if this is not set correctly")
2104
2107
}
2105
2108
2109
+
Vmaas_edge_id=os.Getenv("IBM_VMAAS_EDGE_ID")
2110
+
ifVmaas_edge_id=="" {
2111
+
fmt.Println("[INFO] Set the environment variable IBM_VMAAS_EDGE_ID for testing ibm_vmaas_vdc resource else tests will fail if this is not set correctly")
fmt.Println("[INFO] Set the environment variable IBM_VMAAS_TRANSIT_GATEWAY_ID for testing ibm_vmaas_vdc resource else tests will fail if this is not set correctly")
2117
+
}
2118
+
2119
+
Vmaas_vdc_id=os.Getenv("IBM_VMAAS_VDC_ID")
2120
+
ifVmaas_vdc_id=="" {
2121
+
fmt.Println("[INFO] Set the environment variable IBM_VMAAS_VDC_ID for testing ibm_vmaas_vdc resource else tests will fail if this is not set correctly")
fmt.Println("[INFO] Set the environment variable IBM_POLICY_ASSIGNMENT_TARGET_ACCOUNT_ID for testing ibm_iam_policy_assignment resource else tests will fail if this is not set correctly")
0 commit comments