-
Notifications
You must be signed in to change notification settings - Fork 23.7k
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
ec2_instance: ebs_optimized is not sub-option of 'network' #48341
Conversation
Hi @Shaps, thank you for submitting this pull-request! |
@Shaps, just so you are aware we have a dedicated Working Group for aws. |
@Shaps Thanks for the PR! May I suggest keeping compatibility with the workaround described in #48159 like this? if params.get('ebs_optimized') is not None:
spec['EbsOptimized'] = params.get('ebs_optimized')
elif (params.get('network') or {}).get('ebs_optimized') is not None:
# Keep this for compatibility with workaround described in https://github.com/ansible/ansible/issues/48159
spec['EbsOptimized'] = params['network'].get('ebs_optimized') |
@dennisconrad Yep, good idea. Added the backward compatible check. |
The test
The test
The test
|
…8341) * ebs_optimized is not suboption of 'network' * Add Shaps as ec2_instance maintainer * Added workaround-backward compatible check for ebs_optimized * Added ebs_optimized test * CI fixes, dynamic select of ENA-enabled AMI
) * ec2_instance: ebs_optimized is not sub-option of 'network' (#48341) * ebs_optimized is not suboption of 'network' * Add Shaps as ec2_instance maintainer * Added workaround-backward compatible check for ebs_optimized * Added ebs_optimized test * CI fixes, dynamic select of ENA-enabled AMI (cherry picked from commit b7d9feb) * Added changlog fragment for PR #48341 * fixed yaml errors in changelog
…8341) * ebs_optimized is not suboption of 'network' * Add Shaps as ec2_instance maintainer * Added workaround-backward compatible check for ebs_optimized * Added ebs_optimized test * CI fixes, dynamic select of ENA-enabled AMI
…8341) * ebs_optimized is not suboption of 'network' * Add Shaps as ec2_instance maintainer * Added workaround-backward compatible check for ebs_optimized * Added ebs_optimized test * CI fixes, dynamic select of ENA-enabled AMI
SUMMARY
Updated ec2_instance to look for
ebs_optimized
as top level option instead of sub-option ofnetwork
.Fixes #48159
ISSUE TYPE
COMPONENT NAME
ec2_instance.py
ANSIBLE VERSION
ADDITIONAL INFORMATION
N/A