Skip to content

Commit ff7c7f1

Browse files
authored
optional resource output
1 parent 344e45c commit ff7c7f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

outputs.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ output "lambda_role_unique_id" {
4343
# IAM Role for GHA
4444
output "lamda_gha_role_name" {
4545
description = "The crated role that can be assumed for the configured repository."
46-
value = module.lamda_gha[0].role.name
46+
value = try(module.lamda_gha[0].role.name, "")
4747
}
4848

4949
# For Lambda Edge and Cloudfront Integration

0 commit comments

Comments
 (0)