Skip to content

Commit

Permalink
CI test fixups - Ansible milestone update (ansible-collections#1863)
Browse files Browse the repository at this point in the history
CI test fixups - Ansible milestone update

SUMMARY
Fixups failures exposed by ansible-collections#1852
ISSUE TYPE

Bugfix Pull Request

COMPONENT NAME
dynamodb
sts_assume_role
ADDITIONAL INFORMATION

Reviewed-by: Mark Chappell
Reviewed-by: Alina Buzachis

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections@7f05515
  • Loading branch information
tremble authored and mandar242 committed Oct 6, 2023
1 parent 98339bf commit 663d538
Showing 1 changed file with 0 additions and 27 deletions.
27 changes: 0 additions & 27 deletions tests/integration/targets/sts_assume_role/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,33 +51,6 @@
- 'result.failed'
- "'missing required arguments:' in result.msg"

# ============================================================
- name: test with empty parameters
sts_assume_role:
role_arn:
role_session_name:
policy:
duration_seconds:
external_id:
mfa_token:
mfa_serial_number:
register: result
ignore_errors: true

- name: assert with empty parameters
assert:
that:
- 'result.failed'
- "'Missing required parameter in input:' in result.msg"
when: result.module_stderr is not defined

- name: assert with empty parameters
assert:
that:
- 'result.failed'
- "'Member must have length greater than or equal to 20' in result.module_stderr"
when: result.module_stderr is defined

# ============================================================
- name: test with only 'role_arn' parameter
sts_assume_role:
Expand Down

0 comments on commit 663d538

Please sign in to comment.