Skip to content

Add IAM user for entrotech - #231

Merged
ale210 merged 2 commits into
mainfrom
add-iam-user-entrotech
Nov 20, 2026
Merged

ale210 merged 2 commits into
mainfrom
add-iam-user-entrotech

Conversation

@ale210

@ale210 ale210 commented Nov 20, 2026

Copy link
Copy Markdown
Member

Adds an IAM user for John Darragh (entrotech) in the incubator account, in ops-leads, tagged Project = food-oasis, for the Food Oasis move into the incubator (hackforla/incubator#284).

slack_id is set, so the user-bot Lambda DMs him a temporary console password once the login profile is created.

Expected plan: 3 to add (aws_iam_user, aws_iam_user_login_profile, aws_iam_user_group_membership), 0 to change, 0 to destroy.

@github-actions

github-actions Bot commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

Terraform plan in terraform
With backend config files: terraform/prod.backend.tfvars
With variables: iam_only = false

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_entrotech.aws_iam_user.user will be created
+   resource "aws_iam_user" "user" {
+       arn           = (known after apply)
+       force_destroy = true
+       id            = (known after apply)
+       name          = "entrotech"
+       path          = "/"
+       tags          = {
+           "Access Level" = "1"
+           "Project"      = "food-oasis"
+           "slack_id"     = "*********"
        }
+       tags_all      = {
+           "Access Level" = "1"
+           "Project"      = "food-oasis"
+           "managed-by"   = "terraform-devops-security"
+           "slack_id"     = "*********"
        }
+       unique_id     = (known after apply)
    }

  # module.iam_user_entrotech.aws_iam_user_group_membership.user_group_membership will be created
+   resource "aws_iam_user_group_membership" "user_group_membership" {
+       groups = [
+           "ops-leads",
        ]
+       id     = (known after apply)
+       user   = "entrotech"
    }

  # module.iam_user_entrotech.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                    = "entrotech"
    }

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

✅ Plan applied in Apply Terraform changes on merge #62

@ale210
ale210 merged commit 65918c6 into main Nov 20, 2026
1 check passed
@ale210
ale210 deleted the add-iam-user-entrotech branch November 20, 2026 06:45
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.

1 participant