From 5b8df29299a8109f0a9ce29612cbbd7d97acf8a6 Mon Sep 17 00:00:00 2001 From: jenkins Date: Wed, 27 Nov 2024 10:24:48 +0000 Subject: [PATCH] Committing changes from release-terraform-provider-auto-pr --- Makefile | 2 +- ..._gcp_service_attachments_accept_list_v2.md | 50 ++++++++++++++++ ...ice_attachments_accept_list_v2_instance.md | 46 +++++++++++++++ .../gcp_service_attachments_accept_list_v2.md | 57 +++++++++++++++++++ 4 files changed, 154 insertions(+), 1 deletion(-) create mode 100644 docs/data-sources/cluster_data_center_gcp_service_attachments_accept_list_v2.md create mode 100644 docs/data-sources/gcp_service_attachments_accept_list_v2_instance.md create mode 100644 docs/resources/gcp_service_attachments_accept_list_v2.md diff --git a/Makefile b/Makefile index 590676c1..c882b64a 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ BIN_NAME=terraform-provider-instaclustr -VERSION=2.0.171 +VERSION=2.0.172 FULL_BIN_NAME="${BIN_NAME}_v${VERSION}" SHASUM_NAME="${BIN_NAME}_${VERSION}_SHA256SUMS" diff --git a/docs/data-sources/cluster_data_center_gcp_service_attachments_accept_list_v2.md b/docs/data-sources/cluster_data_center_gcp_service_attachments_accept_list_v2.md new file mode 100644 index 00000000..46e139d4 --- /dev/null +++ b/docs/data-sources/cluster_data_center_gcp_service_attachments_accept_list_v2.md @@ -0,0 +1,50 @@ +--- +page_title: "instaclustr_cluster_data_center_gcp_service_attachments_accept_list_v2 Data Source - terraform-provider-instaclustr" +subcategory: "" +description: |- +--- + +# instaclustr_cluster_data_center_gcp_service_attachments_accept_list_v2 (Data Source) +List of accepted consumer projects or networks for a Cluster Data Center +## Example Usage +``` +data "instaclustr_cluster_data_center_gcp_service_attachments_accept_list_v2" "example" { + cluster_data_center_id = "" // the value of the `cluster_data_center_id` attribute defined in the root schema below +} +``` +## Glossary +The following terms are used to describe attributes in the schema of this data source: +- **_read-only_** - These are attributes that can only be read and not provided as an input to the data source. +- **_required_** - These attributes must be provided for the data source's information to be queried. +- **_nested block_** - These attributes use the [Terraform block syntax](https://www.terraform.io/language/attr-as-blocks) when defined as an input in the Terraform code. Attributes with the type **_repeatable nested block_** are the same except that the nested block can be defined multiple times with varying nested attributes. When reading nested block attributes, an index must be provided when accessing the contents of the nested block, example - `my_resource.nested_block_attribute[0].nested_attribute`. +## Root Level Schema +### Input attributes - Required +*___cluster_data_center_id___*
+Type: string, required
+
ID of the Cluster Data Centre.

+### Read-only attributes +*___cdc_id___*
+Type: string (uuid), read-only
+
ID of the Cluster Data Centre.

+*___id___*
+Type: string (uuid), read-only
+
The Instaclustr ID of the GCP Service Attachments Accept List.

+*___consumer_accept_list___*
+Type: repeatable nested block, read-only, see [consumer_accept_list](#nested--consumer_accept_list) for nested schema
+
Consumer projects or networks that are allowed to connect to the GCP Service Attachments.

+*___operation_status___*
+Type: string, read-only
+Constraints: allowed values: [ `NO_OPERATION`, `OPERATION_IN_PROGRESS`, `OPERATION_FAILED` ]

Indicates if the cluster is currently performing any operation such as being created, updated, or deleted

+ +## Nested schema for `consumer_accept_list` +Consumer projects or networks that are allowed to connect to the GCP Service Attachments.
+### Read-only attributes +*___connection_limit___*
+Type: integer, read-only
+
The connection limit for the project or network

+*___accept_project_id___*
+Type: string, read-only
+Constraints: pattern: `^(?!.*(google|null|undefined|ssl))^[a-z][a-z0-9-]{4,28}[a-z0-9]$`

The accepted project ID

+*___accept_network_name___*
+Type: string, read-only
+Constraints: pattern: `(^[a-z][a-z0-9-]{0,61}[a-z0-9]$|^$)`

The accepted network name of the parent project ID

diff --git a/docs/data-sources/gcp_service_attachments_accept_list_v2_instance.md b/docs/data-sources/gcp_service_attachments_accept_list_v2_instance.md new file mode 100644 index 00000000..651af886 --- /dev/null +++ b/docs/data-sources/gcp_service_attachments_accept_list_v2_instance.md @@ -0,0 +1,46 @@ +--- +page_title: "instaclustr_gcp_service_attachments_accept_list_v2_instance Data Source - terraform-provider-instaclustr" +subcategory: "" +description: |- +--- + +# instaclustr_gcp_service_attachments_accept_list_v2_instance (Data Source) +List of accepted consumer projects or networks for a Cluster Data Center +## Example Usage +``` +data "instaclustr_gcp_service_attachments_accept_list_v2_instance" "example" { + id = "" // the value of the `id` attribute defined in the root schema below +} +``` +## Glossary +The following terms are used to describe attributes in the schema of this data source: +- **_read-only_** - These are attributes that can only be read and not provided as an input to the data source. +- **_required_** - These attributes must be provided for the data source's information to be queried. +- **_nested block_** - These attributes use the [Terraform block syntax](https://www.terraform.io/language/attr-as-blocks) when defined as an input in the Terraform code. Attributes with the type **_repeatable nested block_** are the same except that the nested block can be defined multiple times with varying nested attributes. When reading nested block attributes, an index must be provided when accessing the contents of the nested block, example - `my_resource.nested_block_attribute[0].nested_attribute`. +## Root Level Schema +### Read-only attributes +*___cdc_id___*
+Type: string (uuid), read-only
+
ID of the Cluster Data Centre.

+*___id___*
+Type: string (uuid), read-only
+
The Instaclustr ID of the GCP Service Attachments Accept List.

+*___consumer_accept_list___*
+Type: repeatable nested block, read-only, see [consumer_accept_list](#nested--consumer_accept_list) for nested schema
+
Consumer projects or networks that are allowed to connect to the GCP Service Attachments.

+*___operation_status___*
+Type: string, read-only
+Constraints: allowed values: [ `NO_OPERATION`, `OPERATION_IN_PROGRESS`, `OPERATION_FAILED` ]

Indicates if the cluster is currently performing any operation such as being created, updated, or deleted

+ +## Nested schema for `consumer_accept_list` +Consumer projects or networks that are allowed to connect to the GCP Service Attachments.
+### Read-only attributes +*___connection_limit___*
+Type: integer, read-only
+
The connection limit for the project or network

+*___accept_project_id___*
+Type: string, read-only
+Constraints: pattern: `^(?!.*(google|null|undefined|ssl))^[a-z][a-z0-9-]{4,28}[a-z0-9]$`

The accepted project ID

+*___accept_network_name___*
+Type: string, read-only
+Constraints: pattern: `(^[a-z][a-z0-9-]{0,61}[a-z0-9]$|^$)`

The accepted network name of the parent project ID

diff --git a/docs/resources/gcp_service_attachments_accept_list_v2.md b/docs/resources/gcp_service_attachments_accept_list_v2.md new file mode 100644 index 00000000..3dd63243 --- /dev/null +++ b/docs/resources/gcp_service_attachments_accept_list_v2.md @@ -0,0 +1,57 @@ +--- +page_title: "instaclustr_gcp_service_attachments_accept_list_v2 Resource - terraform-provider-instaclustr" +subcategory: "" +description: |- +--- + +# instaclustr_gcp_service_attachments_accept_list_v2 (Resource) +List of accepted consumer projects or networks for a Cluster Data Center +## Example Usage +``` +resource "instaclustr_gcp_service_attachments_accept_list_v2" "example" { + cdc_id = "ddf992f6-96fb-4cce-b87c-f225df7f1745" +} +``` +## Glossary +The following terms are used to describe attributes in the schema of this resource: +- **_read-only_** - These are attributes that can only be read and not provided as an input to the resource. +- **_required_** - These attributes must be provided for the resource to be created. +- **_optional_** - These input attributes can be omitted, and doing so may result in a default value being used. +- **_immutable_** - These are input attributes that cannot be changed after the resource is created. +- **_updatable_** - These input attributes can be updated to a different value if needed, and doing so will trigger an update operation. +- **_nested block_** - These attributes use the [Terraform block syntax](https://www.terraform.io/language/attr-as-blocks) when defined as an input in the Terraform code. Attributes with the type **_repeatable nested block_** are the same except that the nested block can be defined multiple times with varying nested attributes. When reading nested block attributes, an index must be provided when accessing the contents of the nested block, example - `my_resource.nested_block_attribute[0].nested_attribute`. +## Root Level Schema +### Input attributes - Required +*___cdc_id___*
+Type: string (uuid), required, updatable
+
ID of the Cluster Data Centre.

+*___consumer_accept_list___*
+Type: repeatable nested block, required, updatable, see [consumer_accept_list](#nested--consumer_accept_list) for nested schema
+
Consumer projects or networks that are allowed to connect to the GCP Service Attachments.

+### Read-only attributes +*___id___*
+Type: string (uuid), read-only
+
The Instaclustr ID of the GCP Service Attachments Accept List.

+*___operation_status___*
+Type: string, read-only
+Constraints: allowed values: [ `NO_OPERATION`, `OPERATION_IN_PROGRESS`, `OPERATION_FAILED` ]

Indicates if the cluster is currently performing any operation such as being created, updated, or deleted

+ +## Nested schema for `consumer_accept_list` +Consumer projects or networks that are allowed to connect to the GCP Service Attachments.
+### Input attributes - Required +*___connection_limit___*
+Type: integer, required, updatable
+
The connection limit for the project or network

+*___accept_project_id___*
+Type: string, required, updatable
+Constraints: pattern: `^(?!.*(google|null|undefined|ssl))^[a-z][a-z0-9-]{4,28}[a-z0-9]$`

The accepted project ID

+### Input attributes - Optional +*___accept_network_name___*
+Type: string, optional, updatable
+Constraints: pattern: `(^[a-z][a-z0-9-]{0,61}[a-z0-9]$|^$)`

The accepted network name of the parent project ID

+## Import +This resource can be imported using the `terraform import` command as follows: +``` +terraform import instaclustr_gcp_service_attachments_accept_list_v2.[resource-name] "[resource-id]" +``` +`[resource-id]` is the unique identifier for this resource matching the value of the `id` attribute defined in the root schema above.