Skip to content

Commit

Permalink
Set image's tag to latest
Browse files Browse the repository at this point in the history
  • Loading branch information
LOUKASSS committed Jun 30, 2023
1 parent f4cca0d commit 7d3700e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion modules/eks/kubernetes.tf
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ resource "kubernetes_deployment" "transexpress-website" {
spec {
container {
name = "transexpress-website"
image = "058322885590.dkr.ecr.us-east-1.amazonaws.com/transexpress-website"
image = "058322885590.dkr.ecr.us-east-1.amazonaws.com/transexpress-website:latest"
image_pull_policy = "Always"

port {
Expand Down
6 changes: 6 additions & 0 deletions modules/eks/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,12 @@ resource "github_actions_secret" "kubeconfig_secret" {
}
}]
}))
depends_on = [
aws_eks_node_group.eks-cluster,
aws_eks_node_group.eks-cluster,
helm_release.cluster_autoscaler,
kubernetes_service.transexpress-website
]
}


Expand Down

0 comments on commit 7d3700e

Please sign in to comment.