Skip to content

Commit

Permalink
Cleanup and some additional comment
Browse files Browse the repository at this point in the history
  • Loading branch information
petewilcock committed Jan 22, 2021
1 parent e6721ca commit 71309a7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions main.tf.tf
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
resource "null_resource" "wordpress_pullpush" {
resource "null_resource" "docker_pullpush" {

triggers = {
shell_hash = sha256(var.docker_source)
}
provisioner "local-exec" {
// ARGs to script are source image, region, AWS Account ID, aws_profile
command = "${abspath(path.module)}/docker_pullpush.sh ${var.docker_source} ${var.aws_region} ${var.aws_account_id} ${var.aws_profile}"
// ARGs to script are source image, region, AWS Account ID, aws_profile, ECR Repo, Image Tag
command = "${abspath(path.module)}/docker_pullpush.sh ${var.docker_source} ${var.aws_region} ${var.aws_account_id} ${var.aws_profile} ${var.ecr_repo_name} ${var.ecr_repo_tag}"
}
}

0 comments on commit 71309a7

Please sign in to comment.