Skip to content

Commit fe9ae32

Browse files
author
Christian Kappen
committed
fix: add Instance Profile Arn to Outputs
1 parent 248686e commit fe9ae32

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

outputs.tf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,8 @@ output "name" {
77
description = "IAM role name"
88
value = aws_iam_role.main.name
99
}
10+
11+
output "instance_profile_arn" {
12+
description = "IAM instance profile arn"
13+
value = try(aws_iam_instance_profile.main[0].arn, null)
14+
}

0 commit comments

Comments
 (0)