Skip to content

Commit

Permalink
chore: Update Packer configuration to include Amazon plugin for Packer
Browse files Browse the repository at this point in the history
  • Loading branch information
Dave Arnold committed Aug 16, 2024
1 parent f663ba9 commit b747b2c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions build.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -78,15 +78,14 @@ build {

post-processor "docker-tag" {
repository = local.ecr_repo
tag = local.tag
tag = [local.tag]
}

post-processor "docker-push" {
ecr_login = true
// login_username = "AWS"
// login_password = data.amazon-secretsmanager.aws_secret_key.secret_string
login_server = "${local.aws_account_id}.dkr.ecr.${local.aws_region}.amazonaws.com"
repository = var.project_name
tag = local.tag
tag = [local.tag]
}
}

0 comments on commit b747b2c

Please sign in to comment.