-
-
Notifications
You must be signed in to change notification settings - Fork 138
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot save (ERROR: singles[0].role_name is required to be a valid string) #331
Comments
I'm suffering from the same issue with the newest version of the plugin in Chrome on Windows 10 and on Windows 11 |
Same issue here. MacOS Sonoma 14.1 with Chrome 119.0.6045.105 for ARM64. Plugin version 4.0.2. |
AESR has enhanced configuration validation in a recent update.
This error message means that the role_name in the 0th (first) definition of the profile by 'Simple Configuration' is not the correct string. 'Simple Configuration' means a single profile definition not referenced in source_profile. Perhaps there is a profile definition for the base account that is incorrect with the profile name specified in source_profile. |
Thanks, i've redone my profile list and now it is saving again. Weird though that it suddenly became an issue whereas i haven't changed the first 50 rows of my configuration in the past 1,5 years. |
It disappoints me that parity with ~/.aws/config isn't a goal of this extension. I thought it was. Being able to keep the extend roles configuration and my ~/.aws/config configuration in sync was one of the great features of this plugin, and I have been doing it for years. It wasn't until I recently had to make updates to my configuration that it wouldn't save (and in fact was functioning just fine). But I believe this inconsistency is what we're running into in this thread, too. The simplest example of a configuration that is valid in ~/.aws/config but not in switch roles is:
It cannot be saved due to the Notably, it does save if I add a profile that references it:
But for some of my accounts, I don't currently have any roles to assume. |
Describe the bug
When I try to save my configurations it is unable to do so, throwing this error: singles[0].role_name is required to be a valid string. This error is at least when using Chrome, I have not tested with other browsers.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Save the configuration.
Screenshots
![image](https://private-user-images.githubusercontent.com/94175648/281676138-f1be0639-8c0e-4c3c-9e3d-6fff4bbba8e1.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkyMTg5NzksIm5iZiI6MTczOTIxODY3OSwicGF0aCI6Ii85NDE3NTY0OC8yODE2NzYxMzgtZjFiZTA2MzktOGMwZS00YzNjLTllM2QtNmZmZjRiYmJhOGUxLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEwVDIwMTc1OVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTk3ZjQxODlmY2ZjOTE0ZmZmY2U0YTk1OGI3NDAzMzY0MzRjNTY5YTQ5Y2JhYmM1NjQzNDQ2OGZiYjhmZjM1NGQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.eUHk-5HmbPqK0d1qRv7G-DYA-N6kSxEbNWYv90kh5pc)
Environment
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: