We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 248686e + 3c6028a commit 37d7591Copy full SHA for 37d7591
README.md
@@ -74,6 +74,7 @@ AWS setup!
74
| Name | Description |
75
|------|-------------|
76
| <a name="output_arn"></a> [arn](#output\_arn) | IAM role arn |
77
+| <a name="output_instance_profile_arn"></a> [instance\_profile\_arn](#output\_instance\_profile\_arn) | IAM instance profile arn |
78
| <a name="output_name"></a> [name](#output\_name) | IAM role name |
79
80
## Providers
outputs.tf
@@ -7,3 +7,8 @@ output "name" {
7
description = "IAM role name"
8
value = aws_iam_role.main.name
9
}
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