Where is the Sample App container that the Reference Architecture deploys?
Ref Arch Customers: Where is the “sample app” containers that EKS uses to spin up? (In ECR?) Wouldn’t those be in our repo/“shared” account? Or is there an example using a container image from ECR in the “shared” account and spinning up EKS w/ it in other accounts? --- <ins datetime="2022-08-23T18:24:02Z"> <p><a href="https://support.gruntwork.io/hc/requests/109161">Tracked in ticket #109161</a></p> </ins>
The [AWS Sample App](https://github.com/gruntwork-io/aws-sample-app/) image is pulled directly out of [dockerhub](https://hub.docker.com/r/gruntwork/aws-sample-app). You can see that by checking out the `_envcommon/services/k8s-sample-app-frontend.hcl` file (your file name will be different if you're using ECS): ``` ... container_image = { repository = "gruntwork/aws-sample-app" pull_policy = "IfNotPresent" } ... ``` The tag is set per environment in `stage/us-east-1/stage/services/sample-app-frontend/terragrunt.hcl`: ``` ... inputs = { # Configure the specific image tag to use when deploying this app. The other configurations are inherited from the # parent envcommon configuration. container_image = { tag = "v0.0.2" ... ``` Note that even though the latest tagged image in dockerhub is `v0.0.5`, there's a bug there that has blocked us from incrementing the tag. We're tracking that [here](https://github.com/gruntwork-io/aws-sample-app/issues/29). Regarding deploying a container image from ECR in the shared account, see `docs/04-deploy-apps.md` in your Reference Architecture.