Skip to content
This repository has been archived by the owner on Jan 6, 2024. It is now read-only.

Upgrade to v2 #21

Merged
merged 6 commits into from
Feb 8, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -179,8 +179,7 @@ resource "aws_iam_policy" "this" {
"Resource": "arn:aws:ec2:*:*:security-group/*",
"Condition": {
"Null": {
"aws:RequestTag/elbv2.k8s.aws/cluster": "true",
"aws:ResourceTag/elbv2.k8s.aws/cluster": "false"
"aws:ResourceTag/ingress.k8s.aws/cluster": "false"
}
}
},
Expand Down Expand Up @@ -225,7 +224,8 @@ resource "aws_iam_policy" "this" {
"Effect": "Allow",
"Action": [
"elasticloadbalancing:AddTags",
"elasticloadbalancing:RemoveTags"
"elasticloadbalancing:RemoveTags",
"elasticloadbalancing:DeleteTargetGroup"
],
"Resource": [
"arn:aws:elasticloadbalancing:*:*:targetgroup/*/*",
Expand All @@ -234,8 +234,7 @@ resource "aws_iam_policy" "this" {
],
"Condition": {
"Null": {
"aws:RequestTag/elbv2.k8s.aws/cluster": "true",
"aws:ResourceTag/elbv2.k8s.aws/cluster": "false"
"aws:ResourceTag/ingress.k8s.aws/cluster": "false"
}
}
},
Expand Down
2 changes: 1 addition & 1 deletion variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ variable "aws_tags" {
variable "aws_load_balancer_controller_chart_version" {
description = "The AWS Load Balancer Controller version to use. See https://github.com/aws/eks-charts/releases/ and https://github.com/kubernetes-sigs/aws-load-balancer-controller/releases for available versions"
type = string
default = "1.2.6"
default = "1.3.3"
}

variable "alb_controller_depends_on" {
Expand Down