-
Notifications
You must be signed in to change notification settings - Fork 367
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[PLAT-73750] Add TF for GCP PSC workspace. #2090
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #2090 +/- ##
=======================================
Coverage 89.68% 89.68%
=======================================
Files 136 136
Lines 11105 11107 +2
=======================================
+ Hits 9959 9961 +2
Misses 741 741
Partials 405 405
|
24a28ae
to
56d2988
Compare
docs/resources/mws_workspaces.md
Outdated
@@ -300,26 +300,29 @@ output "databricks_token" { | |||
} | |||
``` | |||
|
|||
In order to create a [Databricks Workspace that leverages GCP Private Service Connect](https://docs.gcp.databricks.com/administration-guide/cloud-configurations/gcp/private-service-connect.html) please ensure that you have read and understood the [Enable Private Service Connect](https://docs.gcp.databricks.com/administration-guide/cloud-configurations/gcp/private-service-connect.html) documentation and then customise the example above with the relevant examples from [mws_vpc_endpoint](mws_vpc_endpoint.md), [mws_private_access_settings](mws_private_access_settings.md) and [mws_networks](mws_networks.md). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This doc block should be added to "Creating a Databricks on GCP workspace" section instead of "Creating a Databricks on GCP workspace with Databricks-Managed VPC" section.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, thanks!
@@ -122,6 +122,9 @@ func (w *Workspace) MarshalJSON() ([]byte, error) { | |||
if w.NetworkID != "" { | |||
workspaceCreationRequest["network_id"] = w.NetworkID | |||
} | |||
if w.PrivateAccessSettingsID != "" { | |||
workspaceCreationRequest["private_access_settings_id"] = w.PrivateAccessSettingsID |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this for both AWS & GCP or for gcp only?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This field is for both AWS & GCP.
51e5eda
to
595e699
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dummy.
@@ -122,6 +122,9 @@ func (w *Workspace) MarshalJSON() ([]byte, error) { | |||
if w.NetworkID != "" { | |||
workspaceCreationRequest["network_id"] = w.NetworkID | |||
} | |||
if w.PrivateAccessSettingsID != "" { | |||
workspaceCreationRequest["private_access_settings_id"] = w.PrivateAccessSettingsID |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This field is for both AWS & GCP.
595e699
to
a2eeb86
Compare
a2eeb86
to
88e9f27
Compare
No description provided.