Support extension of configurations to other profiles #8002
Labels
configuration
feature-request
A feature should be added or improved.
p2
This is a standard priority issue
Describe the feature
Support base/general configuration (e.g. within the default profile), where other profiles may extend and override by referencing the base configuration.
Use Case
Using multi-account architecture, AWS CLI configuration file include many profiles.
Rather the configuring each profile with the same configuration or have a small difference between each profile, if a profile could reference another profile then extend and override some configuration, it will ease and declutter the configuration file.
Proposed Solution
Each profile can reference a list of other profiles, to apply/merge configuration from each referenced profile in the order they were specified. If a profile did not reference any other profiles, then apply the base/default configuration (which can come from the default profile).
For instance, giving the configuration above, the following configuration will be equivalent
Other Information
Acknowledgements
CLI version used
2.12.1
Environment details (OS name and version, etc.)
Ubuntu 22.04.2 LTS
The text was updated successfully, but these errors were encountered: