Skip to content

Latest commit

 

History

History
70 lines (48 loc) · 1.97 KB

README.md

File metadata and controls

70 lines (48 loc) · 1.97 KB

terraform-aws-account

Lint Status LICENSE

This terraform module creates a simple AWS account. Deploy this module to your master account.

This modules creates the following resources:

  • AWS Account
    • Email address for this account, needs to be unique
    • Name for the account to be created
    • Deny access to billing

In addition you have the option to:

  • Provides System Manager (SSM) Parameter resource
    • Account ID
    • Account e-mail

Usage

module "my_account" {
  source = "git::https://github.com/DNXLabs/terraform-aws-account.git?ref=0.0.2"
  name   = "my-account"
  email  = "aws+my-account@mycompany.org"
}

You will need an AWS Organization created in the master account. See terraform-aws-organization

Requirements

Name Version
terraform >= 0.12.0

Providers

Name Version
aws n/a

Inputs

Name Description Type Default Required
email Email address for this account, needs to be unique any n/a yes
name Name for the account to be created any n/a yes
ssm_name Name of account to use on SSM path. Only required if name has invalid characters string "" no

Outputs

Name Description
account_id ID of the account created
email Email of account

Authors

Module managed by DNX Solutions.

License

Apache 2 Licensed. See LICENSE for full details.