data skeleton for cluster resource

This commit is contained in:
Adrian Stobbe 2023-12-01 12:34:31 +01:00
parent 17aecaaf5f
commit e6f4be73bb
20 changed files with 1083 additions and 431 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 ./...
```