Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
Guysnacho committed Oct 22, 2024
1 parent 7942f5b commit ad0734d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions terraform/ecr.tf
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ locals {
}
}

data "aws_caller_identity" "auth_current" {}
data "aws_ssm_parameter" "image_url" {
name = "ecr_artifact_url"
}
Expand Down Expand Up @@ -68,7 +67,7 @@ data "aws_iam_policy_document" "registry" {
statement {
principals {
type = "AWS"
identifiers = ["arn:aws:iam::${data.aws_caller_identity.current.account_id}:root"]
identifiers = ["arn:aws:iam::${local.account_id}:root"]
}

actions = [
Expand Down

0 comments on commit ad0734d

Please sign in to comment.