Skip to content

Commit 4291859

Browse files
authored
Merge pull request #54 from chris-qa-org/update-account-import-readme
Update account import readme
2 parents a936b4e + b2fb720 commit 4291859

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ module "aws_organizations_and_sso" {
7373
7474
# If the account has been imported into terrafrom, this must be set to "NULL"
7575
# This behaviour cannot be changed once the account is created (only the root user account will be able to change it)
76+
# (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)
7677
iam_user_access_to_billing = "NULL"
7778
group_assignments = {
7879
"SysAdmins" = {

examples/existing-account-import/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@
33
If an AWS account has been imported, the `iam_user_access_to_billing` setting must be set to "NULL" (`string`)
44
This is because it can only be set during account creation
55

6+
## Importing an account
7+
8+
```
9+
terraform import 'module.aws_organizations_and_sso.aws_organizations_account.account["my-account-name"]' 0123456789112
10+
```
11+
612
```
713
module "aws_organizations_and_sso" {
814
source = "chris-qa-org/organzation-and-sso/aws"

0 commit comments

Comments
 (0)