const rg = new azure.core.ResourceGroup('dev-rg', {}, {
import: '/subscriptions/$uuid/resourceGroups/$name',
});
l
loud-battery-37784
07/01/2020, 5:54 PM
Not to my understanding because of Pulumi auto-naming.
loud-battery-37784
07/01/2020, 5:56 PM
I haven’t tested as of yet (I’ve imported about 30 AWS resources) but after the import succeeds you may be able to remove the
name
property and let auto-naming take over.
a
able-beard-29160
07/02/2020, 6:56 PM
Thanks. Somehow I missed that section from the docs. I was expecting Pulumi to adopt the name of the resource, treating it as some sort of auto-generated name.
No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.