cd /path/terraform-provider-conformity
go mod tidy
go mod vendor
make install
cd example/path-to-main/
terraform init
terraform apply
Notes:
- for your own config, create a file name
terraform.tfvars
- add the following:
region = "region"
apikey = "apikey"
Turn on debug:
export TF_LOG_CORE=TRACE
export TF_LOG_PROVIDER=TRACE
Create a file name terraform.tfvars
and add all necessary variables here
Ensure terraform.tfvars
is included in .gitignore
so these secrets are not accidentally pushed to a remote git repository.
Terraform provides a way of reading variables from the environment: https://www.terraform.io/docs/cli/config/environment-variables.html#tf_var_name