From 9528ca23071d5e359b0798581330c1dee01189b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diogo=20Ferr=C3=A3o?= Date: Mon, 25 Mar 2024 14:03:58 +0000 Subject: [PATCH] Update Argus ACL documentation (#312) * update argus ACL docs * update datasource docs --- docs/data-sources/argus_instance.md | 2 +- docs/resources/argus_instance.md | 2 +- stackit/internal/services/argus/instance/datasource.go | 2 +- stackit/internal/services/argus/instance/resource.go | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/data-sources/argus_instance.md b/docs/data-sources/argus_instance.md index ebf5652e..4a1076ce 100644 --- a/docs/data-sources/argus_instance.md +++ b/docs/data-sources/argus_instance.md @@ -29,7 +29,7 @@ data "stackit_argus_instance" "example" { ### Read-Only -- `acl` (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. +- `acl` (Set of String) The access control list for this instance. Each entry is an IP address range that is permitted to access, in CIDR notation. - `alerting_url` (String) Specifies Alerting URL. - `dashboard_url` (String) Specifies Argus instance dashboard URL. - `grafana_initial_admin_password` (String, Sensitive) Specifies an initial Grafana admin password. diff --git a/docs/resources/argus_instance.md b/docs/resources/argus_instance.md index e8189af9..8e09024e 100644 --- a/docs/resources/argus_instance.md +++ b/docs/resources/argus_instance.md @@ -32,7 +32,7 @@ resource "stackit_argus_instance" "example" { ### Optional -- `acl` (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. +- `acl` (Set of String) The access control list for this instance. Each entry is an IP address range that is permitted to access, in CIDR notation. - `parameters` (Map of String) Additional parameters. ### Read-Only diff --git a/stackit/internal/services/argus/instance/datasource.go b/stackit/internal/services/argus/instance/datasource.go index bc38e5a0..9563ccae 100644 --- a/stackit/internal/services/argus/instance/datasource.go +++ b/stackit/internal/services/argus/instance/datasource.go @@ -197,7 +197,7 @@ func (d *instanceDataSource) Schema(_ context.Context, _ datasource.SchemaReques Computed: true, }, "acl": schema.SetAttribute{ - Description: "The access control list for this instance. Each entry is a single IP address that is permitted to access, in CIDR notation (/32).", + Description: "The access control list for this instance. Each entry is an IP address range that is permitted to access, in CIDR notation.", ElementType: types.StringType, Computed: true, }, diff --git a/stackit/internal/services/argus/instance/resource.go b/stackit/internal/services/argus/instance/resource.go index ed18aaf5..6b611bdd 100644 --- a/stackit/internal/services/argus/instance/resource.go +++ b/stackit/internal/services/argus/instance/resource.go @@ -254,7 +254,7 @@ func (r *instanceResource) Schema(_ context.Context, _ resource.SchemaRequest, r Computed: true, }, "acl": schema.SetAttribute{ - Description: "The access control list for this instance. Each entry is a single IP address that is permitted to access, in CIDR notation (/32).", + Description: "The access control list for this instance. Each entry is an IP address range that is permitted to access, in CIDR notation.", ElementType: types.StringType, Optional: true, Validators: []validator.Set{