Skip to content
This repository is currently being migrated. It's locked while the migration is in progress.

Commit d1599cd

Browse files
committed
pull image from ecr repo
1 parent 7f1ee3a commit d1599cd

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

terraform/ecs.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ locals {
194194
cube_api_container_definitions = jsonencode([
195195
{
196196
name = "cube-api"
197-
image = "${var.cube_image}"
197+
image = "${aws_ecr_repository.sync_svc_cube_repo.repository_url}:latest"
198198
cpu = 256
199199
memory = 512
200200
essential = true
@@ -241,7 +241,7 @@ locals {
241241
cube_refresh_worker_container_definitions = jsonencode([
242242
{
243243
name = "cube-refresh-worker"
244-
image = "${var.cube_image}"
244+
image = "${aws_ecr_repository.sync_svc_cube_repo.repository_url}:latest"
245245
cpu = 256
246246
memory = 512
247247
essential = true

terraform/variables.tf

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
1-
variable "cube_image" {
2-
type = string
3-
description = "Image for cube api and refresh worker"
4-
default = "cubejs/cube:dev"
5-
}
6-
71
variable "cubestore_image" {
82
type = string
93
description = "Image for cube store and cube store router"

0 commit comments

Comments
 (0)