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
Update copyright, add a bit of description to the test environment variable as well as mention the possibility of running tests against ZEROCLOUD environments.
Signed-off-by: Dimitar Proynov <[email protected]>
-[Go](https://golang.org/doc/install) 1.16 (to build the provider plugin)
10
+
-[Go](https://golang.org/doc/install) 1.19 (to build the provider plugin)
11
11
12
12
13
13
# Building the Provider
@@ -115,11 +115,17 @@ provider.
115
115
Set required environment variables based as per your infrastructure settings
116
116
117
117
```sh
118
+
$ # API token provided from CSP
118
119
$ export API_TOKEN=xxx
120
+
$ # Id of a VMC Org in which test SDDC are (to be) placed
119
121
$ export ORG_ID=xxxx
122
+
$ # Id of an existing SDDC used for SDDC data source (import) test
120
123
$ export TEST_SDDC_ID=xxx
124
+
$ # Name of above SDDC
121
125
$ export TEST_SDDC_NAME=xxx
126
+
$ # NSX URL of a non-ZEROCLOUD SDDC, used for real IP testing
122
127
$ export NSXT_REVERSE_PROXY_URL=xxx
128
+
$ # Account number of a connected to the above Org AWS account, required for test SDDC deployment
123
129
$ export AWS_ACCOUNT_NUMBER=xxx
124
130
```
125
131
@@ -137,8 +143,15 @@ If you want to run against a specific set of tests, run make testacc with the TE
137
143
$ make testacc TESTARGS="-run=TestAccResourceVmcSddc_basic"
138
144
```
139
145
146
+
Additionally, limited set of acceptance tests can be ran with the ZEROCLOUD cloud provider, which is much faster and cheaper,
147
+
while providing decent API coverage:
148
+
149
+
```sh
150
+
$ make testacc TESTARGS="-run=TestAccResourceVmcSddc_Zerocloud"
151
+
```
152
+
140
153
# License
141
154
142
-
Copyright 2019 VMware, Inc.
155
+
Copyright 2019-2022 VMware, Inc.
143
156
144
157
The Terraform provider for VMware Cloud on AWS is available under [MPL2.0 license](https://github.com/vmware/terraform-provider-vmc/blob/master/LICENSE).
0 commit comments