b235cb8734
* aws_eks: New module for managing AWS EKS aws_eks module is used for creating and removing EKS clusters. Includes full test suite and updates to IAM policies to enable it. * Clean up all security groups * appease shippable * Rename aws_eks module to aws_eks_cluster
16 lines
395 B
YAML
16 lines
395 B
YAML
- hosts: localhost
|
|
connection: local
|
|
|
|
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
|