Skip to content

Commit

Permalink
Add acl for zip file upload to s3
Browse files Browse the repository at this point in the history
  • Loading branch information
ranbeersingh1 committed Nov 18, 2024
1 parent f64646b commit fcdd756
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
- name: Upload to s3 bucket the zip file
delegate_to: localhost
become: no
shell: aws s3 cp {{ audit_dir }}/{{ ansible_date_time.date }}/{{ audit_zip_file }} s3://{{ dependencies_bucket.name }}/{{ audit_output }}/{{ audit_zip_file }} {{ general_kms_key_option }}
shell: aws s3 cp {{ audit_dir }}/{{ ansible_date_time.date }}/{{ audit_zip_file }} s3://{{ dependencies_bucket.name }}/{{ audit_output }}/{{ audit_zip_file }} --acl bucket-owner-full-control {{ general_kms_key_option }}

- name: INFORMATION
debug:
Expand Down

0 comments on commit fcdd756

Please sign in to comment.