You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2023/07/19 09:52:31 UTC

[camel-kamelets] branch main updated: AWS S3 Removal in infra: Added Ansible removal for S3 Bucket

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 <an...@gmail.com>
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 <an...@gmail.com>
---
 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