Skip to content
This repository has been archived by the owner on Feb 10, 2021. It is now read-only.

Commit

Permalink
Bump terraform-root-modules to 0.43.0 (#48)
Browse files Browse the repository at this point in the history
This is quite a jump but needed for some recent fixes to do with `users`
and `iam`.

One of the changes to how IAM user accounts are managed is to have all IAM users centrally managed in `conf/users`.

vadzim + aliaksandr are not currently working on CP projects so those
users are removed and the other users are in the correct admin groups
across all accounts thanks to the `admin_groups` local, where all admin
groups across enabled accounts are read from SSM.

 are added to these groups as they are included in `admin_groups
  • Loading branch information
joshmyers authored Feb 15, 2019
1 parent 06cf0d7 commit d16c697
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 40 deletions.
39 changes: 0 additions & 39 deletions conf/iam/terraform.tfvars
Original file line number Diff line number Diff line change
@@ -1,40 +1 @@
accounts_enabled = ["dev", "staging", "prod", "testing", "audit"]

prod_account_user_names = [
"admin@cloudposse.co",
"erik@cloudposse.com",
"vadzim@cloudposse.com",
"aliaksandr@cloudposse.com",
]

staging_account_user_names = [
"admin@cloudposse.co",
"erik@cloudposse.com",
"vadzim@cloudposse.com",
"aliaksandr@cloudposse.com",
]

audit_account_user_names = [
"admin@cloudposse.co",
"erik@cloudposse.com",
"vadzim@cloudposse.com",
"aliaksandr@cloudposse.com",
]

dev_account_user_names = [
"admin@cloudposse.co",
"erik@cloudposse.com",
"vadzim@cloudposse.com",
"aliaksandr@cloudposse.com",
"solairerove",
"josh"
]

testing_account_user_names = [
"admin@cloudposse.co",
"erik@cloudposse.com",
"vadzim@cloudposse.com",
"aliaksandr@cloudposse.com",
"josh",
"solairerove"
]
2 changes: 1 addition & 1 deletion conf/users/terraform.tfvars
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ terragrunt = {
path = "${find_in_parent_folders()}"
}
terraform {
source = "git::https://github.com/cloudposse/terraform-root-modules.git//aws/users?ref=0.6.0"
source = "git::https://github.com/cloudposse/terraform-root-modules.git//aws/users?ref=0.43.0"
extra_arguments "smtp" {
commands = ["plan", "apply", "destroy"]
env_vars = {
Expand Down

0 comments on commit d16c697

Please sign in to comment.