From 7e3e49565c29c3a2c18f8520cb70dc59a7fcffcb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gon=C3=A9ri=20Le=20Bouder?= Date: Mon, 28 Jun 2021 12:18:26 -0400 Subject: [PATCH] aws_s3_bucket_info/test: reduce the size of the bucket name This to avoid the following error: `the length of an S3 bucket cannot exceed 63 characters` --- .../targets/aws_s3_bucket_info/defaults/main.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/integration/targets/aws_s3_bucket_info/defaults/main.yml b/tests/integration/targets/aws_s3_bucket_info/defaults/main.yml index 4f4376a251c..a7fc5f66bc6 100644 --- a/tests/integration/targets/aws_s3_bucket_info/defaults/main.yml +++ b/tests/integration/targets/aws_s3_bucket_info/defaults/main.yml @@ -1,6 +1,6 @@ --- -name_pattern: "testbucket-ansible-integration" +name_pattern: "tb" testing_buckets: - - "{{ resource_prefix }}-{{ name_pattern }}-1" - - "{{ resource_prefix }}-{{ name_pattern }}-2" + - "{{ resource_prefix | hash('md5') }}-{{ name_pattern }}-1" + - "{{ resource_prefix | hash('md5') }}-{{ name_pattern }}-2"