pagopa / dx

Devex repository for shared tools and pipelines.
https://pagopa.github.io/dx/docs/
1 stars 0 forks source link

[DEVEX-50] Fix azure_federated_identity_with_github module #12

Closed Krusty93 closed 6 months ago

Krusty93 commented 6 months ago

List of changes

Remove output precondition Made roles optional

Motivation and context

Client couldn't create one identity only (either ci or cd) because of the output precondition If an identity is disabled, is no longer necessary to use null as value for roles

Type of changes

Does this introduce a change to production resources with possible user impact?

Other information

balanza commented 6 months ago

What's the scenario of an identity to be created and CI is not enabled?

Krusty93 commented 6 months ago

What's the scenario of an identity to be created and CI is not enabled?

In CI, often you only need to run linter, tests, a build, etc. without interacting with Azure Usually, you only need to interact with Azure to perform terraform plan in CIs