7da565b3ae
* Add an option to parse botocore.endpoint logs for the AWS actions performed during a task Add a callback to consolidate all AWS actions used by modules Added some documentation to the AWS guidelines * Enable aws_resource_actions callback only for AWS tests * Add script to help generate policies * Set debug_botocore_endpoint_logs via environment variable for all AWS integration tests Ensure AWS tests inherit environment (also remove AWS CLI in aws_rds inventory tests and use the module)
17 lines
443 B
YAML
17 lines
443 B
YAML
- hosts: localhost
|
|
connection: local
|
|
environment: "{{ ansible_test.environment }}"
|
|
|
|
tasks:
|
|
- name: try and use aws_eks_cluster module
|
|
aws_eks_cluster:
|
|
state: absent
|
|
name: my_cluster
|
|
ignore_errors: yes
|
|
register: aws_eks_cluster
|
|
|
|
- name: ensure that aws_eks fails with friendly error message
|
|
assert:
|
|
that:
|
|
- '"msg" in aws_eks_cluster'
|
|
- aws_eks_cluster is failed
|