Skip to content

Commit 5709186

Browse files
committed
VED-386: change aws_region_source to use region
1 parent 7dcd757 commit 5709186

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

terraform/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ data "aws_ecr_authorization_token" "token" {}
3434

3535
provider "docker" {
3636
registry_auth {
37-
address = "${data.aws_caller_identity.current.account_id}.dkr.ecr.${data.aws_region.current.id}.amazonaws.com"
37+
address = "${data.aws_caller_identity.current.account_id}.dkr.ecr.${data.aws_region.current.region}.amazonaws.com"
3838
username = data.aws_ecr_authorization_token.token.user_name
3939
password = data.aws_ecr_authorization_token.token.password
4040
}

0 commit comments

Comments
 (0)