aws_cloudtrail_bucket

aws-cloudtrail-bucket

This role can create and delete the s3 bucket and sqs queue needed to allow cloudtrail to post events to an s3 bucket and send notifications to a queue to indicate objects have been created in the bucket.

Requirements

This module assumes that /usr/bin/env python (whatever python is in your current environment) can import boto3 and that the aws cli is installed and in your path.

Role Variables

AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY must be set in the environment. A prefix must be provided for the s3 bucket and sqs queue.

Example Playbook

Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:

- hosts: localhost
  connection: local
  roles:
    - aws-cloudigrade-cloudtrail-bucket

License

GPLv2

Author Information

This role has been developed in particular for use with the cloudigrade project, but could be adapted for general use.

About

Quality Engineer

Install
ansible-galaxy install kdelee/aws-cloudtrail-bucket
GitHub repository
License
Unknown
Downloads
821
Owner
Associate Software Engineering Manager, Performance and Scale, Ansible Automation Platform