Secrets manager - Add examples, update docs (#95)

* Add examples, update docs

* Fix typo

---------

Co-authored-by: Henrique Santos <henrique.santos@freiheit.com>
This commit is contained in:
Henrique Santos 2023-10-19 16:03:42 +01:00 committed by GitHub
parent 7a7f28a306
commit 59ee1b529e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 113 additions and 2 deletions

View file

@ -10,7 +10,15 @@ description: |-
Secrets Manager instance resource schema. Must have a `region` specified in the provider configuration.
## Example Usage
```terraform
resource "stackit_secretsmanager_instance" "example" {
project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
name = "example-instance"
acls = ["XXX.XXX.XXX.X/XX", "XX.XXX.XX.X/XX"]
}
```
<!-- schema generated by tfplugindocs -->
## Schema
@ -22,7 +30,7 @@ Secrets Manager instance resource schema. Must have a `region` specified in the
### Optional
- `acls` (List of String) The access control list for this instance. Each entry is an IP or IP range that is permitted to access, in CIDR notation
- `acls` (Set of String) The access control list for this instance. Each entry is an IP or IP range that is permitted to access, in CIDR notation
### Read-Only