Skip to content
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

Add New IAM User for Nelson Pang #55

Merged
merged 1 commit into from
Aug 22, 2024
Merged

Conversation

npang4
Copy link
Member

@npang4 npang4 commented Aug 21, 2024

Fixes #54

Followed the pre-work checklist. Was able to install Terraform, created the backend state, and set up Terraform correclty

…ed the backend state, and set up Terraform correclty
Copy link

github-actions bot commented Aug 21, 2024

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

Plan: 3 to add, 0 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

Terraform will perform the following actions:

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

  # module.iam_user_npang4.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   = "npang4"
    }

  # module.iam_user_npang4.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                    = "npang4"
    }

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

✅ Plan applied in Apply Terraform changes on merge #16

Copy link
Member

@sudhara sudhara left a comment

Choose a reason for hiding this comment

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

chelsey reviewed and approved during DevOps CoP meeting.

@sudhara sudhara merged commit ace1d83 into main Aug 22, 2024
1 check passed
@sudhara sudhara deleted the 50-add-new-iam-user-nelsonpang branch August 22, 2024 01:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

Requesting IAM user - Nelson Pang
2 participants