Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Corrects the S3SinkStack for AWS testing #4913

Merged
merged 2 commits into from
Sep 4, 2024

Conversation

dlvenable
Copy link
Member

@dlvenable dlvenable commented Sep 4, 2024

Description

The S3SinkStack was not in use and didn't quite work. This corrects it so that we can use it to automate the tests for the S3 sink in GitHub.

export AWS_REGION=us-east-2
cdk deploy --all --context dataPrepperOrganization=MYORG --context gitHubOidcProviderExists=true

Then test:

./gradlew :data-prepper-plugins:s3-sink:integrationTest -Dtests.s3sink.region=us-east-2 -Dtests.s3sink.bucket=s3sinkstack-s3sinkbucketUUID

Issues Resolved

N/A

Check List

  • New functionality includes testing.
  • New functionality has a documentation issue. Please link to it in this PR.
    • New functionality has javadoc added
  • Commits are signed with a real name per the DCO

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

The S3SinkStack was not in use and didn't quite work. This corrects it so that we can use it to automate the tests for the S3 sink in GitHub.

Signed-off-by: David Venable <[email protected]>
chenqi0805
chenqi0805 previously approved these changes Sep 4, 2024
Copy link
Collaborator

@chenqi0805 chenqi0805 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM except for the style issue. Thanks for the fix.

Signed-off-by: David Venable <[email protected]>
@dlvenable dlvenable merged commit 608fd15 into opensearch-project:main Sep 4, 2024
45 of 48 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants