-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathvariables.tf
47 lines (41 loc) · 1.51 KB
/
variables.tf
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
42
43
44
45
46
47
variable "generic_secret_name" {
type = string
description = "Name of Generic Secret (for testing purposes)."
default = "EXAMPLESECRET"
}
# see https://registry.terraform.io/providers/hashicorp/hcp/latest/docs/data-sources/vault_cluster#required
variable "hcp_vault_cluster_id" {
type = string
description = "The ID of the HCP Vault cluster."
}
# see https://registry.terraform.io/providers/hashicorp/vault/latest/docs/resources/mount#path
variable "kvv2_path" {
type = string
description = "Where the secret backend will be mounted."
default = "secret"
}
variable "provision_test_secret" {
type = bool
description = "Boolean Toggle to enable provisioning of Generic Vault Secret."
default = true
}
# ⚠️ Note that the value of this variable will be written to Terraform State
# see https://www.terraform.io/language/state/sensitive-data
variable "vault_aws_secret_backend_access_key" {
type = string
description = "Access Key for Vault AWS Secrets Backend"
default = "AKIAIOSFODNN7EXAMPLE"
sensitive = true
}
# ⚠️ Note that the value of this variable will be written to Terraform State
# see https://www.terraform.io/language/state/sensitive-data
variable "vault_aws_secret_backend_secret_key" {
type = string
description = "Secret Access Key for Vault AWS Secrets Backend"
default = "wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY"
sensitive = true
}
variable "caller_ip" {
type = string
description = "Caller IP address."
}