-
Notifications
You must be signed in to change notification settings - Fork 348
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
aws_ec2 use_ssm_inventory fails with a large number of instances #1713
Comments
Files identified in the description:
If these files are inaccurate, please update the |
The exact same thing is happening to me: ...at 'filters.1.member.values' failed to satisfy constraint: Member must have length less than or equal to 40 |
same issue here |
@abikouo The option |
Bugfix aws_ec2 inventory use_ssm_inventory SUMMARY Fix bug where aws_ec2 inventory plugin was failing with use_ssm_inventory: true if there are more than 40 inventories. ISSUE TYPE Bugfix Pull Request COMPONENT NAME aws_ec2 ADDITIONAL INFORMATION Fixes #1713 Reviewed-by: Bikouo Aubin Reviewed-by: Mark Chappell
Bugfix aws_ec2 inventory use_ssm_inventory SUMMARY Fix bug where aws_ec2 inventory plugin was failing with use_ssm_inventory: true if there are more than 40 inventories. ISSUE TYPE Bugfix Pull Request COMPONENT NAME aws_ec2 ADDITIONAL INFORMATION Fixes #1713 Reviewed-by: Bikouo Aubin Reviewed-by: Mark Chappell (cherry picked from commit 05c262a)
Bugfix aws_ec2 inventory use_ssm_inventory SUMMARY Fix bug where aws_ec2 inventory plugin was failing with use_ssm_inventory: true if there are more than 40 inventories. ISSUE TYPE Bugfix Pull Request COMPONENT NAME aws_ec2 ADDITIONAL INFORMATION Fixes #1713 Reviewed-by: Bikouo Aubin Reviewed-by: Mark Chappell (cherry picked from commit 05c262a)
[PR #1957/05c262a4 backport][stable-7] Bugfix aws_ec2 inventory use_ssm_inventory This is a backport of PR #1957 as merged into main (05c262a). SUMMARY Fix bug where aws_ec2 inventory plugin was failing with use_ssm_inventory: true if there are more than 40 inventories. ISSUE TYPE Bugfix Pull Request COMPONENT NAME aws_ec2 ADDITIONAL INFORMATION Fixes #1713 Reviewed-by: Mark Chappell Reviewed-by: Alina Buzachis
[PR #1957/05c262a4 backport][stable-6] Bugfix aws_ec2 inventory use_ssm_inventory This is a backport of PR #1957 as merged into main (05c262a). SUMMARY Fix bug where aws_ec2 inventory plugin was failing with use_ssm_inventory: true if there are more than 40 inventories. ISSUE TYPE Bugfix Pull Request COMPONENT NAME aws_ec2 ADDITIONAL INFORMATION Fixes #1713 Reviewed-by: Alina Buzachis
I see a fix is merged through #1957 |
@vijayreddiar Please open a new issue for this. |
@gravesm I have raised a new issue. Thanks. |
Summary
After upgrading to version 6.0.0 and enabling
use_ssm_inventory
, dynamic inventory graphing fails with a warning. Our setup has many instances, and so the list of instance ids is well over the 40 character limit for the aws ssm get-inventory api endpoint.Issue Type
Bug Report
Component Name
aws_ec2
Ansible Version
Collection Versions
AWS SDK versions
Configuration
No response
OS / Environment
No response
Steps to Reproduce
inventory/aws_ec2.yml
command used:
Expected Results
I expect to get a graph output of instances grouped appropriately. This occurs as expected with the above inventory/aws_ec2.yml with amazon.aws collection version 5.5.0 and earlier.
Actual Results
Code of Conduct
The text was updated successfully, but these errors were encountered: