Skip to content

Commit 75ba00c

Browse files
committed
fix docs for consumption, v0.1.1
1 parent 81ed7c0 commit 75ba00c

File tree

5 files changed

+29
-10
lines changed

5 files changed

+29
-10
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ PROVIDER_NAME=mcbroken
33
PROVIDER_FULL_PATH=$(REGISTRY)/$(NAMESPACE)/$(PROVIDER_NAME)
44
PROVIDER_FULL_NAME=terraform-provider-$(PROVIDER_NAME)
55
PROJECT=$(NAMESPACE)/$(PROVIDER_FULL_NAME)
6-
VERSION=0.1.0
6+
VERSION=0.1.1
77

88
build-mac: PLUGIN_DIR = ~/.terraform.d/plugins/local/provider/$(PROVIDER_NAME)/$(VERSION)/darwin_amd64
99
build-mac:

README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,17 @@ Base the count of your infrastucture resources on the national average of broken
1717

1818
## Usage
1919

20-
```terraform
20+
- View the provider on the [Hashicorp Registry](https://registry.terraform.io/providers/circa10a/mcbroken/latest/docs)
21+
22+
```hcl
23+
terraform {
24+
required_providers {
25+
mcbroken = {
26+
source = "circa10a/mcbroken"
27+
}
28+
}
29+
}
30+
2131
provider "mcbroken" {}
2232
2333
// Data source to get all available cities/national average of broken ice cream machines

docs/index.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,14 @@ Base the count of your infrastucture resources on the national average of broken
55
## Example Usage
66

77
```hcl
8+
terraform {
9+
required_providers {
10+
mcbroken = {
11+
source = "circa10a/mcbroken"
12+
}
13+
}
14+
}
15+
816
provider "mcbroken" {}
917
1018
// Data resource to get all available cities/national average of broken ice cream machines

examples/main.tf

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
terraform {
2+
required_providers {
3+
mcbroken = {
4+
source = "local/provider/mcbroken"
5+
version = "0.1.1"
6+
}
7+
}
8+
}
9+
110
provider "mcbroken" {}
211

312
// Data resource to get all available cities/national average of broken ice cream machines

examples/versions.tf

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)