Skip to content

Commit ec3b3d5

Browse files
author
Dimitar Proynov
committed
Update README.md
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]>
1 parent c393c96 commit ec3b3d5

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

README.md

+15-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Terraform to work with [VMware Cloud on AWS](https://vmc.vmware.com/).
77

88

99
- [Terraform](https://www.terraform.io/downloads.html) 0.12+
10-
- [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)
1111

1212

1313
# Building the Provider
@@ -115,11 +115,17 @@ provider.
115115
Set required environment variables based as per your infrastructure settings
116116

117117
```sh
118+
$ # API token provided from CSP
118119
$ export API_TOKEN=xxx
120+
$ # Id of a VMC Org in which test SDDC are (to be) placed
119121
$ export ORG_ID=xxxx
122+
$ # Id of an existing SDDC used for SDDC data source (import) test
120123
$ export TEST_SDDC_ID=xxx
124+
$ # Name of above SDDC
121125
$ export TEST_SDDC_NAME=xxx
126+
$ # NSX URL of a non-ZEROCLOUD SDDC, used for real IP testing
122127
$ export NSXT_REVERSE_PROXY_URL=xxx
128+
$ # Account number of a connected to the above Org AWS account, required for test SDDC deployment
123129
$ export AWS_ACCOUNT_NUMBER=xxx
124130
```
125131

@@ -137,8 +143,15 @@ If you want to run against a specific set of tests, run make testacc with the TE
137143
$ make testacc TESTARGS="-run=TestAccResourceVmcSddc_basic"
138144
```
139145

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+
140153
# License
141154

142-
Copyright 2019 VMware, Inc.
155+
Copyright 2019-2022 VMware, Inc.
143156

144157
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

Comments
 (0)