From 6ab76d6192bae2cb86953014e5ddb52361979ea1 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 15 Apr 2021 18:16:42 +0000 Subject: [PATCH 1/2] Bump github.com/hashicorp/terraform-plugin-sdk/v2 from 2.4.0 to 2.5.0 Bumps [github.com/hashicorp/terraform-plugin-sdk/v2](https://github.com/hashicorp/terraform-plugin-sdk) from 2.4.0 to 2.5.0. - [Release notes](https://github.com/hashicorp/terraform-plugin-sdk/releases) - [Changelog](https://github.com/hashicorp/terraform-plugin-sdk/blob/main/CHANGELOG.md) - [Commits](https://github.com/hashicorp/terraform-plugin-sdk/compare/v2.4.0...v2.5.0) Signed-off-by: dependabot[bot] --- go.mod | 2 +- go.sum | 11 ++++++----- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/go.mod b/go.mod index e522cdddb..0d33b0380 100644 --- a/go.mod +++ b/go.mod @@ -9,6 +9,6 @@ require ( github.com/hashicorp/go-cty v1.4.1-0.20200414143053-d3edf31b6320 github.com/hashicorp/hcp-sdk-go v0.5.0 github.com/hashicorp/terraform-plugin-docs v0.4.0 - github.com/hashicorp/terraform-plugin-sdk/v2 v2.4.0 + github.com/hashicorp/terraform-plugin-sdk/v2 v2.5.0 github.com/stretchr/testify v1.7.0 ) diff --git a/go.sum b/go.sum index dc708ed22..4eef64f53 100644 --- a/go.sum +++ b/go.sum @@ -314,16 +314,17 @@ github.com/hashicorp/hcp-sdk-go v0.5.0 h1:g9sFOcRdCH5OMbsg7uO8TR+WjeSGVDgtnfWB2i github.com/hashicorp/hcp-sdk-go v0.5.0/go.mod h1:vpV5eSGZVmfCFcksi4AH8d/QSybuyLSH5UQcwmnRUQk= github.com/hashicorp/logutils v1.0.0 h1:dLEQVugN8vlakKOUE3ihGLTZJRB4j+M2cdTm/ORI65Y= github.com/hashicorp/logutils v1.0.0/go.mod h1:QIAnNjmIWmVIIkWDTG1z5v++HQmx9WQRO+LraFDTW64= -github.com/hashicorp/terraform-exec v0.12.0 h1:Tb1VC2gqArl9EJziJjoazep2MyxMk00tnNKV/rgMba0= github.com/hashicorp/terraform-exec v0.12.0/go.mod h1:SGhto91bVRlgXQWcJ5znSz+29UZIa8kpBbkGwQ+g9E8= +github.com/hashicorp/terraform-exec v0.13.0 h1:1Pth+pdWJAufJuWWjaVOVNEkoRTOjGn3hQpAqj4aPdg= +github.com/hashicorp/terraform-exec v0.13.0/go.mod h1:SGhto91bVRlgXQWcJ5znSz+29UZIa8kpBbkGwQ+g9E8= github.com/hashicorp/terraform-json v0.8.0 h1:XObQ3PgqU52YLQKEaJ08QtUshAfN3yu4u8ebSW0vztc= github.com/hashicorp/terraform-json v0.8.0/go.mod h1:3defM4kkMfttwiE7VakJDwCd4R+umhSQnvJwORXbprE= github.com/hashicorp/terraform-plugin-docs v0.4.0 h1:xJIXsMzBFwBvC1zcjoNz743GL2tNEfYFFU9+Hjp4Uek= github.com/hashicorp/terraform-plugin-docs v0.4.0/go.mod h1:fKj/V3t45tiXpSlUms/0G4OrBayyWpbUJ4WtLjBkINU= -github.com/hashicorp/terraform-plugin-go v0.1.0 h1:kyXZ0nkHxiRev/q18N40IbRRk4AV0zE/MDJkDM3u8dY= -github.com/hashicorp/terraform-plugin-go v0.1.0/go.mod h1:10V6F3taeDWVAoLlkmArKttR3IULlRWFAGtQIQTIDr4= -github.com/hashicorp/terraform-plugin-sdk/v2 v2.4.0 h1:2c+vG46celrDCsfYEIzaXxvBaAXCqlVG77LwtFz8cfs= -github.com/hashicorp/terraform-plugin-sdk/v2 v2.4.0/go.mod h1:JBItawj+j8Ssla5Ib6BC/W9VQkOucBfnX7VRtyx1vw8= +github.com/hashicorp/terraform-plugin-go v0.2.1 h1:EW/R8bB2Zbkjmugzsy1d27yS8/0454b3MtYHkzOknqA= +github.com/hashicorp/terraform-plugin-go v0.2.1/go.mod h1:10V6F3taeDWVAoLlkmArKttR3IULlRWFAGtQIQTIDr4= +github.com/hashicorp/terraform-plugin-sdk/v2 v2.5.0 h1:4EHNOAjwiYCeBxY16rt2KwyRNNVsCaVO3kWBbiXfYM0= +github.com/hashicorp/terraform-plugin-sdk/v2 v2.5.0/go.mod h1:z+cMZ0iswzZOahBJ3XmNWgWkVnAd2bl8g+FhyyuPDH4= github.com/hashicorp/yamux v0.0.0-20180604194846-3520598351bb/go.mod h1:+NfK9FKeTrX5uv1uIXGdwYDTeHna2qgaIlx54MXqjAM= github.com/hashicorp/yamux v0.0.0-20181012175058-2f1d1f20f75d h1:kJCB4vdITiW1eC1vq2e6IsrXKrZit1bv/TDYFGMp4BQ= github.com/hashicorp/yamux v0.0.0-20181012175058-2f1d1f20f75d/go.mod h1:+NfK9FKeTrX5uv1uIXGdwYDTeHna2qgaIlx54MXqjAM= From b4fc3e925e8f826c46b21b0ee93c223c071c4fef Mon Sep 17 00:00:00 2001 From: Brenna Hewer-Darroch <21015366+bcmdarroch@users.noreply.github.com> Date: Thu, 15 Apr 2021 16:31:33 -0700 Subject: [PATCH 2/2] go gen --- docs/data-sources/aws_network_peering.md | 6 ++++-- docs/data-sources/aws_transit_gateway_attachment.md | 3 ++- docs/data-sources/consul_agent_helm_config.md | 6 ++++-- docs/data-sources/consul_agent_kubernetes_secret.md | 6 ++++-- docs/data-sources/consul_cluster.md | 6 ++++-- docs/data-sources/consul_versions.md | 6 ++++-- docs/data-sources/hvn.md | 6 ++++-- docs/data-sources/vault_cluster.md | 6 ++++-- docs/index.md | 1 + docs/resources/aws_network_peering.md | 6 ++++-- docs/resources/aws_transit_gateway_attachment.md | 3 ++- docs/resources/consul_cluster.md | 6 ++++-- docs/resources/consul_cluster_root_token.md | 6 ++++-- docs/resources/consul_snapshot.md | 6 ++++-- docs/resources/hvn.md | 6 ++++-- docs/resources/vault_cluster.md | 6 ++++-- docs/resources/vault_cluster_admin_token.md | 3 ++- 17 files changed, 59 insertions(+), 29 deletions(-) diff --git a/docs/data-sources/aws_network_peering.md b/docs/data-sources/aws_network_peering.md index 1c57c039f..ebe060d9c 100644 --- a/docs/data-sources/aws_network_peering.md +++ b/docs/data-sources/aws_network_peering.md @@ -1,11 +1,12 @@ --- +# generated by https://github.com/hashicorp/terraform-plugin-docs page_title: "hcp_aws_network_peering Data Source - terraform-provider-hcp" subcategory: "" description: |- The AWS network peering data source provides information about an existing network peering between an HVN and a peer AWS VPC. --- -# Data Source `hcp_aws_network_peering` +# hcp_aws_network_peering (Data Source) The AWS network peering data source provides information about an existing network peering between an HVN and a peer AWS VPC. @@ -18,6 +19,7 @@ data "hcp_aws_network_peering" "test" { } ``` + ## Schema ### Required @@ -30,7 +32,7 @@ data "hcp_aws_network_peering" "test" { - **id** (String) The ID of this resource. - **timeouts** (Block, Optional) (see [below for nested schema](#nestedblock--timeouts)) -### Read-only +### Read-Only - **created_at** (String) The time that the network peering was created. - **expires_at** (String) The time after which the network peering will be considered expired if it hasn't transitioned into `ACCEPTED` or `ACTIVE` state. diff --git a/docs/data-sources/aws_transit_gateway_attachment.md b/docs/data-sources/aws_transit_gateway_attachment.md index ba16dc34e..0027503a1 100644 --- a/docs/data-sources/aws_transit_gateway_attachment.md +++ b/docs/data-sources/aws_transit_gateway_attachment.md @@ -20,6 +20,7 @@ data "hcp_aws_transit_gateway_attachment" "test" { } ``` + ## Schema ### Required @@ -33,7 +34,7 @@ data "hcp_aws_transit_gateway_attachment" "test" { - **timeouts** (Block, Optional) (see [below for nested schema](#nestedblock--timeouts)) - **wait_for_active_state** (Boolean) If `true`, Terraform will wait for the transit gateway attachment to reach an `ACTIVE` state before continuing. Default `false`. -### Read-only +### Read-Only - **created_at** (String) The time that the transit gateway attachment was created. - **destination_cidrs** (List of String) The list of associated CIDR ranges. Traffic from these CIDRs will be allowed for all resources in the HVN. Traffic to these CIDRs will be routed into this transit gateway attachment. diff --git a/docs/data-sources/consul_agent_helm_config.md b/docs/data-sources/consul_agent_helm_config.md index 687b4862f..3a276420b 100644 --- a/docs/data-sources/consul_agent_helm_config.md +++ b/docs/data-sources/consul_agent_helm_config.md @@ -1,11 +1,12 @@ --- +# generated by https://github.com/hashicorp/terraform-plugin-docs page_title: "hcp_consul_agent_helm_config Data Source - terraform-provider-hcp" subcategory: "" description: |- The Consul agent Helm config data source provides Helm values for a Consul agent running in Kubernetes. --- -# Data Source `hcp_consul_agent_helm_config` +# hcp_consul_agent_helm_config (Data Source) The Consul agent Helm config data source provides Helm values for a Consul agent running in Kubernetes. @@ -18,6 +19,7 @@ data "hcp_consul_agent_helm_config" "example" { } ``` + ## Schema ### Required @@ -31,7 +33,7 @@ data "hcp_consul_agent_helm_config" "example" { - **id** (String) The ID of this resource. - **timeouts** (Block, Optional) (see [below for nested schema](#nestedblock--timeouts)) -### Read-only +### Read-Only - **config** (String) The agent Helm config. diff --git a/docs/data-sources/consul_agent_kubernetes_secret.md b/docs/data-sources/consul_agent_kubernetes_secret.md index 4b36220e5..5c47eb040 100644 --- a/docs/data-sources/consul_agent_kubernetes_secret.md +++ b/docs/data-sources/consul_agent_kubernetes_secret.md @@ -1,11 +1,12 @@ --- +# generated by https://github.com/hashicorp/terraform-plugin-docs page_title: "hcp_consul_agent_kubernetes_secret Data Source - terraform-provider-hcp" subcategory: "" description: |- The agent config Kubernetes secret data source provides Consul agents running in Kubernetes the configuration needed to connect to the Consul cluster. --- -# Data Source `hcp_consul_agent_kubernetes_secret` +# hcp_consul_agent_kubernetes_secret (Data Source) The agent config Kubernetes secret data source provides Consul agents running in Kubernetes the configuration needed to connect to the Consul cluster. @@ -17,6 +18,7 @@ data "hcp_consul_agent_kubernetes_secret" "test" { } ``` + ## Schema ### Required @@ -28,7 +30,7 @@ data "hcp_consul_agent_kubernetes_secret" "test" { - **id** (String) The ID of this resource. - **timeouts** (Block, Optional) (see [below for nested schema](#nestedblock--timeouts)) -### Read-only +### Read-Only - **secret** (String) The Consul agent configuration in the format of a Kubernetes secret (YAML). diff --git a/docs/data-sources/consul_cluster.md b/docs/data-sources/consul_cluster.md index b4c2f61bf..43f34fb09 100644 --- a/docs/data-sources/consul_cluster.md +++ b/docs/data-sources/consul_cluster.md @@ -1,11 +1,12 @@ --- +# generated by https://github.com/hashicorp/terraform-plugin-docs page_title: "hcp_consul_cluster Data Source - terraform-provider-hcp" subcategory: "" description: |- The cluster data source provides information about an existing HCP Consul cluster. --- -# Data Source `hcp_consul_cluster` +# hcp_consul_cluster (Data Source) The cluster data source provides information about an existing HCP Consul cluster. @@ -17,6 +18,7 @@ data "hcp_consul_cluster" "example" { } ``` + ## Schema ### Required @@ -28,7 +30,7 @@ data "hcp_consul_cluster" "example" { - **id** (String) The ID of this resource. - **timeouts** (Block, Optional) (see [below for nested schema](#nestedblock--timeouts)) -### Read-only +### Read-Only - **cloud_provider** (String) The provider where the HCP Consul cluster is located. Only 'aws' is available at this time. - **connect_enabled** (Boolean) Denotes the Consul connect feature should be enabled for this cluster. Default to true. diff --git a/docs/data-sources/consul_versions.md b/docs/data-sources/consul_versions.md index a4f0d61e1..4cfc2a72b 100644 --- a/docs/data-sources/consul_versions.md +++ b/docs/data-sources/consul_versions.md @@ -1,11 +1,12 @@ --- +# generated by https://github.com/hashicorp/terraform-plugin-docs page_title: "hcp_consul_versions Data Source - terraform-provider-hcp" subcategory: "" description: |- The Consul versions data source provides the Consul versions supported by HCP. --- -# Data Source `hcp_consul_versions` +# hcp_consul_versions (Data Source) The Consul versions data source provides the Consul versions supported by HCP. @@ -15,6 +16,7 @@ The Consul versions data source provides the Consul versions supported by HCP. data "hcp_consul_versions" "default" {} ``` + ## Schema ### Optional @@ -22,7 +24,7 @@ data "hcp_consul_versions" "default" {} - **id** (String) The ID of this resource. - **timeouts** (Block, Optional) (see [below for nested schema](#nestedblock--timeouts)) -### Read-only +### Read-Only - **available** (List of String) The Consul versions available on HCP. - **preview** (List of String) The preview versions of Consul available on HCP. diff --git a/docs/data-sources/hvn.md b/docs/data-sources/hvn.md index c58544a25..35137dd15 100644 --- a/docs/data-sources/hvn.md +++ b/docs/data-sources/hvn.md @@ -1,11 +1,12 @@ --- +# generated by https://github.com/hashicorp/terraform-plugin-docs page_title: "hcp_hvn Data Source - terraform-provider-hcp" subcategory: "" description: |- The HVN data source provides information about an existing HashiCorp Virtual Network. --- -# Data Source `hcp_hvn` +# hcp_hvn (Data Source) The HVN data source provides information about an existing HashiCorp Virtual Network. @@ -17,6 +18,7 @@ data "hcp_hvn" "example" { } ``` + ## Schema ### Required @@ -28,7 +30,7 @@ data "hcp_hvn" "example" { - **id** (String) The ID of this resource. - **timeouts** (Block, Optional) (see [below for nested schema](#nestedblock--timeouts)) -### Read-only +### Read-Only - **cidr_block** (String) The CIDR range of the HVN. - **cloud_provider** (String) The provider where the HVN is located. diff --git a/docs/data-sources/vault_cluster.md b/docs/data-sources/vault_cluster.md index 2d8cb5b91..0e6ea7c30 100644 --- a/docs/data-sources/vault_cluster.md +++ b/docs/data-sources/vault_cluster.md @@ -1,11 +1,12 @@ --- +# generated by https://github.com/hashicorp/terraform-plugin-docs page_title: "hcp_vault_cluster Data Source - terraform-provider-hcp" subcategory: "" description: |- The cluster data source provides information about an existing HCP Vault cluster. --- -# Data Source `hcp_vault_cluster` +# hcp_vault_cluster (Data Source) The cluster data source provides information about an existing HCP Vault cluster. @@ -17,6 +18,7 @@ data "hcp_vault_cluster" "example" { } ``` + ## Schema ### Required @@ -28,7 +30,7 @@ data "hcp_vault_cluster" "example" { - **id** (String) The ID of this resource. - **timeouts** (Block, Optional) (see [below for nested schema](#nestedblock--timeouts)) -### Read-only +### Read-Only - **cloud_provider** (String) The provider where the HCP Vault cluster is located. - **created_at** (String) The time that the Vault cluster was created. diff --git a/docs/index.md b/docs/index.md index 864dbee3b..8b2461c9e 100644 --- a/docs/index.md +++ b/docs/index.md @@ -87,6 +87,7 @@ resource "hcp_vault_cluster" "example" { } ``` + ## Schema ### Optional diff --git a/docs/resources/aws_network_peering.md b/docs/resources/aws_network_peering.md index 039c88b4f..0d87d6298 100644 --- a/docs/resources/aws_network_peering.md +++ b/docs/resources/aws_network_peering.md @@ -1,11 +1,12 @@ --- +# generated by https://github.com/hashicorp/terraform-plugin-docs page_title: "hcp_aws_network_peering Resource - terraform-provider-hcp" subcategory: "" description: |- The AWS network peering resource allows you to manage a network peering between an HVN and a peer AWS VPC. --- -# Resource `hcp_aws_network_peering` +# hcp_aws_network_peering (Resource) The AWS network peering resource allows you to manage a network peering between an HVN and a peer AWS VPC. @@ -45,6 +46,7 @@ resource "aws_vpc_peering_connection_accepter" "peer" { } ``` + ## Schema ### Required @@ -61,7 +63,7 @@ resource "aws_vpc_peering_connection_accepter" "peer" { - **peering_id** (String) The ID of the network peering. - **timeouts** (Block, Optional) (see [below for nested schema](#nestedblock--timeouts)) -### Read-only +### Read-Only - **created_at** (String) The time that the network peering was created. - **expires_at** (String) The time after which the network peering will be considered expired if it hasn't transitioned into `ACCEPTED` or `ACTIVE` state. diff --git a/docs/resources/aws_transit_gateway_attachment.md b/docs/resources/aws_transit_gateway_attachment.md index 2cb426a8e..fac5cef69 100644 --- a/docs/resources/aws_transit_gateway_attachment.md +++ b/docs/resources/aws_transit_gateway_attachment.md @@ -68,6 +68,7 @@ resource "aws_ec2_transit_gateway_vpc_attachment_accepter" "example" { } ``` + ## Schema ### Required @@ -83,7 +84,7 @@ resource "aws_ec2_transit_gateway_vpc_attachment_accepter" "example" { - **id** (String) The ID of this resource. - **timeouts** (Block, Optional) (see [below for nested schema](#nestedblock--timeouts)) -### Read-only +### Read-Only - **created_at** (String) The time that the transit gateway attachment was created. - **expires_at** (String) The time after which the transit gateway attachment will be considered expired if it hasn't transitioned into `ACCEPTED` or `ACTIVE` state. diff --git a/docs/resources/consul_cluster.md b/docs/resources/consul_cluster.md index 2d186022d..a4e186ed4 100644 --- a/docs/resources/consul_cluster.md +++ b/docs/resources/consul_cluster.md @@ -1,11 +1,12 @@ --- +# generated by https://github.com/hashicorp/terraform-plugin-docs page_title: "hcp_consul_cluster Resource - terraform-provider-hcp" subcategory: "" description: |- The Consul cluster resource allows you to manage an HCP Consul cluster. --- -# Resource `hcp_consul_cluster` +# hcp_consul_cluster (Resource) The Consul cluster resource allows you to manage an HCP Consul cluster. @@ -26,6 +27,7 @@ resource "hcp_consul_cluster" "example" { } ``` + ## Schema ### Required @@ -45,7 +47,7 @@ resource "hcp_consul_cluster" "example" { - **size** (String) The t-shirt size representation of each server VM that this Consul cluster is provisioned with. Valid option for development tier - `x_small`. Valid options for other tiers - `small`, `medium`, `large`. For more details - https://cloud.hashicorp.com/pricing/consul - **timeouts** (Block, Optional) (see [below for nested schema](#nestedblock--timeouts)) -### Read-only +### Read-Only - **cloud_provider** (String) The provider where the HCP Consul cluster is located. - **consul_automatic_upgrades** (Boolean) Denotes that automatic Consul upgrades are enabled. diff --git a/docs/resources/consul_cluster_root_token.md b/docs/resources/consul_cluster_root_token.md index 0a3be4a81..195f52a9d 100644 --- a/docs/resources/consul_cluster_root_token.md +++ b/docs/resources/consul_cluster_root_token.md @@ -1,11 +1,12 @@ --- +# generated by https://github.com/hashicorp/terraform-plugin-docs page_title: "hcp_consul_cluster_root_token Resource - terraform-provider-hcp" subcategory: "" description: |- The cluster root token resource is the token used to bootstrap the cluster's ACL system. Using this resource to create a new root token for a cluster will invalidate the consul root token accessor id and Consul root token secret id properties of the cluster. --- -# Resource `hcp_consul_cluster_root_token` +# hcp_consul_cluster_root_token (Resource) The cluster root token resource is the token used to bootstrap the cluster's ACL system. Using this resource to create a new root token for a cluster will invalidate the consul root token accessor id and Consul root token secret id properties of the cluster. @@ -17,6 +18,7 @@ resource "hcp_consul_cluster_root_token" "example" { } ``` + ## Schema ### Required @@ -28,7 +30,7 @@ resource "hcp_consul_cluster_root_token" "example" { - **id** (String) The ID of this resource. - **timeouts** (Block, Optional) (see [below for nested schema](#nestedblock--timeouts)) -### Read-only +### Read-Only - **accessor_id** (String) The accessor ID of the root ACL token. - **kubernetes_secret** (String, Sensitive) The root ACL token Base64 encoded in a Kubernetes secret. diff --git a/docs/resources/consul_snapshot.md b/docs/resources/consul_snapshot.md index 480f1cda2..8e9cd0d17 100644 --- a/docs/resources/consul_snapshot.md +++ b/docs/resources/consul_snapshot.md @@ -1,11 +1,12 @@ --- +# generated by https://github.com/hashicorp/terraform-plugin-docs page_title: "hcp_consul_snapshot Resource - terraform-provider-hcp" subcategory: "" description: |- The Consul snapshot resource allows users to manage Consul snapshots of an HCP Consul cluster. Snapshots currently have a retention policy of 30 days. --- -# Resource `hcp_consul_snapshot` +# hcp_consul_snapshot (Resource) The Consul snapshot resource allows users to manage Consul snapshots of an HCP Consul cluster. Snapshots currently have a retention policy of 30 days. @@ -20,6 +21,7 @@ resource "hcp_consul_snapshot" "example" { } ``` + ## Schema ### Required @@ -32,7 +34,7 @@ resource "hcp_consul_snapshot" "example" { - **id** (String) The ID of this resource. - **timeouts** (Block, Optional) (see [below for nested schema](#nestedblock--timeouts)) -### Read-only +### Read-Only - **consul_version** (String) The version of Consul at the time of snapshot creation. - **organization_id** (String) The ID of the HCP organization where the project the HCP Consul cluster is located. diff --git a/docs/resources/hvn.md b/docs/resources/hvn.md index 010751e2e..0b007e7b7 100644 --- a/docs/resources/hvn.md +++ b/docs/resources/hvn.md @@ -1,11 +1,12 @@ --- +# generated by https://github.com/hashicorp/terraform-plugin-docs page_title: "hcp_hvn Resource - terraform-provider-hcp" subcategory: "" description: |- The HVN resource allows you to manage a HashiCorp Virtual Network in HCP. --- -# Resource `hcp_hvn` +# hcp_hvn (Resource) The HVN resource allows you to manage a HashiCorp Virtual Network in HCP. @@ -20,6 +21,7 @@ resource "hcp_hvn" "example" { } ``` + ## Schema ### Required @@ -34,7 +36,7 @@ resource "hcp_hvn" "example" { - **id** (String) The ID of this resource. - **timeouts** (Block, Optional) (see [below for nested schema](#nestedblock--timeouts)) -### Read-only +### Read-Only - **created_at** (String) The time that the HVN was created. - **organization_id** (String) The ID of the HCP organization where the HVN is located. diff --git a/docs/resources/vault_cluster.md b/docs/resources/vault_cluster.md index 79da5ef43..5a45ef647 100644 --- a/docs/resources/vault_cluster.md +++ b/docs/resources/vault_cluster.md @@ -1,11 +1,12 @@ --- +# generated by https://github.com/hashicorp/terraform-plugin-docs page_title: "hcp_vault_cluster Resource - terraform-provider-hcp" subcategory: "" description: |- The Vault cluster resource allows you to manage an HCP Vault cluster. --- -# Resource `hcp_vault_cluster` +# hcp_vault_cluster (Resource) The Vault cluster resource allows you to manage an HCP Vault cluster. @@ -25,6 +26,7 @@ resource "hcp_vault_cluster" "example" { } ``` + ## Schema ### Required @@ -39,7 +41,7 @@ resource "hcp_vault_cluster" "example" { - **public_endpoint** (Boolean) Denotes that the cluster has a public endpoint. Defaults to false. - **timeouts** (Block, Optional) (see [below for nested schema](#nestedblock--timeouts)) -### Read-only +### Read-Only - **cloud_provider** (String) The provider where the HCP Vault cluster is located. - **created_at** (String) The time that the Vault cluster was created. diff --git a/docs/resources/vault_cluster_admin_token.md b/docs/resources/vault_cluster_admin_token.md index db907af54..de0fea77a 100644 --- a/docs/resources/vault_cluster_admin_token.md +++ b/docs/resources/vault_cluster_admin_token.md @@ -30,6 +30,7 @@ resource "hcp_vault_cluster_admin_token" "example" { } ``` + ## Schema ### Required @@ -41,7 +42,7 @@ resource "hcp_vault_cluster_admin_token" "example" { - **id** (String) The ID of this resource. - **timeouts** (Block, Optional) (see [below for nested schema](#nestedblock--timeouts)) -### Read-only +### Read-Only - **created_at** (String) The time that the admin token was created. - **token** (String, Sensitive) The admin token of this HCP Vault cluster.