Skip to content

Commit

Permalink
infra: rc5 (#179)
Browse files Browse the repository at this point in the history
  • Loading branch information
andreiio authored Jun 9, 2024
1 parent 5eead07 commit 382c97e
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -267,3 +267,4 @@ src/ElectionResults.WebApi/ClientApp/package-lock.json
src/ElectionResults.API/bin/

src/ElectionResults.API/wwwroot/lib/
.infracost
4 changes: 2 additions & 2 deletions terraform/locals.tf
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ locals {
images = {
api = {
image = "code4romania/rezultate-vot-api"
tag = "1.1.0-rc.4"
tag = "1.1.0-rc.5"
}

hangfire = {
image = "code4romania/rezultate-vot-hangfire"
tag = "1.1.0-rc.4"
tag = "1.1.0-rc.5"
}
}

Expand Down
19 changes: 9 additions & 10 deletions terraform/service_hangfire.tf
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,14 @@ module "ecs_hangfire" {
{
name = "Crawler__VoteMonitorUrl"
value = "https://api.votemonitor.org"
},
{
name = "Crawler__ApiKey"
valueFrom = var.crawler_api_key
},
{
name = "Crawler__ElectionRoundId"
valueFrom = var.crawler_election_round_uuid
}
]

Expand All @@ -123,15 +131,6 @@ module "ecs_hangfire" {
name = "HangfireDashboard__Password"
valueFrom = "${aws_secretsmanager_secret.hangfire_credentials.arn}:password::"
},
{
name = "Crawler__ApiKey"
valueFrom = var.crawler_api_key
},
{
name = "Crawler__ElectionRoundId"
valueFrom = var.crawler_election_round_uuid
}

]

allowed_secrets = [
Expand All @@ -141,7 +140,7 @@ module "ecs_hangfire" {
}


# Hangfire credentials
# Hangfire credentials
resource "random_password" "hangfire_password" {
length = 20
special = false
Expand Down

0 comments on commit 382c97e

Please sign in to comment.