Stuff
This commit is contained in:
parent
085d1377de
commit
fc1ab1f2cb
2 changed files with 19 additions and 14 deletions
4
Makefile
4
Makefile
|
@ -4,7 +4,7 @@ provider_directory=~/.terraform.d/plugins/terraform.local/balhau/receita/1.0.0/$
|
|||
|
||||
.PHONY: help
|
||||
help: ## Show this help.
|
||||
@sed -ne 's/^\([^[:space:]]*\):.*##/\1:\t/p' $(MAKEFILE_LIST) | column -t -s $$'\t'
|
||||
@sed -ne 's/^\([^[:space:]]*\):.*##/\1:\t/p' $(MAKEFILE_LIST) | column -t -s $$
|
||||
|
||||
.PHONY: clean-bin
|
||||
clean-bin: ## Clean all the generated binaries
|
||||
|
@ -23,7 +23,7 @@ terraform-init: clean-terraform-state ## Execute terraform-init on example terra
|
|||
|
||||
.PHONY: terraform-apply
|
||||
terraform-apply: ## Execute terraform-apply on example directory
|
||||
cd example; terraform apply
|
||||
cd example; terraform apply -auto-approve
|
||||
|
||||
.PHONY: build
|
||||
build: ## Build binaries, both the backed dummy server as the terraform provider binary
|
||||
|
|
|
@ -10,13 +10,18 @@ provider "receita" {
|
|||
endpoint = "http://localhost:9999"
|
||||
}
|
||||
|
||||
resource "receita_receita" "receita_one" {
|
||||
resource "receita_receita" "bola_carne" {
|
||||
name = "Bola de carne"
|
||||
#name = "Batata frita"
|
||||
author = "Maria Bacalhau"
|
||||
}
|
||||
|
||||
resource "receita_receita" "receita_two" {
|
||||
name = "Bacalhau com Todos"
|
||||
resource "receita_receita" "bacalhau_todos" {
|
||||
name = "Bacalhau com todos"
|
||||
author = "Antonio Mariscada"
|
||||
}
|
||||
|
||||
resource "receita_receita" "pato_bravo" {
|
||||
name = "Pato bravo"
|
||||
author = "Jose Pato"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue