Skip to content

Commit

Permalink
[PPANTT-191] configured opex
Browse files Browse the repository at this point in the history
  • Loading branch information
gioelemella committed Dec 4, 2024
1 parent 7acce6b commit 0fd74dd
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .opex/env/prod/backend.tfvars
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
resource_group_name = "io-infra-rg"
storage_account_name = "pagopainfraterraformprod"
container_name = "azurermstate"
key = "opex.<your-repo-name>.terraform.tfstate" #TODO
key = "pagopa-gps-mbd-service.tfstate"
9 changes: 6 additions & 3 deletions .opex/env/prod/config.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
oa3_spec: ./openapi/openapi.json # If start with http the file would be downloaded from the internet
name: opex_<your-repo-name> # TODO
location: West Europe
name: opex_pagopa-gps-mbd-service
location: Italy North
timespan: 5m # Default, a number or a timespan https://docs.microsoft.com/en-us/azure/data-explorer/kusto/query/scalar-data-types/timespan
# public data_source
data_source: /subscriptions/b9fc9419-6097-45fe-9f74-ba0641c91912/resourceGroups/pagopa-p-vnet-rg/providers/Microsoft.Network/applicationGateways/pagopa-p-app-gw
# private data_source
#data_source: /subscriptions/b9fc9419-6097-45fe-9f74-ba0641c91912/resourceGroups/pagopa-p-api-rg/providers/Microsoft.ApiManagement/service/pagopa-p-apim
#resource_type: api-management

#resource_type: api-management # default is app-gw. uncomment for api-management
action_groups:
- /subscriptions/b9fc9419-6097-45fe-9f74-ba0641c91912/resourceGroups/pagopa-p-monitor-rg/providers/microsoft.insights/actionGroups/PagoPA
- /subscriptions/b9fc9419-6097-45fe-9f74-ba0641c91912/resourceGroups/pagopa-p-monitor-rg/providers/microsoft.insights/actionGroups/SlackPagoPA
Expand Down
3 changes: 1 addition & 2 deletions .opex/env/prod/terraform.tfvars
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
prefix = "pagopa"
env_short = "p"


tags = {
CreatedBy = "Terraform"
Environment = "Prod"
Owner = "pagoPA"
Source = "https://github.com/pagopa/your-repository" # TODO
Source = "https://github.com/pagopa/pagopa-gps-mbd-service"
CostCenter = "TS310 - PAGAMENTI & SERVIZI"
}

0 comments on commit 0fd74dd

Please sign in to comment.