sparse-intern-71089
03/09/2023, 11:41 PMgorgeous-minister-41131
03/09/2023, 11:43 PMname
isn't actually used as part of the URN constructor...
or I'm doing something wrong....gorgeous-minister-41131
03/09/2023, 11:48 PMf"foo:aws:FooVpcComponent:{name}"
but all the examples I saw only show 3 components for that value and so I felt like that was not the right way to do this...little-cartoon-10569
03/09/2023, 11:49 PMlittle-cartoon-10569
03/09/2023, 11:50 PMlittle-cartoon-10569
03/09/2023, 11:51 PMif I do not use the base_name as part of the resource_str of the child resources, I get a conflict when instantiating FooVpcComponent. Maybe this is by design and it's my responsibility to ensure this uniqueness?Exactly.
gorgeous-minister-41131
03/10/2023, 12:31 AMgorgeous-minister-41131
03/10/2023, 12:32 AMgorgeous-minister-41131
03/10/2023, 12:32 AMgorgeous-minister-41131
03/10/2023, 9:18 PMResources constructed as children of a component resource should ensure their names are unique across multiple instances of the component resource. In general, the name of the component resource instance itself (the name parameter passed into the component resource constructor) should be used as part of the name of the child resources.
gorgeous-minister-41131
03/10/2023, 9:19 PM