pulumi icon indicating copy to clipboard operation
pulumi copied to clipboard

[import] Parent and Provider improvements

Open lukehoban opened this issue 3 years ago • 1 comments

Allow passing raw URN instead of name=URN for parent and provider, defaulting name to parent and provider respectively.

Report an error if the names of the parent and provider are the same (instead of silently overwriting the parent with the provider).

Provide better error messages if the provided URN is not a URN - specifically if it is a provider reference.

Fix up an error message that included a parent instead of provider URN.

Also update the help text with some additional examples.

Fixes #5958. Contributes to #10288.

lukehoban avatar Aug 06 '22 00:08 lukehoban

Please view the results of the Downstream Codegen Tests Here

pulumi-bot avatar Aug 06 '22 00:08 pulumi-bot

Changelog

[uncommitted] (2022-12-13)

pulumi-bot avatar Nov 02 '22 21:11 pulumi-bot

bors r+

iwahbe avatar Nov 02 '22 21:11 iwahbe

Build failed:

bors[bot] avatar Nov 02 '22 22:11 bors[bot]

bors r+

iwahbe avatar Nov 22 '22 18:11 iwahbe

Build failed:

bors[bot] avatar Nov 22 '22 18:11 bors[bot]

/rebase

AaronFriel avatar Dec 13 '22 02:12 AaronFriel

bors merge

AaronFriel avatar Dec 13 '22 02:12 AaronFriel

Build succeeded:

bors[bot] avatar Dec 13 '22 04:12 bors[bot]