Skip to content
Snippets Groups Projects
Commit cdee2a55 authored by Ole Langbehn's avatar Ole Langbehn
Browse files

HOLI-9218 encrypt cloud functions

parent 8c3e258c
No related branches found
No related tags found
No related merge requests found
......@@ -22,9 +22,10 @@ data "google_secret_manager_secret" "chat_admin_access_token" {
}
resource "google_cloudfunctions2_function" "holi-chat-integration" {
project = data.terraform_remote_state.holi_infra_state.outputs.shared_project_id
name = random_id.main.hex
location = local.default_region
project = data.terraform_remote_state.holi_infra_state.outputs.shared_project_id
name = random_id.main.hex
location = local.default_region
kms_key_name = data.terraform_remote_state.holi_infra_state.outputs.artifact_registry_cloudfunctions_key_id
build_config {
runtime = "nodejs18"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment