Skip to content

Root EBS volume encryption #2051

@jrouly

Description

@jrouly

Is your request related to a problem? Please describe.

Up until the release of v18.0.0 (i.e., this feature was present up until v17.24.0 and removed in #1680), it was possible to specify EBS root volume encryption by passing in root_kms_key_id.

I can't find it documented anywhere that this feature was intentionally dropped. As far as I can tell, the only way to achieve encrypted root EBS volumes is to explicitly configure block_device_mappings, e.g.:

block_device_mappings = {
  xvda = {
    device_name = "/dev/xvda"
    ebs = {
      encrypted   = true
      kms_key_id  = ...
    }
  }
}

Describe the solution you'd like.

A high level variable like root_kms_key_id to be passed into the node group modules (at least EKS-managed and self-managed) would be very nice, especially compared to the relatively low level block_device_mappings.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions