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:05 UTC

[camel-kamelets] 01/01: 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 aws-s3-removal
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit fa4fcc063c175776ea93765c091fee9292c6aef9
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