51229eb99c
* Rename aws_acm_facts -> aws_acm_info. * Rename aws_az_facts -> aws_az_info. * Rename aws_caller_facts -> aws_caller_info. * Rename aws_kms_facts -> aws_kms_info. * Rename aws_region_facts -> aws_region_info. * Rename aws_sgw_facts -> aws_sgw_info. * Rename aws_waf_facts -> aws_waf_info. * Adjust docs. * Add changelog and update porting guide.
15 lines
432 B
YAML
15 lines
432 B
YAML
- name: retrieve caller facts
|
|
aws_caller_info:
|
|
region: "{{ aws_region }}"
|
|
aws_access_key: "{{ aws_access_key }}"
|
|
aws_secret_key: "{{ aws_secret_key }}"
|
|
security_token: "{{ security_token }}"
|
|
register: result
|
|
|
|
- name: assert correct keys are returned
|
|
assert:
|
|
that:
|
|
- result.account is not none
|
|
- result.arn is not none
|
|
- result.user_id is not none
|
|
- result.account_alias is not none
|