File tree 7 files changed +14
-3
lines changed
7 files changed +14
-3
lines changed Original file line number Diff line number Diff line change @@ -145,7 +145,7 @@ MIT Licensed. See [LICENSE](https://github.com/terraform-aws-modules/terraform-a
145
145
| Name | Version |
146
146
| ------| ---------|
147
147
| <a name =" requirement_terraform " ></a > [ terraform] ( #requirement\_ terraform ) | >= 0.13.1 |
148
- | <a name =" requirement_aws " ></a > [ aws] ( #requirement\_ aws ) | >= 3.22 .0 |
148
+ | <a name =" requirement_aws " ></a > [ aws] ( #requirement\_ aws ) | >= 3.35 .0 |
149
149
| <a name =" requirement_kubernetes " ></a > [ kubernetes] ( #requirement\_ kubernetes ) | >= 1.11.1 |
150
150
| <a name =" requirement_local " ></a > [ local] ( #requirement\_ local ) | >= 1.4 |
151
151
| <a name =" requirement_null " ></a > [ null] ( #requirement\_ null ) | >= 2.1 |
@@ -156,7 +156,7 @@ MIT Licensed. See [LICENSE](https://github.com/terraform-aws-modules/terraform-a
156
156
157
157
| Name | Version |
158
158
| ------| ---------|
159
- | <a name =" provider_aws " ></a > [ aws] ( #provider\_ aws ) | >= 3.22 .0 |
159
+ | <a name =" provider_aws " ></a > [ aws] ( #provider\_ aws ) | >= 3.35 .0 |
160
160
| <a name =" provider_kubernetes " ></a > [ kubernetes] ( #provider\_ kubernetes ) | >= 1.11.1 |
161
161
| <a name =" provider_local " ></a > [ local] ( #provider\_ local ) | >= 1.4 |
162
162
| <a name =" provider_null " ></a > [ null] ( #provider\_ null ) | >= 2.1 |
Original file line number Diff line number Diff line change @@ -170,6 +170,7 @@ resource "aws_iam_policy" "cluster_elb_sl_role_creation" {
170
170
description = " Permissions for EKS to create AWSServiceRoleForElasticLoadBalancing service-linked role"
171
171
policy = data. aws_iam_policy_document . cluster_elb_sl_role_creation [0 ]. json
172
172
path = var. iam_path
173
+ tags = var. tags
173
174
}
174
175
175
176
resource "aws_iam_role_policy_attachment" "cluster_elb_sl_role_creation" {
Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ resource "aws_iam_policy" "worker_autoscaling" {
21
21
description = "EKS worker node autoscaling policy for cluster ${module.my_cluster.cluster_id}"
22
22
policy = data.aws_iam_policy_document.worker_autoscaling.json
23
23
path = var.iam_path
24
+ tags = var.tags
24
25
}
25
26
26
27
data "aws_iam_policy_document" "worker_autoscaling" {
Original file line number Diff line number Diff line change @@ -12,4 +12,11 @@ resource "aws_iam_openid_connect_provider" "oidc_provider" {
12
12
client_id_list = [local . sts_principal ]
13
13
thumbprint_list = [var . eks_oidc_root_ca_thumbprint ]
14
14
url = flatten (concat (aws_eks_cluster. this [* ]. identity [* ]. oidc . 0 . issuer , [" " ]))[0 ]
15
+
16
+ tags = merge (
17
+ {
18
+ Name = " ${ var . cluster_name } -eks-irsa"
19
+ },
20
+ var. tags
21
+ )
15
22
}
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ terraform {
2
2
required_version = " >= 0.13.1"
3
3
4
4
required_providers {
5
- aws = " >= 3.22 .0"
5
+ aws = " >= 3.35 .0"
6
6
local = " >= 1.4"
7
7
null = " >= 2.1"
8
8
template = " >= 2.1"
Original file line number Diff line number Diff line change @@ -453,6 +453,7 @@ resource "aws_iam_instance_profile" "workers" {
453
453
)
454
454
455
455
path = var. iam_path
456
+ tags = var. tags
456
457
457
458
lifecycle {
458
459
create_before_destroy = true
Original file line number Diff line number Diff line change @@ -563,6 +563,7 @@ resource "aws_iam_instance_profile" "workers_launch_template" {
563
563
local. default_iam_role_id ,
564
564
)
565
565
path = var. iam_path
566
+ tags = var. tags
566
567
567
568
lifecycle {
568
569
create_before_destroy = true
You can’t perform that action at this time.
0 commit comments