File tree 2 files changed +51
-2
lines changed
2 files changed +51
-2
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ layout : " google"
3
+ page_title : " Google: google_sourcerepo_repository"
4
+ sidebar_current : " docs-google-sourcerepo_repository"
5
+ description : |-
6
+ Manages repositories within Google Cloud Source Repositories.
7
+ ---
8
+
9
+ # google\_ sourcerepo\_ repository
10
+
11
+ For more information, see [ the official
12
+ documentation] ( https://cloud.google.com/compute/docs/source-repositories ) and
13
+ [ API] ( https://cloud.google.com/source-repositories/docs/reference/rest/v1/projects.repos )
14
+
15
+ ## Example Usage
16
+
17
+ This example is the common case of creating a repository within Google Cloud Source Repositories:
18
+
19
+ ``` hcl
20
+ resource "google_sourcerepo_repository" "frontend" {
21
+ name = "frontend"
22
+ }
23
+ ```
24
+
25
+ ## Argument Reference
26
+
27
+ The following arguments are supported:
28
+
29
+ * ` name ` - (Required) The name of the repository that will be created.
30
+
31
+ - - -
32
+
33
+ * ` project ` - (Optional) The project in which the resource belongs. If it
34
+ is not provided, the provider project is used.
35
+
36
+ ## Attributes Reference
37
+
38
+ The following attribute is exported:
39
+
40
+ * ` size ` - The size of the repository.
Original file line number Diff line number Diff line change 185
185
< li <%= sidebar_current ( "docs-google-compute-router-peer" ) %> >
186
186
< a href ="/docs/providers/google/r/compute_router_peer.html "> google_compute_router_peer</ a >
187
187
</ li >
188
-
188
+
189
189
< li <%= sidebar_current ( "docs-google-compute-snapshot" ) %> >
190
190
< a href ="/docs/providers/google/r/compute_snapshot.html "> google_compute_snapshot</ a >
191
191
</ li >
192
-
192
+
193
193
< li <%= sidebar_current ( "docs-google-compute-ssl-certificate" ) %> >
194
194
< a href ="/docs/providers/google/r/compute_ssl_certificate.html "> google_compute_ssl_certificate</ a >
195
195
</ li >
263
263
</ ul >
264
264
</ li >
265
265
266
+ < li <%= sidebar_current ( "docs-google-sourcerepo" ) %> >
267
+ < a href ="# "> Google Source Repositories Resources</ a >
268
+ < ul class ="nav nav-visible ">
269
+ < li <%= sidebar_current ( "docs-google-sourcerepo-repository" ) %> >
270
+ < a href ="/docs/providers/google/r/sourcerepo-repository.html "> google_sourcerepo_repository</ a >
271
+ </ li >
272
+ </ ul >
273
+ </ li >
274
+
266
275
< li <%= sidebar_current ( "docs-google-sql" ) %> >
267
276
< a href ="# "> Google SQL Resources</ a >
268
277
< ul class ="nav nav-visible ">
You can’t perform that action at this time.
0 commit comments