Deployment
Setting up infrastructure for AWS
cd
into infra-deployment
directory. We have the Ansible Playbook that we use for creating S3 buckets
export uniquename=<some-random-value>
export AWS_PROFILE=devsecops-adef
ansible-playbook main.yml
Replace
with a random value, just to increase the randomness of the bucket name. The playbook works with your AWS_PROFILE in your environment. This will work only if you have created a profile using aws configure
This script will use the stored AWS credentials to deploy the S3 buckets with random files and permissions