mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-03-26 03:11:06 +01:00
feat: Allow snapshot_id to be specified for additional_ebs_volumes (#1431)
This commit is contained in:
@@ -344,6 +344,11 @@ resource "aws_launch_configuration" "workers" {
|
||||
"encrypted",
|
||||
local.workers_group_defaults["root_encrypted"],
|
||||
)
|
||||
snapshot_id = lookup(
|
||||
block_device_mappings.value,
|
||||
"snapshot_id",
|
||||
local.workers_group_defaults["snapshot_id"],
|
||||
)
|
||||
delete_on_termination = lookup(ebs_block_device.value, "delete_on_termination", true)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user