Skip to content

add new iam user: srinipandiyan #98

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jan 30, 2025
Merged

add new iam user: srinipandiyan #98

merged 2 commits into from
Jan 30, 2025

Conversation

srinipandiyan
Copy link
Member

@srinipandiyan srinipandiyan commented Jan 23, 2025

Fixes #95
Fixes #87

What changes did you make?

  • Updated modules interraform/README.md file
  • Created user and assigned to group interraform/aws-users.tf file

Why did you make the changes (we will use this info to test)?

  • To complete onboarding of DevOps=Security team
  • To work on AWS/Terraform issues on my local machine.

Copy link

github-actions bot commented Jan 23, 2025

Terraform plan in terraform
With backend config files: terraform/prod.backend.tfvars

Plan: 3 to add, 1 to change, 0 to destroy.
Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
+   create
!~  update in-place

Terraform will perform the following actions:

  # module.iam_oidc_gha_incubator.aws_iam_role.github_actions_oidc will be updated in-place
!~  resource "aws_iam_role" "github_actions_oidc" {
!~      assume_role_policy    = jsonencode(
!~          {
!~              Statement = [
!~                  {
!~                      Condition = {
!~                          StringLike   = {
!~                              "token.actions.githubusercontent.com:sub" = "*************************************************************************"
                            }
#                            (1 unchanged attribute hidden)
                        }
#                        (3 unchanged attributes hidden)
                    },
                ]
#                (1 unchanged attribute hidden)
            }
        )
        id                    = "gha-incubator"
        name                  = "gha-incubator"
        tags                  = {}
#        (11 unchanged attributes hidden)
    }

  # module.iam_user_srinipandiyan.aws_iam_user.user will be created
+   resource "aws_iam_user" "user" {
+       arn           = (known after apply)
+       force_destroy = false
+       id            = (known after apply)
+       name          = "srinipandiyan"
+       path          = "/"
+       tags          = {
+           "Access Level" = "1"
+           "Project"      = "devops-security"
        }
+       tags_all      = {
+           "Access Level" = "1"
+           "Project"      = "devops-security"
        }
+       unique_id     = (known after apply)
    }

  # module.iam_user_srinipandiyan.aws_iam_user_group_membership.user_group_membership will be created
+   resource "aws_iam_user_group_membership" "user_group_membership" {
+       groups = [
+           "read-only-group",
        ]
+       id     = (known after apply)
+       user   = "srinipandiyan"
    }

  # module.iam_user_srinipandiyan.aws_iam_user_login_profile.user_login will be created
+   resource "aws_iam_user_login_profile" "user_login" {
+       encrypted_password      = (known after apply)
+       id                      = (known after apply)
+       key_fingerprint         = (known after apply)
+       password                = (known after apply)
+       password_length         = 20
+       password_reset_required = true
+       user                    = "srinipandiyan"
    }

Plan: 3 to add, 1 to change, 0 to destroy.

✅ Plan applied in Apply Terraform changes on merge #22

@RSkuma
Copy link
Member

RSkuma commented Jan 30, 2025

PR looks good

@RSkuma RSkuma requested review from RSkuma and removed request for RSkuma January 30, 2025 02:18
@srinipandiyan srinipandiyan requested a review from RSkuma January 30, 2025 02:19
Copy link
Member

@RSkuma RSkuma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR Approved

@RSkuma RSkuma merged commit fdce733 into main Jan 30, 2025
1 check passed
@RSkuma RSkuma deleted the 95-add-new-iam-user branch January 30, 2025 02:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create AWS user account for user: srinipandiyan Pre-work Checklist: DevOps-Security-Member: Srini Pandiyan
2 participants