Skip to content

Conversation

@wvisser
Copy link

@wvisser wvisser commented Nov 8, 2021

No description provided.

Removed the nonsense at the top of the file
No real change this fixes the same bug as before
Refactored code clone out as a new method
Update InlineTaggingCodeSampleApp.java
AmazonEC2 ec2 = AmazonEC2ClientBuilder.standard()
.withCredentials(new AWSStaticCredentialsProvider(credentials))
.withRegion("us-west-2")
AmazonEC2 ec2 = AmazonEC2ClientBuilder.standard()
Copy link
Contributor

Choose a reason for hiding this comment

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

Recommendation generated by Amazon CodeGuru Reviewer. Leave feedback on this recommendation by replying to the comment or by reacting to the comment using emoji.

AWS Region is set using a String. To explicitly set a publicly available region, we recommend that you use the Regions enum.

Learn more

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.

2 participants