Skip to content

Commit

Permalink
Use variable for image_tag (#85)
Browse files Browse the repository at this point in the history
  • Loading branch information
ludeeus authored Jun 26, 2024
1 parent 9319442 commit cb67903
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion private_demo/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ module "webservice_private_demo" {

service_name = "Private-Demo"
container_image = "ghcr.io/home-assistant/private-demo"
container_version = "2023.3.1"
container_version = var.image_tag
port = 8123
cloudflare_proxy = false

Expand Down
4 changes: 4 additions & 0 deletions private_demo/variables.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
variable "image_tag" {
description = "Image tag for the conatiner"
type = string
}

0 comments on commit cb67903

Please sign in to comment.