Skip to content

Commit

Permalink
Create missing fedcred (#1452)
Browse files Browse the repository at this point in the history
  • Loading branch information
Richard87 authored Sep 19, 2024
1 parent 84fdad3 commit f0687eb
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
11 changes: 11 additions & 0 deletions terraform/subscriptions/s940/prod/common/github.tf
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,14 @@ resource "azuread_application_federated_identity_credential" "github-operator-fe

timeouts {}
}

resource "azuread_application_federated_identity_credential" "github-operator-federated-credentials-operations" {
application_id = data.azuread_application.github_operator.id
display_name = "radix-platform-operations-operations"
description = "Allow Github to authenticate"
audiences = ["api://AzureADTokenExchange"]
issuer = "https://token.actions.githubusercontent.com"
subject = "repo:equinor/radix-platform:environment:operations"

timeouts {}
}
11 changes: 11 additions & 0 deletions terraform/subscriptions/s941/dev/common/github.tf
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,14 @@ resource "azuread_application_federated_identity_credential" "github-operator-fe

timeouts {}
}

resource "azuread_application_federated_identity_credential" "github-operator-federated-credentials-operations" {
application_id = data.azuread_application.github_operator.id
display_name = "radix-platform-operations-operations"
description = "Allow Github to authenticate"
audiences = ["api://AzureADTokenExchange"]
issuer = "https://token.actions.githubusercontent.com"
subject = "repo:equinor/radix-platform:environment:operations"

timeouts {}
}

0 comments on commit f0687eb

Please sign in to comment.