A terraform module to create an AWS KMS key
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
No requirements.
Name | Version |
---|---|
aws | n/a |
Name | Type |
---|
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 |
Name | Description |
---|---|
keys | Maps of alias => key objects |