Skip to content

Commit

Permalink
snake
Browse files Browse the repository at this point in the history
  • Loading branch information
jean-simon-barry1 committed Nov 20, 2024
1 parent 488dfb8 commit cd9dc9d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/container-image/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ module "docker_build_from_ecr" {
dir_sha = local.dir_sha
}

cache-from = ["${module.ecr.repository_url}:latest"]
cache_from = ["${module.ecr.repository_url}:latest"]
}

module "ecr" {
Expand Down
2 changes: 1 addition & 1 deletion modules/docker-build/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ resource "docker_image" "this" {
dockerfile = var.docker_file_path
build_args = var.build_args
platform = var.platform
cache_from = var.cache-from
cache_from = var.cache_from
}

force_remove = var.force_remove
Expand Down
2 changes: 1 addition & 1 deletion modules/docker-build/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ variable "triggers" {
default = {}
}

variable "cache-from" {
variable "cache_from" {
description = "List of images to consider as cache sources when building the image"
type = list(string)
default = []
Expand Down

0 comments on commit cd9dc9d

Please sign in to comment.