Skip to content
This repository was archived by the owner on Mar 19, 2025. It is now read-only.

Commit 596a336

Browse files
authored
fix: fix bug in logic to output scc_cos_bucket_name (#69)
1 parent 948f52b commit 596a336

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

solutions/instances/outputs.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ output "scc_cos_kms_key_crn" {
2020

2121
output "scc_cos_bucket_name" {
2222
description = "SCC COS bucket name"
23-
value = local.cos_bucket_name
23+
value = var.existing_scc_cos_bucket_name != null ? var.existing_scc_cos_bucket_name : module.cos[0].buckets[local.scc_cos_bucket_name].bucket_name
2424
}
2525

2626
output "scc_id" {

0 commit comments

Comments
 (0)