-
Notifications
You must be signed in to change notification settings - Fork 398
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_ssm: Wrong pre-signed URL when curl-ing AnsiballZ_systemd.py
on newer AWS regions
#1616
Closed
1 task done
Labels
bug
This issue/PR relates to a bug
connection
connection plugin
needs_triage
plugins
plugin (any type)
python3
Comments
Files identified in the description:
If these files are inaccurate, please update the |
ansibullbot
added
bug
This issue/PR relates to a bug
connection
connection plugin
needs_triage
plugins
plugin (any type)
python3
labels
Dec 8, 2022
softwarefactory-project-zuul bot
pushed a commit
that referenced
this issue
Jan 23, 2023
…1674) aws_ssm - split S3 region/endpoint discovery into dedicated function Depends-On: #1670 SUMMARY fixes: #1616 Newer AWS regions don't generate valid presigned URLs unless you explicitly pass the endpoint_url for the region (see also boto/boto3#3015) ISSUE TYPE Bugfix Pull Request COMPONENT NAME aws_ssm ADDITIONAL INFORMATION Reviewed-by: Markus Bergholz <[email protected]> Reviewed-by: Alina Buzachis <None>
patchback bot
pushed a commit
that referenced
this issue
Jan 23, 2023
…1674) aws_ssm - split S3 region/endpoint discovery into dedicated function Depends-On: #1670 SUMMARY fixes: #1616 Newer AWS regions don't generate valid presigned URLs unless you explicitly pass the endpoint_url for the region (see also boto/boto3#3015) ISSUE TYPE Bugfix Pull Request COMPONENT NAME aws_ssm ADDITIONAL INFORMATION Reviewed-by: Markus Bergholz <[email protected]> Reviewed-by: Alina Buzachis <None> (cherry picked from commit 8237ebb)
softwarefactory-project-zuul bot
pushed a commit
that referenced
this issue
Jan 23, 2023
…1674) (#1677) [PR #1674/8237ebb7 backport][stable-5] aws_ssm - split S3 region/endpoint discovery into dedicated function This is a backport of PR #1674 as merged into main (8237ebb). Depends-On: #1670 SUMMARY fixes: #1616 Newer AWS regions don't generate valid presigned URLs unless you explicitly pass the endpoint_url for the region (see also boto/boto3#3015) ISSUE TYPE Bugfix Pull Request COMPONENT NAME aws_ssm ADDITIONAL INFORMATION Reviewed-by: Markus Bergholz <[email protected]>
1 task
abikouo
pushed a commit
to abikouo/community.aws
that referenced
this issue
Oct 24, 2023
…#1647) Added started and stopped states for rds cluster SUMMARY Fixes ansible-collections#1616 ISSUE TYPE Feature Pull Request COMPONENT NAME plugins/modules/rds_cluster.py ADDITIONAL INFORMATION Reviewed-by: Alina Buzachis Reviewed-by: Mike Graves <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
bug
This issue/PR relates to a bug
connection
connection plugin
needs_triage
plugins
plugin (any type)
python3
Summary
AWS changed the behaviour of S3 in newer AWS regions (e.g.
eu-south-1
), so boto3 does not generate the correct pre-signed URL. This breaksaws-ssm
when downloadingAnsiballZ_systemd.py
. The command:is return the following error:
A possible workaround can be found here: boto/boto3#3015 (comment)
I implemented a super-dirty workaround in file
plugins/connection/aws_ssm.py
, function_get_boto_client
:It works for me now. I did not test it on other regions / parameter combinations.
Issue Type
Bug Report
Component Name
aws_ssm
Ansible Version
Collection Versions
OS / Environment
MacOS Monterey
Steps to Reproduce
Execute a playbook using
aws_ssm
access.Expected Results
Playbook execution gives an error.
Code of Conduct
The text was updated successfully, but these errors were encountered: