Skip to content

Commit

Permalink
Merge pull request #38 from pagopa/PAGOPA-2256-pagopa-gpd-reporting-b…
Browse files Browse the repository at this point in the history
…atch

feat(logging): sampling
  • Loading branch information
jacopocarlini authored Oct 21, 2024
2 parents 21aacfc + d3f3bd2 commit 0b7f58e
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 59 deletions.
58 changes: 0 additions & 58 deletions .github/workflows/deploy.yml

This file was deleted.

5 changes: 5 additions & 0 deletions .identity/00_data.tf
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,8 @@ data "azurerm_key_vault_secret" "flow_sa_connection_string" {
name = "flows-sa-${var.env_short}-connection-string"
key_vault_id = data.azurerm_key_vault.domain_key_vault.id
}

data "azurerm_user_assigned_identity" "identity_cd_01"{
name = "${local.prefix}-${var.env_short}-${local.domain_gps}-01-github-cd-identity"
resource_group_name = "${local.prefix}-${var.env_short}-identity-rg"
}
2 changes: 1 addition & 1 deletion .identity/03_github_environment.tf
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ resource "github_repository_environment" "github_repository_environment" {

locals {
env_secrets = {
"CLIENT_ID" : module.github_runner_app.application_id,
"CLIENT_ID" : data.azurerm_user_assigned_identity.identity_cd_01.client_id,
"TENANT_ID" : data.azurerm_client_config.current.tenant_id,
"SUBSCRIPTION_ID" : data.azurerm_subscription.current.subscription_id,
"API_SUBSCRIPTION_KEY" : data.azurerm_key_vault_secret.key_vault_integration_test_subkey.value,
Expand Down
1 change: 1 addition & 0 deletions .identity/99_variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ locals {

prefix = "pagopa"
domain = "gps"
domain_gps = "gps"
location_short = "weu"
product = "${var.prefix}-${var.env_short}"

Expand Down

0 comments on commit 0b7f58e

Please sign in to comment.