Skip to content

Commit f52924d

Browse files
committed
Fix bug on id output in ecr-registry
1 parent 6abf17b commit f52924d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/ecr-registry/outputs.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ output "name" {
55

66
output "id" {
77
description = "The ID of the registry."
8-
value = try(aws_ecr_replication_configuration.this[*].registry_id[0], local.metadata.name)
8+
value = aws_ecr_registry_scanning_configuration.this.registry_id
99
}
1010

1111
output "policy" {

0 commit comments

Comments
 (0)