reference an existing Group by name #3207
-
How do I obtain a reference to an existing Group resource mygroup 'Microsoft.ApiManagement/service/groups@2021-01-01-preview' existing = {
name: 'MyGroup'
} The above fails with |
Beta Was this translation helpful? Give feedback.
Answered by
anthony-c-martin
Jun 14, 2021
Replies: 1 comment
-
Bicep needs the name of the
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
brwilkinson
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bicep needs the name of the
Microsoft.ApiManagement/service
parent resource, in order to uniquely identify the group. You have two options:Format the name manually:
Declare the parent service independently: