Skip to content

Commit

Permalink
documentation gh secret
Browse files Browse the repository at this point in the history
[review]
  • Loading branch information
ben851 committed Nov 28, 2024
1 parent 2f922e4 commit e537d24
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions aws/github/documentation-secrets.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
resource "github_actions_secret" "documentation_op_service_account_token" {
count = var.env == "production" || var.env == "staging" ? 1 : 0
repository = data.github_repository.notification_documentation.name
secret_name = "OP_SERVICE_ACCOUNT_TOKEN_${upper(var.env)}"
plaintext_value = var.op_service_account_token
}

0 comments on commit e537d24

Please sign in to comment.