We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e5d6db commit 14cb0b8Copy full SHA for 14cb0b8
Terraform/modules/eks/main.tf
@@ -90,7 +90,7 @@ resource "aws_iam_role" "node" {
90
resource "aws_iam_role_policy_attachment" "node_policy" {
91
for_each = toset([
92
"arn:aws:iam::aws:policy/AmazonEKSWorkerNodePolicy",
93
- "arn:aws:iam::aws:policy/AmazonEC2ContainerRegistryPullOnly",
+ "arn:aws:iam::aws:policy/AmazonEC2ContainerRegistryReadOnly",
94
"arn:aws:iam::aws:policy/AmazonEKS_CNI_Policy"
95
])
96
Terraform/modules/vpc/main.tf
@@ -22,6 +22,10 @@ resource "aws_subnet" "private" {
22
"karpenter.sh/discovery" = var.cluster_name
23
}
24
25
+ lifecycle {
26
+ create_before_destroy = false
27
+ }
28
+
29
depends_on = [
30
aws_vpc.main
31
]
0 commit comments