forked from GoogleCloudPlatform/magic-modules
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for custom containers for workbench instances (GoogleClou…
…dPlatform#9973) * Add support for custom containers for workbench instances * Use conflicts instead of exactly_one_of for backward compatibility
- Loading branch information
1 parent
73ebf17
commit ce5d777
Showing
2 changed files
with
39 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
mmv1/templates/terraform/examples/workbench_instance_basic_container.tf.erb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
resource "google_workbench_instance" "<%= ctx[:primary_resource_id] %>" { | ||
name = "<%= ctx[:vars]['instance_name'] %>" | ||
location = "us-west1-a" | ||
|
||
gce_setup { | ||
container_image { | ||
repository = "us-docker.pkg.dev/deeplearning-platform-release/gcr.io/base-cu113.py310" | ||
tag = "latest" | ||
} | ||
} | ||
} |