Skip to content

Commit

Permalink
feat: added .env.test.example and updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
akhilmhdh committed Nov 25, 2024
1 parent 60d06c9 commit f8ea94f
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
4 changes: 4 additions & 0 deletions .env.test.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
INFISICAL_HOST=
INFISICAL_UNIVERSAL_AUTH_CLIENT_ID=
INFISICAL_UNIVERSAL_AUTH_CLIENT_SECRET=
INFISICAL_TEST_ORG_ID=
14 changes: 9 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Infisical Terraform Provider
# Infisical Terraform Provider

# Usage
# Usage

```
terraform {
Expand Down Expand Up @@ -39,7 +39,8 @@ output "single-secret" {
}
```

# Development
# Development

Tutorials for creating Terraform providers can be found on the [HashiCorp Learn](https://learn.hashicorp.com/collections/terraform/providers-plugin-framework) platform. _Terraform Plugin Framework specific guides are titled accordingly._

## Requirements
Expand All @@ -55,9 +56,12 @@ To compile the provider, run `go install`. This will build the provider and put

To generate or update documentation, run `go generate`.

In order to run the full suite of Acceptance tests, run `make testacc`.
## Testing

In order to run the full suite of Acceptance tests

*Note:* Acceptance tests create real resources, and often cost money to run.
- Set the following environment variables or save them in a .env file at the root. You can refer to the [example environment variable](./.env.test.example).
- Run the following command from root

```shell
make testacc
Expand Down

0 comments on commit f8ea94f

Please sign in to comment.