kms-share-multi-accounts
devops-made-easy/kms-share-multi-accounts/aws
Terraform module to create kms key and share access to multi accounts with IAM and Users
Install
README
Terraform-aws-kms-share-multi-accounts module to create custom kms key and share access to multiple AWS accounts with option to add particular IAM Roles and Users Sample way of using this module > There are 2 ways to use this module. 1. Using default policy to create kms key and share to dest accounts `` module "kms_sharing" { source = "[email protected]:devops-made-easy/terraform-aws-kms-share-multi-accounts.git" version = "1.0.0" key_name = "devops-key-sharing" dest_account_ids = ["1111111", "222222", "333333"] dest_iam_roles = "arn:aws:iam::xxxxxx:role/dest_iam_role" src_account_ids = ["444444"] src_iam_roles = "arn:aws:iam::xxxxxx:role/src_iam_role" } ` 2. Using Custom policy provided to this module ` module "kms_sharing" { source = "[email protected]:devops-made-easy/terraform-aws-kms-share
Inputs (7)
| Name | Type | Description | Default |
|---|---|---|---|
| src_account_ids | string | required | |
| key_name | string | required | |
| dest_account_ids | string | required | |
| dest_iam_roles | list(string) | [] | |
| src_iam_roles | list(string) | [] | |
| tags | map | {
"Owner": "devops"
} | |
| user_policy | string | "" |
Outputs (5)
key_arnkey_idkey_alias_idkey_alias_arnpolicyResources (2)
Topics & Tags
Details
Similar packages
Azure landing zones Terraform module
Terraform supermodule for the Terraform platform engineering for Azure
Terraform module to deploy landing zone subscriptions (and much more) in Azure
Terraform Module to define a consistent naming convention by (namespace, stage,