Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
aomegax committed Jan 16, 2024
1 parent b59c6ee commit a65cf87
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 76 deletions.
19 changes: 1 addition & 18 deletions .identity/99_variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -45,23 +45,6 @@ variable "prefix" {
}
}

variable "cd_github_federations" {
type = list(object({
repository = string
credentials_scope = optional(string, "environment")
subject = string
}))
description = "GitHub Organization, repository name and scope permissions"
}

variable "environment_cd_roles" {
type = object({
subscription = list(string)
resource_groups = map(list(string))
})
description = "GitHub Continous Delivery roles"
}

variable "github_repository_environment" {
type = object({
protected_branches = bool
Expand All @@ -82,7 +65,7 @@ variable "tags" {
CreatedBy = "Terraform"
Environment = "PROD"
Owner = "pagoPA"
Source = "https://github.com/pagopa/pagopa-gpd-upload"
Source = "https://github.com/pagopa/pagopa-stand-in-manager"
CostCenter = "TS310 - PAGAMENTI & SERVIZI"
}
}
31 changes: 0 additions & 31 deletions .identity/env/dev/terraform.tfvars
Original file line number Diff line number Diff line change
Expand Up @@ -9,35 +9,4 @@ tags = {
Owner = "pagoPA"
Source = "https://github.com/pagopa/pagopa-stand-in-manager"
CostCenter = "TS310 - PAGAMENTI & SERVIZI"
}

cd_github_federations = [
{
repository = "pagopa-stand-in-manager"
subject = "dev"
}
]

environment_cd_roles = {
# subscription = [
# "Contributor",
# "Storage Account Contributor",
# "Storage Blob Data Contributor",
# "Storage File Data SMB Share Contributor",
# "Storage Queue Data Contributor",
# "Storage Table Data Contributor",
# "Key Vault Contributor"
# ]
subscription = [
"Contributor",
"Key Vault Reader"
]
resource_groups = {
"pagopa-d-nodo-sec-rg" = [
"Key Vault Reader"
],
"pagopa-d-weu-dev-aks-rg" = [
"Contributor"
]
}
}
27 changes: 0 additions & 27 deletions .identity/env/uat/terraform.tfvars
Original file line number Diff line number Diff line change
Expand Up @@ -10,30 +10,3 @@ tags = {
Source = "https://github.com/pagopa/pagopa-stand-in-manager"
CostCenter = "TS310 - PAGAMENTI & SERVIZI"
}

cd_github_federations = [
{
repository = "pagopa-stand-in-manager"
subject = "uat"
}
]

environment_cd_roles = {
subscription = [
"Contributor",
"Storage Account Contributor",
"Storage Blob Data Contributor",
"Storage File Data SMB Share Contributor",
"Storage Queue Data Contributor",
"Storage Table Data Contributor",
"Key Vault Contributor"
]
resource_groups = {
"pagopa-u-nodo-sec-rg" = [
"Key Vault Contributor"
],
"pagopa-u-weu-uat-aks-rg" = [
"Contributor"
]
}
}

0 comments on commit a65cf87

Please sign in to comment.