typo: fix observability plan name (#772)
This commit is contained in:
parent
6d4627cd24
commit
44f67adc34
7 changed files with 8 additions and 8 deletions
|
|
@ -52,7 +52,7 @@ data "stackit_observability_instance" "example" {
|
||||||
- `otlp_traces_url` (String)
|
- `otlp_traces_url` (String)
|
||||||
- `parameters` (Map of String) Additional parameters.
|
- `parameters` (Map of String) Additional parameters.
|
||||||
- `plan_id` (String) The Observability plan ID.
|
- `plan_id` (String) The Observability plan ID.
|
||||||
- `plan_name` (String) Specifies the Observability plan. E.g. `Monitoring-Medium-EU01`.
|
- `plan_name` (String) Specifies the Observability plan. E.g. `Observability-Monitoring-Medium-EU01`.
|
||||||
- `targets_url` (String) Specifies Targets URL.
|
- `targets_url` (String) Specifies Targets URL.
|
||||||
- `zipkin_spans_url` (String)
|
- `zipkin_spans_url` (String)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -57,7 +57,7 @@ This guide outlines the process of utilizing the [HashiCorp Vault provider](http
|
||||||
resource "stackit_observability_instance" "example" {
|
resource "stackit_observability_instance" "example" {
|
||||||
project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
|
project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
|
||||||
name = "example-instance"
|
name = "example-instance"
|
||||||
plan_name = "Monitoring-Medium-EU01"
|
plan_name = "Observability-Monitoring-Medium-EU01"
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@ Observability instance resource schema. Must have a `region` specified in the pr
|
||||||
resource "stackit_observability_instance" "example" {
|
resource "stackit_observability_instance" "example" {
|
||||||
project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
|
project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
|
||||||
name = "example-instance"
|
name = "example-instance"
|
||||||
plan_name = "Monitoring-Medium-EU01"
|
plan_name = "Observability-Monitoring-Medium-EU01"
|
||||||
acl = ["1.1.1.1/32", "2.2.2.2/32"]
|
acl = ["1.1.1.1/32", "2.2.2.2/32"]
|
||||||
metrics_retention_days = 7
|
metrics_retention_days = 7
|
||||||
metrics_retention_days_5m_downsampling = 30
|
metrics_retention_days_5m_downsampling = 30
|
||||||
|
|
@ -30,7 +30,7 @@ resource "stackit_observability_instance" "example" {
|
||||||
### Required
|
### Required
|
||||||
|
|
||||||
- `name` (String) The name of the Observability instance.
|
- `name` (String) The name of the Observability instance.
|
||||||
- `plan_name` (String) Specifies the Observability plan. E.g. `Monitoring-Medium-EU01`.
|
- `plan_name` (String) Specifies the Observability plan. E.g. `Observability-Monitoring-Medium-EU01`.
|
||||||
- `project_id` (String) STACKIT project ID to which the instance is associated.
|
- `project_id` (String) STACKIT project ID to which the instance is associated.
|
||||||
|
|
||||||
### Optional
|
### Optional
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
resource "stackit_observability_instance" "example" {
|
resource "stackit_observability_instance" "example" {
|
||||||
project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
|
project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
|
||||||
name = "example-instance"
|
name = "example-instance"
|
||||||
plan_name = "Monitoring-Medium-EU01"
|
plan_name = "Observability-Monitoring-Medium-EU01"
|
||||||
acl = ["1.1.1.1/32", "2.2.2.2/32"]
|
acl = ["1.1.1.1/32", "2.2.2.2/32"]
|
||||||
metrics_retention_days = 7
|
metrics_retention_days = 7
|
||||||
metrics_retention_days_5m_downsampling = 30
|
metrics_retention_days_5m_downsampling = 30
|
||||||
|
|
|
||||||
|
|
@ -107,7 +107,7 @@ func (d *instanceDataSource) Schema(_ context.Context, _ datasource.SchemaReques
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"plan_name": schema.StringAttribute{
|
"plan_name": schema.StringAttribute{
|
||||||
Description: "Specifies the Observability plan. E.g. `Monitoring-Medium-EU01`.",
|
Description: "Specifies the Observability plan. E.g. `Observability-Monitoring-Medium-EU01`.",
|
||||||
Computed: true,
|
Computed: true,
|
||||||
Validators: []validator.String{
|
Validators: []validator.String{
|
||||||
stringvalidator.LengthAtLeast(1),
|
stringvalidator.LengthAtLeast(1),
|
||||||
|
|
|
||||||
|
|
@ -418,7 +418,7 @@ func (r *instanceResource) Schema(_ context.Context, _ resource.SchemaRequest, r
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"plan_name": schema.StringAttribute{
|
"plan_name": schema.StringAttribute{
|
||||||
Description: "Specifies the Observability plan. E.g. `Monitoring-Medium-EU01`.",
|
Description: "Specifies the Observability plan. E.g. `Observability-Monitoring-Medium-EU01`.",
|
||||||
Required: true,
|
Required: true,
|
||||||
Validators: []validator.String{
|
Validators: []validator.String{
|
||||||
stringvalidator.LengthAtLeast(1),
|
stringvalidator.LengthAtLeast(1),
|
||||||
|
|
|
||||||
|
|
@ -57,7 +57,7 @@ This guide outlines the process of utilizing the [HashiCorp Vault provider](http
|
||||||
resource "stackit_observability_instance" "example" {
|
resource "stackit_observability_instance" "example" {
|
||||||
project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
|
project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
|
||||||
name = "example-instance"
|
name = "example-instance"
|
||||||
plan_name = "Monitoring-Medium-EU01"
|
plan_name = "Observability-Monitoring-Medium-EU01"
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue