Skip to content

Latest commit

 

History

History
46 lines (33 loc) · 2.01 KB

README.md

File metadata and controls

46 lines (33 loc) · 2.01 KB

terraform-aws-account

This module creates an AWS account

Requirements

Name Version
terraform ~> 1.8.4
aws ~> 5.51.0

Providers

Name Version
aws ~> 5.51.0

Modules

No modules.

Resources

Name Type
aws_organizations_account.this resource
aws_organizations_organization.org data source

Inputs

Name Description Type Default Required
account_email The email address associated with the AWS account. string n/a yes
account_name The name of the AWS account. string n/a yes
close_on_deletion Specifies if the account should be closed on deletion. bool true no
iam_user_access_to_billing If set to ALLOW, the IAM user will have access to the billing and cost management console. string "DENY" no
parent_org_id The ID of the parent organizational unit. string n/a yes

Outputs

Name Description
account_arn The ARN of the AWS account.
account_id The ID of the AWS account.