From 7da565b3aea86ef7b1ac304a423ca20b2c0e6c12 Mon Sep 17 00:00:00 2001 From: Sloane Hertel Date: Mon, 18 Mar 2019 08:29:03 -0500 Subject: parse botocore.endpoint logs into a list of AWS actions (#49312) * 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) --- test/integration/targets/aws_eks/playbooks/full_test.yml | 1 + test/integration/targets/aws_eks/playbooks/old_version.yml | 1 + 2 files changed, 2 insertions(+) (limited to 'test/integration/targets/aws_eks') diff --git a/test/integration/targets/aws_eks/playbooks/full_test.yml b/test/integration/targets/aws_eks/playbooks/full_test.yml index cd020be571..354dd744d3 100644 --- a/test/integration/targets/aws_eks/playbooks/full_test.yml +++ b/test/integration/targets/aws_eks/playbooks/full_test.yml @@ -1,5 +1,6 @@ - hosts: localhost connection: local + environment: "{{ ansible_test.environment }}" roles: - aws_eks diff --git a/test/integration/targets/aws_eks/playbooks/old_version.yml b/test/integration/targets/aws_eks/playbooks/old_version.yml index d14dabcf00..c055cc68e2 100644 --- a/test/integration/targets/aws_eks/playbooks/old_version.yml +++ b/test/integration/targets/aws_eks/playbooks/old_version.yml @@ -1,5 +1,6 @@ - hosts: localhost connection: local + environment: "{{ ansible_test.environment }}" tasks: - name: try and use aws_eks_cluster module -- cgit v1.2.3