mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-27 04:41:26 -07:00
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)
This commit is contained in:
parent
eb790cd3c6
commit
7da565b3ae
34 changed files with 672 additions and 233 deletions
|
@ -9,6 +9,14 @@ class ModuleDocFragment(object):
|
|||
# AWS only documentation fragment
|
||||
DOCUMENTATION = r'''
|
||||
options:
|
||||
debug_botocore_endpoint_logs:
|
||||
description:
|
||||
- Use a botocore.endpoint logger to parse the unique (rather than total) "resource:action" API calls made during a task, outputing
|
||||
the set to the resource_actions key in the task results. Use the aws_resource_action callback to output to total list made during
|
||||
a playbook. The ANSIBLE_DEBUG_BOTOCORE_LOGS environment variable may also be used.
|
||||
type: bool
|
||||
default: 'no'
|
||||
version_added: "2.8"
|
||||
ec2_url:
|
||||
description:
|
||||
- Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue