Last active
December 29, 2017 09:44
-
-
Save halfb00t/38f57c52485310fedbaf4dbd2d65697e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
resource "aws_ecr_repository" "pgbouncer" { | |
name = "${var.name}" | |
} | |
resource "null_resource" "build_pgbouncer_image" { | |
provisioner "local-exec" { | |
command = "./docker/build.sh ${aws_ecr_repository.pgbouncer.repository_url} ${var.region}" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment