Skip to content

Commit

Permalink
fix: Revert changes to ignore role_last_used (#2629)
Browse files Browse the repository at this point in the history
  • Loading branch information
bryantbiggs authored May 24, 2023
1 parent b168c1b commit e23139a
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 18 deletions.
6 changes: 0 additions & 6 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -318,12 +318,6 @@ resource "aws_iam_role" "this" {
}

tags = merge(var.tags, var.iam_role_tags)

lifecycle {
ignore_changes = [
role_last_used,
]
}
}

# Policies attached ref https://docs.aws.amazon.com/eks/latest/userguide/service_IAM_role.html
Expand Down
6 changes: 0 additions & 6 deletions modules/eks-managed-node-group/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -427,12 +427,6 @@ resource "aws_iam_role" "this" {
force_detach_policies = true

tags = merge(var.tags, var.iam_role_tags)

lifecycle {
ignore_changes = [
role_last_used,
]
}
}

# Policies attached ref https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/eks_node_group
Expand Down
6 changes: 0 additions & 6 deletions modules/karpenter/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,6 @@ resource "aws_iam_role" "irsa" {
force_detach_policies = true

tags = merge(var.tags, var.irsa_tags)

lifecycle {
ignore_changes = [
role_last_used,
]
}
}

locals {
Expand Down

0 comments on commit e23139a

Please sign in to comment.