Merged
Conversation
added 2 commits
April 27, 2021 13:58
Do this before boto3 client is initialized so that we are sure to use the same region/bucket combination that is exposed on the resource/service level. Without this, we will often default to ‘us-east-1’ which may or may not be the correct region.
add wrapper.region_name for get_boto3_resource() move to aws and wrapper syntax which is clearer
jwalker-cb
added a commit
that referenced
this pull request
Mar 16, 2022
…rkflow Test automation updates SO MUCH POWER!!!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Set wrapper.region_name to be resource.s3_bucket_region.
Do this before boto3 client is initialized so that we are sure to use the same region/bucket combination that is exposed on the resource/service level.
Without this, we will often default to ‘us-east-1’ which may or may not be the correct region.
Development Prerequisites
Testing
Follow steps in https://cloudbolt.atlassian.net/browse/DEV-18680 .
For the BP with actions, use
aws_s3_bucket_content_dev.zip . This was got from
content-dev.cloudbolt.iousing Content Library. I had to curate this a bit since a number of other actions were included on account of Content Dev having many versions of the same action.This was exported from https://10.55.60.111 which should be accessible. See @Ignacious for login if needed.
Create/List/Delete should work without errors.