-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* improved the Readmes to point to our public documentations * improved the Readmes to point to our public documentations
- Loading branch information
1 parent
a040c7f
commit bec5e9f
Showing
2 changed files
with
29 additions
and
14 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
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 |
---|---|---|
@@ -1,5 +1,15 @@ | ||
# Weights & Biases Secure Storage Connector Module | ||
|
||
## About | ||
|
||
Weights & Biases can connect to a GCP Bucket created and owned by the customer. This is called BYOB (Bring your own bucket). More details (here)[https://docs.wandb.ai/guides/hosting/data-security/secure-storage-connector#provision-the-gcs-bucket]. | ||
|
||
This example does not deploy a Weights & Biases instance. It deploys all required resources (GCP bucket and permissions) in the customer's account and grants the W&B GCP Service Account access to the bucket. | ||
|
||
--- | ||
|
||
## Using Terraform | ||
|
||
This is a Terraform module for provisioning a google cloud storage bucket to be used with Weights and Biases. To use this bucket | ||
with Weights and Biases multi-tenant cloud, pass `[email protected]` for the | ||
`service_account_email` variable. | ||
|
@@ -8,7 +18,7 @@ with Weights and Biases multi-tenant cloud, pass `wandb-integration@wandb-produc | |
|
||
- Google Storage Bucket | ||
|
||
## How to Use This Module | ||
### How to Use This Module | ||
|
||
- Ensure account meets module pre-requisites from above. | ||
- Create a Terraform configuration that pulls in this module and specifies | ||
|
@@ -32,20 +42,20 @@ module "wandb" { | |
|
||
<!-- BEGIN_TF_DOCS --> | ||
|
||
## Requirements | ||
### Requirements | ||
|
||
| Name | Version | | ||
|------|---------| | ||
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | ~> 1.0 | | ||
| <a name="requirement_google"></a> [google](#requirement\_google) | ~> 4.31 | | ||
|
||
## Providers | ||
### Providers | ||
|
||
| Name | Version | | ||
|-----------------------------------------------------------|---------| | ||
| <a name="provider_google"></a> [google](#provider_google) | 4.31 | | ||
|
||
## Inputs | ||
### Inputs | ||
|
||
| Name | Description | Type | Default | Required | | ||
|--------------------------------------------------------------------------------------------------|--------------------------------------------------------|----------|---------|:--------:| | ||
|
@@ -55,10 +65,15 @@ module "wandb" { | |
| <a name="input_service_account_email"></a> [service_account_email](#input_service_account_email) | The service account that can access the bucket | `string` | `null` | yes | | ||
| <a name="input_deletion_protection"></a> [wandb_deletion_protection](#input_deletion_protection) | If deletion protection should be enabled on the bucket | `bool` | `false` | no | | ||
|
||
## Outputs | ||
### Outputs | ||
|
||
| Name | Description | | ||
|-----------------------------------------------------------------------------|-------------------------------------------------------------------------| | ||
| <a name="bucket_name"></a> [bucket_name](#bucket_name) | The name of the bucket created | | ||
|
||
<!-- END_TF_DOCS --> | ||
<!-- END_TF_DOCS --> | ||
|
||
|
||
## Using the GCP Console | ||
|
||
Please refer to the (public documentation)[https://docs.wandb.ai/guides/hosting/data-security/secure-storage-connector#provision-the-gcs-bucket] on how to create all required resources manually. |