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,14 @@ description: |-
Secrets Manager instance data source schema. Must have a `region` specified in the provider configuration.
## Example Usage
```terraform
data "stackit_secretsmanager_instance" "example" {
project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
instance_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}
```
<!-- schema generated by tfplugindocs -->
## Schema
@ -22,6 +29,6 @@ Secrets Manager instance data source schema. Must have a `region` specified in t
### Read-Only
- `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
- `id` (String) Terraform's internal resource ID. It is structured as "`project_id`,`instance_id`".
- `name` (String) Instance name.