Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README to include more steps to set up local env #85

Merged
merged 1 commit into from
Jul 24, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 22 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,31 @@ cd /path/terraform-provider-conformity
go mod tidy
go mod vendor
```
#### 3. Create the Artifact:
#### 3. Update Makefile with your own values:
```makefile
# ...
VERSION=0.6 # Set a new version
OS_ARCH=darwin_amd64 # Update to value that matches with your OS
# ...
```
#### 4. Create the Artifact:
```sh
make install
```
#### 4. Now, you can test terraform code:
#### 5. Go to your terraform project, and update `source` set in your terraform provider block:
```hcl
terraform {
required_providers {
conformity = {
version = "YOUR_VERSION"
# Set path to match with values in HOSTNAME/NAMESPACE/NAME defined in the Makefile
source = "trendmicro.com/cloudone/conformity"
}
}
}
```
#### 6. Now, you can test terraform code:
```sh
cd example/path-to-main/
terraform init
Expand Down
Loading