terraform-provider-stackitp.../docs/resources/secretsmanager_instance.md
Henrique Santos 59ee1b529e
Secrets manager - Add examples, update docs (#95)
* Add examples, update docs

* Fix typo

---------

Co-authored-by: Henrique Santos <henrique.santos@freiheit.com>
2023-10-19 16:03:42 +01:00

38 lines
1.2 KiB
Markdown

---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "stackit_secretsmanager_instance Resource - stackit"
subcategory: ""
description: |-
Secrets Manager instance resource schema. Must have a region specified in the provider configuration.
---
# stackit_secretsmanager_instance (Resource)
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
### Required
- `name` (String) Instance name.
- `project_id` (String) STACKIT project ID to which the instance is associated.
### Optional
- `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
- `id` (String) Terraform's internal resource ID. It is structured as "`project_id`,`instance_id`".
- `instance_id` (String) ID of the Secrets Manager instance.