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

Apache Camel Kamelets - AWS SQS 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 SQS Queue with basic functionalities.

Ansible

The command to create the infra is:

ansible-playbook -v ansible/aws-sqs.yaml --extra-vars queue_name=<queue_name> --extra-vars region=<region>

Once completed do:

ansible-playbook -v ansible/aws-sqs-removal.yaml --extra-vars queue_name=<queue_name> --extra-vars region=<region>

Terraform

The command to create the infra is:

$ cd terraform/
$ terraform init
$ terraform apply -var="queue_name=<queue-name>"

Once completed do:

$ cd terraform/
$ terraform destroy

Cloudformation

The command to create the infra is:

$ aws cloudformation deploy --template-file cloudformation/aws-sqs.yaml --stack-name my-new-stack --parameter-overrides QueueName=<queue-name>

Once completed do:

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