-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SDK] TF Plugin Framework migration (#1)
* Provider + start on resourceOrder * Finish Dominos Address data source * Dominos store data source * Partial Menu Item data source * Menu & Menu items migrated * Tracking data source * Types
- Loading branch information
Showing
17 changed files
with
704 additions
and
961 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,18 @@ | ||
# Terraform | ||
example.tf | ||
.terraform/* | ||
.terraform | ||
.terraform.d | ||
*tfstate* | ||
crash.log | ||
terraform.tfstate | ||
terraform.tfplan | ||
.terraform.lock.hcl | ||
|
||
# Binary | ||
terraform-provider-dominos | ||
|
||
# VSCode | ||
.vscode | ||
|
||
# Randon | ||
_*.* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,21 @@ | ||
VERSION =0.1.1 | ||
|
||
build: *.go | ||
go get && go build -o terraform-provider-dominos ./ | ||
|
||
localinstall: | ||
localInstall: | ||
make clean | ||
make build | ||
mkdir -p ~/.terraform.d/plugins/terraform.local/mnthomson/dominos/0.1.0/linux_amd64/ | ||
cp terraform-provider-dominos ~/.terraform.d/plugins/terraform.local/mnthomson/dominos/0.1.0/linux_amd64/terraform-provider-dominos_v0.1.0 | ||
mkdir -p .terraform.d/plugins/registry.terraform.io/mnthomson/dominos/$(VERSION)/linux_amd64/ | ||
cp terraform-provider-dominos .terraform.d/plugins/registry.terraform.io/mnthomson/dominos/$(VERSION)/linux_amd64/terraform-provider-dominos_v$(VERSION) | ||
terraform init -plugin-dir .terraform.d/plugins/ | ||
|
||
clean: | ||
rm -rf .terraform .terraform.lock.hcl | ||
rm -rf terraform.tfstate* | ||
rm -rf terraform-provider-dominos | ||
|
||
localTest: | ||
clear | ||
make localInstall | ||
TF_LOG=TRACE terraform plan |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.