Add the OIDC provider ARN to outputs (#653)

This commit is contained in:
Eytan Hanig
2020-01-03 05:25:09 -08:00
committed by Max Williams
parent bad9604882
commit ab412fb060
3 changed files with 7 additions and 0 deletions

View File

@@ -63,6 +63,11 @@ output "kubeconfig_filename" {
value = concat(local_file.kubeconfig.*.filename, [""])[0]
}
output "oidc_provider_arn" {
description = "The ARN of the OIDC Provider if `enable_irsa = true`."
value = var.enable_irsa ? aws_iam_openid_connect_provider.oidc_provider[0].arn : null
}
output "workers_asg_arns" {
description = "IDs of the autoscaling groups containing workers."
value = concat(