Skip to content

Commit

Permalink
Fix bug on id output in ecr-registry
Browse files Browse the repository at this point in the history
  • Loading branch information
posquit0 committed May 16, 2024
1 parent 6abf17b commit f52924d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/ecr-registry/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ output "name" {

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

output "policy" {
Expand Down

0 comments on commit f52924d

Please sign in to comment.