Skip to content

Commit

Permalink
Merge pull request #86 from hackforla/85-add-new-iam-user
Browse files Browse the repository at this point in the history
added lsousadev to aws-users, updated terraform readme
  • Loading branch information
ale210 authored Oct 31, 2024
2 parents 0765546 + 52e1a96 commit 96344d9
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 9 deletions.
20 changes: 20 additions & 0 deletions terraform/.terraform.lock.hcl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions terraform/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,11 @@ Resources created by this code repository.
| <a name="module_iam_user_awlFCCamp"></a> [iam\_user\_awlFCCamp](#module\_iam\_user\_awlFCCamp) | ./modules/aws-users | n/a |
| <a name="module_iam_user_brittanyms"></a> [iam\_user\_brittanyms](#module\_iam\_user\_brittanyms) | ./modules/aws-users | n/a |
| <a name="module_iam_user_chelseyb"></a> [iam\_user\_chelseyb](#module\_iam\_user\_chelseyb) | ./modules/aws-users | n/a |
| <a name="module_iam_user_drakeredwind01"></a> [iam\_user\_drakeredwind01](#module\_iam\_user\_drakeredwind01) | ./modules/aws-users | n/a |
| <a name="module_iam_user_freaky4wrld"></a> [iam\_user\_freaky4wrld](#module\_iam\_user\_freaky4wrld) | ./modules/aws-users | n/a |
| <a name="module_iam_user_jbubar"></a> [iam\_user\_jbubar](#module\_iam\_user\_jbubar) | ./modules/aws-users | n/a |
| <a name="module_iam_user_lsousadev"></a> [iam\_user\_lsousadev](#module\_iam\_user\_lsousadev) | ./modules/aws-users | n/a |
| <a name="module_iam_user_npang4"></a> [iam\_user\_npang4](#module\_iam\_user\_npang4) | ./modules/aws-users | n/a |
| <a name="module_iam_user_rsakuma"></a> [iam\_user\_rsakuma](#module\_iam\_user\_rsakuma) | ./modules/aws-users | n/a |
| <a name="module_iam_user_samuelusc"></a> [iam\_user\_samuelusc](#module\_iam\_user\_samuelusc) | ./modules/aws-users | n/a |
| <a name="module_iam_user_shikha0428"></a> [iam\_user\_shikha0428](#module\_iam\_user\_shikha0428) | ./modules/aws-users | n/a |
Expand Down
10 changes: 5 additions & 5 deletions terraform/aws-gha-oidc-providers.tf
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
module "iam_oidc_gha_incubator" {
source = "./modules/aws-gha-oidc-providers"
source = "./modules/aws-gha-oidc-providers"

role_name = "gha-incubator"
use_wildcard = true
github_branch = "refs/heads/*" # allows any branch
github_repo = "hackforla/incubator"
role_name = "gha-incubator"
use_wildcard = true
github_branch = "refs/heads/*" # allows any branch
github_repo = "hackforla/incubator"

policy_arns = [
"arn:aws:iam::aws:policy/AdministratorAccess"
Expand Down
19 changes: 15 additions & 4 deletions terraform/aws-users.tf
Original file line number Diff line number Diff line change
Expand Up @@ -152,23 +152,23 @@ module "iam_user_alexe" {
user_groups = ["ops-leads"]
}

module "iam_user_rsakuma"{
module "iam_user_rsakuma" {
source = "./modules/aws-users"

user_name = "rsakuma"
user_tags = {
"Project" ="devops-security"
"Project" = "devops-security"
"Access Level" = "1"
}
user_groups = ["read-only-group"]
}

module "iam_user_npang4"{
module "iam_user_npang4" {
source = "./modules/aws-users"

user_name = "npang4"
user_tags = {
"Project" ="devops-security"
"Project" = "devops-security"
"Access Level" = "1"
}
user_groups = ["read-only-group"]
Expand All @@ -184,3 +184,14 @@ module "iam_user_drakeredwind01" {
}
user_groups = ["read-only-group"]
}

module "iam_user_lsousadev" {
source = "./modules/aws-users"

user_name = "lsousadev"
user_tags = {
"Project" = "devops-security"
"Access Level" = "1"
}
user_groups = ["read-only-group"]
}

0 comments on commit 96344d9

Please sign in to comment.