You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To install this provider, copy and paste this code into your Terraform configuration. Then, run `terraform init`.
58
58
@@ -61,7 +61,7 @@ terraform {
61
61
required_providers {
62
62
epilot-workflow = {
63
63
source = "epilot-dev/epilot-workflow"
64
-
version = "0.16.0"
64
+
version = "0.17.0"
65
65
}
66
66
}
67
67
}
@@ -70,19 +70,17 @@ provider "epilot-workflow" {
70
70
# Configuration options
71
71
}
72
72
```
73
-
<!-- End SDK Installation [installation] -->
73
+
<!-- End Installation [installation] -->
74
74
75
-
<!-- Start SDK Example Usage [usage] -->
76
-
## SDK Example Usage
75
+
<!-- Start Testing the provider locally [usage] -->
76
+
## Testing the provider locally
77
77
78
-
###Testing the provider locally
78
+
#### Local Provider
79
79
80
80
Should you want to validate a change locally, the `--debug` flag allows you to execute the provider against a terraform instance locally.
81
81
82
82
This also allows for debuggers (e.g. delve) to be attached to the provider.
83
83
84
-
### Example
85
-
86
84
```sh
87
85
go run main.go --debug
88
86
# Copy the TF_REATTACH_PROVIDERS env var
@@ -91,13 +89,45 @@ cd examples/your-example
91
89
TF_REATTACH_PROVIDERS=... terraform init
92
90
TF_REATTACH_PROVIDERS=... terraform apply
93
91
```
94
-
<!-- End SDK Example Usage [usage] -->
95
92
96
-
<!-- Start Available Resources and Operations [operations] -->
97
-
## Available Resources and Operations
93
+
#### Compiled Provider
94
+
95
+
Terraform allows you to use local provider builds by setting a `dev_overrides` block in a configuration file called `.terraformrc`. This block overrides all other configured installation methods.
96
+
97
+
1. Execute `go build` to construct a binary called `terraform-provider-epilot-workflow`
98
+
2. Ensure that the `.terraformrc` file is configured with a `dev_overrides` section such that your local copy of terraform can see the provider binary
99
+
100
+
Terraform searches for the `.terraformrc` file in your home directory and applies any configuration settings you set.
0 commit comments