Skip to content

Commit 003e992

Browse files
fix: set default plan in hybrid hpcs example to standard (#32)
1 parent 88c43a4 commit 003e992

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ No modules.
175175
| <a name="input_name"></a> [name](#input\_name) | The name to give the Hyper Protect Crypto Service instance. Max length allowed is 30 chars. | `string` | n/a | yes |
176176
| <a name="input_number_of_crypto_units"></a> [number\_of\_crypto\_units](#input\_number\_of\_crypto\_units) | The number of operational crypto units for your service instance. | `number` | `2` | no |
177177
| <a name="input_number_of_failover_units"></a> [number\_of\_failover\_units](#input\_number\_of\_failover\_units) | The number of failover crypto units for your service instance. Default is 0 and cross-region high availability will not be enabled. | `number` | `0` | no |
178-
| <a name="input_plan"></a> [plan](#input\_plan) | The name of the service plan that you choose for your Hyper Protect Crypto Service instance. Beta-plan is for Hybrid HPCS. | `string` | `"standard"` | no |
178+
| <a name="input_plan"></a> [plan](#input\_plan) | The name of the service plan that you choose for your Hyper Protect Crypto Service instance. | `string` | `"standard"` | no |
179179
| <a name="input_region"></a> [region](#input\_region) | The region where you want to deploy your instance. | `string` | n/a | yes |
180180
| <a name="input_resource_group_id"></a> [resource\_group\_id](#input\_resource\_group\_id) | The resource group name where the Hyper Protect Crypto Service instance will be created. | `string` | n/a | yes |
181181
| <a name="input_revocation_threshold"></a> [revocation\_threshold](#input\_revocation\_threshold) | The number of administrator signatures that is required to remove an administrator after you leave imprint mode. | `number` | `1` | no |

examples/hybrid-hpcs/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ module "hpcs_instance" {
1414
name = "${var.prefix}-hpcs"
1515
region = var.region
1616
tags = var.resource_tags
17-
plan = "beta-plan"
17+
plan = "standard"
1818
resource_group_id = module.resource_group.resource_group_id
1919
auto_initialization_using_recovery_crypto_units = false
2020
hsm_connector_id = var.hsm_connector_id

module-metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
"plan": {
8383
"name": "plan",
8484
"type": "string",
85-
"description": "The name of the service plan that you choose for your Hyper Protect Crypto Service instance. Beta-plan is for Hybrid HPCS.",
85+
"description": "The name of the service plan that you choose for your Hyper Protect Crypto Service instance.",
8686
"default": "standard",
8787
"required": true,
8888
"source": [

variables.tf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ variable "name" {
2323

2424
variable "plan" {
2525
type = string
26-
description = "The name of the service plan that you choose for your Hyper Protect Crypto Service instance. Beta-plan is for Hybrid HPCS."
26+
description = "The name of the service plan that you choose for your Hyper Protect Crypto Service instance."
2727
default = "standard"
2828
validation {
29-
condition = contains(["standard", "beta-plan"], var.plan)
30-
error_message = "Only the standard and beta-plan is supported currently"
29+
condition = contains(["standard"], var.plan)
30+
error_message = "Only the standard plan is supported currently"
3131
}
3232
}
3333

0 commit comments

Comments
 (0)