icy-engineer-10830
09/08/2019, 12:39 AMconst vmss = azure.compute.ScaleSet.get("id-of-my-resource")
to fail with this error: Error: Missing required property 'networkProfiles'
at new ScaleSet (/Users/jonbrwn/code/other/pulumi-azure-import-test/node_modules/@pulumi/compute/scaleSet.ts:424:23)
at Function.get (/Users/jonbrwn/code/other/pulumi-azure-import-test/node_modules/@pulumi/compute/scaleSet.ts:259:16)
when running pulumi up
?white-balloon-205
.get(name, id)
call requires two arguments. The first is the logical name that Pulumi will use. The second is the id of the cloud provider resource you are trying to get.
The error message here is not ideal though - and could definitely be improved.icy-engineer-10830
09/08/2019, 12:57 AM