Skip to content
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

Rollout workload identity federation to all envs #823

Merged
merged 3 commits into from
Jul 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions config/initializers/dfe_analytics.rb
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,9 @@
# in the format of '22-01-2024 19:30..22-01-2024 20:30' (UTC).
#
# config.bigquery_maintenance_window = ENV['BIGQUERY_MAINTENANCE_WINDOW']

# Whether to use azure workload identity federation for authentication
# instead of the BigQuery API JSON Key. Note that this also will also
# use a new version of the BigQuery streaming APIs.
config.azure_federated_auth = true
end
1 change: 1 addition & 0 deletions terraform/application/application.tf
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,5 @@ module "worker_application" {
replicas = var.worker_replicas
docker_image = var.docker_image
enable_logit = true
enable_gcp_wif = true
}
5 changes: 5 additions & 0 deletions terraform/application/config/review_app_env.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,8 @@ TEACHING_RECORD_API_MINOR_VERSION: 20240416

# User authentication
SIGN_IN_METHOD: persona

# DfE Analytics gem
BIGQUERY_TABLE_NAME: events
BIGQUERY_PROJECT_ID: rugged-abacus-218110
BIGQUERY_DATASET: itt_mentor_events_qa