mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-03-23 18:01:04 +01:00
Make "dangerous" policy attachments optional (#539)
This commit is contained in:
committed by
Max Williams
parent
09635a36b7
commit
813c607e90
@@ -142,3 +142,12 @@ output "worker_iam_role_arn" {
|
||||
)[0]
|
||||
}
|
||||
|
||||
output "worker_autoscaling_policy_name" {
|
||||
description = "Name of the worker autoscaling IAM policy if `manage_worker_autoscaling_policy = true`"
|
||||
value = concat(aws_iam_policy.worker_autoscaling[*].name, [""])[0]
|
||||
}
|
||||
|
||||
output "worker_autoscaling_policy_arn" {
|
||||
description = "ARN of the worker autoscaling IAM policy if `manage_worker_autoscaling_policy = true`"
|
||||
value = concat(aws_iam_policy.worker_autoscaling[*].arn, [""])[0]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user