terraform-provider: data skeleton for cluster resource (#2678)

This commit is contained in:
Adrian Stobbe 2023-12-05 16:16:50 +01:00 committed by GitHub
parent f5718b6655
commit c07c333d3d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
20 changed files with 1091 additions and 454 deletions

View file

@ -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 ./...
```