pulumi/pkg/codegen/importer
Luke Hoban 8c141ca100 [import] Parent and Provider improvements
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.
2022-12-13 02:29:07 +00:00
..
testdata Escape `${` & `%{` in string literals 2022-12-08 10:46:23 +01:00
hcl2.go [import] Parent and Provider improvements 2022-12-13 02:29:07 +00:00
hcl2_test.go Escape `${` & `%{` in string literals 2022-12-08 10:46:23 +01:00
language.go Escape `${` & `%{` in string literals 2022-12-08 10:46:23 +01:00
language_test.go feat(ci): Enable fully offline codegen tests with versioned plugins 2022-10-11 05:16:23 -07:00