Skip to content

Commit 0566eb9

Browse files
committed
Update documentations
1 parent 1ebe5a3 commit 0566eb9

File tree

3 files changed

+15
-3
lines changed

3 files changed

+15
-3
lines changed

docs/index.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,17 @@ description: |-
1313
## Example Usage
1414

1515
```terraform
16-
provider "scaffolding" {
16+
locals {
1717
url = "https://localhost:9200"
1818
username = "elastic"
1919
password = "password"
2020
}
21+
22+
provider "essecurity" {
23+
url = local.url
24+
username = local.username
25+
password = local.password
26+
}
2127
```
2228

2329
<!-- schema generated by tfplugindocs -->

examples/provider/provider.tf

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
1-
provider "scaffolding" {
1+
locals {
22
url = "https://localhost:9200"
33
username = "elastic"
44
password = "password"
55
}
6+
7+
provider "essecurity" {
8+
url = local.url
9+
username = local.username
10+
password = local.password
11+
}

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ func main() {
3636

3737
opts := providerserver.ServeOpts{
3838
// TODO: Update this string with the published name of your provider.
39-
Address: "registry.terraform.io/ka-nabellinc/elasticsearch-security",
39+
Address: "registry.terraform.io/providers/ka-nabellinc/elasticsearch-security",
4040
Debug: debug,
4141
}
4242

0 commit comments

Comments
 (0)