tree: 5ff88ff379411fc52dda09b95491154cef76c101 [path history] [tgz]
  1. ansible/
  2. cloudformation/
  3. terraform/
  4. Readme.md
infra/aws-s3/Readme.md

Apache Camel Kamelets - AWS S3 Commodity Configuration files

In this directory you'll find:

  • Ansible
  • Terraform
  • Cloudformation

Configuration files, to be used for creating your infra for using AWS S3 Kamelets.

This will create an S3 Bucket with basic functionalities.

Ansible

The command to create the infra is:

$ ansible-playbook -v ansible/aws-s3.yaml --extra-vars bucket_name=<bucket-name>

Once completed do:

$ ansible-playbook -v ansible/aws-s3-removal.yaml --extra-vars bucket_name=<bucket-name>

Terraform

The command to create the infra is:

$ cd terraform/
$ terraform init
$ terraform apply -var="bucket_name=<bucket-name>"

Once completed do:

$ cd terraform/
$ terraform destroy

Cloudformation

The command to create the infra is:

$ aws cloudformation deploy --template-file cloudformation/aws-s3.yaml --stack-name my-new-stack --parameter-overrides BucketName=<bucket-name>

Once completed do:

$ aws cloudformation delete-stack --stack-name my-new-stack