Skip to content
This repository was archived by the owner on Jan 25, 2023. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update encrypted root device and additional EBS volume
  • Loading branch information
Mirko Pluhar committed Nov 9, 2020
commit ee090038942449d40d47a2f8659fd06ac08d3129
2 changes: 1 addition & 1 deletion modules/consul-cluster/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ resource "aws_launch_configuration" "launch_configuration" {
delete_on_termination = var.root_volume_delete_on_termination
encrypted = var.root_volume_encrypted
}

dynamic "ebs_block_device" {
for_each = var.ebs_block_devices
content {
Expand Down
6 changes: 3 additions & 3 deletions modules/consul-cluster/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -169,9 +169,9 @@ variable "root_volume_encrypted" {
default = false
}

variable "ebs_block_devices" {
description = "List of EBS volumes"
type = list
variable "ebs_block_device" {
description = "Additional EBS block devices to attach to autoscaling instances"
type = list(map(string))
default = []
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add a comment with an example of the value you can set this too.

}

Expand Down