File tree Expand file tree Collapse file tree 1 file changed +20
-1
lines changed Expand file tree Collapse file tree 1 file changed +20
-1
lines changed Original file line number Diff line number Diff line change @@ -65,9 +65,28 @@ $ make build
65
65
To then locally test:
66
66
67
67
``` sh
68
- $ cp terraform-provider-commercetools_${LOCAL_TEST_VERSION} ~ /.terraform.d/plugins/local/labd/commercetools/${LOCAL_TEST_VERSION} /${OS_ARCH} /terraform-provider-commercetools_${LOCAL_TEST_VERSION}
68
+ $ cd $GOPATH /src/github.com/labd/terraform-provider-commercetools
69
+ $ make build-local
70
+ ```
71
+ A build is created ` terraform-provider-commercetools_99.0.0 ` in the root directory and added to plugin folder available locally:
72
+ ``` sh
73
+ ~ /.terraform.d/plugins/local/labd/commercetools/99.0.0/${OS_ARCH} /terraform-provider-commercetools_v99.0.0
69
74
```
70
75
76
+ Use version ` 99.0.0 ` in the provider to test your changes locally
77
+
78
+ ``` hcl
79
+ terraform {
80
+ required_providers {
81
+ commercetools = {
82
+ source = "labd/commercetools"
83
+ version = "99.0.0"
84
+ }
85
+ }
86
+ }
87
+ ```
88
+
89
+
71
90
## Adding new resources
72
91
When commercetools releases new features which include new resources these need to be implemented
73
92
in terraform as new resources too. This provider is currently undergoing a migration path to
You can’t perform that action at this time.
0 commit comments