Commit 9de3e022 authored by Adam Robinson's avatar Adam Robinson
Browse files

fix gcloud cli dependencies

parent f8428afb
......@@ -48,6 +48,8 @@ resource "null_resource" "sink_writer_bq_access" {
provisioner "local-exec" {
command = "${path.module}/set-sink-writer-bq-access.sh ${google_project.hipaa_project["audit"].project_id} ${google_bigquery_dataset.audit_logs[each.key].dataset_id} ${google_logging_project_sink.audit_logs_bq[each.key].writer_identity}"
}
depends_on = [ null_resource.install_gcloud_cli ]
}
resource "google_logging_project_sink" "audit_logs_gcs" {
......
......@@ -95,5 +95,5 @@ resource "null_resource" "datalab" {
when = "destroy"
command = "datalab delete --quiet --delete-disk --project ${google_project.hipaa_project[each.value].project_id} --zone us-central1-a datalab-${split("@", each.key)[0]}"
}
depends_on = [ google_sourcerepo_repository.datalab-notebooks, google_compute_network.datalab-network, null_resource.install_datalab_cli ]
depends_on = [ google_sourcerepo_repository.datalab-notebooks, google_compute_network.datalab-network, null_resource.install_gcloud_cli ]
}
\ No newline at end of file
......@@ -57,7 +57,7 @@ resource "google_logging_metric" "set_iam_permissions_change" {
}
}
resource "null_resource" "install_datalab_cli" {
resource "null_resource" "install_gcloud_cli" {
triggers = {
run_time = timestamp()
}
......@@ -74,5 +74,3 @@ fi
EOH
}
}
resource "null_resource" "dummy_import_resource" {}
\ No newline at end of file
Supports Markdown
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