File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ project adheres to [Semantic Versioning](http://semver.org/).
15
15
16
16
### Changed
17
17
18
- - Write your awesome change here (by @you )
18
+ - Updated instance_profile_names and instance_profile_arns outputs to also consider launch template as well as asg (by @ankitwal )
19
19
20
20
# History
21
21
Original file line number Diff line number Diff line change @@ -114,12 +114,18 @@ output "worker_security_group_id" {
114
114
115
115
output "worker_iam_instance_profile_arns" {
116
116
description = " default IAM instance profile ARN for EKS worker groups"
117
- value = aws_iam_instance_profile. workers . * . arn
117
+ value = concat (
118
+ aws_iam_instance_profile. workers . * . arn ,
119
+ aws_iam_instance_profile. workers_launch_template . * . arn
120
+ )
118
121
}
119
122
120
123
output "worker_iam_instance_profile_names" {
121
124
description = " default IAM instance profile name for EKS worker groups"
122
- value = aws_iam_instance_profile. workers . * . name
125
+ value = concat (
126
+ aws_iam_instance_profile. workers . * . name ,
127
+ aws_iam_instance_profile. workers_launch_template . * . name
128
+ )
123
129
}
124
130
125
131
output "worker_iam_role_name" {
You can’t perform that action at this time.
0 commit comments