Coder Social home page Coder Social logo

erlequimboh21 / terraform-aws-kms Goto Github PK

View Code? Open in Web Editor NEW

This project forked from terraform-module/terraform-aws-kms

0.0 0.0 0.0 54 KB

Terraform module which creates a KMS Customer Master Key (CMK) and its alias.

License: MIT License

Makefile 10.75% HCL 89.25%

terraform-aws-kms's Introduction

Terraform AWS KMS

Terraform module to create fully feature KMS


Maintenance GitHub forks


Usage example

Here's the gist of using it directly from github.

module kms_chamber {
  source  = "terraform-module/kms/aws"
  version = "2.3.0"

  alias_name              = "parameter_store_key"
  description             = "Key to encrypt and decrypt secrets"

  tags = map("USED_BY", "chamber"))
}

Assumptions

Available features

Module Variables

Inputs

Name Description Type Default Required
alias_name The name of the key alias string n/a yes
deletion_window_in_days The duration in days after which the key is deleted after destruction of the resource string "30" no
description The description of this KMS key string n/a yes
enable_key_rotation (Optional) Specifies whether key rotation is enabled. Defaults to false. bool "true" no
iam_policy The policy of the key usage string "null" no
is_enabled (Optional) Specifies whether the key is enabled. Defaults to true. bool "true" no
tags (Optional) A mapping of tags to assign to the object. map {} no

Outputs

Name Description
key_alias_arn The Amazon Resource Name (ARN) of the key alias
key_alias_name The display name of the alias.
key_arn The Amazon Resource Name (ARN) of the key.
key_id The globally unique identifier for the key.

Commands

$ make help
hooks                          Commit hooks setup
validate                       Validate with pre-commit hooks
changelog                      Update changelog
release                        Create release version

License

Copyright 2019 ivankatliarhcuk

MIT Licensed. See LICENSE for full details.

How to Contribute

Submit a pull request

Authors

Currently maintained by Ivan Katliarchuk and these awesome contributors.

Terraform Registry

terraform-aws-kms's People

Contributors

ivankatliarchuk avatar renovate-bot avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.