Skip to content

Commit

Permalink
update example (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
mcalhoun authored Aug 18, 2021
1 parent dce1103 commit 722072a
Showing 1 changed file with 15 additions and 12 deletions.
27 changes: 15 additions & 12 deletions examples/complete/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -29,22 +29,25 @@ module "sso_account_assignments" {

account_assignments = [
{
account = "111111111111", // Represents the "production" account
permission_set_arn = module.permission_sets.permission_sets["AdministratorAccess"].arn,
principal_type = "GROUP",
principal_name = "Administrators"
account = "111111111111", # Represents the "production" account
permission_set_arn = module.permission_sets.permission_sets["AdministratorAccess"].arn,
permission_set_name = "AdministratorAccess",
principal_type = "GROUP",
principal_name = "Administrators"
},
{
account = "111111111111",
permission_set_arn = module.permission_sets.permission_sets["S3AdministratorAccess"].arn,
principal_type = "GROUP",
principal_name = "S3Adminstrators"
account = "111111111111",
permission_set_arn = module.permission_sets.permission_sets["S3AdministratorAccess"].arn,
permission_set_name = "S3AdministratorAccess",
principal_type = "GROUP",
principal_name = "S3Adminstrators"
},
{
account = "222222222222", // Represents the "Sandbox" account
permission_set_arn = module.permission_sets.permission_sets["AdministratorAccess"].arn,
principal_type = "GROUP",
principal_name = "Developers"
account = "222222222222", # Represents the "Sandbox" account
permission_set_arn = module.permission_sets.permission_sets["AdministratorAccess"].arn,
permission_set_name = "AdministratorAccess",
principal_type = "GROUP",
principal_name = "Developers"
},
]
context = module.this.context
Expand Down

0 comments on commit 722072a

Please sign in to comment.