-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathvariables.tf
More file actions
41 lines (33 loc) · 1.05 KB
/
variables.tf
File metadata and controls
41 lines (33 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Copyright IBM Corp. 2021, 2025
# SPDX-License-Identifier: MPL-2.0
variable "hcp_vault_cluster_id" {
type = string
description = "The ID of the HCP Vault cluster."
}
variable "hcp_vault_cluster_hvn_id" {
type = string
description = "The ID of the HVN to which this HCP Vault cluster is associated."
}
variable "hcp_vault_cluster_public_endpoint" {
type = bool
description = "Denotes that the cluster has a public endpoint."
}
variable "hcp_vault_cluster_tier" {
type = string
description = "Tier of the HCP Vault cluster. Must be standard_medium or standard_large."
validation {
condition = (
var.hcp_vault_cluster_tier == "standard_medium" ||
var.hcp_vault_cluster_tier == "standard_large"
)
error_message = "The hcp_vault_cluster_tier must be 'standard_medium' or 'standard_large'."
}
}
variable "vault_role_name" {
type = string
description = "The name of the vault role."
}
variable "vault_policy_name" {
type = string
description = "The name of the vault policy."
}