-
Notifications
You must be signed in to change notification settings - Fork 816
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
fix: update pinpoint regions #12379
fix: update pinpoint regions #12379
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we confirm this is backwards compatible, specially with customers trying to update their pinpoint resource, will it delete and recreate the resource in the us-east-2 region?
@Amplifiyer, from the standpoint of the pinpoint resource, we cannot update the existing one so a push will still keep the pinpoint resource from us-east-1 even after update, there are problems trying to add notifications channels as we use the mapping logic to build the pinpoint client instead of getting the region from the pinpoint resource which in turn fails with |
We should test and get this merged as well as part of this PR |
@@ -11,20 +11,32 @@ import { | |||
$TSMeta, | |||
AmplifyError, | |||
AmplifyFault, | |||
FeatureFlags, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CodeQL says it's unused.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
if (httpProxy) { | ||
aws.config.update({ | ||
httpOptions: { | ||
agent: proxyAgent(httpProxy), | ||
}, | ||
}); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you leave a comment here on why http proxy was provided by the user? Any reference to public documentation will help.
Description of changes
Checklist
yarn test
passesBy submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.