Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/infraspecdev/terraform-aws-account
https://github.com/infraspecdev/terraform-aws-account
Last synced: 3 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/infraspecdev/terraform-aws-account
- Owner: infraspecdev
- Created: 2024-05-29T04:03:50.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-11-27T10:18:36.000Z (about 1 month ago)
- Last Synced: 2024-11-27T11:24:47.424Z (about 1 month ago)
- Language: HCL
- Size: 17.6 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
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. |