You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 25, 2023. It is now read-only.
description="Sets the DynamoDB write capacity for storage backend"
66
66
default=5
67
67
}
68
+
69
+
variable"s3_bucket_name" {
70
+
description="The name of an S3 bucket to create and use as a storage backend (if configured). Note: S3 bucket names must be *globally* unique."
71
+
type=string
72
+
default="my-vault-bucket"
73
+
}
74
+
75
+
variable"force_destroy_s3_bucket" {
76
+
description="If you set this to true, when you run terraform destroy, this tells Terraform to delete all the objects in the S3 bucket used for backend storage (if configured). You should NOT set this to true in production or you risk losing all your data! This property is only here so automated tests of this module can clean up after themselves."
echo -e " --s3-bucket\tSpecifies the S3 bucket to use to store Vault data. Only used if '--enable-s3-backend' is set."
45
47
echo -e " --s3-bucket-path\tSpecifies the S3 bucket path to use to store Vault data. Only used if '--enable-s3-backend' is set."
46
48
echo -e " --s3-bucket-region\tSpecifies the AWS region where '--s3-bucket' lives. Only used if '--enable-s3-backend' is set."
49
+
echo -e " --consul-agent-service-registration-address\tSpecifies the address of the Consul agent to communicate with when using a different storage backend, in this case an S3 backend. Only used if '--enable-s3-backend' is set. Default is ${DEFAULT_CONSUL_AGENT_SERVICE_REGISTRATION_ADDRESS}."
47
50
echo -e " --enable-dynamo-backend\tIf this flag is set, DynamoDB will be enabled as the backend storage (HA)"
48
51
echo -e " --dynamo-region\tSpecifies the AWS region where --dynamo-table lives. Only used if '--enable-dynamo-backend is on'"
49
52
echo -e " --dynamo--table\tSpecifies the DynamoDB table to use for HA Storage. Only used if '--enable-dynamo-backend is on'"
@@ -237,13 +240,14 @@ function generate_vault_config {
237
240
local -r s3_bucket="$9"
238
241
local -r s3_bucket_path="${10}"
239
242
local -r s3_bucket_region="${11}"
240
-
local -r enable_dynamo_backend="${12}"
241
-
local -r dynamo_region="${13}"
242
-
local -r dynamo_table="${14}"
243
-
local -r enable_auto_unseal="${15}"
244
-
local -r auto_unseal_kms_key_id="${16}"
245
-
local -r auto_unseal_kms_key_region="${17}"
246
-
local -r auto_unseal_endpoint="${18}"
243
+
local -r consul_agent_service_registration_address="${12}"
244
+
local -r enable_dynamo_backend="${13}"
245
+
local -r dynamo_region="${14}"
246
+
local -r dynamo_table="${15}"
247
+
local -r enable_auto_unseal="${16}"
248
+
local -r auto_unseal_kms_key_id="${17}"
249
+
local -r auto_unseal_kms_key_region="${18}"
250
+
local -r auto_unseal_endpoint="${19}"
247
251
local -r config_path="$config_dir/$VAULT_CONFIG_FILE"
0 commit comments