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
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
Name | Version |
---|---|
terraform | >= 0.12.0 |
Name | Version |
---|---|
aws | n/a |
Name | Description | Type | Default | Required |
---|---|---|---|---|
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 |
Name | Description |
---|---|
account_id | ID of the account created |
Email of account |
Module managed by DNX Solutions.
Apache 2 Licensed. See LICENSE for full details.