File tree Expand file tree Collapse file tree 4 files changed +18
-0
lines changed
Expand file tree Collapse file tree 4 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -73,6 +73,8 @@ module "vault" {
7373 vault_volume_type = " gp2"
7474 vault_vpc_cidr_block_start = " 10.70"
7575 vault_aws_vpc_id = data. terraform_remote_state . default . outputs . vpc_id
76+ vault_http_read_timeout = " 5m"
77+ vault_http_write_timeout = " 5m"
7678 vault_tags = {
7779 owner = " Robert de Bock"
7880 }
Original file line number Diff line number Diff line change @@ -86,6 +86,8 @@ resource "aws_launch_template" "default" {
8686 vault_custom_script_s3_url = var.vault_custom_script_s3_url
8787 vault_data_path = var.vault_data_path
8888 vault_enable_ui = var.vault_enable_ui
89+ vault_http_read_timeout = var.vault_http_read_timeout
90+ vault_http_write_timeout = var.vault_http_write_timeout
8991 vault_version = var.vault_version
9092 vault_package = local.vault_package
9193 vault_license = try (var. vault_license , null )
Original file line number Diff line number Diff line change @@ -157,6 +157,8 @@ listener "tcp" {
157157 unauthenticated_metrics_access = ${unauthenticated_metrics_access}
158158 }
159159%{ endif ~}
160+ http_read_timeout = "${vault_http_read_timeout} "
161+ http_write_timeout = "${vault_http_write_timeout} "
160162}
161163
162164seal "awskms" {
Original file line number Diff line number Diff line change @@ -486,3 +486,15 @@ variable "vault_bastion_public_ip" {
486486 type = bool
487487 default = true
488488}
489+
490+ variable "vault_http_read_timeout" {
491+ description = " The read timeout for the HTTP API."
492+ type = string
493+ default = " 30s"
494+ }
495+
496+ variable "vault_http_write_timeout" {
497+ description = " The write timeout for the HTTP API."
498+ type = string
499+ default = " 30s"
500+ }
You can’t perform that action at this time.
0 commit comments