https://pulumi.com logo
#dotnet
Title
# dotnet
l

limited-carpenter-34991

05/27/2020, 2:34 PM
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

tall-librarian-49374

05/27/2020, 3:11 PM
You shouldn’t call
ToString()
on it
What’s the error for the first option?
l

limited-carpenter-34991

05/27/2020, 3:37 PM
OK thx, i will look into it.