most-mouse-3800206/13/2022, 12:12 PM
the correct way to go about this? Seing as it returns a
I am a bit confused; I can of course manually turn this into a
but is that really “the way”?
echoing-dinner-1953106/13/2022, 12:26 PM
most-mouse-3800206/13/2022, 12:37 PM
to just let Pulumi know that “this thing exists, but as read only”?
echoing-dinner-1953106/13/2022, 12:38 PM
most-mouse-3800206/13/2022, 12:40 PM
. Note that I am using Go.
echoing-dinner-1953106/13/2022, 12:43 PM
function (https://github.com/pulumi/pulumi-azure-native/blob/master/sdk/go/azure/resources/resourceGroup.go#L106) which does return a
most-mouse-3800206/13/2022, 12:48 PM
which confuses me. an ID in Azure would be something along the lines of
would also be the name of said resource group. I would assume
could infer this information on its own, but having tested it does not and I need to copy that entire line into
echoing-dinner-1953106/13/2022, 12:50 PM
calls to create a resource. As for the ID we don't try and do any smarts in the SDK to shorten IDs, we just take the literal that the cloud provider SDK expects.
most-mouse-3800206/13/2022, 12:51 PM