I've tried reinstalling the pulumi cli, aws cli and rebooting. For some reason it keeps looking for this exact same cache file every time.
gray-school-37527
07/29/2023, 2:56 PM
The aws cli works fine
gray-school-37527
07/29/2023, 7:33 PM
Found that it has to do with the use of a profile and sso-session in the .aws/config file. When a profile is pointing at an sso-session, the AWS CLI will generate a SSO cache file with a filename that matches the sha1 of the sso-session name. However, if no sso-sessoin is used in in the .aws/config file, the sha1 of the sso_start_url is used instead.
gray-school-37527
07/29/2023, 7:55 PM
Maybe this logic changed recently and the pulumi dependencies haven't caught up?
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.