Skip to content

Commit 607f78c

Browse files
yuhuyoyoCopybara
andauthored
Project import generated by Copybara. (#5)
GitOrigin-RevId: fb5c922da143b062e36e5f68a412d81c4fee9d4e Co-authored-by: Copybara <[email protected]>
1 parent 633eb8f commit 607f78c

File tree

57 files changed

+153
-97
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+153
-97
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## 0.0.2 (August 13, 2025)
2+
3+
Update provider config to support using ID token for authentication with workbench backend.
4+
5+
16
## 0.0.1 (July 23, 2025)
27

38
Initial Release
@@ -35,3 +40,4 @@ Initial Release
3540
- Added `workbench_gcs_bucket` resource for managing GCS buckets.
3641
- Added `workbench_gcs_bucket` data source for fetching existing buckets details.
3742

43+

docs/index.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,15 @@ description: |-
1414
## Example Usage
1515

1616
```terraform
17+
terraform {
18+
required_providers {
19+
workbench = {
20+
source = "verily-src/workbench"
21+
version = ">= 0.0.1"
22+
}
23+
}
24+
}
25+
1726
provider "workbench" {
1827
host = "https://workbench.verily.com"
1928
}
@@ -24,4 +33,5 @@ provider "workbench" {
2433

2534
### Optional
2635

27-
- `host` (String) example of a wsm server is https://workbench.verily.com
36+
- `host` (String) example of a Workbench server is https://workbench.verily.com
37+
- `use_id_token` (Boolean) Set to true to use an ID token for authentication. Set to false for local development.

docs/resources/workspace_iam_binding.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import {
2020
}
2121
2222
resource "workbench_workspace_iam_binding" "my_iam_binding" {
23-
workspace_id = workbench_workspace.my_workspace.id
23+
workspace_id = data.workbench_workspace.my_workspace.id
2424
role = "READER"
2525
# Any members added or removed externally to the READER role will be overwritten
2626
members = [

docs/resources/workspace_iam_member.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Workbench provisioned workspace IAM member resource
1515

1616
```terraform
1717
resource "workbench_workspace_iam_member" "my_workspace_member" {
18-
workspace_id = workbench_workspace.my_workspace.id
18+
workspace_id = data.workbench_workspace.my_workspace.id
1919
role = "WRITER"
2020
# The WRITER role will be granted to these members, but other WRTIERs will NOT
2121
# be removed
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
terraform {
22
required_providers {
33
workbench = {
4-
source = "registry.terraform.io/verily-src/workbench"
4+
source = "verily-src/workbench"
5+
version = ">= 0.0.1"
56
}
67
}
78
}
89

910
provider "workbench" {
1011
host = "https://workbench.verily.com"
11-
}
12+
}

examples/data-sources/workbench_group/main.tf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
terraform {
22
required_providers {
33
workbench = {
4-
source = "registry.terraform.io/verily-src/workbench"
4+
source = "verily-src/workbench"
5+
version = ">= 0.0.1"
56
}
67
}
78
}

examples/data-sources/workbench_group_iam_binding/main.tf

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
terraform {
22
required_providers {
33
workbench = {
4-
source = "registry.terraform.io/verily-src/workbench"
4+
source = "verily-src/workbench"
5+
version = ">= 0.0.1"
56
}
67
}
78
}
@@ -13,4 +14,4 @@ provider "workbench" {
1314
data "workbench_group" "my_group" {
1415
group_name = "my-org-group"
1516
organization_user_facing_id = "my-org"
16-
}
17+
}

examples/data-sources/workbench_group_iam_policy/main.tf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
terraform {
22
required_providers {
33
workbench = {
4-
source = "registry.terraform.io/verily-src/workbench"
4+
source = "verily-src/workbench"
5+
version = ">= 0.0.1"
56
}
67
}
78
}

examples/data-sources/workbench_workspace/main.tf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
terraform {
22
required_providers {
33
workbench = {
4-
source = "registry.terraform.io/verily-src/workbench"
4+
source = "verily-src/workbench"
5+
version = ">= 0.0.1"
56
}
67
}
78
}

examples/data-sources/workbench_workspace_iam_binding/main.tf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
terraform {
22
required_providers {
33
workbench = {
4-
source = "registry.terraform.io/verily-src/workbench"
4+
source = "verily-src/workbench"
5+
version = ">= 0.0.1"
56
}
67
}
78
}

0 commit comments

Comments
 (0)