Skip to content

Commit 71309a7

Browse files
committed
Cleanup and some additional comment
1 parent e6721ca commit 71309a7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

main.tf.tf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
resource "null_resource" "wordpress_pullpush" {
1+
resource "null_resource" "docker_pullpush" {
22

33
triggers = {
44
shell_hash = sha256(var.docker_source)
55
}
66
provisioner "local-exec" {
7-
// ARGs to script are source image, region, AWS Account ID, aws_profile
8-
command = "${abspath(path.module)}/docker_pullpush.sh ${var.docker_source} ${var.aws_region} ${var.aws_account_id} ${var.aws_profile}"
7+
// ARGs to script are source image, region, AWS Account ID, aws_profile, ECR Repo, Image Tag
8+
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}"
99
}
1010
}

0 commit comments

Comments
 (0)