added explanation about the necessary role for the function and clarification of the use of credentials in localstack

This commit is contained in:
Sebastian Rieger
2022-06-22 16:28:10 +02:00
parent a39227feea
commit 20f012a42d
5 changed files with 32 additions and 29 deletions

View File

@ -10,13 +10,8 @@ from botocore.exceptions import ClientError
endpoint_url = "http://localhost.localstack.cloud:4566"
# you need to create a bucket in S3, here in this demo it is called "cloudcomp-counter", but
# bucket names need to be world wide unique ;) The demo looks for a file that is named
# "us-east-1" (same as our default region) in the bucket and expects a number in it to increase
groupNr = 22
currentYear = date.today().year
globallyUniqueS3GroupBucketName = "cloudcomp-counter-" + str(currentYear) + "-group" + str(groupNr)
# region = 'eu-central-1'