Commit d4217434 authored by Daniel Scholl's avatar Daniel Scholl
Browse files

Bug Fixing pipelines for Infra

parent 2f7eef5c
......@@ -92,6 +92,7 @@ jobs:
terraformWorkspacePrefix: ${{ parameters.configuration.terraformWorkspacePrefix }}
- template: tasks/tests-int.yml
condition: succeeded()
parameters:
skip: ${{ parameters.skipTests }}
......
......@@ -143,11 +143,18 @@ resource "azurerm_key_vault_secret" "postgres_password" {
# Azure Redis Cache
#-------------------------------
locals {
redis_hostname = "redis-hostname"
redis_password_name = "redis-password"
}
resource "azurerm_key_vault_secret" "redis_host" {
name = local.redis_hostname
value = module.redis_cache.hostname
key_vault_id = data.terraform_remote_state.central_resources.outputs.keyvault_id
}
resource "azurerm_key_vault_secret" "redis_password" {
name = local.redis_password_name
value = module.redis_cache.primary_access_key
key_vault_id = data.terraform_remote_state.central_resources.outputs.keyvault_id
}
\ No newline at end of file
}
......@@ -32,8 +32,10 @@ storage_containers = [
"airflow-logs"
]
storage_shares = [
"airflowdags"
"airflowdags",
"unit",
"crs"
]
storage_queues = [
"airflowlogqueue"
]
\ No newline at end of file
]
......@@ -49,7 +49,7 @@ func TestTemplate(t *testing.T) {
TfOptions: tfOptions,
Workspace: workspace,
PlanAssertions: nil,
ExpectedResourceCount: 82,
ExpectedResourceCount: 83,
ExpectedResourceAttributeValues: resourceDescription,
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment