Skip to content

add IAM user for JArody-07#153

Open
JArody07 wants to merge 1 commit intomainfrom
151-add-new-iam-user
Open

add IAM user for JArody-07#153
JArody07 wants to merge 1 commit intomainfrom
151-add-new-iam-user

Conversation

@JArody07
Copy link
Copy Markdown
Member

@JArody07 JArody07 commented Apr 9, 2026

Fixes #151

What changes did you make?

  • Added IAM user module for GitHub handle JArody07 in aws-user.tf and updated README via terraform-docs.

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

Note

  • Heads up, my commit shows the wrong GitHub handle due to a local Git config issue. I've corrected it from now on. Both accounts are mine, but I should be using JArody07 for this.

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 9, 2026

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

Plan: 3 to add, 2 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_user_JArody07.aws_iam_user.user will be created
+   resource "aws_iam_user" "user" {
+       arn           = (known after apply)
+       force_destroy = false
+       id            = (known after apply)
+       name          = "JArody-7"
+       path          = "/"
+       tags          = {
+           "Access Level" = "1"
+           "Project"      = "devops-security"
        }
+       tags_all      = {
+           "Access Level" = "1"
+           "Project"      = "devops-security"
        }
+       unique_id     = (known after apply)
    }

  # module.iam_user_JArody07.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   = "JArody-7"
    }

  # module.iam_user_JArody07.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                = (sensitive value)
+       password_length         = 20
+       password_reset_required = true
+       user                    = "JArody-7"
    }

  # module.iam_user_alexe.aws_iam_user_group_membership.user_group_membership will be updated in-place
!~  resource "aws_iam_user_group_membership" "user_group_membership" {
!~      groups = [
-           "ops-leads",
+           "read-only-group",
        ]
        id     = "terraform-20240815021728326500000001"
#        (1 unchanged attribute hidden)
    }

  # module.iam_user_rsakuma.aws_iam_user_group_membership.user_group_membership will be updated in-place
!~  resource "aws_iam_user_group_membership" "user_group_membership" {
!~      groups = [
-           "ops-leads",
+           "read-only-group",
        ]
        id     = "terraform-20240815020638105300000001"
#        (1 unchanged attribute hidden)
    }

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

Warning: Argument is deprecated

  with module.iam_oidc_gha_incubator.aws_iam_role.github_actions_oidc,
  on modules/aws-gha-oidc-providers/main.tf line 54, in resource "aws_iam_role" "github_actions_oidc":
  54:   managed_policy_arns = var.policy_arns

managed_policy_arns is deprecated. Use the aws_iam_role_policy_attachment
resource instead. If Terraform should exclusively manage all managed policy
attachments (the current behavior of this argument), use the
aws_iam_role_policy_attachments_exclusive resource as well.

📝 Plan generated in Write Terraform Plan to Pull Request #97

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 new AWS User Account

2 participants