diff --git a/terraform/.terraform.lock.hcl b/terraform/.terraform.lock.hcl index 74ce9df..14cf4b0 100644 --- a/terraform/.terraform.lock.hcl +++ b/terraform/.terraform.lock.hcl @@ -5,6 +5,7 @@ provider "registry.terraform.io/hashicorp/aws" { version = "5.34.0" hashes = [ "h1:CUCoX4ax5hrP6BH4973oP+hgz8VR2GuNPQil3FYwEqQ=", + "h1:Tbq6dKE+XyXmkup6+7eQj2vH+eCJipk8R3VXhebVYi4=", "zh:01bb20ae12b8c66f0cacec4f417a5d6741f018009f3a66077008e67cce127aa4", "zh:3b0c9bdbbf846beef2c9573fc27898ceb71b69cf9d2f4b1dd2d0c2b539eab114", "zh:5226ecb9c21c2f6fbf1d662ac82459ffcd4ad058a9ea9c6200750a21a80ca009", @@ -22,3 +23,22 @@ provider "registry.terraform.io/hashicorp/aws" { "zh:fcd0f724ebc4b56a499eb6c0fc602de609af18a0d578befa2f7a8df155c55550", ] } + +provider "registry.terraform.io/hashicorp/tls" { + version = "4.0.6" + hashes = [ + "h1:dYSb3V94K5dDMtrBRLPzBpkMTPn+3cXZ/kIJdtFL+2M=", + "zh:10de0d8af02f2e578101688fd334da3849f56ea91b0d9bd5b1f7a243417fdda8", + "zh:37fc01f8b2bc9d5b055dc3e78bfd1beb7c42cfb776a4c81106e19c8911366297", + "zh:4578ca03d1dd0b7f572d96bd03f744be24c726bfd282173d54b100fd221608bb", + "zh:6c475491d1250050765a91a493ef330adc24689e8837a0f07da5a0e1269e11c1", + "zh:81bde94d53cdababa5b376bbc6947668be4c45ab655de7aa2e8e4736dfd52509", + "zh:abdce260840b7b050c4e401d4f75c7a199fafe58a8b213947a258f75ac18b3e8", + "zh:b754cebfc5184873840f16a642a7c9ef78c34dc246a8ae29e056c79939963c7a", + "zh:c928b66086078f9917aef0eec15982f2e337914c5c4dbc31dd4741403db7eb18", + "zh:cded27bee5f24de6f2ee0cfd1df46a7f88e84aaffc2ecbf3ff7094160f193d50", + "zh:d65eb3867e8f69aaf1b8bb53bd637c99c6b649ba3db16ded50fa9a01076d1a27", + "zh:ecb0c8b528c7a619fa71852bb3fb5c151d47576c5aab2bf3af4db52588722eeb", + "zh:f569b65999264a9416862bca5cd2a6177d94ccb0424f3a4ef424428912b9cb3c", + ] +} diff --git a/terraform/README.md b/terraform/README.md index 66b8a21..9ffad93 100644 --- a/terraform/README.md +++ b/terraform/README.md @@ -17,8 +17,11 @@ Resources created by this code repository. | [iam\_user\_awlFCCamp](#module\_iam\_user\_awlFCCamp) | ./modules/aws-users | n/a | | [iam\_user\_brittanyms](#module\_iam\_user\_brittanyms) | ./modules/aws-users | n/a | | [iam\_user\_chelseyb](#module\_iam\_user\_chelseyb) | ./modules/aws-users | n/a | +| [iam\_user\_drakeredwind01](#module\_iam\_user\_drakeredwind01) | ./modules/aws-users | n/a | | [iam\_user\_freaky4wrld](#module\_iam\_user\_freaky4wrld) | ./modules/aws-users | n/a | | [iam\_user\_jbubar](#module\_iam\_user\_jbubar) | ./modules/aws-users | n/a | +| [iam\_user\_lsousadev](#module\_iam\_user\_lsousadev) | ./modules/aws-users | n/a | +| [iam\_user\_npang4](#module\_iam\_user\_npang4) | ./modules/aws-users | n/a | | [iam\_user\_rsakuma](#module\_iam\_user\_rsakuma) | ./modules/aws-users | n/a | | [iam\_user\_samuelusc](#module\_iam\_user\_samuelusc) | ./modules/aws-users | n/a | | [iam\_user\_shikha0428](#module\_iam\_user\_shikha0428) | ./modules/aws-users | n/a | diff --git a/terraform/aws-gha-oidc-providers.tf b/terraform/aws-gha-oidc-providers.tf index 2e493ea..534abe2 100644 --- a/terraform/aws-gha-oidc-providers.tf +++ b/terraform/aws-gha-oidc-providers.tf @@ -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" diff --git a/terraform/aws-users.tf b/terraform/aws-users.tf index 13c03f8..e44c10a 100644 --- a/terraform/aws-users.tf +++ b/terraform/aws-users.tf @@ -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"] @@ -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"] +}