Skip to content

Commit

Permalink
ci(main.tf): pass through Zenrows env var
Browse files Browse the repository at this point in the history
  • Loading branch information
davidpomerenke committed Mar 9, 2024
1 parent 3750772 commit 7974b39
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ variable "ACLED_KEY" {
description = "The API token for the ACLED API"
}

variable "ZENROWS_API_KEY" {
type = string
description = "The API token for the Zenrows API"
}

resource "azurerm_container_group" "media_impact_monitor" {
name = "media-impact-monitor"
location = azurerm_resource_group.rg.location
Expand All @@ -40,7 +45,10 @@ resource "azurerm_container_group" "media_impact_monitor" {
}

environment_variables = {
"MEDIACLOUD_API_TOKEN" = "your-api"
MEDIACLOUD_API_TOKEN = var.MEDIACLOUD_API_TOKEN
ACLED_EMAIL = var.ACLED_EMAIL
ACLED_KEY = var.ACLED_KEY
ZENROWS_API_KEY = var.ZENROWS_API_KEY
}
}

Expand Down

0 comments on commit 7974b39

Please sign in to comment.