Closed jianzs closed 3 months ago
Latest commit: d32f9f04e93bf84a871901df2f8e655fb1bdd8c8
The changes in this PR will be included in the next version bump.
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR
The previous AWS queue resource type implementation required the
AWS_ACCOUNT_ID
environment variable to be set by the runtime handler. The setting only occurred upon receiving a request, causing a panic if the queue resource type was used globally without theAWS_ACCOUNT_ID
being set.This commit eliminates the need for runtime setting of
AWS_ACCOUNT_ID
by utilizing thests.GetCallerIdentity
API to retrieve the account ID.1. Does this PR affect any open issues?(Y/N) and add issue references (e.g. "fix #123", "re #123".):
2. What is the scope of this PR (e.g. component or file name):
3. Provide a description of the PR(e.g. more details, effects, motivations or doc link):
4. Are there any breaking changes?(Y/N) and describe the breaking changes(e.g. more details, motivations or doc link):
5. Are there test cases for these changes?(Y/N) select and add more details, references or doc links: