Skip to content

Commit 3f06015

Browse files
Camilo Santanamax-rocket-internet
authored andcommitted
adds tags to resource aws_iam_role.cluster (#390)
* adds tagging to iam role Signed-off-by: camilo santana <[email protected]> * emulates name_prefix Signed-off-by: camilo santana <[email protected]> * incriment version Signed-off-by: camilo santana <[email protected]> * tags iam role Signed-off-by: camilo santana <[email protected]> * improve resource name Signed-off-by: camilo santana <[email protected]> * removes comments Signed-off-by: camilo santana <[email protected]> * reverts erroneous increment to release version Signed-off-by: camilo santana <[email protected]> * reverts aws_iam_role.cluster name to orig value Signed-off-by: camilo santana <[email protected]> * removes random suffix idea i was using random_id until i could figure out a datestamp or something here. `name_prefix` does a better job. Signed-off-by: camilo santana <[email protected]> * terraform fmt on local.tf Signed-off-by: camilo santana <[email protected]>
1 parent bf5dae0 commit 3f06015

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ project adheres to [Semantic Versioning](http://semver.org/).
1313

1414
- Added Termination Policy Option to worker ASGs (by @undeadops)
1515
- Update EBS optimized instances type (by @gloutsch)
16+
- Added tagging for iam role created in `./cluster.tf` (@camilosantana)
1617
- Enable log retention for cloudwatch log groups (by @yuriipolishchuk)
1718

18-
1919
### Changed
2020

2121
- Fix toggle for IAM instance profile creation for mixed launch templates (by @jnozo)

cluster.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ resource "aws_iam_role" "cluster" {
6767
permissions_boundary = "${var.permissions_boundary}"
6868
path = "${var.iam_path}"
6969
force_detach_policies = true
70+
tags = "${var.tags}"
7071
}
7172

7273
resource "aws_iam_role_policy_attachment" "cluster_AmazonEKSClusterPolicy" {

0 commit comments

Comments
 (0)