Skip to content

Commit

Permalink
add runtime depends on in examples
Browse files Browse the repository at this point in the history
  • Loading branch information
bcreddy-gcp committed Jan 10, 2025
1 parent fb29b23 commit 1b4c51f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions mmv1/templates/terraform/examples/colab_runtime_basic.tf.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,9 @@ resource "google_colab_runtime" "{{$.PrimaryResourceId}}" {
display_name = "Runtime basic"
runtime_user = "[email protected]"
}

depends_on = [
google_project_iam_member.colab_enterprise_admin,
google_colab_runtime_template.my_template,
]
}
5 changes: 5 additions & 0 deletions mmv1/templates/terraform/examples/colab_runtime_full.tf.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -75,5 +75,10 @@ resource "google_colab_runtime" "{{$.PrimaryResourceId}}" {
k = "val"
}
}

depends_on = [
google_project_iam_member.colab_enterprise_admin,
google_colab_runtime_template.my_template
]
}

0 comments on commit 1b4c51f

Please sign in to comment.