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
Use is_boto3_error_code in 'standard' example #72313
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ansibot
added
affects_2.11
core_review
In order to be merged, this PR must follow the core review workflow.
docs
This issue/PR relates to or includes documentation.
docsite
This issue/PR relates to the documentation website.
needs_triage
Needs a first human triage before being processed.
support:core
This issue/PR relates to code supported by the Ansible Engineering Team.
labels
Oct 23, 2020
s-hertel
reviewed
Oct 23, 2020
Co-authored-by: Sloane Hertel <shertel@redhat.com>
samdoran
removed
the
needs_triage
Needs a first human triage before being processed.
label
Oct 27, 2020
ansibot
added
the
stale_ci
This PR has been tested by CI more than one week ago. Close and re-open this PR to get it retested.
label
Nov 4, 2020
ansibot
added
needs_revision
This PR fails CI tests or a maintainer has requested a review/revision of the PR.
pre_azp
This PR was last tested before migration to Azure Pipelines.
and removed
core_review
In order to be merged, this PR must follow the core review workflow.
stale_ci
This PR has been tested by CI more than one week ago. Close and re-open this PR to get it retested.
labels
Dec 6, 2020
ansibot
added
the
docs_only
All changes are to files within the docs/docsite/ directory
label
Mar 28, 2021
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
ansibot
added
core_review
In order to be merged, this PR must follow the core review workflow.
and removed
needs_revision
This PR fails CI tests or a maintainer has requested a review/revision of the PR.
pre_azp
This PR was last tested before migration to Azure Pipelines.
labels
Apr 27, 2021
alinabuzachis
approved these changes
Apr 27, 2021
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
Akasurde
changed the title
Use is_boto3_error_code in 'standard' example rather than e.response['Error']['Code']
Use is_boto3_error_code in 'standard' example
Apr 27, 2021
@tremble Thanks for the contribution. @s-hertel @alinabuzachis Thanks for the review. |
maximmasiutin
pushed a commit
to maximmasiutin/ansible
that referenced
this pull request
Apr 28, 2021
Use is_boto3_error_code in 'standard' example rather than e.response['Error']['Code'] (ansible#72313) Co-authored-by: Sloane Hertel <shertel@redhat.com>
acozine
pushed a commit
to acozine/ansible
that referenced
this pull request
Apr 28, 2021
Use is_boto3_error_code in 'standard' example rather than e.response['Error']['Code'] (ansible#72313) Co-authored-by: Sloane Hertel <shertel@redhat.com> (cherry picked from commit 63afb33)
Merged
acozine
added a commit
that referenced
this pull request
Apr 28, 2021
* Add description for COLLECTIONS_SCAN_SYS_PATH (#74351) Fixes: #74275 Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com> (cherry picked from commit 567361b) * lighten navigation background to make section labels easier to read for core docs (#74356) * make section labels for /ansible-core/ docs easier to read, with black text and lighter gray background (cherry picked from commit 6119fb0) * Correct splitext() description, and example (#74377) `splitext()` returns a 2-tuple of strings, and the last element of the return value includes the `.` (cherry picked from commit c295de6) * Using "~" instead of "+" for concatination (#74364) Changed FAQ examples to conform with the Jinja documentation: If both values on either side of a plus/+ are numbers, they will be added whereas using "~" will convert all operands into strings and then concatenate them. Closes #73799. (cherry picked from commit e6a5245) * Docs - Split Developing collections page, add info on optional module_utils (#74105) * (cherry picked from commit c90922e) * Add weos4 network platform to documentation (#74088) * Add weos4 network platform to documentation * Fix small format issues (cherry picked from commit 7ca5ded) * Fix typo in Makefile (#74396) Fixed minor typo specfic -> specific (cherry picked from commit 4880fee) * Update complex_data_manipulation.rst (#72509) (cherry picked from commit c2985c4) * Update VMware library installation docs (#71219) Depending upon OS/distro, please use pip/pip3. (cherry picked from commit ddfc648) * Update AWS dev guides to use collections utils and fragments (#72312) (cherry picked from commit cf08c23) * Use is_boto3_error_code in 'standard' example (#72313) Use is_boto3_error_code in 'standard' example rather than e.response['Error']['Code'] (#72313) Co-authored-by: Sloane Hertel <shertel@redhat.com> (cherry picked from commit 63afb33) * Update Kubernetes collection name in docs (#74440) (cherry picked from commit 8d499bb) * Update argcomplete docs links on installation guide (#74410) Link on installation docs is outdated. Switch to currently docs at: https://kislyuk.github.io/argcomplete/ (cherry picked from commit f97787c) * fix spacing to fix header, reorg contributing page (#74421) Co-authored-by: John R Barker <john@johnrbarker.com> (cherry picked from commit 9d9b08b) * Update first_found documentation (#70502) * import_tasks do not work with loop, use use include_tasks instead * update documentation (cherry picked from commit bacede7) * Product-related updates. (#74454) (cherry picked from commit 34c9ed8) Co-authored-by: Abhijeet Kasurde <akasurde@redhat.com> Co-authored-by: Sandra McCann <samccann@redhat.com> Co-authored-by: Alex Willmer <alex@moreati.org.uk> Co-authored-by: Hublerho <43293510+Hublerho@users.noreply.github.com> Co-authored-by: Ernst Oudhof <17832702+ernst-s@users.noreply.github.com> Co-authored-by: Hu Shuai <hus.fnst@cn.fujitsu.com> Co-authored-by: dhx-mike-palandra <45608336+dhx-mike-palandra@users.noreply.github.com> Co-authored-by: jakelevinez <31458570+jakelevinez@users.noreply.github.com> Co-authored-by: Mark Chappell <mchappel@redhat.com> Co-authored-by: Lidiane Taquehara <lidi.mayra@gmail.com> Co-authored-by: Alex Domoradov <alex.hha@gmail.com> Co-authored-by: Bill Nottingham <notting@redhat.com>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
affects_2.11
core_review
In order to be merged, this PR must follow the core review workflow.
docs_only
All changes are to files within the docs/docsite/ directory
docs
This issue/PR relates to or includes documentation.
docsite
This issue/PR relates to the documentation website.
support:core
This issue/PR relates to code supported by the Ansible Engineering Team.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
SUMMARY
It looks like we didn't update some of our examples in the AWS Guidelines to recommend is_boto3_error_code when working around a specific error is possible
ISSUE TYPE
COMPONENT NAME
docs/docsite/rst/dev_guide/platforms/aws_guidelines.rst
ADDITIONAL INFORMATION
CC: @jillr @s-hertel