kdelee.aws_cloudtrail_bucket
aws-cloudtrail-bucket
This role allows you to create and delete an S3 bucket and SQS queue. This setup is necessary for CloudTrail to send event data to the S3 bucket and to notify the queue when new objects are added to the bucket.
Requirements
This module requires that the Python environment can access boto3
and that the AWS CLI is installed and available in your system's path.
Role Variables
You need to set AWS_ACCESS_KEY_ID
and AWS_SECRET_ACCESS_KEY
in your environment. You also need to provide a prefix for the S3 bucket and SQS queue.
Example Playbook
Here's a simple example of how to use this role in a playbook, with parameters passed in:
- hosts: localhost
connection: local
roles:
- aws-cloudtrail-bucket
License
GPLv2
Author Information
This role is designed specifically for the Cloudigrade project but can be modified for general use.
Installa
ansible-galaxy install kdelee.aws_cloudtrail_bucket
Licenza
Unknown
Download
831
Proprietario
Associate Software Engineering Manager,
Performance and Scale,
Ansible Automation Platform