Skip to content

Encryption for EBS volumes using KMS in Terraform #66

@nikolasj

Description

@nikolasj

Describe the Feature

I am currently working on a Terraform configuration for my AWS infrastructure. Part of my setup involves the creation of EBS volumes, which I want to be encrypted.

I am looking for guidance on how to specify in Terraform that the EBS volumes should be created with encryption enabled. I understand that AWS Key Management Service (KMS) can be used for this purpose, but I am unsure how to integrate this into my Terraform configuration.

Expected Behavior

When I apply my Terraform configuration, any EBS volumes that are created should automatically be encrypted using the specified KMS key.

Use Case

This is critical for my organization as we handle sensitive data and need to ensure that all data at rest is securely encrypted to meet our compliance requirements.

Describe Ideal Solution

I am looking for a solution where I can specify in my Terraform configuration the KMS key to be used for EBS encryption. Ideally, this would be as simple as setting an attribute or property on the EBS volume resource in Terraform.

Any advice or examples of how to achieve this would be greatly appreciated.

Alternatives Considered

No response

Additional Context

No response

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