Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 737 Bytes

README.md

File metadata and controls

33 lines (22 loc) · 737 Bytes

Terraform Provider pgrmongodb

Run provider tests

$ cd /path/to/terraform-provider-pgrmongodb
$ TF_ACC=1 TF_LOG=INFO TF_LOG_PATH=tflog go test -timeout 99999s -v ./...

$ # for a specific test only (example using TestAccPGRMongoDBAtlasContainers)
$ TF_ACC=1 TF_LOG=INFO TF_LOG_PATH=tflog go test -timeout 99999s -run TestAccPGRMongoDBAtlasContainers -v ./...

Build provider

Run the following command to build and deploy the provider to your workstation.

$ make

Test sample configuration

Navigate to the examples directory.

$ cd examples

Run the following command to initialize the workspace and apply the sample configuration.

$ terraform init && terraform apply