Skip to content

Commit 1da8e92

Browse files
committed
Improved README.
1 parent dd1de28 commit 1da8e92

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

README.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,24 @@
11
# Persistent Counter provider for Terraform
22

33
```
4+
terraform {
5+
required_providers {
6+
persistent = {
7+
source = "rosmo/persistent"
8+
}
9+
}
10+
}
11+
412
resource "persistent_counter" "example" {
513
keys = ["a", "b", "c"]
614
}
715
8-
persistentcounter_values.example.values = { a = 0, b = 1, c = 1}
16+
# Result would be:
17+
# persistent_counter.example.values = { a = 0, b = 1, c = 1 }
918
```
1019

20+
The provider is available from Terraform registry: [registry.terraform.io/providers/rosmo/persistent/latest](https://registry.terraform.io/providers/rosmo/persistent/latest)
21+
1122
## Requirements
1223

1324
- [Terraform](https://www.terraform.io/downloads.html) >= 1.0

0 commit comments

Comments
 (0)