https://pulumi.com logo
Title
q

quaint-hydrogen-7228

11/18/2022, 5:00 PM
Hello, Where can I read more about the Pulumi type tokens? The docs for Pulumi import have some examples, which one can make some educated guesses from, but it would be good if there is something documented about the format of the tokens.
b

billowy-army-68599

11/18/2022, 5:06 PM
q

quaint-hydrogen-7228

11/22/2022, 7:58 AM
Thank you for the pointer. This helps in finding the actual names manually. The format of the tokens seems to be a bit different when comparing native provider vs TF-bridged provider, e.g. aws:ec2/internetGateway:InternetGateway vs aws-native:ec2:InternetGateway, is this a general pattern or just specific for some providers? Anyway, I was thinking about handling the import a bit more programmatically. However, I noticed that Former2 (https://former2.com) now generates Pulumi code from AWS infrastructure, so that will address some usability aspects already for import. Just need to tweak the generated code a bit.