Referencing a resource in another resource group #1709
-
Wasn't sure to file this as an issue or if I'm just doing it wrong. I have a template where the user can supply a Typically in ARM I do it like this and it works fine: Where AdminSshPublicKeyId is the full resourceId (/subscriptions/xxx/etc.) How can I do it the Bicep way using
But got an error saying I could only use resourceGroup scope, and couldn't figure out any combination to make it work for a resource not in the same resource group. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
I got it to work with |
Beta Was this translation helpful? Give feedback.
-
Just adding a note here for housekeeping that this will be solved by #1722 |
Beta Was this translation helpful? Give feedback.
Just adding a note here for housekeeping that this will be solved by #1722