mysterious-wolf-74677
11/04/2021, 9:01 PMPulumi Import Resource Operation
(found here) do we have to include the {name: <resource name>}
in the args
? Doesn't {import: <resource name>}
take care of that? So you can just do something like
const foo = new aws.iam.User('foo', {}, { import: 'foo' })
little-cartoon-10569
11/04/2021, 9:09 PMimport
opt is not related to name at all, only to import ID. Import ID is defined by the importing code, and may include related IDs that don't belong to the resource.Security Group Rules can be imported using the security_group_id, type, protocol, from_port, to_port, and source(s)/destination(s) (e.g. cidr_block) separated by underscores (_). All parts are required.