Skip to content

Commit af214ba

Browse files
committed
update readme
1 parent 9e7ee52 commit af214ba

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ website/vendor
2929
examples/main.tf
3030
test_results
3131
vendor/
32+
.terraformrc
3233

3334
# Test exclusions
3435
!command/test-fixtures/**/*.tfstate

README.md

+12
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,18 @@ In order to run the full suite of Acceptance tests, run `make testacc`.
5959

6060
*Note:* Acceptance tests create real resources, and often cost money to run.
6161

62+
To run terraform with the provider, create a `.terraformrc` file in your home directory with the following content to override the provider installation with the local build:
63+
64+
```hcl
65+
provider_installation {
66+
dev_overrides {
67+
"registry.terraform.io/astronomer/astronomer" = "~/astronomer/astronomer-terraform-provider/bin" # Path to the provider binary
68+
}
69+
direct {}
70+
}
71+
```
72+
73+
6274
```shell
6375
make testacc
6476
```

0 commit comments

Comments
 (0)