1) Not problematic per se, since AWS won't let you change them and you'll get a normal failure.
little-cartoon-10569
04/04/2022, 8:55 PM
Aside: there's a class of resources, including but not limited to AWS managed policies, that simply never need to be resources. The only thing you ever need from them are their IDs, so why import a resource using its ID if the only thing you ever get from it is its ID? I see this a fair bit in client code: someone gets (for example) a VPC ID from a stack reference, then inflates it using something like
Vpc.fromExistingIds()
, then uses it only to get the VPC ID. This is wasteful. Any time you're thinking of importing or inflating a resource, consider what you're likely to use it for. If it's just the ID.. don't bother!
No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.