diff --git a/modules/consul-cluster/main.tf b/modules/consul-cluster/main.tf index dd823e3..000489d 100644 --- a/modules/consul-cluster/main.tf +++ b/modules/consul-cluster/main.tf @@ -56,7 +56,7 @@ resource "aws_launch_configuration" "launch_configuration" { metadata_options { http_tokens = "required" } - + security_groups = [ module.lc_security_group.security_group_id, module.attach_security_group.security_group_id, diff --git a/modules/vault-cluster/main.tf b/modules/vault-cluster/main.tf index 9842fc4..bdaad21 100644 --- a/modules/vault-cluster/main.tf +++ b/modules/vault-cluster/main.tf @@ -56,7 +56,7 @@ resource "aws_launch_configuration" "launch_configuration" { metadata_options { http_tokens = "required" } - + associate_public_ip_address = false ebs_optimized = var.root_volume_ebs_optimized