From 17893683c319ddea6a64dc9be0128786ca03484e Mon Sep 17 00:00:00 2001 From: josh Date: Thu, 22 Jun 2023 15:30:42 -0400 Subject: [PATCH 1/2] Add note about premium tier to hcp consul resources --- docs/data-sources/consul_cluster.md | 2 +- docs/resources/consul_cluster.md | 2 +- internal/provider/data_source_consul_cluster.go | 2 +- internal/provider/resource_consul_cluster.go | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/data-sources/consul_cluster.md b/docs/data-sources/consul_cluster.md index 3bdb8b453..1787221b8 100644 --- a/docs/data-sources/consul_cluster.md +++ b/docs/data-sources/consul_cluster.md @@ -57,7 +57,7 @@ If a project is not configured in the HCP Provider config block, the oldest proj - `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 - `state` (String) The state of the HCP Consul cluster. -- `tier` (String) The tier that the HCP Consul cluster will be provisioned as. Only `development`, `standard` and `plus` are available at this time. +- `tier` (String) The tier that the HCP Consul cluster will be provisioned as. Only `development`, `standard`, `plus`, and `premium` are available at this time. ### Nested Schema for `timeouts` diff --git a/docs/resources/consul_cluster.md b/docs/resources/consul_cluster.md index 7e69d2b1f..f10bbc6db 100644 --- a/docs/resources/consul_cluster.md +++ b/docs/resources/consul_cluster.md @@ -34,7 +34,7 @@ resource "hcp_consul_cluster" "example" { - `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://www.hashicorp.com/products/consul/pricing). +- `tier` (String) The tier that the HCP Consul cluster will be provisioned as. Only `development`, `standard`, `plus`, and `premium` are available at this time. See [pricing information](https://www.hashicorp.com/products/consul/pricing). ### Optional diff --git a/internal/provider/data_source_consul_cluster.go b/internal/provider/data_source_consul_cluster.go index e3d77d651..0a5f98e72 100644 --- a/internal/provider/data_source_consul_cluster.go +++ b/internal/provider/data_source_consul_cluster.go @@ -130,7 +130,7 @@ If a project is not configured in the HCP Provider config block, the oldest proj Computed: true, }, "tier": { - Description: "The tier that the HCP Consul cluster will be provisioned as. Only `development`, `standard` and `plus` are available at this time.", + Description: "The tier that the HCP Consul cluster will be provisioned as. Only `development`, `standard`, `plus`, and `premium` are available at this time.", Type: schema.TypeString, Computed: true, }, diff --git a/internal/provider/resource_consul_cluster.go b/internal/provider/resource_consul_cluster.go index 07465d28f..bd83c892d 100644 --- a/internal/provider/resource_consul_cluster.go +++ b/internal/provider/resource_consul_cluster.go @@ -68,7 +68,7 @@ func resourceConsulCluster() *schema.Resource { ValidateDiagFunc: validateSlugID, }, "tier": { - Description: "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://www.hashicorp.com/products/consul/pricing).", + Description: "The tier that the HCP Consul cluster will be provisioned as. Only `development`, `standard`, `plus`, and `premium` are available at this time. See [pricing information](https://www.hashicorp.com/products/consul/pricing).", Type: schema.TypeString, Required: true, ForceNew: true, From e76eadc748e87f193f598d1d373ff2907847b66f Mon Sep 17 00:00:00 2001 From: josh Date: Thu, 22 Jun 2023 15:31:56 -0400 Subject: [PATCH 2/2] Add changelog Signed-off-by: josh --- .changelog/537.txt | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 .changelog/537.txt diff --git a/.changelog/537.txt b/.changelog/537.txt new file mode 100644 index 000000000..8337d21f7 --- /dev/null +++ b/.changelog/537.txt @@ -0,0 +1,3 @@ +```release-note:improvement +Add "premium" to descriptions about Consul Cluster tier +``` \ No newline at end of file