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
The following commit(s) were added to refs/heads/main by this push:
new 1c3de91a AWS S3 Removal in infra: Added Ansible removal for S3 Bucket
1c3de91a is described below
commit 1c3de91aeb763c33224251cb809adb01824c598a
Author: Andrea Cosentino <[email protected]>
AuthorDate: Wed Jul 19 11:51:31 2023 +0200
AWS S3 Removal in infra: Added Ansible removal for S3 Bucket
Signed-off-by: Andrea Cosentino <[email protected]>
---
infra/aws-s3/ansible/aws-s3-removal.yaml | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/infra/aws-s3/ansible/aws-s3-removal.yaml
b/infra/aws-s3/ansible/aws-s3-removal.yaml
new file mode 100644
index 00000000..b88bea0f
--- /dev/null
+++ b/infra/aws-s3/ansible/aws-s3-removal.yaml
@@ -0,0 +1,9 @@
+---
+- name: Remove AWS S3 Bucket
+ hosts: localhost
+ tasks:
+ - name: Remove bucket
+ amazon.aws.s3_bucket:
+ name: "{{ bucket_name }}"
+ state: absent
+ register: removed_bucket