Skip to content

plus3it/terraform-aws-tardigrade-kms

Repository files navigation

terraform-aws-tardigrade-kms

A terraform module to create an AWS KMS key

Testing

Manual testing:

# Replace "xxx" with an actual AWS profile, then execute the integration tests.
export AWS_PROFILE=xxx 
make terraform/pytest PYTEST_ARGS="-v --nomock"

For automated testing, PYTEST_ARGS is optional and no profile is needed:

make mockstack/up
make terraform/pytest PYTEST_ARGS="-v"
make mockstack/clean

Requirements

No requirements.

Providers

Name Version
aws n/a

Resources

Name Type

Inputs

Name Description Type Default Required
keys Schema list of KMS Keys, consisting of alias, (OPTIONAL) description, (OPTIONAL) deletion_window_in_days, (OPTIONAL) policy, (OPTIONAL) enable_key_rotation. The enable_key_rotation variable is a boolean. list(any) n/a yes

Outputs

Name Description
keys Maps of alias => key objects