Last active
June 8, 2018 00:25
-
-
Save endofcake/e39967064a83789ea9769c35eb02f30f to your computer and use it in GitHub Desktop.
Use current image tag as input parameter to the ECS task
This file contains hidden or 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
task_variables { | |
app = "${var.app_name}" | |
image = "${module.ecr.repository_url}:${lookup(data.external.active_image_versions.result, var.app_name, "latest")}" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment