If i use ```var resourceGroup = ResourceGroup.Get(...
# dotnet
l
If i use
Copy code
var resourceGroup = ResourceGroup.Get("resourceGBla", "/subscriptions/4711/resourceGroups/resourceGBla")
and use it for a storage account, ResourceGroupName = resourceGroup.Name or ResourceGroupName = resourceGroup.Name.ToString() , it doesn't work. If i read in an existing resource, it is then possible to import the resource inside the stack ?
t
You shouldn’t call
ToString()
on it
What’s the error for the first option?
l
OK thx, i will look into it.