* Copy over old resource files * Adjustments to the new observability credential resource.go * Register new resource in the provider * Add example * Adapt acc test * Update docs * Add deprecation message * Fix linter * Add deprecation message to dscription
40 lines
1.7 KiB
Markdown
40 lines
1.7 KiB
Markdown
---
|
|
# generated by https://github.com/hashicorp/terraform-plugin-docs
|
|
page_title: "stackit_loadbalancer_credential Resource - stackit"
|
|
subcategory: ""
|
|
description: |-
|
|
Load balancer credential resource schema. Must have a region specified in the provider configuration.
|
|
!> The stackit_loadbalancer_credential resource has been deprecated and will be removed after November 13th 2024. Please use stackit_loadbalancer_observability_credential instead, which offers the exact same functionality.
|
|
---
|
|
|
|
# stackit_loadbalancer_credential (Resource)
|
|
|
|
Load balancer credential resource schema. Must have a `region` specified in the provider configuration.
|
|
|
|
!> The `stackit_loadbalancer_credential` resource has been deprecated and will be removed after November 13th 2024. Please use `stackit_loadbalancer_observability_credential` instead, which offers the exact same functionality.
|
|
|
|
## Example Usage
|
|
|
|
```terraform
|
|
resource "stackit_loadbalancer_credential" "example" {
|
|
project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
|
|
display_name = "example-credentials"
|
|
username = "example-user"
|
|
password = "example-password"
|
|
}
|
|
```
|
|
|
|
<!-- schema generated by tfplugindocs -->
|
|
## Schema
|
|
|
|
### Required
|
|
|
|
- `display_name` (String) Credential name.
|
|
- `password` (String) The password used for the ARGUS instance.
|
|
- `project_id` (String) STACKIT project ID to which the load balancer credential is associated.
|
|
- `username` (String) The username used for the ARGUS instance.
|
|
|
|
### Read-Only
|
|
|
|
- `credentials_ref` (String) The credentials reference can be used for observability of the Load Balancer.
|
|
- `id` (String) Terraform's internal resource ID. It is structured as "`project_id`","`credentials_ref`".
|