Skip to content

Commit

Permalink
Create secrets in quarkus-azure-services
Browse files Browse the repository at this point in the history
  • Loading branch information
gastaldi committed Jun 2, 2023
1 parent 69fedf5 commit 3ad26ee
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions quarkus-azure-services.tf
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,16 @@ resource "github_team_membership" "quarkus_azure_services" {
username = each.value
role = "maintainer"
}

# Create CI environment secrets
resource "github_actions_environment_secret" "quarkus_azure_services" {
for_each = {
"AZURE_CLIENT_ID" = "foo"
"AZURE_TENANT_ID" = "bar"
"AZURE_SUBSCRIPTION_ID" = "blah"
}
repository = github_repository.quarkus_azure_services.name
environment = "ci"
secret_name = each.key
plaintext_value = each.value
}

0 comments on commit 3ad26ee

Please sign in to comment.