feat(module): add output variable arn
and deprecate output variable iam_role_arn
This commit is contained in:
parent
336e7703d6
commit
441295d140
3 changed files with 19 additions and 2 deletions
|
@ -1,3 +1,10 @@
|
|||
output "arn" {
|
||||
description = "AWS IAM role ARN."
|
||||
sensitive = false
|
||||
value = aws_iam_role.main.id
|
||||
}
|
||||
|
||||
# Deprecated since 1.1.0
|
||||
output "iam_role_arn" {
|
||||
description = "AWS IAM role ARN."
|
||||
sensitive = false
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue