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
Copy file name to clipboardExpand all lines: README.md
+47-13Lines changed: 47 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -69,8 +69,8 @@ Use this API configure and access your business objects like Contacts, Opportuni
69
69
70
70
<!-- End Table of Contents [toc] -->
71
71
72
-
<!-- Start SDK Installation [installation] -->
73
-
## SDK Installation
72
+
<!-- Start Installation [installation] -->
73
+
## Installation
74
74
75
75
To install this provider, copy and paste this code into your Terraform configuration. Then, run `terraform init`.
76
76
@@ -79,7 +79,7 @@ terraform {
79
79
required_providers {
80
80
epilot-schema = {
81
81
source = "epilot/epilot-schema"
82
-
version = "0.14.0"
82
+
version = "0.15.0"
83
83
}
84
84
}
85
85
}
@@ -88,19 +88,17 @@ provider "epilot-schema" {
88
88
# Configuration options
89
89
}
90
90
```
91
-
<!-- End SDK Installation [installation] -->
91
+
<!-- End Installation [installation] -->
92
92
93
-
<!-- Start SDK Example Usage [usage] -->
94
-
## SDK Example Usage
93
+
<!-- Start Testing the provider locally [usage] -->
94
+
## Testing the provider locally
95
95
96
-
###Testing the provider locally
96
+
#### Local Provider
97
97
98
98
Should you want to validate a change locally, the `--debug` flag allows you to execute the provider against a terraform instance locally.
99
99
100
100
This also allows for debuggers (e.g. delve) to be attached to the provider.
101
101
102
-
### Example
103
-
104
102
```sh
105
103
go run main.go --debug
106
104
# Copy the TF_REATTACH_PROVIDERS env var
@@ -109,13 +107,49 @@ cd examples/your-example
109
107
TF_REATTACH_PROVIDERS=... terraform init
110
108
TF_REATTACH_PROVIDERS=... terraform apply
111
109
```
112
-
<!-- End SDK Example Usage [usage] -->
113
110
114
-
<!-- Start Available Resources and Operations [operations] -->
115
-
## Available Resources and Operations
111
+
#### Compiled Provider
112
+
113
+
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.
114
+
115
+
1. Execute `go build` to construct a binary called `terraform-provider-epilot-schema`
116
+
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
117
+
118
+
Terraform searches for the `.terraformrc` file in your home directory and applies any configuration settings you set.
116
119
120
+
```
121
+
provider_installation {
117
122
118
-
<!-- End Available Resources and Operations [operations] -->
0 commit comments