Skip to content

Commit ca4d234

Browse files
Add format documentation for artifact_registry_repository (#5029) (#3475)
* Add format documentation for artifact_registry_repository * Update mmv1/products/artifactregistry/api.yaml Co-authored-by: Cameron Thornton <[email protected]> Co-authored-by: Cameron Thornton <[email protected]> Signed-off-by: Modular Magician <[email protected]> Co-authored-by: Cameron Thornton <[email protected]>
1 parent 7c63763 commit ca4d234

File tree

3 files changed

+23
-5
lines changed

3 files changed

+23
-5
lines changed

.changelog/5029.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:none
2+
3+
```

google-beta/resource_artifact_registry_repository.go

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,18 @@ func resourceArtifactRegistryRepository() *schema.Resource {
4343

4444
Schema: map[string]*schema.Schema{
4545
"format": {
46-
Type: schema.TypeString,
47-
Required: true,
48-
ForceNew: true,
49-
Description: `The format of packages that are stored in the repository.`,
46+
Type: schema.TypeString,
47+
Required: true,
48+
ForceNew: true,
49+
Description: `The format of packages that are stored in the repository. You can only create
50+
alpha formats if you are a member of the [alpha user group](https://cloud.google.com/artifact-registry/docs/supported-formats#alpha-access).
51+
52+
- DOCKER
53+
- MAVEN ([Preview](https://cloud.google.com/products#product-launch-stages))
54+
- NPM ([Preview](https://cloud.google.com/products#product-launch-stages))
55+
- PYTHON ([Preview](https://cloud.google.com/products#product-launch-stages))
56+
- APT ([alpha](https://cloud.google.com/products#product-launch-stages))
57+
- YUM ([alpha](https://cloud.google.com/products#product-launch-stages))`,
5058
},
5159
"repository_id": {
5260
Type: schema.TypeString,

website/docs/r/artifact_registry_repository.html.markdown

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,14 @@ The following arguments are supported:
117117

118118
* `format` -
119119
(Required)
120-
The format of packages that are stored in the repository.
120+
The format of packages that are stored in the repository. You can only create
121+
alpha formats if you are a member of the [alpha user group](https://cloud.google.com/artifact-registry/docs/supported-formats#alpha-access).
122+
- DOCKER
123+
- MAVEN ([Preview](https://cloud.google.com/products#product-launch-stages))
124+
- NPM ([Preview](https://cloud.google.com/products#product-launch-stages))
125+
- PYTHON ([Preview](https://cloud.google.com/products#product-launch-stages))
126+
- APT ([alpha](https://cloud.google.com/products#product-launch-stages))
127+
- YUM ([alpha](https://cloud.google.com/products#product-launch-stages))
121128

122129

123130
- - -

0 commit comments

Comments
 (0)