feat: implement observability log alertgroups (#785)
This commit is contained in:
parent
616788087c
commit
3c20b7743f
15 changed files with 1860 additions and 13 deletions
|
|
@ -129,14 +129,14 @@ func (a *alertGroupResource) Configure(ctx context.Context, req resource.Configu
|
|||
// Schema defines the schema for the resource.
|
||||
func (a *alertGroupResource) Schema(_ context.Context, _ resource.SchemaRequest, resp *resource.SchemaResponse) {
|
||||
resp.Schema = schema.Schema{
|
||||
Description: "Observability alert group resource schema. Must have a `region` specified in the provider configuration.",
|
||||
Description: "Observability alert group resource schema. Used to create alerts based on metrics (Thanos). Must have a `region` specified in the provider configuration.",
|
||||
Attributes: map[string]schema.Attribute{
|
||||
"id": schema.StringAttribute{
|
||||
Description: descriptions["id"],
|
||||
Computed: true,
|
||||
},
|
||||
"project_id": schema.StringAttribute{
|
||||
Description: "STACKIT project ID to which the alert group is associated.",
|
||||
Description: descriptions["project_id"],
|
||||
Required: true,
|
||||
Validators: []validator.String{
|
||||
validate.UUID(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue