Repository navigation
Remove IAM user alexe - #215
Merged
Merged
Conversation
|
Terraform plan in terraform Plan: 0 to add, 0 to change, 3 to destroy.Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
- destroy
Terraform will perform the following actions:
# module.iam_user_alexe.aws_iam_user.user will be destroyed
# (because aws_iam_user.user is not in configuration)
- resource "aws_iam_user" "user" {
- arn = "arn:aws:iam::035866691871:user/alexe" -> null
- force_destroy = true -> null
- id = "alexe" -> null
- name = "alexe" -> null
- path = "/" -> null
- tags = {
- "Access Level" = "1"
- "Project" = "devops-security"
} -> null
- tags_all = {
- "Access Level" = "1"
- "Project" = "devops-security"
- "managed-by" = "terraform-devops-security"
} -> null
- unique_id = "AIDAQQWOSJEPUDCMYCMNE" -> null
# (1 unchanged attribute hidden)
}
# module.iam_user_alexe.aws_iam_user_group_membership.user_group_membership will be destroyed
# (because aws_iam_user_group_membership.user_group_membership is not in configuration)
- resource "aws_iam_user_group_membership" "user_group_membership" {
- groups = [
- "ops-leads",
] -> null
- id = "terraform-20240815021728326500000001" -> null
- user = "alexe" -> null
}
# module.iam_user_alexe.aws_iam_user_login_profile.user_login will be destroyed
# (because aws_iam_user_login_profile.user_login is not in configuration)
- resource "aws_iam_user_login_profile" "user_login" {
- id = "alexe" -> null
- password = (sensitive value) -> null
- password_length = 20 -> null
- password_reset_required = false -> null
- user = "alexe" -> null
}
Plan: 0 to add, 0 to change, 3 to destroy.✅ Plan applied in Apply Terraform changes on merge #52 |
This was referenced Oct 4, 2026
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #212 (end-to-end test, step 1 of 2: remove
alexe; a follow-up PR recreates the account asale210, named after the GitHub handle, with aslack_idso the user-bot DMs it a temporary password)What changes did you make?
iam_user_alexemodule block fromterraform/aws-users.tfWhy did you make the changes (we will use this info to test)?
ale210, as the naming convention expects, and the new user'sCreateLoginProfileis the end-to-end test for the user-botops-leadsmembershipforce_destroyalso deletes the user's access key and a directly attachedIAMUserChangePasswordpolicy that was never in Terraform. Both are intended