Skip to content

Commit

Permalink
fix strapi api url env variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
marc-gavanier committed Aug 6, 2024
1 parent abedc1f commit e4ee178
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ variable "DEFAULT_PROJECT_ID" {
description = "Project ID where your resources will be created"
}

variable "STRAPI_API_URL" {
variable "NEXT_PUBLIC_STRAPI_URL" {
type = string
description = "URL of the Strapi API serving data to display"
}
Expand Down Expand Up @@ -61,7 +61,7 @@ resource "scaleway_container" "main" {
deploy = true

environment_variables = {
"STRAPI_API_URL" = var.STRAPI_API_URL,
"NEXT_PUBLIC_STRAPI_URL" = var.NEXT_PUBLIC_STRAPI_URL,
}
secret_environment_variables = {
}
Expand Down

0 comments on commit e4ee178

Please sign in to comment.