diff --git a/changelogs/fragments/1797-s3-acls.yml b/changelogs/fragments/1797-s3-acls.yml new file mode 100644 index 00000000000..15d0cd14ec0 --- /dev/null +++ b/changelogs/fragments/1797-s3-acls.yml @@ -0,0 +1,3 @@ +trivial: +- s3_sync - fix tests broken by AWS changing default permissions +- s3_logging - fix tests broken by AWS changing default permissions diff --git a/tests/integration/targets/s3_logging/tasks/main.yml b/tests/integration/targets/s3_logging/tasks/main.yml index 269923237c6..f6c9a1710f1 100644 --- a/tests/integration/targets/s3_logging/tasks/main.yml +++ b/tests/integration/targets/s3_logging/tasks/main.yml @@ -46,6 +46,7 @@ s3_bucket: state: present name: '{{ log_bucket_1 }}' + object_ownership: BucketOwnerPreferred register: output - assert: that: @@ -56,6 +57,7 @@ s3_bucket: state: present name: '{{ log_bucket_2 }}' + object_ownership: BucketOwnerPreferred register: output - assert: that: diff --git a/tests/integration/targets/s3_sync/tasks/main.yml b/tests/integration/targets/s3_sync/tasks/main.yml index 02411841805..08496cd74a6 100644 --- a/tests/integration/targets/s3_sync/tasks/main.yml +++ b/tests/integration/targets/s3_sync/tasks/main.yml @@ -15,6 +15,9 @@ s3_bucket: name: "{{ test_bucket }}" state: present + public_access: + block_public_acls: false + object_ownership: BucketOwnerPreferred register: output - assert: