Skip to content

Commit

Permalink
Update account import readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Stretch96 committed Jun 13, 2024
1 parent a936b4e commit b2fb720
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ module "aws_organizations_and_sso" {
email = "[email protected]"
# If the account has been imported into terrafrom, this must be set to "NULL"
# This behaviour cannot be changed once the account is created (only the root user account will be able to change it)
# (Terraform import example can be found at https://github.com/chris-qa-org/terraform-aws-organzation-and-sso/blob/main/examples/existing-account-import/README.md)
iam_user_access_to_billing = "NULL"
group_assignments = {
"SysAdmins" = {
Expand Down
6 changes: 6 additions & 0 deletions examples/existing-account-import/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
If an AWS account has been imported, the `iam_user_access_to_billing` setting must be set to "NULL" (`string`)
This is because it can only be set during account creation

## Importing an account

```
terraform import 'module.aws_organizations_and_sso.aws_organizations_account.account["my-account-name"]' 0123456789112
```

```
module "aws_organizations_and_sso" {
source = "chris-qa-org/organzation-and-sso/aws"
Expand Down

0 comments on commit b2fb720

Please sign in to comment.