Skip to content

Commit 137f7b6

Browse files
committed
azure/config: remove unsupported sharing profile groups
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
1 parent f831cbe commit 137f7b6

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -275,13 +275,13 @@ Will be created if it does not exist.
275275
- Required: no
276276
- Template: yes
277277

278-
Sharing profile to use for the gallery image. One of `community`, `groups`, `private`.
278+
Sharing profile to use for the gallery image. One of `community`, `private`. Sharing profile `groups` currently isn't supported.
279279
Community images are publicly available, group images are available to a specific group of users, private images are only available to the owner.
280280

281281
### `base.azure.sharingNamePrefix` / `variant.<name>.azure.sharingNamePrefix`
282282

283283
- Default: none
284-
- Required: if `sharingProfile` is `community` or `groups`
284+
- Required: if `sharingProfile` is `community`
285285
- Template: yes
286286

287287
Prefix for the shared image name. Example: `"myimage"`.

config/validation.rego

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ deny[msg] {
196196
deny[msg] {
197197
input.Provider == "azure"
198198
input.Azure.SharingProfile != ""
199-
allowed := ["community", "groups", "private"]
199+
allowed := ["community", "private"]
200200
not input.Azure.SharingProfile in allowed
201201

202202
msg = sprintf("sharing profile %q must be one of %s for provider azure", [input.Azure.SharingProfile, allowed])

0 commit comments

Comments
 (0)