This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit 636701c1da0e89997bd0f314f9c95ed40cf357a0 Author: Andrea Cosentino <[email protected]> AuthorDate: Tue Jun 6 13:11:54 2023 +0200 AWS S3 - Added Infra configuration file for creating bucket - Docs Signed-off-by: Andrea Cosentino <[email protected]> --- infra/aws-s3/Readme.md | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/infra/aws-s3/Readme.md b/infra/aws-s3/Readme.md new file mode 100644 index 00000000..5b3f6ac8 --- /dev/null +++ b/infra/aws-s3/Readme.md @@ -0,0 +1,45 @@ +# 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 commmand to create the infra is: + +```bash +$ ansible-playbook -v ansible/aws-s3.yaml --extra-vars bucket_name=<bucket-name> +``` + +## Terraform + +The commmand to create the infra is: + +```bash +$ cd terraform/ +$ terraform init +$ terraform apply -var="bucket_name=<bucket-name>" +``` + +Once completed do: + +```bash +$ cd terraform/ +$ terraform destroy +``` + +## Cloudformation + +The commmand to create the infra is: + +```bash +$ aws cloudformation deploy --template-file cloudformation/aws-s3.yaml --stack-name my-new-stack --parameter-overrides BucketName=<bucket-name> +``` +
