acceptable-oyster-7852
03/18/2024, 8:58 PMpulumi.Import(pulumi.ID(accessKey.AccessKeyId))
or building an ignoreList []string
and filling it with these key ids and feeding this list into pulumi.IgnoreChanges(ignoreList)
but neither prevents things from showing Pulumi is going to delete IAM keys that it had previously created.
The existing code was always doing an iam.NewAccessKey(...)
and now I'm not doing this if a key is found by querying iam.GetAccessKeys(...)
. I'm guessing this is related but the documentation I found around importing resources and coexistence didn't lead me beyond what I mention above. Any thoughts our suggestions would be greatly appreciated.
[1] https://github.com/aws-samples/aws-iam-access-key-auto-rotationacceptable-oyster-7852
03/19/2024, 12:15 AMNo 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.
Powered by