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
Custom dns creation error: Unexpected key 'securityPolicy' found in params #245
Comments
@Dathin any new info here? my set-up was working with version 2.6.13 and after upgrading to 3.3.0, it doesn't work with the same error |
rolling back to version 3.2.7 did the job for me. there's something to fix in between |
Unfortunately there are no news, I'm waiting amplify team. I guess you could just use version 2.6.13 if it works for you. Just edit you package "devDependencies": {
"serverless-domain-manager": "2.6.13"
} |
I'll try |
I'm not sure if that's the problem, the message doesn't make sense. In create domain it set securityPolicy, but certificateArn is undefined
|
It works on version 2.6.13 the success logs are:
|
Ran into the same issue with 3.3.0, rolling back to 3.2.7 resolved the issue for me. |
Rolling back allowed me to deploy but its setting the TLS to 1.0 instead of 1.2 (I explicitly specified 1.2). |
Can we get an update on this issue? Neither |
It's working for me after I downgraded from 3.3.0 to 3.2.7.
|
Hi @Dathin, |
Hi everyone - we're not able to reproduce this issue on our end - setting the Is there anything else in your environments that could cause this to not work? Maybe something about the way your certs are setup? |
Here are my custom:
domain:
dev: XXX-dev-api.YYY.com
prod: XXX-api.YYY.com
customDomain:
domainName: '${self:custom.domain.${opt:stage, "dev"}}'
stage: '${opt:stage, "dev"}'
basePath: ''
certificateName: '*.YYY.com'
createRoute53Record: true
endpointType: edge
securityPolicy: tls_1_2 |
not related to the issue, but the base path needs to be
|
I also had to downgrade to 3.2.7 to make it work , my endpoint type was regional , region eu-west-1 |
Hey guys - Im still pretty stuck on this. Ive configured a cert in us-east-1 as the default EDGE type is the only way i got to this point. the lambda function itself will be deployed to eu-west-1. not sure if that would be an issue - but i would imagine not since the cert is purely for the cloudfront distribution. any updates or workarounds will be highly appreciated. note: above solutions of downgrading to 3.2.7 did not help unfortunately |
so it seems i had a globally installed version of sls (1.36.3) that was being used when i ran the when using |
I think this issue is related to the serverless version installed in my computer, not with the serverless-domain-manager plugin.
|
It's working on the latest version of serverless... I'm closing this issue.... |
Can't execute custom dns creation, it seems like it doesn't recognize the certificate. But i dont know
sls create_domain
Versions
already tried to remove securityPolice
The text was updated successfully, but these errors were encountered: