Skip to content

Commit

Permalink
Merge pull request #122 from hashicorp/sync-public-and-internal-provider
Browse files Browse the repository at this point in the history
[auto] Sync with Public Provider
  • Loading branch information
aidan-mundy authored Sep 28, 2023
2 parents b413e5a + e2cade8 commit 76808ea
Show file tree
Hide file tree
Showing 88 changed files with 582 additions and 745 deletions.
2 changes: 1 addition & 1 deletion .go-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.19.11
1.20.7
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
## v0.72.0 (September 28, 2023)
BREAKING CHANGES:

* Removed the `hcp_packer_image_iteration` data source, previously deprecated in [v0.68.0](https://github.com/hashicorp/terraform-provider-hcp/releases/tag/v0.68.0) [[GH-609](https://github.com/hashicorp/terraform-provider-hcp/pull/609)]

IMPROVEMENTS:

* Update to Go 1.20 per the [Go support policy](https://go.dev/doc/devel/release#policy). [[GH-610](https://github.com/hashicorp/terraform-provider-hcp/pull/610)]
* Updating docs to use sub-categories [[GH-585](https://github.com/hashicorp/terraform-provider-hcp/pull/585)]
## v0.71.1 (September 25, 2023)

BUG FIXES:

* project_id unauthorized issue when using config client secret [[GH-604](https://github.com/hashicorp/terraform-provider-hcp/pull/604)]

## v0.71.0 (September 20, 2023)

FEATURES:
Expand Down
2 changes: 1 addition & 1 deletion contributing/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ To learn more about how to create issues and pull requests in this repository, a
## Requirements

- [Terraform](https://www.terraform.io/downloads.html) >= 0.13.x
- [Go](https://golang.org/doc/install) >= 1.19
- [Go](https://golang.org/doc/install) >= 1.20

## Building the Provider

Expand Down
3 changes: 1 addition & 2 deletions docs/data-sources/aws_network_peering.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "hcp_aws_network_peering Data Source - terraform-provider-hcp"
subcategory: ""
subcategory: "HashiCorp Virtual Networks"
description: |-
The AWS network peering data source provides information about an existing network peering between an HVN and a peer AWS VPC.
---
Expand Down
3 changes: 1 addition & 2 deletions docs/data-sources/aws_transit_gateway_attachment.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "hcp_aws_transit_gateway_attachment Data Source - terraform-provider-hcp"
subcategory: ""
subcategory: "HashiCorp Virtual Networks"
description: |-
The AWS transit gateway attachment data source provides information about an existing transit gateway attachment.
---
Expand Down
2 changes: 1 addition & 1 deletion docs/data-sources/azure_peering_connection.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
page_title: "Data Source hcp_azure_peering_connection - terraform-provider-hcp"
subcategory: ""
subcategory: "HashiCorp Virtual Networks"
description: |-
The Azure peering connection data source provides information about a peering connection between an HVN and a peer Azure VNet.
---
Expand Down
5 changes: 2 additions & 3 deletions docs/data-sources/boundary_cluster.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "hcp_boundary_cluster Data Source - terraform-provider-hcp"
subcategory: ""
subcategory: "HCP Boundary"
description: |-
The Boundary cluster data source provides information about an existing HCP Boundary cluster.
---
# hcp_boundary_cluster (Data Source)

Expand All @@ -18,6 +16,7 @@ data "hcp_boundary_cluster" "example" {
}
```


<!-- schema generated by tfplugindocs -->
## Schema

Expand Down
5 changes: 2 additions & 3 deletions docs/data-sources/consul_agent_helm_config.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "hcp_consul_agent_helm_config Data Source - terraform-provider-hcp"
subcategory: ""
subcategory: "HCP Consul"
description: |-
The Consul agent Helm config data source provides Helm values for a Consul agent running in Kubernetes.
---
# hcp_consul_agent_helm_config (Data Source)

Expand All @@ -19,6 +17,7 @@ data "hcp_consul_agent_helm_config" "example" {
}
```


<!-- schema generated by tfplugindocs -->
## Schema

Expand Down
5 changes: 2 additions & 3 deletions docs/data-sources/consul_agent_kubernetes_secret.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "hcp_consul_agent_kubernetes_secret Data Source - terraform-provider-hcp"
subcategory: ""
subcategory: "HCP Consul"
description: |-
The agent config Kubernetes secret data source provides Consul agents running in Kubernetes the configuration needed to connect to the Consul cluster.
---
# hcp_consul_agent_kubernetes_secret (Data Source)

Expand Down Expand Up @@ -43,3 +41,4 @@ If a project is not configured in the HCP Provider config block, the oldest proj
Optional:

- `default` (String)

5 changes: 2 additions & 3 deletions docs/data-sources/consul_cluster.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "hcp_consul_cluster Data Source - terraform-provider-hcp"
subcategory: ""
subcategory: "HCP Consul"
description: |-
The cluster data source provides information about an existing HCP Consul cluster.
---
# hcp_consul_cluster (Data Source)

Expand Down Expand Up @@ -74,3 +72,4 @@ Read-Only:

- `address` (String)
- `description` (String)

5 changes: 2 additions & 3 deletions docs/data-sources/consul_versions.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "hcp_consul_versions Data Source - terraform-provider-hcp"
subcategory: ""
subcategory: "HCP Consul"
description: |-
The Consul versions data source provides the Consul versions supported by HCP.
---
# hcp_consul_versions (Data Source)

Expand Down Expand Up @@ -36,3 +34,4 @@ data "hcp_consul_versions" "default" {}
Optional:

- `default` (String)

4 changes: 1 addition & 3 deletions docs/data-sources/hvn.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "hcp_hvn Data Source - terraform-provider-hcp"
subcategory: ""
subcategory: "HashiCorp Virtual Networks"
description: |-
The HVN data source provides information about an existing HashiCorp Virtual Network.
---
# hcp_hvn (Data Source)

Expand Down
5 changes: 2 additions & 3 deletions docs/data-sources/hvn_peering_connection.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "hcp_hvn_peering_connection Data Source - terraform-provider-hcp"
subcategory: ""
subcategory: "HashiCorp Virtual Networks"
description: |-
The HVN peering connection data source provides information about an existing peering connection between HVNs.
---
# hcp_hvn_peering_connection (Data Source)

Expand Down Expand Up @@ -48,3 +46,4 @@ data "hcp_hvn_peering_connection" "test" {
Optional:

- `default` (String)

5 changes: 2 additions & 3 deletions docs/data-sources/hvn_route.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "hcp_hvn_route Data Source - terraform-provider-hcp"
subcategory: ""
subcategory: "HashiCorp Virtual Networks"
description: |-
The HVN route data source provides information about an existing HVN route.
---
# hcp_hvn_route (Data Source)

Expand Down Expand Up @@ -47,3 +45,4 @@ data "hcp_hvn_route" "example" {
Optional:

- `default` (String)

5 changes: 2 additions & 3 deletions docs/data-sources/packer_bucket_names.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "hcp_packer_bucket_names Data Source - terraform-provider-hcp"
subcategory: ""
subcategory: "HCP Packer"
description: |-
The Packer Bucket Names data source gets the names of all of the buckets in a single HCP Packer registry.
---
# hcp_packer_bucket_names (Data Source)

Expand Down Expand Up @@ -36,3 +34,4 @@ data "hcp_packer_bucket_names" "all" {}
Optional:

- `default` (String)

2 changes: 1 addition & 1 deletion docs/data-sources/packer_image.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
page_title: "Data Source hcp_packer_image - terraform-provider-hcp"
subcategory: ""
subcategory: "HCP Packer"
description: |-
The Packer Image data source gets an image associated with an iteration, either from a specific iteration or from the iteration assigned to a given Channel.
---
Expand Down
75 changes: 0 additions & 75 deletions docs/data-sources/packer_image_iteration.md

This file was deleted.

6 changes: 3 additions & 3 deletions docs/data-sources/packer_iteration.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "hcp_packer_iteration Data Source - terraform-provider-hcp"
subcategory: ""
subcategory: "HCP Packer"
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)

Expand All @@ -19,6 +17,7 @@ data "hcp_packer_iteration" "hardened-source" {
}
```


<!-- schema generated by tfplugindocs -->
## Schema

Expand Down Expand Up @@ -52,3 +51,4 @@ If a project is not configured in the HCP Provider config block, the oldest proj
Optional:

- `default` (String)

2 changes: 1 addition & 1 deletion docs/data-sources/packer_run_task.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
page_title: "hcp_packer_run_task Data Source - terraform-provider-hcp"
subcategory: ""
subcategory: "HCP Packer"
description: |-
The Packer Run Task data source gets the configuration information needed to set up an HCP Packer Registry's run task.
---
Expand Down
5 changes: 2 additions & 3 deletions docs/data-sources/vault_cluster.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "hcp_vault_cluster Data Source - terraform-provider-hcp"
subcategory: ""
subcategory: "HCP Vault"
description: |-
The cluster data source provides information about an existing HCP Vault cluster.
---
# hcp_vault_cluster (Data Source)

Expand Down Expand Up @@ -112,3 +110,4 @@ Read-Only:
- `grafana_endpoint` (String) Grafana endpoint for streaming metrics
- `grafana_user` (String) Grafana user for streaming metrics
- `splunk_hecendpoint` (String) Splunk endpoint for streaming metrics

4 changes: 2 additions & 2 deletions docs/data-sources/vault_secrets_app.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
page_title: "Data Source hcp_vault_secrets_app - terraform-provider-hcp"
subcategory: ""
subcategory: "HCP Vault Secrets"
description: |-
The Vault Secrets app data source retrieves secrets and their latest version values for a given application.
---
Expand Down Expand Up @@ -31,4 +31,4 @@ data "hcp_vault_secrets_app" "example" {
- `id` (String) The ID of this resource.
- `organization_id` (String) The ID of the HCP organization where the Vault Secrets app is located.
- `project_id` (String) The ID of the HCP project where the Vault Secrets app is located.
- `secrets` (Map of String, Sensitive) A map of all secrets in the Vault Secrets app. Key is the secret name, value is the latest secret version value.
- `secrets` (Map of String, Sensitive) A map of all secrets in the Vault Secrets app. Key is the secret name, value is the latest secret version value.
4 changes: 2 additions & 2 deletions docs/data-sources/vault_secrets_secret.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
page_title: "Data Source hcp_vault_secrets_secret - terraform-provider-hcp"
subcategory: ""
subcategory: "HCP Vault Secrets"
description: |-
The Vault Secrets secret data source retrieves a singular secret and its latest version.
---
Expand Down Expand Up @@ -31,4 +31,4 @@ data "hcp_vault_secrets_secret" "example" {
- `id` (String) The ID of this resource.
- `organization_id` (String) The ID of the HCP organization where the Vault Secrets app is located.
- `project_id` (String) The ID of the HCP project where the Vault Secrets app is located.
- `secret_value` (String, Sensitive) The secret value corresponding to the secret name input.
- `secret_value` (String, Sensitive) The secret value corresponding to the secret name input.
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ terraform {
required_providers {
hcp = {
source = "hashicorp/hcp"
version = "~> 0.71.0"
version = "~> 0.72.0"
}
}
}
Expand Down
4 changes: 1 addition & 3 deletions docs/resources/aws_network_peering.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "hcp_aws_network_peering Resource - terraform-provider-hcp"
subcategory: ""
subcategory: "HashiCorp Virtual Networks"
description: |-
The AWS network peering resource allows you to manage a network peering between an HVN and a peer AWS VPC.
---
# hcp_aws_network_peering (Resource)

Expand Down
Loading

0 comments on commit 76808ea

Please sign in to comment.