-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from SPHTech-Platform/fix-output
Fix output and by default create role to make the module non breaking
- Loading branch information
Showing
3 changed files
with
10 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
output "iam_role_arn" { | ||
description = "ARN of IAM role" | ||
value = module.secrets_manager_role[0].iam_role_arn | ||
value = try(module.secrets_manager_role[0].iam_role_arn, "") | ||
} | ||
|
||
output "iam_role_name" { | ||
description = "Name of IAM role" | ||
value = module.secrets_manager_role[0].iam_role_name | ||
value = try(module.secrets_manager_role[0].iam_role_name, "") | ||
} | ||
|
||
output "iam_role_path" { | ||
description = "Path of IAM role" | ||
value = module.secrets_manager_role[0].iam_role_path | ||
value = try(module.secrets_manager_role[0].iam_role_path, "") | ||
} | ||
|
||
output "iam_role_unique_id" { | ||
description = "Unique ID of IAM role" | ||
value = module.secrets_manager_role[0].iam_role_unique_id | ||
value = try(module.secrets_manager_role[0].iam_role_unique_id, "") | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters