mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-05-02 06:16:08 -04:00
terraform-provider: data skeleton for cluster resource (#2678)
This commit is contained in:
parent
f5718b6655
commit
c07c333d3d
20 changed files with 1091 additions and 454 deletions
|
@ -43,7 +43,12 @@ TF_CLI_CONFIG_FILE=config.tfrc terraform apply
|
|||
Terraform acceptance tests can be run hermetically through Bazel (recommended):
|
||||
|
||||
```bash
|
||||
bazel test //terraform-provider-constellation/internal/provider:provider_acc_test
|
||||
bazel test --test_tag_filters=integration //terraform-provider-constellation/internal/provider:provider_acc_test
|
||||
```
|
||||
|
||||
The tests can also be run through Go, but the `TF_ACC` environment variable needs to be set to `1`, and the host's Terraform binary is used, which may produce inaccurate test results.
|
||||
|
||||
```bash
|
||||
cd terraform-provider-constellation
|
||||
TF_ACC=1 go test -v ./...
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue