Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/infraspecdev/terraform-aws-account


https://github.com/infraspecdev/terraform-aws-account

Last synced: 3 days ago
JSON representation

Awesome Lists containing this project

README

        

# terraform-aws-account

This module creates an AWS account

## Requirements

| Name | Version |
|------|---------|
| [terraform](#requirement\_terraform) | ~> 1.8.4 |
| [aws](#requirement\_aws) | ~> 5.51.0 |

## Providers

| Name | Version |
|------|---------|
| [aws](#provider\_aws) | ~> 5.51.0 |

## Modules

No modules.

## Resources

| Name | Type |
|------|------|
| [aws_organizations_account.this](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/organizations_account) | resource |
| [aws_organizations_organization.org](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/organizations_organization) | data source |

## Inputs

| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| [account\_email](#input\_account\_email) | The email address associated with the AWS account. | `string` | n/a | yes |
| [account\_name](#input\_account\_name) | The name of the AWS account. | `string` | n/a | yes |
| [close\_on\_deletion](#input\_close\_on\_deletion) | Specifies if the account should be closed on deletion. | `bool` | `true` | no |
| [iam\_user\_access\_to\_billing](#input\_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](#input\_parent\_org\_id) | The ID of the parent organizational unit. | `string` | n/a | yes |

## Outputs

| Name | Description |
|------|-------------|
| [account\_arn](#output\_account\_arn) | The ARN of the AWS account. |
| [account\_id](#output\_account\_id) | The ID of the AWS account. |