You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/data-sources/vcr_repository.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -39,4 +39,5 @@ data "vercel_vcr_repository" "example" {
39
39
### Read-Only
40
40
41
41
-`id` (String) The ID of the VCR Repository.
42
+
-`public` (Boolean) Whether the repository is pullable by any Vercel team.
42
43
-`url` (String) The URL of the repository, composed of the owner slug, the project slug and the repository name (e.g. `vcr.vercel.com/team-slug/project-slug/repository-name`). Use it to push and pull images with Docker-compatible tooling.
-`public` (Boolean) Whether the repository is pullable by any Vercel team. Private repositories are only accessible within the same project. Defaults to `false`.
43
45
-`team_id` (String) The ID of the team the repository should be created under. Required when configuring a team resource if a default team has not been set in the provider.
Copy file name to clipboardExpand all lines: vercel/data_source_vcr_repository.go
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -71,6 +71,10 @@ used by Vercel Functions and Vercel Sandbox.
71
71
Description: "The name of the repository.",
72
72
Required: true,
73
73
},
74
+
"public": schema.BoolAttribute{
75
+
Computed: true,
76
+
Description: "Whether the repository is pullable by any Vercel team.",
77
+
},
74
78
"url": schema.StringAttribute{
75
79
Computed: true,
76
80
Description: "The URL of the repository, composed of the owner slug, the project slug and the repository name (e.g. `vcr.vercel.com/team-slug/project-slug/repository-name`). Use it to push and pull images with Docker-compatible tooling.",
@@ -88,6 +89,12 @@ used by Vercel Functions and Vercel Sandbox. Images are pushed to and pulled fro
88
89
),
89
90
},
90
91
},
92
+
"public": schema.BoolAttribute{
93
+
Optional: true,
94
+
Computed: true,
95
+
Default: booldefault.StaticBool(false),
96
+
Description: "Whether the repository is pullable by any Vercel team. Private repositories are only accessible within the same project. Defaults to `false`.",
97
+
},
91
98
"url": schema.StringAttribute{
92
99
Computed: true,
93
100
Description: "The URL of the repository, composed of the owner slug, the project slug and the repository name (e.g. `vcr.vercel.com/team-slug/project-slug/repository-name`). Use it to push and pull images with Docker-compatible tooling.",
0 commit comments