Skip to content

Commit 0d9ed20

Browse files
Add DEBIAN_SNAPSHOT option to publicRepository/repositoryBase in Repository.yaml (#13616) (#22315)
[upstream:8450ceb5c72204cd4207b6ad28b6490b8c9ca95b] Signed-off-by: Modular Magician <[email protected]>
1 parent 5181b81 commit 0d9ed20

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

.changelog/13616.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:enhancement
2+
artifactregistry: added DEBIAN_SNAPSHOT field to google_artifact_registry_repository
3+
```

google/services/artifactregistry/resource_artifact_registry_repository.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -413,8 +413,8 @@ snapshot versions.`,
413413
Type: schema.TypeString,
414414
Required: true,
415415
ForceNew: true,
416-
ValidateFunc: verify.ValidateEnum([]string{"DEBIAN", "UBUNTU"}),
417-
Description: `A common public repository base for Apt, e.g. '"debian/dists/buster"' Possible values: ["DEBIAN", "UBUNTU"]`,
416+
ValidateFunc: verify.ValidateEnum([]string{"DEBIAN", "UBUNTU", "DEBIAN_SNAPSHOT"}),
417+
Description: `A common public repository base for Apt, e.g. '"debian/dists/buster"' Possible values: ["DEBIAN", "UBUNTU", "DEBIAN_SNAPSHOT"]`,
418418
},
419419
"repository_path": {
420420
Type: schema.TypeString,

website/docs/r/artifact_registry_repository.html.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -947,7 +947,7 @@ The following arguments are supported:
947947
* `repository_base` -
948948
(Required)
949949
A common public repository base for Apt, e.g. `"debian/dists/buster"`
950-
Possible values are: `DEBIAN`, `UBUNTU`.
950+
Possible values are: `DEBIAN`, `UBUNTU`, `DEBIAN_SNAPSHOT`.
951951

952952
* `repository_path` -
953953
(Required)

0 commit comments

Comments
 (0)