-
Notifications
You must be signed in to change notification settings - Fork 8
add user access administrator role #365
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -2,7 +2,7 @@ terraform { | |||||
| required_providers { | ||||||
| azurerm = { | ||||||
| source = "hashicorp/azurerm" | ||||||
| version = "<= 3.108.0" | ||||||
| version = "<= 3.116.0" | ||||||
| } | ||||||
| } | ||||||
|
|
||||||
|
|
@@ -19,13 +19,17 @@ provider "azurerm" { | |||||
| } | ||||||
| } | ||||||
|
|
||||||
| data "azurerm_subscription" "current" {} | ||||||
|
|
||||||
| module "federated_identities" { | ||||||
| source = "github.com/pagopa/dx//infra/modules/azure_federated_identity_with_github?ref=main" | ||||||
| source = "pagopa-dx/azure-federated-identity-with-github/azurerm" | ||||||
| version = "~> 0.0" | ||||||
|
|
||||||
| prefix = local.prefix | ||||||
| env_short = local.env_short | ||||||
| env = local.env | ||||||
| domain = local.domain | ||||||
| location = local.location | ||||||
|
|
||||||
| repositories = [local.repo_name] | ||||||
|
|
||||||
|
|
@@ -62,6 +66,7 @@ module "federated_identities" { | |||||
| "Storage Queue Data Contributor", | ||||||
| "Storage Table Data Contributor", | ||||||
| "Key Vault Contributor", | ||||||
| "User Access Administrator", | ||||||
| ] | ||||||
| resource_groups = {} | ||||||
| } | ||||||
|
|
@@ -72,12 +77,15 @@ module "federated_identities" { | |||||
| } | ||||||
|
|
||||||
| module "federated_identities_web_apps" { | ||||||
| source = "github.com/pagopa/dx//infra/modules/azure_federated_identity_with_github?ref=main" | ||||||
| source = "pagopa-dx/azure-federated-identity-with-github/azurerm" | ||||||
| version = "~> 0.0" | ||||||
|
|
||||||
| prefix = local.prefix | ||||||
| env_short = local.env_short | ||||||
| env = "app-${local.env}" | ||||||
| domain = "${local.domain}-app" | ||||||
| location = local.location | ||||||
|
|
||||||
|
|
||||||
| repositories = [local.repo_name] | ||||||
| continuos_integration = { | ||||||
|
|
@@ -104,12 +112,15 @@ module "federated_identities_web_apps" { | |||||
| } | ||||||
|
|
||||||
| module "federated_identities_opex" { | ||||||
| source = "github.com/pagopa/dx//infra/modules/azure_federated_identity_with_github?ref=main" | ||||||
| source = "pagopa-dx/azure-federated-identity-with-github/azurerm" | ||||||
| version = "~> 0.0" | ||||||
|
|
||||||
| prefix = local.prefix | ||||||
| env_short = local.env_short | ||||||
| env = "opex-${local.env}" | ||||||
| domain = "${local.domain}-opex" | ||||||
| location = local.location | ||||||
|
|
||||||
|
|
||||||
| repositories = [local.repo_name] | ||||||
| continuos_integration = { | ||||||
|
|
@@ -151,9 +162,9 @@ module "federated_identities_opex" { | |||||
|
|
||||||
| # Access Policy | ||||||
| module "roles_ci" { | ||||||
| source = "github.com/pagopa/dx//infra/modules/azure_role_assignments?ref=main" | ||||||
| source = "pagopa-dx/azure-role-assignments/azurerm" | ||||||
| version = "~>0.0" | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
suggestion: The latest is
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. the same as above
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The role assignment should work with the latest version of pagopa-dx/azure-role-assignments, which is currently at minor version |
||||||
| principal_id = module.federated_identities.federated_ci_identity.id | ||||||
|
|
||||||
| key_vault = [ | ||||||
| { | ||||||
| name = "io-p-sign-kv" | ||||||
|
|
||||||
Uh oh!
There was an error while loading. Please reload this page.