mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-11-14 15:03:28 +01:00
fix: Revert changes to ignore role_last_used (#2629)
This commit is contained in:
1 parent
b168c1bf41
commit
e23139ad2d
3 files changed
-18
No files matched your search
@@ -318,12 +318,6 @@ resource "aws_iam_role" "this" {
|
|||||||
}
|
}
|
||||||
|
|
||||||
tags = merge(var.tags, var.iam_role_tags)
|
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
|
# Policies attached ref https://docs.aws.amazon.com/eks/latest/userguide/service_IAM_role.html
|
||||||
|
|||||||
@@ -427,12 +427,6 @@ resource "aws_iam_role" "this" {
|
|||||||
force_detach_policies = true
|
force_detach_policies = true
|
||||||
|
|
||||||
tags = merge(var.tags, var.iam_role_tags)
|
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
|
# Policies attached ref https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/eks_node_group
|
||||||
|
|||||||
@@ -61,12 +61,6 @@ resource "aws_iam_role" "irsa" {
|
|||||||
force_detach_policies = true
|
force_detach_policies = true
|
||||||
|
|
||||||
tags = merge(var.tags, var.irsa_tags)
|
tags = merge(var.tags, var.irsa_tags)
|
||||||
|
|
||||||
lifecycle {
|
|
||||||
ignore_changes = [
|
|
||||||
role_last_used,
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
locals {
|
locals {
|
||||||
|
|||||||
Reference in new issue
Block a user