diff --git a/.github/workflows/terraform_provider.yml b/.github/workflows/terraform_provider.yml index 04afe486b..e70e9dfb8 100644 --- a/.github/workflows/terraform_provider.yml +++ b/.github/workflows/terraform_provider.yml @@ -18,13 +18,13 @@ jobs: steps: - name: Set up Go - uses: actions/setup-go@v2.2.0 + uses: actions/setup-go@v3 with: go-version: '1.16' id: go - name: Check out code into the Go module directory - uses: actions/checkout@v2.4.0 + uses: actions/checkout@v3 - name: Run 'go mod tidy' and check for differences run: | @@ -38,13 +38,13 @@ jobs: steps: - name: Set up Go - uses: actions/setup-go@v2.2.0 + uses: actions/setup-go@v3 with: go-version: '1.16' id: go - name: Check out code into the Go module directory - uses: actions/checkout@v2.4.0 + uses: actions/checkout@v3 - name: Get dependencies run: | @@ -62,13 +62,13 @@ jobs: steps: - name: Set up Go - uses: actions/setup-go@v2.2.0 + uses: actions/setup-go@v3 with: go-version: '1.16' id: go - name: Check out code into the Go module directory - uses: actions/checkout@v2.4.0 + uses: actions/checkout@v3 - name: Get dependencies run: | @@ -86,13 +86,13 @@ jobs: steps: - name: Set up Go - uses: actions/setup-go@v2.2.0 + uses: actions/setup-go@v3 with: go-version: '1.16' id: go - name: Check out code into the Go module directory - uses: actions/checkout@v2.4.0 + uses: actions/checkout@v3 - name: Generate docs and check for differences run: | @@ -106,13 +106,13 @@ jobs: steps: - name: Set up Go - uses: actions/setup-go@v2.2.0 + uses: actions/setup-go@v3 with: go-version: '1.16' id: go - name: Check out code into the Go module directory - uses: actions/checkout@v2.4.0 + uses: actions/checkout@v3 - name: Generate docs and check for differences run: | diff --git a/CHANGELOG.md b/CHANGELOG.md index 383b45e60..1d3531369 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,20 @@ +## 0.25.0 (Unreleased) + +FEATURES: + +* resource/vault_cluster: enable paths_filter and scaling in Plus-tier [GH-281] + +FIXES: + +* datasource/hcp_packer_iteration: make sure test registry is plus [GH-284] + +IMPROVEMENTS: + +* provider: Bump `actions/setup-go` from 2.2.0 to 3.0.0 ([#285](https://github.com/hashicorp/terraform-provider-hcp/issues/285)) +* provider: Bump `actions/checkout` from 2.2.0 to 3.0.0 ([#285](https://github.com/hashicorp/terraform-provider-hcp/issues/285)) +* provider: Bump `google.golang.org/grpc` from 1.44.0 to 1.45.0 ([#285](https://github.com/hashicorp/terraform-provider-hcp/issues/285)) +* provider: Bump `terraform-plugin-docs` from 0.5.1 to 0.7.0 ([#285](https://github.com/hashicorp/terraform-provider-hcp/issues/285)) + ## 0.24.1 (March 23, 2022) FIXES: @@ -8,11 +25,11 @@ FIXES: FEATURES: -* hcp_vault_cluster: add support for performance replication in Plus tier clusters ([#266](https://github.com/hashicorp/terraform-provider-hcp/issues/266)) +* resource/vault_cluster: add support for performance replication in Plus tier clusters ([#266](https://github.com/hashicorp/terraform-provider-hcp/issues/266)) FIXES: -* hcp_consul_cluster: Fix min_consul_version on creation not taking affect ([#252](https://github.com/hashicorp/terraform-provider-hcp/issues/252)) +* resource/consul_cluster: Fix min_consul_version on creation not taking affect ([#252](https://github.com/hashicorp/terraform-provider-hcp/issues/252)) ## 0.23.1 (March 03, 2022) diff --git a/GNUmakefile b/GNUmakefile index cabdfc24f..f2894e593 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -44,7 +44,7 @@ testacc: fmtcheck echo "See the contributing guide for more information: https://github.com/hashicorp/terraform-provider-hcp/blob/main/contributing/writing-tests.md"; \ exit 1; \ fi - TF_ACC=1 go test $(TEST) -v $(TESTARGS) -timeout 120m + TF_ACC=1 go test $(TEST) -v $(TESTARGS) -timeout 210m depscheck: @echo "==> Checking source code with go mod tidy..." diff --git a/docs/data-sources/aws_network_peering.md b/docs/data-sources/aws_network_peering.md index 31efbe2e2..27be2806b 100644 --- a/docs/data-sources/aws_network_peering.md +++ b/docs/data-sources/aws_network_peering.md @@ -25,32 +25,32 @@ data "hcp_aws_network_peering" "test" { ### Required -- **hvn_id** (String) The ID of the HashiCorp Virtual Network (HVN). -- **peering_id** (String) The ID of the network peering. +- `hvn_id` (String) The ID of the HashiCorp Virtual Network (HVN). +- `peering_id` (String) The ID of the network peering. ### Optional -- **id** (String) The ID of this resource. -- **timeouts** (Block, Optional) (see [below for nested schema](#nestedblock--timeouts)) -- **wait_for_active_state** (Boolean) If `true`, Terraform will wait for the network peering to reach an `ACTIVE` state before continuing. Default `false`. +- `id` (String) The ID of this resource. +- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts)) +- `wait_for_active_state` (Boolean) If `true`, Terraform will wait for the network peering to reach an `ACTIVE` state before continuing. Default `false`. ### 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. -- **organization_id** (String) The ID of the HCP organization where the network peering is located. Always matches the HVN's organization. -- **peer_account_id** (String) The account ID of the peer VPC in AWS. -- **peer_vpc_id** (String) The ID of the peer VPC in AWS. -- **peer_vpc_region** (String) The region of the peer VPC in AWS. -- **project_id** (String) The ID of the HCP project where the network peering is located. Always matches the HVN's project. -- **provider_peering_id** (String) The peering connection ID used by AWS. -- **self_link** (String) A unique URL identifying the network peering. +- `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. +- `organization_id` (String) The ID of the HCP organization where the network peering is located. Always matches the HVN's organization. +- `peer_account_id` (String) The account ID of the peer VPC in AWS. +- `peer_vpc_id` (String) The ID of the peer VPC in AWS. +- `peer_vpc_region` (String) The region of the peer VPC in AWS. +- `project_id` (String) The ID of the HCP project where the network peering is located. Always matches the HVN's project. +- `provider_peering_id` (String) The peering connection ID used by AWS. +- `self_link` (String) A unique URL identifying the network peering. ### Nested Schema for `timeouts` Optional: -- **default** (String) +- `default` (String) diff --git a/docs/data-sources/aws_transit_gateway_attachment.md b/docs/data-sources/aws_transit_gateway_attachment.md index edec66e41..348cf195d 100644 --- a/docs/data-sources/aws_transit_gateway_attachment.md +++ b/docs/data-sources/aws_transit_gateway_attachment.md @@ -24,31 +24,31 @@ data "hcp_aws_transit_gateway_attachment" "test" { ### Required -- **hvn_id** (String) The ID of the HashiCorp Virtual Network (HVN). -- **transit_gateway_attachment_id** (String) The user-settable name of the transit gateway attachment in HCP. +- `hvn_id` (String) The ID of the HashiCorp Virtual Network (HVN). +- `transit_gateway_attachment_id` (String) The user-settable name of the transit gateway attachment in HCP. ### Optional -- **id** (String) The ID of this resource. -- **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`. +- `id` (String) The ID of this resource. +- `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 -- **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. -- **organization_id** (String) The ID of the HCP organization where the transit gateway attachment is located. Always matches the HVN's organization. -- **project_id** (String) The ID of the HCP project where the transit gateway attachment is located. Always matches the HVN's project. -- **provider_transit_gateway_attachment_id** (String) The transit gateway attachment ID used by AWS. -- **self_link** (String) A unique URL identifying the transit gateway attachment. -- **state** (String) The state of the transit gateway attachment. -- **transit_gateway_id** (String) The ID of the user-owned transit gateway in AWS. +- `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. +- `organization_id` (String) The ID of the HCP organization where the transit gateway attachment is located. Always matches the HVN's organization. +- `project_id` (String) The ID of the HCP project where the transit gateway attachment is located. Always matches the HVN's project. +- `provider_transit_gateway_attachment_id` (String) The transit gateway attachment ID used by AWS. +- `self_link` (String) A unique URL identifying the transit gateway attachment. +- `state` (String) The state of the transit gateway attachment. +- `transit_gateway_id` (String) The ID of the user-owned transit gateway in AWS. ### Nested Schema for `timeouts` Optional: -- **default** (String) +- `default` (String) diff --git a/docs/data-sources/azure_peering_connection.md b/docs/data-sources/azure_peering_connection.md index 0da13970c..196b6641a 100644 --- a/docs/data-sources/azure_peering_connection.md +++ b/docs/data-sources/azure_peering_connection.md @@ -1,11 +1,11 @@ --- -page_title: "hcp_azure_peering_connection Data Source - terraform-provider-hcp" +page_title: "Data Source hcp_azure_peering_connection - terraform-provider-hcp" subcategory: "" description: |- The Azure peering connection data source provides information about a peering connection between an HVN and a peer Azure VNet. --- -# hcp_azure_peering_connection (Data Source) +# Data Source (hcp_azure_peering_connection) -> **Note:** Azure support coming soon. This data source is currently in internal preview only. @@ -26,33 +26,33 @@ data "hcp_azure_peering_connection" "test" { ### Required -- **hvn_link** (String) The `self_link` of the HashiCorp Virtual Network (HVN). -- **peering_id** (String) The ID of the peering connection. +- `hvn_link` (String) The `self_link` of the HashiCorp Virtual Network (HVN). +- `peering_id` (String) The ID of the peering connection. ### Optional -- **id** (String) The ID of this resource. -- **timeouts** (Block, Optional) (see [below for nested schema](#nestedblock--timeouts)) -- **wait_for_active_state** (Boolean) If `true`, Terraform will wait for the peering connection to reach an `ACTIVE` state before continuing. Default `false`. +- `id` (String) The ID of this resource. +- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts)) +- `wait_for_active_state` (Boolean) If `true`, Terraform will wait for the peering connection to reach an `ACTIVE` state before continuing. Default `false`. ### Read-Only -- **application_id** (String) The ID of the Azure application whose credentials are used to peer the HCP HVN's underlying VNet with the customer VNet. -- **azure_peering_id** (String) The peering connection ID used by Azure. -- **created_at** (String) The time that the peering connection was created. -- **expires_at** (String) The time after which the peering connection will be considered expired if it hasn't transitioned into `ACCEPTED` or `ACTIVE` state. -- **organization_id** (String) The ID of the HCP organization where the peering connection is located. Always matches the HVN's organization. -- **peer_resource_group_name** (String) The resource group name of the peer VNet in Azure. -- **peer_subscription_id** (String) The subscription ID of the peer VNet in Azure. -- **peer_tenant_id** (String) The tenant ID of the peer VNet in Azure. -- **peer_vnet_name** (String) The name of the peer VNet in Azure. -- **peer_vnet_region** (String) The region of the peer VNet in Azure. -- **project_id** (String) The ID of the HCP project where the peering connection is located. Always matches the HVN's project. -- **self_link** (String) A unique URL identifying the peering connection +- `application_id` (String) The ID of the Azure application whose credentials are used to peer the HCP HVN's underlying VNet with the customer VNet. +- `azure_peering_id` (String) The peering connection ID used by Azure. +- `created_at` (String) The time that the peering connection was created. +- `expires_at` (String) The time after which the peering connection will be considered expired if it hasn't transitioned into `ACCEPTED` or `ACTIVE` state. +- `organization_id` (String) The ID of the HCP organization where the peering connection is located. Always matches the HVN's organization. +- `peer_resource_group_name` (String) The resource group name of the peer VNet in Azure. +- `peer_subscription_id` (String) The subscription ID of the peer VNet in Azure. +- `peer_tenant_id` (String) The tenant ID of the peer VNet in Azure. +- `peer_vnet_name` (String) The name of the peer VNet in Azure. +- `peer_vnet_region` (String) The region of the peer VNet in Azure. +- `project_id` (String) The ID of the HCP project where the peering connection is located. Always matches the HVN's project. +- `self_link` (String) A unique URL identifying the peering connection ### Nested Schema for `timeouts` Optional: -- **default** (String) +- `default` (String) diff --git a/docs/data-sources/consul_agent_helm_config.md b/docs/data-sources/consul_agent_helm_config.md index 3a276420b..b9b242a7c 100644 --- a/docs/data-sources/consul_agent_helm_config.md +++ b/docs/data-sources/consul_agent_helm_config.md @@ -24,24 +24,24 @@ data "hcp_consul_agent_helm_config" "example" { ### Required -- **cluster_id** (String) The ID of the HCP Consul cluster. -- **kubernetes_endpoint** (String) The FQDN for the Kubernetes API. +- `cluster_id` (String) The ID of the HCP Consul cluster. +- `kubernetes_endpoint` (String) The FQDN for the Kubernetes API. ### Optional -- **expose_gossip_ports** (Boolean) Denotes that the gossip ports should be exposed. -- **id** (String) The ID of this resource. -- **timeouts** (Block, Optional) (see [below for nested schema](#nestedblock--timeouts)) +- `expose_gossip_ports` (Boolean) Denotes that the gossip ports should be exposed. +- `id` (String) The ID of this resource. +- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts)) ### Read-Only -- **config** (String) The agent Helm config. +- `config` (String) The agent Helm config. ### Nested Schema for `timeouts` Optional: -- **default** (String) +- `default` (String) diff --git a/docs/data-sources/consul_agent_kubernetes_secret.md b/docs/data-sources/consul_agent_kubernetes_secret.md index 5c47eb040..c7f12cba4 100644 --- a/docs/data-sources/consul_agent_kubernetes_secret.md +++ b/docs/data-sources/consul_agent_kubernetes_secret.md @@ -23,22 +23,22 @@ data "hcp_consul_agent_kubernetes_secret" "test" { ### Required -- **cluster_id** (String) The ID of the HCP Consul cluster. +- `cluster_id` (String) The ID of the HCP Consul cluster. ### Optional -- **id** (String) The ID of this resource. -- **timeouts** (Block, Optional) (see [below for nested schema](#nestedblock--timeouts)) +- `id` (String) The ID of this resource. +- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts)) ### Read-Only -- **secret** (String) The Consul agent configuration in the format of a Kubernetes secret (YAML). +- `secret` (String) The Consul agent configuration in the format of a Kubernetes secret (YAML). ### Nested Schema for `timeouts` Optional: -- **default** (String) +- `default` (String) diff --git a/docs/data-sources/consul_cluster.md b/docs/data-sources/consul_cluster.md index 03f7b984a..0a89815b9 100644 --- a/docs/data-sources/consul_cluster.md +++ b/docs/data-sources/consul_cluster.md @@ -23,43 +23,43 @@ data "hcp_consul_cluster" "example" { ### Required -- **cluster_id** (String) The ID of the HCP Consul cluster. +- `cluster_id` (String) The ID of the HCP Consul cluster. ### Optional -- **id** (String) The ID of this resource. -- **timeouts** (Block, Optional) (see [below for nested schema](#nestedblock--timeouts)) +- `id` (String) The ID of this resource. +- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts)) ### Read-Only -- **auto_hvn_to_hvn_peering** (Boolean) Enables automatic HVN to HVN peering when creating a secondary cluster in a federation. -- **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. -- **consul_automatic_upgrades** (Boolean) Denotes that automatic Consul upgrades are enabled. -- **consul_ca_file** (String) The cluster CA file encoded as a Base64 string. -- **consul_config_file** (String) The cluster config encoded as a Base64 string. -- **consul_private_endpoint_url** (String) The private URL for the Consul UI. -- **consul_public_endpoint_url** (String) The public URL for the Consul UI. This will be empty if `public_endpoint` is `false`. -- **consul_snapshot_interval** (String) The Consul snapshot interval. -- **consul_snapshot_retention** (String) The retention policy for Consul snapshots. -- **consul_version** (String) The Consul version of the cluster. -- **datacenter** (String) The Consul data center name of the cluster. If not specified, it is defaulted to the value of `cluster_id`. -- **hvn_id** (String) The ID of the HVN this HCP Consul cluster is associated to. -- **organization_id** (String) The ID of the organization the project for this HCP Consul cluster is located. -- **primary_link** (String) The `self_link` of the HCP Consul cluster which is the primary in the federation setup with this HCP Consul cluster. If not specified, it is a standalone cluster. -- **project_id** (String) The ID of the project this HCP Consul cluster is located. -- **public_endpoint** (Boolean) Denotes that the cluster has a public endpoint for the Consul UI. Defaults to false. -- **region** (String) The region where the HCP Consul cluster is located. -- **scale** (Number) The the number of Consul server nodes in the cluster. -- **self_link** (String) A unique URL identifying the HCP Consul cluster. -- **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 -- **tier** (String) The tier that the HCP Consul cluster will be provisioned as. Only `development`, `standard` and `plus` are available at this time. +- `auto_hvn_to_hvn_peering` (Boolean) Enables automatic HVN to HVN peering when creating a secondary cluster in a federation. +- `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. +- `consul_automatic_upgrades` (Boolean) Denotes that automatic Consul upgrades are enabled. +- `consul_ca_file` (String) The cluster CA file encoded as a Base64 string. +- `consul_config_file` (String) The cluster config encoded as a Base64 string. +- `consul_private_endpoint_url` (String) The private URL for the Consul UI. +- `consul_public_endpoint_url` (String) The public URL for the Consul UI. This will be empty if `public_endpoint` is `false`. +- `consul_snapshot_interval` (String) The Consul snapshot interval. +- `consul_snapshot_retention` (String) The retention policy for Consul snapshots. +- `consul_version` (String) The Consul version of the cluster. +- `datacenter` (String) The Consul data center name of the cluster. If not specified, it is defaulted to the value of `cluster_id`. +- `hvn_id` (String) The ID of the HVN this HCP Consul cluster is associated to. +- `organization_id` (String) The ID of the organization the project for this HCP Consul cluster is located. +- `primary_link` (String) The `self_link` of the HCP Consul cluster which is the primary in the federation setup with this HCP Consul cluster. If not specified, it is a standalone cluster. +- `project_id` (String) The ID of the project this HCP Consul cluster is located. +- `public_endpoint` (Boolean) Denotes that the cluster has a public endpoint for the Consul UI. Defaults to false. +- `region` (String) The region where the HCP Consul cluster is located. +- `scale` (Number) The the number of Consul server nodes in the cluster. +- `self_link` (String) A unique URL identifying the HCP Consul cluster. +- `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 +- `tier` (String) The tier that the HCP Consul cluster will be provisioned as. Only `development`, `standard` and `plus` are available at this time. ### Nested Schema for `timeouts` Optional: -- **default** (String) +- `default` (String) diff --git a/docs/data-sources/consul_versions.md b/docs/data-sources/consul_versions.md index 4cfc2a72b..66f8de00d 100644 --- a/docs/data-sources/consul_versions.md +++ b/docs/data-sources/consul_versions.md @@ -21,20 +21,20 @@ data "hcp_consul_versions" "default" {} ### Optional -- **id** (String) The ID of this resource. -- **timeouts** (Block, Optional) (see [below for nested schema](#nestedblock--timeouts)) +- `id` (String) The ID of this resource. +- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts)) ### Read-Only -- **available** (List of String) The Consul versions available on HCP. -- **preview** (List of String) The preview versions of Consul available on HCP. -- **recommended** (String) The recommended Consul version for HCP clusters. +- `available` (List of String) The Consul versions available on HCP. +- `preview` (List of String) The preview versions of Consul available on HCP. +- `recommended` (String) The recommended Consul version for HCP clusters. ### Nested Schema for `timeouts` Optional: -- **default** (String) +- `default` (String) diff --git a/docs/data-sources/hvn.md b/docs/data-sources/hvn.md index e372b1df6..1b1740bfe 100644 --- a/docs/data-sources/hvn.md +++ b/docs/data-sources/hvn.md @@ -23,29 +23,29 @@ data "hcp_hvn" "example" { ### Required -- **hvn_id** (String) The ID of the HashiCorp Virtual Network (HVN). +- `hvn_id` (String) The ID of the HashiCorp Virtual Network (HVN). ### Optional -- **id** (String) The ID of this resource. -- **timeouts** (Block, Optional) (see [below for nested schema](#nestedblock--timeouts)) +- `id` (String) The ID of this resource. +- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts)) ### Read-Only -- **cidr_block** (String) The CIDR range of the HVN. -- **cloud_provider** (String) The provider where the HVN is located. -- **created_at** (String) The time that the HVN was created. -- **organization_id** (String) The ID of the HCP organization where the HVN is located. -- **project_id** (String) The ID of the HCP project where the HVN is located. -- **provider_account_id** (String) The provider account ID where the HVN is located. -- **region** (String) The region where the HVN is located. -- **self_link** (String) A unique URL identifying the HVN. +- `cidr_block` (String) The CIDR range of the HVN. +- `cloud_provider` (String) The provider where the HVN is located. +- `created_at` (String) The time that the HVN was created. +- `organization_id` (String) The ID of the HCP organization where the HVN is located. +- `project_id` (String) The ID of the HCP project where the HVN is located. +- `provider_account_id` (String) The provider account ID where the HVN is located. +- `region` (String) The region where the HVN is located. +- `self_link` (String) A unique URL identifying the HVN. ### Nested Schema for `timeouts` Optional: -- **default** (String) +- `default` (String) diff --git a/docs/data-sources/hvn_peering_connection.md b/docs/data-sources/hvn_peering_connection.md index abda65798..2d4e874ae 100644 --- a/docs/data-sources/hvn_peering_connection.md +++ b/docs/data-sources/hvn_peering_connection.md @@ -25,28 +25,28 @@ data "hcp_hvn_peering_connection" "test" { ### Required -- **hvn_1** (String) The unique URL of one of the HVNs being peered. -- **hvn_2** (String) The unique URL of one of the HVNs being peered. -- **peering_id** (String) The ID of the peering connection. +- `hvn_1` (String) The unique URL of one of the HVNs being peered. +- `hvn_2` (String) The unique URL of one of the HVNs being peered. +- `peering_id` (String) The ID of the peering connection. ### Optional -- **id** (String) The ID of this resource. -- **timeouts** (Block, Optional) (see [below for nested schema](#nestedblock--timeouts)) +- `id` (String) The ID of this resource. +- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts)) ### Read-Only -- **created_at** (String) The time that the peering connection was created. -- **expires_at** (String) The time after which the peering connection will be considered expired if it hasn't transitioned into `ACCEPTED` or `ACTIVE` state. -- **organization_id** (String) The ID of the HCP organization where the peering connection is located. Always matches the HVNs' organization. -- **project_id** (String) The ID of the HCP project where the peering connection is located. Always matches the HVNs' project. -- **self_link** (String) A unique URL identifying the peering connection +- `created_at` (String) The time that the peering connection was created. +- `expires_at` (String) The time after which the peering connection will be considered expired if it hasn't transitioned into `ACCEPTED` or `ACTIVE` state. +- `organization_id` (String) The ID of the HCP organization where the peering connection is located. Always matches the HVNs' organization. +- `project_id` (String) The ID of the HCP project where the peering connection is located. Always matches the HVNs' project. +- `self_link` (String) A unique URL identifying the peering connection ### Nested Schema for `timeouts` Optional: -- **default** (String) +- `default` (String) diff --git a/docs/data-sources/hvn_route.md b/docs/data-sources/hvn_route.md index c602293dd..1c1f703e0 100644 --- a/docs/data-sources/hvn_route.md +++ b/docs/data-sources/hvn_route.md @@ -24,27 +24,27 @@ data "hcp_hvn_route" "example" { ### Required -- **hvn_link** (String) The `self_link` of the HashiCorp Virtual Network (HVN). -- **hvn_route_id** (String) The ID of the HVN route. +- `hvn_link` (String) The `self_link` of the HashiCorp Virtual Network (HVN). +- `hvn_route_id` (String) The ID of the HVN route. ### Optional -- **id** (String) The ID of this resource. -- **timeouts** (Block, Optional) (see [below for nested schema](#nestedblock--timeouts)) +- `id` (String) The ID of this resource. +- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts)) ### Read-Only -- **created_at** (String) The time that the HVN route was created. -- **destination_cidr** (String) The destination CIDR of the HVN route. -- **self_link** (String) A unique URL identifying the HVN route. -- **state** (String) The state of the HVN route. -- **target_link** (String) A unique URL identifying the target of the HVN route. +- `created_at` (String) The time that the HVN route was created. +- `destination_cidr` (String) The destination CIDR of the HVN route. +- `self_link` (String) A unique URL identifying the HVN route. +- `state` (String) The state of the HVN route. +- `target_link` (String) A unique URL identifying the target of the HVN route. ### Nested Schema for `timeouts` Optional: -- **default** (String) +- `default` (String) diff --git a/docs/data-sources/packer_image.md b/docs/data-sources/packer_image.md index fa4bbb60c..c9117e53a 100644 --- a/docs/data-sources/packer_image.md +++ b/docs/data-sources/packer_image.md @@ -1,11 +1,11 @@ --- -page_title: "hcp_packer_image Data Source - terraform-provider-hcp" +page_title: "Data Source hcp_packer_image - terraform-provider-hcp" subcategory: "" description: |- The Packer Image data source iteration gets the most recent iteration (or build) of an image, given an iteration id. --- -# hcp_packer_image (Data Source) +# Data Source (hcp_packer_image) The Packer Image data source iteration gets the most recent iteration (or build) of an image, given an iteration id. @@ -36,31 +36,31 @@ output "packer-registry-ubuntu" { ### Required -- **bucket_name** (String) The slug of the HCP Packer Registry image bucket to pull from. -- **cloud_provider** (String) Name of the cloud provider this image is stored-in. -- **iteration_id** (String) HCP ID of this image. -- **region** (String) Region this image is stored in, if any. +- `bucket_name` (String) The slug of the HCP Packer Registry image bucket to pull from. +- `cloud_provider` (String) Name of the cloud provider this image is stored-in. +- `iteration_id` (String) HCP ID of this image. +- `region` (String) Region this image is stored in, if any. ### Optional -- **id** (String) The ID of this resource. -- **timeouts** (Block, Optional) (see [below for nested schema](#nestedblock--timeouts)) +- `id` (String) The ID of this resource. +- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts)) ### Read-Only -- **build_id** (String) HCP ID of this build. -- **cloud_image_id** (String) Cloud Image ID or URL string identifying this image for the builder that built it. -- **component_type** (String) Name of the builder that built this. Ex: 'amazon-ebs.example' -- **created_at** (String) Creation time of this build. -- **labels** (Map of String) Labels associated with this build. -- **organization_id** (String) The ID of the organization this HCP Packer registry is located in. -- **packer_run_uuid** (String) UUID of this build. -- **project_id** (String) The ID of the project this HCP Packer registry is located in. +- `build_id` (String) HCP ID of this build. +- `cloud_image_id` (String) Cloud Image ID or URL string identifying this image for the builder that built it. +- `component_type` (String) Name of the builder that built this. Ex: 'amazon-ebs.example' +- `created_at` (String) Creation time of this build. +- `labels` (Map of String) Labels associated with this build. +- `organization_id` (String) The ID of the organization this HCP Packer registry is located in. +- `packer_run_uuid` (String) UUID of this build. +- `project_id` (String) The ID of the project this HCP Packer registry is located in. ### Nested Schema for `timeouts` Optional: -- **default** (String) +- `default` (String) diff --git a/docs/data-sources/packer_image_iteration.md b/docs/data-sources/packer_image_iteration.md index fefb054f7..f3103acdd 100644 --- a/docs/data-sources/packer_image_iteration.md +++ b/docs/data-sources/packer_image_iteration.md @@ -1,11 +1,11 @@ --- -page_title: "hcp_packer_image_iteration Data Source - terraform-provider-hcp" +page_title: "Data Source hcp_packer_image_iteration - terraform-provider-hcp" subcategory: "" description: |- The Packer Image data source iteration gets the most recent iteration (or build) of an image, given a channel. --- -# hcp_packer_image_iteration (Data Source) +# Data Source (hcp_packer_image_iteration) The Packer Image data source iteration gets the most recent iteration (or build) of an image, given a channel. diff --git a/docs/data-sources/packer_iteration.md b/docs/data-sources/packer_iteration.md index 98eaa53e7..c9973a282 100644 --- a/docs/data-sources/packer_iteration.md +++ b/docs/data-sources/packer_iteration.md @@ -1,11 +1,11 @@ --- -page_title: "hcp_packer_iteration Data Source - terraform-provider-hcp" +page_title: "Data Source hcp_packer_iteration - terraform-provider-hcp" subcategory: "" description: |- The Packer Image data source iteration gets the most recent iteration (or build) of an image, given a channel. --- -# hcp_packer_iteration (Data Source) +# Data Source (hcp_packer_iteration) The Packer Image data source iteration gets the most recent iteration (or build) of an image, given a channel. @@ -23,28 +23,28 @@ data "hcp_packer_iteration" "hardened-source" { ### Required -- **bucket_name** (String) The slug of the HCP Packer Registry image bucket to pull from. -- **channel** (String) The channel that points to the version of the image you want. +- `bucket_name` (String) The slug of the HCP Packer Registry image bucket to pull from. +- `channel` (String) The channel that points to the version of the image you want. ### Optional -- **id** (String) The ID of this resource. -- **timeouts** (Block, Optional) (see [below for nested schema](#nestedblock--timeouts)) +- `id` (String) The ID of this resource. +- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts)) ### Read-Only -- **author_id** (String) The name of the person who created this iteration. -- **created_at** (String) Creation time of this iteration -- **fingerprint** (String) The unique fingerprint associated with this iteration; often a git sha. -- **incremental_version** (Number) Incremental version of this iteration -- **organization_id** (String) The ID of the organization this HCP Packer registry is located in. -- **project_id** (String) The ID of the project this HCP Packer registry is located in. -- **ulid** (String) The ULID of this iteration. -- **updated_at** (String) Time this build was last updated. +- `author_id` (String) The name of the person who created this iteration. +- `created_at` (String) Creation time of this iteration +- `fingerprint` (String) The unique fingerprint associated with this iteration; often a git sha. +- `incremental_version` (Number) Incremental version of this iteration +- `organization_id` (String) The ID of the organization this HCP Packer registry is located in. +- `project_id` (String) The ID of the project this HCP Packer registry is located in. +- `ulid` (String) The ULID of this iteration. +- `updated_at` (String) Time this build was last updated. ### Nested Schema for `timeouts` Optional: -- **default** (String) +- `default` (String) diff --git a/docs/data-sources/vault_cluster.md b/docs/data-sources/vault_cluster.md index 5dcd8a627..516242674 100644 --- a/docs/data-sources/vault_cluster.md +++ b/docs/data-sources/vault_cluster.md @@ -23,37 +23,37 @@ data "hcp_vault_cluster" "example" { ### Required -- **cluster_id** (String) The ID of the HCP Vault cluster. +- `cluster_id` (String) The ID of the HCP Vault cluster. ### Optional -- **id** (String) The ID of this resource. -- **timeouts** (Block, Optional) (see [below for nested schema](#nestedblock--timeouts)) +- `id` (String) The ID of this resource. +- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts)) ### 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. -- **hvn_id** (String) The ID of the HVN this HCP Vault cluster is associated to. -- **min_vault_version** (String) The minimum Vault version to use when creating the cluster. If not specified, it is defaulted to the version that is currently recommended by HCP. -- **namespace** (String) The name of the customer namespace this HCP Vault cluster is located in. -- **organization_id** (String) The ID of the organization this HCP Vault cluster is located in. -- **paths_filter** (List of String) The performance replication [paths filter](https://learn.hashicorp.com/tutorials/vault/paths-filter). Applies to performance replication secondaries only and operates in "deny" mode only. -- **primary_link** (String) The `self_link` of the HCP Vault Plus tier cluster which is the primary in the performance replication setup with this HCP Vault Plus tier cluster. If not specified, it is a standalone Plus tier HCP Vault cluster. -- **project_id** (String) The ID of the project this HCP Vault cluster is located in. -- **public_endpoint** (Boolean) Denotes that the cluster has a public endpoint. Defaults to false. -- **region** (String) The region where the HCP Vault cluster is located. -- **self_link** (String) A unique URL identifying the Vault cluster. -- **tier** (String) The tier that the HCP Vault cluster will be provisioned as. Only 'development' is available at this time. -- **vault_private_endpoint_url** (String) The private URL for the Vault cluster. -- **vault_public_endpoint_url** (String) The public URL for the Vault cluster. This will be empty if `public_endpoint` is `false`. -- **vault_version** (String) The Vault version of the cluster. +- `cloud_provider` (String) The provider where the HCP Vault cluster is located. +- `created_at` (String) The time that the Vault cluster was created. +- `hvn_id` (String) The ID of the HVN this HCP Vault cluster is associated to. +- `min_vault_version` (String) The minimum Vault version to use when creating the cluster. If not specified, it is defaulted to the version that is currently recommended by HCP. +- `namespace` (String) The name of the customer namespace this HCP Vault cluster is located in. +- `organization_id` (String) The ID of the organization this HCP Vault cluster is located in. +- `paths_filter` (List of String) The performance replication [paths filter](https://learn.hashicorp.com/tutorials/vault/paths-filter). Applies to performance replication secondaries only and operates in "deny" mode only. +- `primary_link` (String) The `self_link` of the HCP Vault Plus tier cluster which is the primary in the performance replication setup with this HCP Vault Plus tier cluster. If not specified, it is a standalone Plus tier HCP Vault cluster. +- `project_id` (String) The ID of the project this HCP Vault cluster is located in. +- `public_endpoint` (Boolean) Denotes that the cluster has a public endpoint. Defaults to false. +- `region` (String) The region where the HCP Vault cluster is located. +- `self_link` (String) A unique URL identifying the Vault cluster. +- `tier` (String) The tier that the HCP Vault cluster will be provisioned as. Only 'development' is available at this time. +- `vault_private_endpoint_url` (String) The private URL for the Vault cluster. +- `vault_public_endpoint_url` (String) The public URL for the Vault cluster. This will be empty if `public_endpoint` is `false`. +- `vault_version` (String) The Vault version of the cluster. ### Nested Schema for `timeouts` Optional: -- **default** (String) +- `default` (String) diff --git a/docs/index.md b/docs/index.md index 8a46203cb..488ef0473 100644 --- a/docs/index.md +++ b/docs/index.md @@ -38,7 +38,7 @@ terraform { required_providers { hcp = { source = "hashicorp/hcp" - version = "~> 0.24.1" + version = "~> 0.25.0" } } } @@ -122,7 +122,7 @@ resource "hcp_vault_cluster" "example" { ### Optional -- **client_id** (String) The OAuth2 Client ID for API operations. -- **client_secret** (String) The OAuth2 Client Secret for API operations. +- `client_id` (String) The OAuth2 Client ID for API operations. +- `client_secret` (String) The OAuth2 Client Secret for API operations. For more information about HCP, please review our [documentation page](https://cloud.hashicorp.com/docs/hcp). \ No newline at end of file diff --git a/docs/resources/aws_network_peering.md b/docs/resources/aws_network_peering.md index 4056156ec..bc9fba832 100644 --- a/docs/resources/aws_network_peering.md +++ b/docs/resources/aws_network_peering.md @@ -58,34 +58,34 @@ resource "aws_vpc_peering_connection_accepter" "peer" { ### Required -- **hvn_id** (String) The ID of the HashiCorp Virtual Network (HVN). -- **peer_account_id** (String) The account ID of the peer VPC in AWS. -- **peer_vpc_id** (String) The ID of the peer VPC in AWS. -- **peer_vpc_region** (String) The region of the peer VPC in AWS. -- **peering_id** (String) The ID of the network peering. +- `hvn_id` (String) The ID of the HashiCorp Virtual Network (HVN). +- `peer_account_id` (String) The account ID of the peer VPC in AWS. +- `peer_vpc_id` (String) The ID of the peer VPC in AWS. +- `peer_vpc_region` (String) The region of the peer VPC in AWS. +- `peering_id` (String) The ID of the network peering. ### Optional -- **id** (String) The ID of this resource. -- **timeouts** (Block, Optional) (see [below for nested schema](#nestedblock--timeouts)) +- `id` (String) The ID of this resource. +- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts)) ### 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. -- **organization_id** (String) The ID of the HCP organization where the network peering is located. Always matches the HVN's organization. -- **project_id** (String) The ID of the HCP project where the network peering is located. Always matches the HVN's project. -- **provider_peering_id** (String) The peering connection ID used by AWS. -- **self_link** (String) A unique URL identifying the network peering. +- `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. +- `organization_id` (String) The ID of the HCP organization where the network peering is located. Always matches the HVN's organization. +- `project_id` (String) The ID of the HCP project where the network peering is located. Always matches the HVN's project. +- `provider_peering_id` (String) The peering connection ID used by AWS. +- `self_link` (String) A unique URL identifying the network peering. ### Nested Schema for `timeouts` Optional: -- **create** (String) -- **default** (String) -- **delete** (String) +- `create` (String) +- `default` (String) +- `delete` (String) ## Import diff --git a/docs/resources/aws_transit_gateway_attachment.md b/docs/resources/aws_transit_gateway_attachment.md index 59bb3c609..528178096 100644 --- a/docs/resources/aws_transit_gateway_attachment.md +++ b/docs/resources/aws_transit_gateway_attachment.md @@ -1,11 +1,11 @@ --- -page_title: "hcp_aws_transit_gateway_attachment Resource - terraform-provider-hcp" +page_title: "Resource hcp_aws_transit_gateway_attachment - terraform-provider-hcp" subcategory: "" description: |- The AWS transit gateway attachment resource allows you to manage a transit gateway attachment. The transit gateway attachment attaches an HVN to a user-owned transit gateway in AWS. Note that the HVN and transit gateway must be located in the same AWS region. --- -# hcp_aws_transit_gateway_attachment (Resource) +# Resource (hcp_aws_transit_gateway_attachment) ~> **Security Notice:** This resource contains sensitive input. Please see this [list of recommendations](https://www.terraform.io/docs/language/state/sensitive-data.html) for storing sensitive information in Terraform. @@ -79,34 +79,34 @@ resource "aws_ec2_transit_gateway_vpc_attachment_accepter" "example" { ### Required -- **hvn_id** (String) The ID of the HashiCorp Virtual Network (HVN). -- **resource_share_arn** (String, Sensitive) The Amazon Resource Name (ARN) of the Resource Share that is needed to grant HCP access to the transit gateway in AWS. The Resource Share should be associated with the HCP AWS account principal (see [aws_ram_principal_association](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/ram_principal_association)) and the transit gateway resource (see [aws_ram_resource_association](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/ram_resource_association)) -- **transit_gateway_attachment_id** (String) The user-settable name of the transit gateway attachment in HCP. -- **transit_gateway_id** (String) The ID of the user-owned transit gateway in AWS. The AWS region of the transit gateway must match the HVN. +- `hvn_id` (String) The ID of the HashiCorp Virtual Network (HVN). +- `resource_share_arn` (String, Sensitive) The Amazon Resource Name (ARN) of the Resource Share that is needed to grant HCP access to the transit gateway in AWS. The Resource Share should be associated with the HCP AWS account principal (see [aws_ram_principal_association](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/ram_principal_association)) and the transit gateway resource (see [aws_ram_resource_association](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/ram_resource_association)) +- `transit_gateway_attachment_id` (String) The user-settable name of the transit gateway attachment in HCP. +- `transit_gateway_id` (String) The ID of the user-owned transit gateway in AWS. The AWS region of the transit gateway must match the HVN. ### Optional -- **id** (String) The ID of this resource. -- **timeouts** (Block, Optional) (see [below for nested schema](#nestedblock--timeouts)) +- `id` (String) The ID of this resource. +- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts)) ### 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. -- **organization_id** (String) The ID of the HCP organization where the transit gateway attachment is located. Always matches the HVN's organization. -- **project_id** (String) The ID of the HCP project where the transit gateway attachment is located. Always matches the HVN's project. -- **provider_transit_gateway_attachment_id** (String) The transit gateway attachment ID used by AWS. -- **self_link** (String) A unique URL identifying the transit gateway attachment. -- **state** (String) The state of the transit gateway attachment. +- `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. +- `organization_id` (String) The ID of the HCP organization where the transit gateway attachment is located. Always matches the HVN's organization. +- `project_id` (String) The ID of the HCP project where the transit gateway attachment is located. Always matches the HVN's project. +- `provider_transit_gateway_attachment_id` (String) The transit gateway attachment ID used by AWS. +- `self_link` (String) A unique URL identifying the transit gateway attachment. +- `state` (String) The state of the transit gateway attachment. ### Nested Schema for `timeouts` Optional: -- **create** (String) -- **default** (String) -- **delete** (String) +- `create` (String) +- `default` (String) +- `delete` (String) ## Import diff --git a/docs/resources/azure_peering_connection.md b/docs/resources/azure_peering_connection.md index adb87d6cd..26ca757d9 100644 --- a/docs/resources/azure_peering_connection.md +++ b/docs/resources/azure_peering_connection.md @@ -1,11 +1,11 @@ --- -page_title: "hcp_azure_peering_connection Resource - terraform-provider-hcp" +page_title: "Resource hcp_azure_peering_connection - terraform-provider-hcp" subcategory: "" description: |- The Azure peering connection resource allows you to manage a peering connection between an HVN and a peer Azure VNet. --- -# hcp_azure_peering_connection (Resource) +# Resource (hcp_azure_peering_connection) -> **Note:** Azure support coming soon. This resource is currently in internal preview only. @@ -102,37 +102,37 @@ resource "azurerm_role_assignment" "assignment" { ### Required -- **hvn_link** (String) The `self_link` of the HashiCorp Virtual Network (HVN). -- **peer_resource_group_name** (String) The resource group name of the peer VNet in Azure. -- **peer_subscription_id** (String) The subscription ID of the peer VNet in Azure. -- **peer_tenant_id** (String) The tenant ID of the peer VNet in Azure. -- **peer_vnet_name** (String) The name of the peer VNet in Azure. -- **peer_vnet_region** (String) The region of the peer VNet in Azure. -- **peering_id** (String) The ID of the peering connection. +- `hvn_link` (String) The `self_link` of the HashiCorp Virtual Network (HVN). +- `peer_resource_group_name` (String) The resource group name of the peer VNet in Azure. +- `peer_subscription_id` (String) The subscription ID of the peer VNet in Azure. +- `peer_tenant_id` (String) The tenant ID of the peer VNet in Azure. +- `peer_vnet_name` (String) The name of the peer VNet in Azure. +- `peer_vnet_region` (String) The region of the peer VNet in Azure. +- `peering_id` (String) The ID of the peering connection. ### Optional -- **id** (String) The ID of this resource. -- **timeouts** (Block, Optional) (see [below for nested schema](#nestedblock--timeouts)) +- `id` (String) The ID of this resource. +- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts)) ### Read-Only -- **application_id** (String) The ID of the Azure application whose credentials are used to peer the HCP HVN's underlying VNet with the customer VNet. -- **azure_peering_id** (String) The peering connection ID used by Azure. -- **created_at** (String) The time that the peering connection was created. -- **expires_at** (String) The time after which the peering connection will be considered expired if it hasn't transitioned into `ACCEPTED` or `ACTIVE` state. -- **organization_id** (String) The ID of the HCP organization where the peering connection is located. Always matches the HVN's organization. -- **project_id** (String) The ID of the HCP project where the peering connection is located. Always matches the HVN's project. -- **self_link** (String) A unique URL identifying the peering connection. +- `application_id` (String) The ID of the Azure application whose credentials are used to peer the HCP HVN's underlying VNet with the customer VNet. +- `azure_peering_id` (String) The peering connection ID used by Azure. +- `created_at` (String) The time that the peering connection was created. +- `expires_at` (String) The time after which the peering connection will be considered expired if it hasn't transitioned into `ACCEPTED` or `ACTIVE` state. +- `organization_id` (String) The ID of the HCP organization where the peering connection is located. Always matches the HVN's organization. +- `project_id` (String) The ID of the HCP project where the peering connection is located. Always matches the HVN's project. +- `self_link` (String) A unique URL identifying the peering connection. ### Nested Schema for `timeouts` Optional: -- **create** (String) -- **default** (String) -- **delete** (String) +- `create` (String) +- `default` (String) +- `delete` (String) ## Import diff --git a/docs/resources/consul_cluster.md b/docs/resources/consul_cluster.md index c743f9d08..492fd9126 100644 --- a/docs/resources/consul_cluster.md +++ b/docs/resources/consul_cluster.md @@ -1,11 +1,11 @@ --- -page_title: "hcp_consul_cluster Resource - terraform-provider-hcp" +page_title: "Resource hcp_consul_cluster - terraform-provider-hcp" subcategory: "" description: |- The Consul cluster resource allows you to manage an HCP Consul cluster. --- -# hcp_consul_cluster (Resource) +# Resource (hcp_consul_cluster) The Consul cluster resource allows you to manage an HCP Consul cluster. @@ -31,50 +31,50 @@ resource "hcp_consul_cluster" "example" { ### Required -- **cluster_id** (String) The ID of the HCP Consul cluster. -- **hvn_id** (String) The ID of the HVN this HCP Consul cluster is associated to. -- **tier** (String) The tier that the HCP Consul cluster will be provisioned as. Only `development`, `standard` and `plus` are available at this time. See [pricing information](https://cloud.hashicorp.com/pricing/consul). +- `cluster_id` (String) The ID of the HCP Consul cluster. +- `hvn_id` (String) The ID of the HVN this HCP Consul cluster is associated to. +- `tier` (String) The tier that the HCP Consul cluster will be provisioned as. Only `development`, `standard` and `plus` are available at this time. See [pricing information](https://cloud.hashicorp.com/pricing/consul). ### Optional -- **auto_hvn_to_hvn_peering** (Boolean) Enables automatic HVN to HVN peering when creating a secondary cluster in a federation. The alternative to using the auto-accept feature is to create an [`hcp_hvn_peering_connection`](hvn_peering_connection.md) resource that explicitly defines the HVN resources that are allowed to communicate with each other. -- **connect_enabled** (Boolean) Denotes the Consul connect feature should be enabled for this cluster. Default to true. -- **datacenter** (String) The Consul data center name of the cluster. If not specified, it is defaulted to the value of `cluster_id`. -- **id** (String) The ID of this resource. -- **min_consul_version** (String) The minimum Consul version of the cluster. If not specified, it is defaulted to the version that is currently recommended by HCP. -- **primary_link** (String) The `self_link` of the HCP Consul cluster which is the primary in the federation setup with this HCP Consul cluster. If not specified, it is a standalone cluster. -- **public_endpoint** (Boolean) Denotes that the cluster has a public endpoint for the Consul UI. Defaults to false. -- **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. Upgrading the size of a cluster after creation is allowed. -- **timeouts** (Block, Optional) (see [below for nested schema](#nestedblock--timeouts)) +- `auto_hvn_to_hvn_peering` (Boolean) Enables automatic HVN to HVN peering when creating a secondary cluster in a federation. The alternative to using the auto-accept feature is to create an [`hcp_hvn_peering_connection`](hvn_peering_connection.md) resource that explicitly defines the HVN resources that are allowed to communicate with each other. +- `connect_enabled` (Boolean) Denotes the Consul connect feature should be enabled for this cluster. Default to true. +- `datacenter` (String) The Consul data center name of the cluster. If not specified, it is defaulted to the value of `cluster_id`. +- `id` (String) The ID of this resource. +- `min_consul_version` (String) The minimum Consul version of the cluster. If not specified, it is defaulted to the version that is currently recommended by HCP. +- `primary_link` (String) The `self_link` of the HCP Consul cluster which is the primary in the federation setup with this HCP Consul cluster. If not specified, it is a standalone cluster. +- `public_endpoint` (Boolean) Denotes that the cluster has a public endpoint for the Consul UI. Defaults to false. +- `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. Upgrading the size of a cluster after creation is allowed. +- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts)) ### 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. -- **consul_ca_file** (String) The cluster CA file encoded as a Base64 string. -- **consul_config_file** (String) The cluster config encoded as a Base64 string. -- **consul_private_endpoint_url** (String) The private URL for the Consul UI. -- **consul_public_endpoint_url** (String) The public URL for the Consul UI. This will be empty if `public_endpoint` is `false`. -- **consul_root_token_accessor_id** (String) The accessor ID of the root ACL token that is generated upon cluster creation. If a new root token is generated using the `hcp_consul_root_token` resource, this field is no longer valid. -- **consul_root_token_secret_id** (String, Sensitive) The secret ID of the root ACL token that is generated upon cluster creation. If a new root token is generated using the `hcp_consul_root_token` resource, this field is no longer valid. -- **consul_snapshot_interval** (String) The Consul snapshot interval. -- **consul_snapshot_retention** (String) The retention policy for Consul snapshots. -- **consul_version** (String) The Consul version of the cluster. -- **organization_id** (String) The ID of the organization this HCP Consul cluster is located in. -- **project_id** (String) The ID of the project this HCP Consul cluster is located in. -- **region** (String) The region where the HCP Consul cluster is located. -- **scale** (Number) The number of Consul server nodes in the cluster. -- **self_link** (String) A unique URL identifying the HCP Consul cluster. +- `cloud_provider` (String) The provider where the HCP Consul cluster is located. +- `consul_automatic_upgrades` (Boolean) Denotes that automatic Consul upgrades are enabled. +- `consul_ca_file` (String) The cluster CA file encoded as a Base64 string. +- `consul_config_file` (String) The cluster config encoded as a Base64 string. +- `consul_private_endpoint_url` (String) The private URL for the Consul UI. +- `consul_public_endpoint_url` (String) The public URL for the Consul UI. This will be empty if `public_endpoint` is `false`. +- `consul_root_token_accessor_id` (String) The accessor ID of the root ACL token that is generated upon cluster creation. If a new root token is generated using the `hcp_consul_root_token` resource, this field is no longer valid. +- `consul_root_token_secret_id` (String, Sensitive) The secret ID of the root ACL token that is generated upon cluster creation. If a new root token is generated using the `hcp_consul_root_token` resource, this field is no longer valid. +- `consul_snapshot_interval` (String) The Consul snapshot interval. +- `consul_snapshot_retention` (String) The retention policy for Consul snapshots. +- `consul_version` (String) The Consul version of the cluster. +- `organization_id` (String) The ID of the organization this HCP Consul cluster is located in. +- `project_id` (String) The ID of the project this HCP Consul cluster is located in. +- `region` (String) The region where the HCP Consul cluster is located. +- `scale` (Number) The number of Consul server nodes in the cluster. +- `self_link` (String) A unique URL identifying the HCP Consul cluster. ### Nested Schema for `timeouts` Optional: -- **create** (String) -- **default** (String) -- **delete** (String) -- **update** (String) +- `create` (String) +- `default` (String) +- `delete` (String) +- `update` (String) ## Import diff --git a/docs/resources/consul_cluster_root_token.md b/docs/resources/consul_cluster_root_token.md index c79c9e436..17f821793 100644 --- a/docs/resources/consul_cluster_root_token.md +++ b/docs/resources/consul_cluster_root_token.md @@ -1,11 +1,11 @@ --- -page_title: "hcp_consul_cluster_root_token Resource - terraform-provider-hcp" +page_title: "Resource hcp_consul_cluster_root_token - terraform-provider-hcp" subcategory: "" description: |- The cluster root token resource is the token used to bootstrap the cluster's ACL system. You can also generate this root token from the HCP Consul UI. --- -# hcp_consul_cluster_root_token (Resource) +# Resource (hcp_consul_cluster_root_token) ~> **Security Notice:** Please see this [list of recommendations](https://www.terraform.io/docs/language/state/sensitive-data.html) for storing sensitive information in Terraform. @@ -24,22 +24,22 @@ resource "hcp_consul_cluster_root_token" "example" { ### Required -- **cluster_id** (String) The ID of the HCP Consul cluster. +- `cluster_id` (String) The ID of the HCP Consul cluster. ### Optional -- **id** (String) The ID of this resource. -- **timeouts** (Block, Optional) (see [below for nested schema](#nestedblock--timeouts)) +- `id` (String) The ID of this resource. +- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts)) ### 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. -- **secret_id** (String, Sensitive) The secret ID of the root ACL token. +- `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. +- `secret_id` (String, Sensitive) The secret ID of the root ACL token. ### Nested Schema for `timeouts` Optional: -- **default** (String) \ No newline at end of file +- `default` (String) \ No newline at end of file diff --git a/docs/resources/consul_snapshot.md b/docs/resources/consul_snapshot.md index 8e9cd0d17..e7bca3f95 100644 --- a/docs/resources/consul_snapshot.md +++ b/docs/resources/consul_snapshot.md @@ -26,31 +26,31 @@ resource "hcp_consul_snapshot" "example" { ### Required -- **cluster_id** (String) The ID of the HCP Consul cluster. -- **snapshot_name** (String) The name of the snapshot. +- `cluster_id` (String) The ID of the HCP Consul cluster. +- `snapshot_name` (String) The name of the snapshot. ### Optional -- **id** (String) The ID of this resource. -- **timeouts** (Block, Optional) (see [below for nested schema](#nestedblock--timeouts)) +- `id` (String) The ID of this resource. +- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts)) ### 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. -- **project_id** (String) The ID of the project the HCP Consul cluster is located. -- **restored_at** (String) Timestamp of when the snapshot was restored. If the snapshot has not been restored, this field will be blank. -- **size** (Number) The size of the snapshot in bytes. -- **snapshot_id** (String) The ID of the Consul snapshot +- `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. +- `project_id` (String) The ID of the project the HCP Consul cluster is located. +- `restored_at` (String) Timestamp of when the snapshot was restored. If the snapshot has not been restored, this field will be blank. +- `size` (Number) The size of the snapshot in bytes. +- `snapshot_id` (String) The ID of the Consul snapshot ### Nested Schema for `timeouts` Optional: -- **create** (String) -- **default** (String) -- **delete** (String) -- **update** (String) +- `create` (String) +- `default` (String) +- `delete` (String) +- `update` (String) diff --git a/docs/resources/hvn.md b/docs/resources/hvn.md index f19a7da93..4abea3cd9 100644 --- a/docs/resources/hvn.md +++ b/docs/resources/hvn.md @@ -1,11 +1,11 @@ --- -page_title: "hcp_hvn Resource - terraform-provider-hcp" +page_title: "Resource hcp_hvn - terraform-provider-hcp" subcategory: "" description: |- The HVN resource allows you to manage a HashiCorp Virtual Network in HCP. --- -# hcp_hvn (Resource) +# Resource (hcp_hvn) The HVN resource allows you to manage a HashiCorp Virtual Network in HCP. @@ -37,32 +37,32 @@ resource "hcp_hvn" "example" { ### Required -- **cloud_provider** (String) The provider where the HVN is located. Only 'aws' is available at this time. -- **hvn_id** (String) The ID of the HashiCorp Virtual Network (HVN). -- **region** (String) The region where the HVN is located. +- `cloud_provider` (String) The provider where the HVN is located. Only 'aws' is available at this time. +- `hvn_id` (String) The ID of the HashiCorp Virtual Network (HVN). +- `region` (String) The region where the HVN is located. ### Optional -- **cidr_block** (String) The CIDR range of the HVN. If this is not provided, the service will provide a default value. -- **id** (String) The ID of this resource. -- **timeouts** (Block, Optional) (see [below for nested schema](#nestedblock--timeouts)) +- `cidr_block` (String) The CIDR range of the HVN. If this is not provided, the service will provide a default value. +- `id` (String) The ID of this resource. +- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts)) ### 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. -- **project_id** (String) The ID of the HCP project where the HVN is located. -- **provider_account_id** (String) The provider account ID where the HVN is located. -- **self_link** (String) A unique URL identifying the HVN. +- `created_at` (String) The time that the HVN was created. +- `organization_id` (String) The ID of the HCP organization where the HVN is located. +- `project_id` (String) The ID of the HCP project where the HVN is located. +- `provider_account_id` (String) The provider account ID where the HVN is located. +- `self_link` (String) A unique URL identifying the HVN. ### Nested Schema for `timeouts` Optional: -- **create** (String) -- **default** (String) -- **delete** (String) +- `create` (String) +- `default` (String) +- `delete` (String) ## Import diff --git a/docs/resources/hvn_peering_connection.md b/docs/resources/hvn_peering_connection.md index 920c9b209..230cc6d51 100644 --- a/docs/resources/hvn_peering_connection.md +++ b/docs/resources/hvn_peering_connection.md @@ -38,31 +38,31 @@ resource "hcp_hvn_peering_connection" "peer_1" { ### Required -- **hvn_1** (String) The unique URL of one of the HVNs being peered. -- **hvn_2** (String) The unique URL of one of the HVNs being peered. +- `hvn_1` (String) The unique URL of one of the HVNs being peered. +- `hvn_2` (String) The unique URL of one of the HVNs being peered. ### Optional -- **id** (String) The ID of this resource. -- **timeouts** (Block, Optional) (see [below for nested schema](#nestedblock--timeouts)) +- `id` (String) The ID of this resource. +- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts)) ### Read-Only -- **created_at** (String) The time that the peering connection was created. -- **expires_at** (String) The time after which the peering connection will be considered expired if it hasn't transitioned into `ACCEPTED` or `ACTIVE` state. -- **organization_id** (String) The ID of the HCP organization where the peering connection is located. Always matches the HVNs' organization. -- **peering_id** (String) The ID of the peering connection. -- **project_id** (String) The ID of the HCP project where the peering connection is located. Always matches the HVNs' project. -- **self_link** (String) A unique URL identifying the peering connection +- `created_at` (String) The time that the peering connection was created. +- `expires_at` (String) The time after which the peering connection will be considered expired if it hasn't transitioned into `ACCEPTED` or `ACTIVE` state. +- `organization_id` (String) The ID of the HCP organization where the peering connection is located. Always matches the HVNs' organization. +- `peering_id` (String) The ID of the peering connection. +- `project_id` (String) The ID of the HCP project where the peering connection is located. Always matches the HVNs' project. +- `self_link` (String) A unique URL identifying the peering connection ### Nested Schema for `timeouts` Optional: -- **create** (String) -- **default** (String) -- **delete** (String) +- `create` (String) +- `default` (String) +- `delete` (String) ## Import diff --git a/docs/resources/hvn_route.md b/docs/resources/hvn_route.md index 49311f565..17e8cfc49 100644 --- a/docs/resources/hvn_route.md +++ b/docs/resources/hvn_route.md @@ -1,11 +1,11 @@ --- -page_title: "hcp_hvn_route Resource - terraform-provider-hcp" +page_title: "Resource hcp_hvn_route - terraform-provider-hcp" subcategory: "" description: |- The HVN route resource allows you to manage an HVN route. --- -# hcp_hvn_route (Resource) +# Resource (hcp_hvn_route) ~> **Migration Required:** The release of HVN Routes in v0.7.0 includes breaking changes that affect `hcp_aws_network_peering` and `hcp_aws_transit_gateway_attachment`. [This guide](https://registry.terraform.io/providers/hashicorp/hcp/latest/docs/guides/hvn-route-migration-guide) walks through how to migrate to the new resource syntax. Please pin to the previous version to avoid disruption until you are ready to migrate. @@ -57,30 +57,30 @@ resource "hcp_hvn_route" "example-peering-route" { ### Required -- **destination_cidr** (String) The destination CIDR of the HVN route. -- **hvn_link** (String) The `self_link` of the HashiCorp Virtual Network (HVN). -- **hvn_route_id** (String) The ID of the HVN route. -- **target_link** (String) A unique URL identifying the target of the HVN route. Examples of the target: [`aws_network_peering`](aws_network_peering.md), [`aws_transit_gateway_attachment`](aws_transit_gateway_attachment.md) +- `destination_cidr` (String) The destination CIDR of the HVN route. +- `hvn_link` (String) The `self_link` of the HashiCorp Virtual Network (HVN). +- `hvn_route_id` (String) The ID of the HVN route. +- `target_link` (String) A unique URL identifying the target of the HVN route. Examples of the target: [`aws_network_peering`](aws_network_peering.md), [`aws_transit_gateway_attachment`](aws_transit_gateway_attachment.md) ### Optional -- **id** (String) The ID of this resource. -- **timeouts** (Block, Optional) (see [below for nested schema](#nestedblock--timeouts)) +- `id` (String) The ID of this resource. +- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts)) ### Read-Only -- **created_at** (String) The time that the HVN route was created. -- **self_link** (String) A unique URL identifying the HVN route. -- **state** (String) The state of the HVN route. +- `created_at` (String) The time that the HVN route was created. +- `self_link` (String) A unique URL identifying the HVN route. +- `state` (String) The state of the HVN route. ### Nested Schema for `timeouts` Optional: -- **create** (String) -- **default** (String) -- **delete** (String) +- `create` (String) +- `default` (String) +- `delete` (String) ## Import diff --git a/docs/resources/vault_cluster.md b/docs/resources/vault_cluster.md index bcec6cec9..6d9193095 100644 --- a/docs/resources/vault_cluster.md +++ b/docs/resources/vault_cluster.md @@ -1,11 +1,11 @@ --- -page_title: "hcp_vault_cluster Resource - terraform-provider-hcp" +page_title: "Resource hcp_vault_cluster - terraform-provider-hcp" subcategory: "" description: |- The Vault cluster resource allows you to manage an HCP Vault cluster. --- -# hcp_vault_cluster (Resource) +# Resource (hcp_vault_cluster) The Vault cluster resource allows you to manage an HCP Vault cluster. @@ -36,41 +36,41 @@ resource "hcp_vault_cluster" "example" { ### Required -- **cluster_id** (String) The ID of the HCP Vault cluster. -- **hvn_id** (String) The ID of the HVN this HCP Vault cluster is associated to. +- `cluster_id` (String) The ID of the HCP Vault cluster. +- `hvn_id` (String) The ID of the HVN this HCP Vault cluster is associated to. ### Optional -- **id** (String) The ID of this resource. -- **min_vault_version** (String) The minimum Vault version to use when creating the cluster. If not specified, it is defaulted to the version that is currently recommended by HCP. -- **paths_filter** (List of String) The performance replication [paths filter](https://learn.hashicorp.com/tutorials/vault/paths-filter). Applies to performance replication secondaries only and operates in "deny" mode only. -- **primary_link** (String) The `self_link` of the HCP Vault Plus tier cluster which is the primary in the performance replication setup with this HCP Vault Plus tier cluster. If not specified, it is a standalone Plus tier HCP Vault cluster. -- **public_endpoint** (Boolean) Denotes that the cluster has a public endpoint. Defaults to false. -- **tier** (String) Tier of the HCP Vault cluster. Valid options for tiers - `dev`, `starter_small`, `standard_small`, `standard_medium`, `standard_large`, `plus_small`, `plus_medium`, `plus_large`. See [pricing information](https://cloud.hashicorp.com/pricing/vault). -- **timeouts** (Block, Optional) (see [below for nested schema](#nestedblock--timeouts)) +- `id` (String) The ID of this resource. +- `min_vault_version` (String) The minimum Vault version to use when creating the cluster. If not specified, it is defaulted to the version that is currently recommended by HCP. +- `paths_filter` (List of String) The performance replication [paths filter](https://learn.hashicorp.com/tutorials/vault/paths-filter). Applies to performance replication secondaries only and operates in "deny" mode only. +- `primary_link` (String) The `self_link` of the HCP Vault Plus tier cluster which is the primary in the performance replication setup with this HCP Vault Plus tier cluster. If not specified, it is a standalone Plus tier HCP Vault cluster. +- `public_endpoint` (Boolean) Denotes that the cluster has a public endpoint. Defaults to false. +- `tier` (String) Tier of the HCP Vault cluster. Valid options for tiers - `dev`, `starter_small`, `standard_small`, `standard_medium`, `standard_large`, `plus_small`, `plus_medium`, `plus_large`. See [pricing information](https://cloud.hashicorp.com/pricing/vault). +- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts)) ### 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. -- **namespace** (String) The name of the customer namespace this HCP Vault cluster is located in. -- **organization_id** (String) The ID of the organization this HCP Vault cluster is located in. -- **project_id** (String) The ID of the project this HCP Vault cluster is located in. -- **region** (String) The region where the HCP Vault cluster is located. -- **self_link** (String) A unique URL identifying the Vault cluster. -- **vault_private_endpoint_url** (String) The private URL for the Vault cluster. -- **vault_public_endpoint_url** (String) The public URL for the Vault cluster. This will be empty if `public_endpoint` is `false`. -- **vault_version** (String) The Vault version of the cluster. +- `cloud_provider` (String) The provider where the HCP Vault cluster is located. +- `created_at` (String) The time that the Vault cluster was created. +- `namespace` (String) The name of the customer namespace this HCP Vault cluster is located in. +- `organization_id` (String) The ID of the organization this HCP Vault cluster is located in. +- `project_id` (String) The ID of the project this HCP Vault cluster is located in. +- `region` (String) The region where the HCP Vault cluster is located. +- `self_link` (String) A unique URL identifying the Vault cluster. +- `vault_private_endpoint_url` (String) The private URL for the Vault cluster. +- `vault_public_endpoint_url` (String) The public URL for the Vault cluster. This will be empty if `public_endpoint` is `false`. +- `vault_version` (String) The Vault version of the cluster. ### Nested Schema for `timeouts` Optional: -- **create** (String) -- **default** (String) -- **delete** (String) -- **update** (String) +- `create` (String) +- `default` (String) +- `delete` (String) +- `update` (String) -> **Note:** When establishing performance replication links between clusters in different HVNs, an HVN peering connection is required. This can be defined explicitly using an [`hcp_hvn_peering_connection`](hvn_peering_connection.md), or HCP will create the connection automatically (peering connections can be imported after creation using [terraform import](https://www.terraform.io/cli/import)). Note HVN peering [CIDR block requirements](https://cloud.hashicorp.com/docs/hcp/network/routes#cidr-block-requirements). diff --git a/docs/resources/vault_cluster_admin_token.md b/docs/resources/vault_cluster_admin_token.md index 39980b215..afe3d6449 100644 --- a/docs/resources/vault_cluster_admin_token.md +++ b/docs/resources/vault_cluster_admin_token.md @@ -1,11 +1,11 @@ --- -page_title: "hcp_vault_cluster_admin_token Resource - terraform-provider-hcp" +page_title: "Resource hcp_vault_cluster_admin_token - terraform-provider-hcp" subcategory: "" description: |- The Vault cluster admin token resource generates an admin-level token for the HCP Vault cluster. --- -# hcp_vault_cluster_admin_token (Resource) +# Resource (hcp_vault_cluster_admin_token) ~> **Security Notice:** Please see this [list of recommendations](https://www.terraform.io/docs/language/state/sensitive-data.html) for storing sensitive information in Terraform. @@ -31,23 +31,23 @@ resource "hcp_vault_cluster_admin_token" "example" { ### Required -- **cluster_id** (String) The ID of the HCP Vault cluster. +- `cluster_id` (String) The ID of the HCP Vault cluster. ### Optional -- **id** (String) The ID of this resource. -- **timeouts** (Block, Optional) (see [below for nested schema](#nestedblock--timeouts)) +- `id` (String) The ID of this resource. +- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts)) ### Read-Only -- **created_at** (String) The time that the admin token was created. -- **token** (String, Sensitive) The admin token of this HCP Vault cluster. +- `created_at` (String) The time that the admin token was created. +- `token` (String, Sensitive) The admin token of this HCP Vault cluster. ### Nested Schema for `timeouts` Optional: -- **create** (String) -- **delete** (String) -- **read** (String) \ No newline at end of file +- `create` (String) +- `delete` (String) +- `read` (String) \ No newline at end of file diff --git a/examples/provider/provider.tf b/examples/provider/provider.tf index c78c01e05..ba93ec5f2 100644 --- a/examples/provider/provider.tf +++ b/examples/provider/provider.tf @@ -3,7 +3,7 @@ terraform { required_providers { hcp = { source = "hashicorp/hcp" - version = "~> 0.24.1" + version = "~> 0.25.0" } } } diff --git a/go.mod b/go.mod index f70c12a79..c128264ce 100644 --- a/go.mod +++ b/go.mod @@ -4,20 +4,17 @@ go 1.15 require ( github.com/armon/go-radix v1.0.0 // indirect - github.com/aws/aws-sdk-go v1.37.0 // indirect github.com/cenkalti/backoff v2.2.1+incompatible github.com/go-openapi/runtime v0.23.3 github.com/go-openapi/strfmt v0.21.2 github.com/google/uuid v1.3.0 github.com/hashicorp/go-cty v1.4.1-0.20200414143053-d3edf31b6320 github.com/hashicorp/go-version v1.4.0 - github.com/hashicorp/hcl/v2 v2.8.2 // indirect github.com/hashicorp/hcp-sdk-go v0.18.0 - github.com/hashicorp/terraform-plugin-docs v0.5.1 + github.com/hashicorp/terraform-plugin-docs v0.7.0 github.com/hashicorp/terraform-plugin-sdk/v2 v2.10.1 github.com/posener/complete v1.2.1 // indirect github.com/stretchr/testify v1.7.1 - golang.org/x/tools v0.0.0-20201028111035-eafbe7b904eb // indirect - google.golang.org/api v0.34.0 // indirect - google.golang.org/grpc v1.44.0 + google.golang.org/genproto v0.0.0-20200904004341-0bd0a958aa1d // indirect + google.golang.org/grpc v1.45.0 ) diff --git a/go.sum b/go.sum index c76c3ead0..6f13504ec 100644 --- a/go.sum +++ b/go.sum @@ -13,7 +13,6 @@ cloud.google.com/go v0.56.0/go.mod h1:jr7tqZxxKOVYizybht9+26Z/gUq7tiRzu+ACVAMbKV cloud.google.com/go v0.57.0/go.mod h1:oXiQ6Rzq3RAkkY7N6t3TcE6jE+CIBBbA36lwQ1JyzZs= cloud.google.com/go v0.61.0/go.mod h1:XukKJg4Y7QsUu0Hxg3qQKUWR4VuWivmyMK2+rUyxAqw= cloud.google.com/go v0.62.0/go.mod h1:jmCYTdRCQuc1PHIIJ/maLInMho30T/Y0M4hTdTShOYc= -cloud.google.com/go v0.65.0 h1:Dg9iHVQfrhq82rUNu9ZxUDrJLaxFUe/HlCVaLyRruq8= cloud.google.com/go v0.65.0/go.mod h1:O5N8zS7uWy9vkA9vayVHs65eM1ubvY4h553ofrNHObY= cloud.google.com/go/bigquery v1.0.1/go.mod h1:i/xbL2UlR5RvWAURpBYZTtm/cXjCha9lbfbpx4poX+o= cloud.google.com/go/bigquery v1.3.0/go.mod h1:PjpwJnslEMmckchkHFfq+HTD2DmtT67aNFKH1/VBDHE= @@ -31,7 +30,6 @@ cloud.google.com/go/storage v1.0.0/go.mod h1:IhtSnM/ZTZV8YYJWCY8RULGVqBDmpoyjwiy cloud.google.com/go/storage v1.5.0/go.mod h1:tpKbwo567HUNpVclU5sGELwQWBDZ8gh0ZeosJ0Rtdos= cloud.google.com/go/storage v1.6.0/go.mod h1:N7U0C8pVQ/+NIKOBQyamJIeKQKkZ+mxpohlUTyfDhBk= cloud.google.com/go/storage v1.8.0/go.mod h1:Wv1Oy7z6Yz3DshWRJFhqM/UCfaWIRTdp0RXyy7KQOVs= -cloud.google.com/go/storage v1.10.0 h1:STgFzyU5/8miMl0//zKh2aQeTyeaUH3WN9bSUiJ09bA= cloud.google.com/go/storage v1.10.0/go.mod h1:FLPqc6j+Ki4BU591ie1oL6qBQGu2Bl/tZ9ullr3+Kg0= dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= @@ -69,7 +67,6 @@ github.com/apparentlymart/go-dump v0.0.0-20190214190832-042adf3cf4a0 h1:MzVXffFU github.com/apparentlymart/go-dump v0.0.0-20190214190832-042adf3cf4a0/go.mod h1:oL81AME2rN47vu18xqj1S1jPIPuN7afo62yKTNn3XMM= github.com/apparentlymart/go-textseg v1.0.0 h1:rRmlIsPEEhUTIKQb7T++Nz/A5Q6C9IuX2wFoYVvnCs0= github.com/apparentlymart/go-textseg v1.0.0/go.mod h1:z96Txxhf3xSFMPmb5X/1W05FF/Nj9VFpLOpjS5yuumk= -github.com/apparentlymart/go-textseg/v12 v12.0.0 h1:bNEQyAGak9tojivJNkoqWErVCQbjdL7GzRt3F8NvfJ0= github.com/apparentlymart/go-textseg/v12 v12.0.0/go.mod h1:S/4uRK2UtaQttw1GenVJEynmyUenKwP++x/+DdGV/Ec= github.com/apparentlymart/go-textseg/v13 v13.0.0 h1:Y+KvPE1NYz0xl601PVImeQfFyEy6iT90AvPUL1NNfNw= github.com/apparentlymart/go-textseg/v13 v13.0.0/go.mod h1:ZK2fH7c4NqDTLtiYLvIkEghdlcqw7yxLeM89kiTRPUo= @@ -88,9 +85,6 @@ github.com/asaskevich/govalidator v0.0.0-20210307081110-f21760c49a8d/go.mod h1:W github.com/aws/aws-sdk-go v1.15.78/go.mod h1:E3/ieXAlvM0XWO57iftYVDLLvQ824smPP3ATZkfNZeM= github.com/aws/aws-sdk-go v1.25.3/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo= github.com/aws/aws-sdk-go v1.34.28/go.mod h1:H7NKnBqNVzoTJpGfLrQkkD+ytBA93eiDYi/+8rV9s48= -github.com/aws/aws-sdk-go v1.37.0 h1:GzFnhOIsrGyQ69s7VgqtrG2BG8v7X7vwB3Xpbd/DBBk= -github.com/aws/aws-sdk-go v1.37.0/go.mod h1:hcU610XS61/+aQV88ixoOzUoG7v3b31pl2zKMmprdro= -github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d h1:xDfNPAt8lFiC1UJrqV3uuy861HCTo708pDMbjHHdCas= github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d/go.mod h1:6QX/PXZ00z/TKoufEY6K/a0k6AhaJrQKdFe6OfVXsa4= github.com/bgentry/speakeasy v0.1.0 h1:ByYyxL9InA1OWqxJqqp2A5pYHUrCiAL6K3J+LKSsQkY= github.com/bgentry/speakeasy v0.1.0/go.mod h1:+zsyZBPWlz7T6j88CTgSN5bM796AkVf0kBD4zp0CCIs= @@ -280,7 +274,6 @@ github.com/gobuffalo/syncx v0.0.0-20190224160051-33c29581e754/go.mod h1:HhnNqWY9 github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= github.com/golang/groupcache v0.0.0-20190702054246-869f871628b6/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= github.com/golang/groupcache v0.0.0-20191227052852-215e87163ea7/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= -github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e h1:1r7pUrabqp18hOBcwBwiTsbnFeTZHV9eER/QT5JVZxY= github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= github.com/golang/mock v1.2.0/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= @@ -303,8 +296,10 @@ github.com/golang/protobuf v1.4.0-rc.4.0.20200313231945-b860323f09d0/go.mod h1:W github.com/golang/protobuf v1.4.0/go.mod h1:jodUvKwWbYaEsadDk5Fwe5c77LiNKVO9IDvqG2KuDX0= github.com/golang/protobuf v1.4.1/go.mod h1:U8fpvMrcmy5pZrNK1lt4xCsGvpyWQ/VVv6QDs8UjoX8= github.com/golang/protobuf v1.4.2/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= -github.com/golang/protobuf v1.4.3 h1:JjCZWpVbqXDqFVmTfYWEVTMIYrL/NPdPSCHPJ0T/raM= github.com/golang/protobuf v1.4.3/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= +github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk= +github.com/golang/protobuf v1.5.2 h1:ROPKBNFfQgOUMifHyP+KYbvpjbdoFNs+aK7DXlji0Tw= +github.com/golang/protobuf v1.5.2/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= github.com/golang/snappy v0.0.1/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= github.com/google/btree v1.0.0/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= @@ -317,11 +312,10 @@ github.com/google/go-cmp v0.5.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/ github.com/google/go-cmp v0.5.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.5.2/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.6 h1:BKbKCqvP6I+rmFHt06ZmyQtvB8xAkWdhFyr0ZUNZcxQ= github.com/google/go-cmp v0.5.6/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/martian v2.1.0+incompatible h1:/CP5g8u/VJHijgedC/Legn3BAbAaWPgecwXBIDzw5no= +github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o= +github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= github.com/google/martian v2.1.0+incompatible/go.mod h1:9I4somxYTbIHy5NJKHRl3wXiIaQGbYVAs8BPL6v8lEs= -github.com/google/martian/v3 v3.0.0 h1:pMen7vLs8nvgEYhywH3KDWJIJTeEr2ULsVWHWYHQyBs= github.com/google/martian/v3 v3.0.0/go.mod h1:y5Zk1BBys9G+gd6Jrk0W3cC1+ELVxBWuIGO+w/tUAp0= github.com/google/pprof v0.0.0-20181206194817-3ea8567a2e57/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= github.com/google/pprof v0.0.0-20190515194954-54271f7e092f/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= @@ -337,7 +331,6 @@ github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+ github.com/google/uuid v1.3.0 h1:t6JiXgmwXMjEs8VusXIJk2BXHsn+wx8BZdTaoZ5fu7I= github.com/google/uuid v1.3.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/googleapis/gax-go/v2 v2.0.4/go.mod h1:0Wqv26UfaUD9n4G6kQubkQ+KchISgw+vpHVxEJEs9eg= -github.com/googleapis/gax-go/v2 v2.0.5 h1:sjZBwGj9Jlw33ImPtvFviGYvseOtDM7hkSKB7+Tv3SM= github.com/googleapis/gax-go/v2 v2.0.5/go.mod h1:DWXyrwAJ9X0FpwwEdw+IPEYBICEFu5mhpdKc/us6bOk= github.com/grpc-ecosystem/grpc-gateway v1.16.0/go.mod h1:BDjrQk3hbvj6Nolgz8mAMFbcEtjT1g+wF4CSlocrBnw= github.com/hashicorp/errwrap v1.0.0 h1:hLrqtEDnRye3+sgx6z4qVLNuviH3MR5aQ0ykNJa/UYA= @@ -350,7 +343,6 @@ github.com/hashicorp/go-cleanhttp v0.5.2 h1:035FKYIWjmULyFRBKPs8TBQoi0x6d9G4xc9n github.com/hashicorp/go-cleanhttp v0.5.2/go.mod h1:kO/YDlP8L1346E6Sodw+PrpBSV4/SoxCXGY6BqNFT48= github.com/hashicorp/go-cty v1.4.1-0.20200414143053-d3edf31b6320 h1:1/D3zfFHttUKaCaGKZ/dR2roBXv0vKbSCnssIldfQdI= github.com/hashicorp/go-cty v1.4.1-0.20200414143053-d3edf31b6320/go.mod h1:EiZBMaudVLy8fmjf9Npq1dq9RalhveqZG5w/yz3mHWs= -github.com/hashicorp/go-getter v1.5.3 h1:NF5+zOlQegim+w/EUhSLh6QhXHmZMEeHLQzllkQ3ROU= github.com/hashicorp/go-getter v1.5.3/go.mod h1:BrrV/1clo8cCYu6mxvboYg+KutTiFnXjMEgDD8+i7ZI= github.com/hashicorp/go-hclog v0.0.0-20180709165350-ff2cf002a8dd/go.mod h1:9bjs9uLqI8l75knNv3lV1kA55veR+WUPSiKIWcQHudI= github.com/hashicorp/go-hclog v0.14.1/go.mod h1:whpDNt7SSdeAju8AWKIWsul05p54N/39EeqMAyrmvFQ= @@ -362,7 +354,6 @@ github.com/hashicorp/go-multierror v1.1.1/go.mod h1:iw975J/qwKPdAO1clOe2L8331t/9 github.com/hashicorp/go-plugin v1.3.0/go.mod h1:F9eH4LrE/ZsRdbwhfjs9k9HoDUwAHnYtXdgmf1AVNs0= github.com/hashicorp/go-plugin v1.4.1 h1:6UltRQlLN9iZO513VveELp5xyaFxVD2+1OVylE+2E+w= github.com/hashicorp/go-plugin v1.4.1/go.mod h1:5fGEH17QVwTTcR0zV7yhDPLLmFX9YSZ38b18Udy6vYQ= -github.com/hashicorp/go-safetemp v1.0.0 h1:2HR189eFNrjHQyENnQMMpCiBAsRxzbTMIgBhEyExpmo= github.com/hashicorp/go-safetemp v1.0.0/go.mod h1:oaerMy3BhqiTbVye6QuFhFtIceqFoDHxNAB65b+Rj1I= github.com/hashicorp/go-uuid v1.0.0/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro= github.com/hashicorp/go-uuid v1.0.2 h1:cfejS+Tpcp13yd5nYHWDI6qVCny6wyX2Mt5SGur2IGE= @@ -376,19 +367,19 @@ github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= github.com/hashicorp/hc-install v0.3.1 h1:VIjllE6KyAI1A244G8kTaHXy+TL5/XYzvrtFi8po/Yk= github.com/hashicorp/hc-install v0.3.1/go.mod h1:3LCdWcCDS1gaHC9mhHCGbkYfoY6vdsKohGjugbZdZak= +github.com/hashicorp/hcl/v2 v2.3.0 h1:iRly8YaMwTBAKhn1Ybk7VSdzbnopghktCD031P8ggUE= github.com/hashicorp/hcl/v2 v2.3.0/go.mod h1:d+FwDBbOLvpAM3Z6J7gPj/VoAGkNe/gm352ZhjJ/Zv8= -github.com/hashicorp/hcl/v2 v2.8.2 h1:wmFle3D1vu0okesm8BTLVDyJ6/OL9DCLUwn0b2OptiY= -github.com/hashicorp/hcl/v2 v2.8.2/go.mod h1:bQTN5mpo+jewjJgh8jr0JUguIi7qPHUF6yIfAEN3jqY= github.com/hashicorp/hcp-sdk-go v0.18.0 h1:SnYFPebdfbc/sjit71Zx5Ji9fuQFgjvpIdrlgjzlriE= github.com/hashicorp/hcp-sdk-go v0.18.0/go.mod h1:z0I0eZ+TVJJ7pycnCzMM/ouOw5D5Qnp/zylNXkqGEX0= 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.15.0 h1:cqjh4d8HYNQrDoEmlSGelHmg2DYDh5yayckvJ5bV18E= github.com/hashicorp/terraform-exec v0.15.0/go.mod h1:H4IG8ZxanU+NW0ZpDRNsvh9f0ul7C0nHP+rUR/CHs7I= +github.com/hashicorp/terraform-exec v0.16.0 h1:XUh9pJPcbfZsuhReVvmRarQTaiiCnYogFCCjOvEYuug= +github.com/hashicorp/terraform-exec v0.16.0/go.mod h1:wB5JHmjxZ/YVNZuv9npAXKmz5pGyxy8PSi0GRR0+YjA= github.com/hashicorp/terraform-json v0.13.0 h1:Li9L+lKD1FO5RVFRM1mMMIBDoUHslOniyEi5CM+FWGY= github.com/hashicorp/terraform-json v0.13.0/go.mod h1:y5OdLBCT+rxbwnpxZs9kGL7R9ExU76+cpdY8zHwoazk= -github.com/hashicorp/terraform-plugin-docs v0.5.1 h1:WwrUcamix9x0TqfTw/WGHMRqoTe1QPZKaeWJPuFb4lQ= -github.com/hashicorp/terraform-plugin-docs v0.5.1/go.mod h1:SQwEgy0/B0UPQ07rNEG1Wpt6E3jvRcCwkVHPNybGgc0= +github.com/hashicorp/terraform-plugin-docs v0.7.0 h1:7XKAOYHAxghe7q4/vx468X43X9GikdQ2dxtmcu2gQv0= +github.com/hashicorp/terraform-plugin-docs v0.7.0/go.mod h1:57CICKfW7/KbW4lPhKOledyT6vu1LeAOzuvWXsVaxUE= github.com/hashicorp/terraform-plugin-go v0.5.0 h1:+gCDdF0hcYCm0YBTxrP4+K1NGIS5ZKZBKDORBewLJmg= github.com/hashicorp/terraform-plugin-go v0.5.0/go.mod h1:PAVN26PNGpkkmsvva1qfriae5Arky3xl3NfzKa8XFVM= github.com/hashicorp/terraform-plugin-log v0.2.0 h1:rjflRuBqCnSk3UHOR25MP1G5BDLKktTA6lNjjcAnBfI= @@ -417,15 +408,12 @@ github.com/jhump/protoreflect v1.6.0 h1:h5jfMVslIg6l29nsMs0D8Wj17RDVdNYti0vDN/PZ github.com/jhump/protoreflect v1.6.0/go.mod h1:eaTn3RZAmMBcV0fifFvlm6VHNz3wSkYyXYWUh7ymB74= github.com/jmespath/go-jmespath v0.0.0-20160202185014-0b12d6b521d8/go.mod h1:Nht3zPeWKUH0NzdCt2Blrr5ys8VGpn0CEB0cQHVjt7k= github.com/jmespath/go-jmespath v0.0.0-20180206201540-c2b33e8439af/go.mod h1:Nht3zPeWKUH0NzdCt2Blrr5ys8VGpn0CEB0cQHVjt7k= -github.com/jmespath/go-jmespath v0.4.0 h1:BEgLn5cpjn8UN1mAw4NjwDrS35OdebyEtFe+9YPoQUg= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= -github.com/jmespath/go-jmespath/internal/testify v1.5.1 h1:shLQSRRSCCPj3f2gpwzGwWFoC7ycTf1rcQZHOlsJ6N8= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/joho/godotenv v1.3.0/go.mod h1:7hK45KPybAkOC6peb+G5yklZfMxEjkZhHbwpqxOKXbg= github.com/josharian/intern v1.0.0 h1:vlS4z54oSdjm0bgjRigI+G1HpF+tI+9rE5LLzOg8HmY= github.com/josharian/intern v1.0.0/go.mod h1:5DoeVV0s6jJacbCEi61lwdGj/aVlrQvzHFFd8Hwg//Y= github.com/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024/go.mod h1:6v2b51hI/fHJwM22ozAgKL4VKDeJcHhJFhtBdhmNjmU= -github.com/jstemmer/go-junit-report v0.9.1 h1:6QPYqodiu3GuPL+7mfx+NwDdp2eTkp9IfEUpgAwUN0o= github.com/jstemmer/go-junit-report v0.9.1/go.mod h1:Brl9GWCQeLvo8nXZwPNNblvFj/XSXhF0NWZEnDohbsk= github.com/karrick/godirwalk v1.8.0/go.mod h1:H5KPZjojv4lE+QYImBI8xVtrBRgYrIVsaRPx4tDPEn4= github.com/karrick/godirwalk v1.10.3/go.mod h1:RoGL9dQei4vP9ilrpETWE8CLOZ1kiN0LhBygSwrAsHA= @@ -435,7 +423,6 @@ github.com/kisielk/errcheck v1.2.0/go.mod h1:/BMXB+zMLi60iA8Vv6Ksmxu/1UDYcXs4uQL github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= github.com/klauspost/compress v1.9.5/go.mod h1:RyIbtBH6LamlWaDj8nUwkbUhJ87Yi3uG0guNDohfE1A= github.com/klauspost/compress v1.11.2/go.mod h1:aoV0uJVorq1K+umq18yTdKaF57EivdYsUV+/s2qKfXs= -github.com/klauspost/compress v1.13.6 h1:P76CopJELS0TiO2mebmnzgWaajssP/EszplttgQxcgc= github.com/klauspost/compress v1.13.6/go.mod h1:/3/Vjq9QcHkK5uEr5lBEmyoZ1iFhe47etQ6QUkpK6sk= github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= github.com/konsorten/go-windows-terminal-sequences v1.0.2/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= @@ -464,8 +451,8 @@ github.com/matryer/is v1.2.0 h1:92UTHpy8CDwaJ08GqLDzhhuixiBUUD1p3AU6PHddz4A= github.com/matryer/is v1.2.0/go.mod h1:2fLPjFQM9rhQ15aVEtbuwhJinnOqrmgXPNdZsdwlWXA= github.com/mattn/go-colorable v0.0.9/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaOChaDxuIBZU= github.com/mattn/go-colorable v0.1.4/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVcfRqFIhoBtE= -github.com/mattn/go-colorable v0.1.11 h1:nQ+aFkoE2TMGc0b68U2OKSexC+eq46+XwZzWXHRmPYs= -github.com/mattn/go-colorable v0.1.11/go.mod h1:u5H1YNBxpqRaxsYJYSkiCWKzEfiAb1Gb520KVy5xxl4= +github.com/mattn/go-colorable v0.1.12 h1:jF+Du6AlPIjs2BiUiQlKOX0rt3SujHxPnksPKZbaA40= +github.com/mattn/go-colorable v0.1.12/go.mod h1:u5H1YNBxpqRaxsYJYSkiCWKzEfiAb1Gb520KVy5xxl4= github.com/mattn/go-isatty v0.0.3/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4= github.com/mattn/go-isatty v0.0.4/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4= github.com/mattn/go-isatty v0.0.8/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s= @@ -551,7 +538,6 @@ github.com/stretchr/testify v1.7.1 h1:5TQK59W5E3v0r2duFAb7P95B6hEeOyEnHRa8MjYSMT github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/tidwall/pretty v1.0.0 h1:HsD+QiTn7sK6flMKIvNmpqz1qrpP3Ps6jOKIKMooyg4= github.com/tidwall/pretty v1.0.0/go.mod h1:XNkn88O1ChpSDQmQeStsy+sBenx6DDtFZJxhVysOjyk= -github.com/ulikunitz/xz v0.5.8 h1:ERv8V6GKqVi23rgu5cj9pVfVzJbOqAY2Ntl88O6c2nQ= github.com/ulikunitz/xz v0.5.8/go.mod h1:nbz6k7qbPmH4IRqmfOplQw/tblSgqTqBwxkY0oWt/14= github.com/vektah/gqlparser v1.1.2/go.mod h1:1ycwN7Ij5njmMkPPAOaRFY4rET2Enx7IkVv3vaXspKw= github.com/vmihailenco/msgpack v3.3.3+incompatible/go.mod h1:fy3FlTQTDXWkZ7Bh6AcGMlsjHatGryHQYUTf1ShIgkk= @@ -570,7 +556,6 @@ github.com/youmark/pkcs8 v0.0.0-20181117223130-1be2e3e5546d/go.mod h1:rHwXgn7Jul github.com/yuin/goldmark v1.1.25/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.1.32/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= -github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/zclconf/go-cty v1.1.0/go.mod h1:xnAOWiHeOqg2nWS62VtQ7pbOu17FtxJNW8RLEih+O3s= github.com/zclconf/go-cty v1.2.0/go.mod h1:hOPWgoHbaTUnI5k4D2ld+GRpFJSCe6bCM7m1q/N4PQ8= github.com/zclconf/go-cty v1.9.1/go.mod h1:vVKLxnk3puL4qRAv72AO+W99LUD4da90g3uUAzyuvAk= @@ -592,7 +577,6 @@ go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU= go.opencensus.io v0.22.0/go.mod h1:+kGneAE2xo2IficOXnaByMWTGM9T73dGwxeWcUqIpI8= go.opencensus.io v0.22.2/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= go.opencensus.io v0.22.3/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= -go.opencensus.io v0.22.4 h1:LYy1Hy3MJdrCdMwwzxA/dRok4ejH+RwNGbuoD9fCjto= go.opencensus.io v0.22.4/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= go.opentelemetry.io/proto/otlp v0.7.0/go.mod h1:PqfVotwruBrMGOCsRd/89rSnXhoiJIqeYNgFYFoEGnI= golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= @@ -636,7 +620,6 @@ golang.org/x/lint v0.0.0-20190909230951-414d861bb4ac/go.mod h1:6SW0HCj/g11FgYtHl golang.org/x/lint v0.0.0-20190930215403-16217165b5de/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= golang.org/x/lint v0.0.0-20191125180803-fdd1cda4f05f/go.mod h1:5qLYkcX4OjUUV8bRuDixDT3tpyyb+LUpUlRWLxfhWrs= golang.org/x/lint v0.0.0-20200130185559-910be7a94367/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= -golang.org/x/lint v0.0.0-20200302205851-738671d3881b h1:Wh+f8QHJXR411sJR8/vRBTZ7YapZaRvUcLFFJhusH0k= golang.org/x/lint v0.0.0-20200302205851-738671d3881b/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= golang.org/x/mobile v0.0.0-20190312151609-d3739f865fa6/go.mod h1:z+o9i4GpDbdi3rU15maQ/Ox0txvL9dWGYEHz965HBQE= golang.org/x/mobile v0.0.0-20190719004257-d2bd2a29d028/go.mod h1:E/iHnbuqvinMTCcRqshq8CkpyQDoeVncDDYHnLhea+o= @@ -645,7 +628,6 @@ golang.org/x/mod v0.1.0/go.mod h1:0QHyrYULN0/3qlju5TqG8bIK38QM8yzMo5ekMj3DlcY= golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= golang.org/x/mod v0.1.1-0.20191107180719-034126e5016b/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= -golang.org/x/mod v0.3.0 h1:RM4zey1++hCTbCVQfnWeKs9/IEsaBLA8vTkd0WVtmH4= golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/net v0.0.0-20180530234432-1e491301e022/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= @@ -681,7 +663,6 @@ golang.org/x/net v0.0.0-20200602114024-627f9648deb9/go.mod h1:qpuaurCH72eLCgpAm/ golang.org/x/net v0.0.0-20200625001655-4c5254603344/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= golang.org/x/net v0.0.0-20200707034311-ab3426394381/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= golang.org/x/net v0.0.0-20200822124328-c89045814202/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= -golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= golang.org/x/net v0.0.0-20201110031124-69a78807bb2b/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= golang.org/x/net v0.0.0-20201202161906-c7110b5ffcbb/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= golang.org/x/net v0.0.0-20201224014010-6772e930b67b/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= @@ -696,7 +677,6 @@ golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4Iltr golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= golang.org/x/oauth2 v0.0.0-20191202225959-858c2ad4c8b6/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= -golang.org/x/oauth2 v0.0.0-20200902213428-5d25da1a8d43/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= golang.org/x/oauth2 v0.0.0-20201109201403-9fd604954f58 h1:Mj83v+wSRNEar42a/MQgxk9X42TdEmrOl9i+y8WbxLo= golang.org/x/oauth2 v0.0.0-20201109201403-9fd604954f58/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= @@ -708,7 +688,6 @@ golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJ golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20200317015054-43a5402ce75a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20200625203802-6e8e738ad208/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= @@ -746,7 +725,6 @@ golang.org/x/sys v0.0.0-20200511232937-7e40ca221e25/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20200515095857-1151b9dac4a9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200523222454-059865788121/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200803210538-64077c9b5642/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200905004654-be1d3432aa8f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210320140829-1e4c9ba3b0c4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= @@ -824,9 +802,6 @@ golang.org/x/tools v0.0.0-20200713011307-fd294ab11aed/go.mod h1:njjCfa9FT2d7l9Bc golang.org/x/tools v0.0.0-20200729194436-6467de6f59a7/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= golang.org/x/tools v0.0.0-20200804011535-6c149bb5ef0d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= golang.org/x/tools v0.0.0-20200825202427-b303f430e36d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= -golang.org/x/tools v0.0.0-20200904185747-39188db58858/go.mod h1:Cj7w3i3Rnn0Xh82ur9kSqwfTHTeVxaDqrfMjpcNT6bE= -golang.org/x/tools v0.0.0-20201028111035-eafbe7b904eb h1:KVWk3RW1AZlxWum4tYqegLgwJHb5oouozcGM8HfNQaw= -golang.org/x/tools v0.0.0-20201028111035-eafbe7b904eb/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= @@ -848,8 +823,6 @@ google.golang.org/api v0.24.0/go.mod h1:lIXQywCXRcnZPGlsd8NbLnOjtAoL6em04bJ9+z0M google.golang.org/api v0.28.0/go.mod h1:lIXQywCXRcnZPGlsd8NbLnOjtAoL6em04bJ9+z0MncE= google.golang.org/api v0.29.0/go.mod h1:Lcubydp8VUV7KeIHD9z2Bys/sm/vGKnG1UHuDBSrHWM= google.golang.org/api v0.30.0/go.mod h1:QGmEvQ87FHZNiUVJkT14jQNYJ4ZJjdRF23ZXz5138Fc= -google.golang.org/api v0.34.0 h1:k40adF3uR+6x/+hO5Dh4ZFUqFp67vxvbpafFiJxl10A= -google.golang.org/api v0.34.0/go.mod h1:/XrVsuzM0rZmrsbjJutiuftIzeuTQcEeaYcSk/mQ1dg= google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= google.golang.org/appengine v1.5.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= @@ -904,12 +877,11 @@ google.golang.org/grpc v1.28.0/go.mod h1:rpkK4SK4GF4Ach/+MFLZUBavHOvF2JJB5uozKKa google.golang.org/grpc v1.29.1/go.mod h1:itym6AZVZYACWQqET3MqgPpjcuV5QH3BxFS3IjizoKk= google.golang.org/grpc v1.30.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak= google.golang.org/grpc v1.31.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak= -google.golang.org/grpc v1.31.1/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak= google.golang.org/grpc v1.32.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak= google.golang.org/grpc v1.33.1/go.mod h1:fr5YgcSWrqhRRxogOsw7RzIpsmvOZ6IcH4kBYTpR3n0= google.golang.org/grpc v1.36.0/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU= -google.golang.org/grpc v1.44.0 h1:weqSxi/TMs1SqFRMHCtBgXRs8k3X39QIDEZ0pRcttUg= -google.golang.org/grpc v1.44.0/go.mod h1:k+4IHHFw41K8+bbowsex27ge2rCb65oeWqe4jJ590SU= +google.golang.org/grpc v1.45.0 h1:NEpgUqV3Z+ZjkqMsxMg11IaDrXY4RY6CQukSGK0uI1M= +google.golang.org/grpc v1.45.0/go.mod h1:lN7owxKUQEqMfSyQikvvk5tf/6zMPsrK+ONuO11+0rQ= google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM= @@ -919,8 +891,10 @@ google.golang.org/protobuf v1.22.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2 google.golang.org/protobuf v1.23.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= google.golang.org/protobuf v1.24.0/go.mod h1:r/3tXBNzIEhYS9I1OUVjXDlt8tc493IdKGjtUeSXeh4= -google.golang.org/protobuf v1.25.0 h1:Ejskq+SyPohKW+1uil0JJMtmHCgJPJ/qWTxr8qp+R4c= google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c= +google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= +google.golang.org/protobuf v1.26.0 h1:bxAC2xTBsZGibn2RTntX0oH50xLsqy1OxA9tTL3p/lk= +google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=