Note: The default ITS GitLab runner is a shared resource and is subject to slowdowns during heavy usage.
You can run your own GitLab runner that is dedicated just to your group if you need to avoid processing delays.

Commit 30f11ca4 authored by Kenny Moore's avatar Kenny Moore
Browse files

Fix deprecated syntax


Co-authored-by: Adam Robinson's avatarRobinson, Adam <adarobin@umich.edu>
parent 9c2ea0d2
......@@ -134,32 +134,32 @@ module "vpn" {
}
# ## Receiving 404 error ##
# data "google_service_account_id_token" "customer_db_token" {
# target_audience = "https://us-central1-gcp-at-um-db.cloudfunctions.net/customer_db"
# }
data "google_service_account_id_token" "customer_db_token" {
target_audience = "https://us-central1-gcp-at-um-db.cloudfunctions.net/customer_db"
}
resource "null_resource" "customer_database" {
triggers = {
security_contact = var.security_contact
mcomm_group_email = var.mcomm_group_email
shortcode = var.shortcode
vpn = var.vpn
dt_phi = var.dt_phi
dt_ferpa = var.dt_ferpa
dt_pii = var.dt_pii
dt_glba = var.dt_glba
dt_hsr = var.dt_hsr
dt_ssn = var.dt_ssn
dt_acp = var.dt_acp
dt_it_sec_info = var.dt_it_sec_info
dt_itar = var.dt_itar
dt_pci = var.dt_pci
dt_fisma = var.dt_fisma
dt_other_data = var.dt_other_data
dt_other_data_info = var.dt_other_data_info
}
# resource "null_resource" "customer_database" {
# triggers = {
# security_contact = var.security_contact
# mcomm_group_email = var.mcomm_group_email
# shortcode = var.shortcode
# vpn = var.vpn
# dt_phi = var.dt_phi
# dt_ferpa = var.dt_ferpa
# dt_pii = var.dt_pii
# dt_glba = var.dt_glba
# dt_hsr = var.dt_hsr
# dt_ssn = var.dt_ssn
# dt_acp = var.dt_acp
# dt_it_sec_info = var.dt_it_sec_info
# dt_itar = var.dt_itar
# dt_pci = var.dt_pci
# dt_fisma = var.dt_fisma
# dt_other_data = var.dt_other_data
# dt_other_data_info = var.dt_other_data_info
# }
# provisioner "local-exec" {
# command = "curl https://us-central1-gcp-at-um-db.cloudfunctions.net/customer_db -H \"Authorization: Bearer ${data.google_service_account_id_token.customer_db_token.id_token}\" -H \"Content-Type: application/json\" -d '${jsonencode(local.curl_body)}'"
# }
# }
\ No newline at end of file
provisioner "local-exec" {
command = "curl https://us-central1-gcp-at-um-db.cloudfunctions.net/customer_db -H \"Authorization: Bearer ${data.google_service_account_id_token.customer_db_token.id_token}\" -H \"Content-Type: application/json\" -d '${jsonencode(local.curl_body)}'"
}
}
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment