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

Plugin does not work with GovCloud #15

Open
jamestenglish opened this issue Nov 25, 2020 · 0 comments
Open

Plugin does not work with GovCloud #15

jamestenglish opened this issue Nov 25, 2020 · 0 comments

Comments

@jamestenglish
Copy link

Deploying into an AWS Govcloud account gives the following error:

ServerlessError: An error occurred: CustomApiGatewayBasePathMappingRole - Partition "aws" is not valid for resource "arn:aws:logs:us-gov-west-1:XXXXXXX:log-group:*:". (Service: AmazonIdentityManagement; Status Code: 400; Error Code: MalformedPolicyDocument; Request ID: XXXXXXX; Proxy: null).

GovCloud does not use :aws: as a partition but instead uses :aws-us-gov:

https://github.com/dougmoscrop/serverless-plugin-custom-domain/blob/master/custom-domain.js#L74

The partition can be looked up by cloudformation: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/pseudo-parameter-reference.html

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

No branches or pull requests

1 participant