-
Notifications
You must be signed in to change notification settings - Fork 23
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
How to get the Cert ARN in order to reuse it later #4
Comments
Maybe on the CLI the ARN should be printed out even if you rerun the create-cert, right now it is only displayed once. |
If it is not possible to reference the arn from the plugin in the serverless.yml, then there could be a new command added acm-cert-arn: arn:aws:acm:us-east-1:16dxxxxxxx Then in the AcmCertificateArn: ${file(../cert-info.yml):acm-cert-arn} |
This might not be the optimal format, but one thing that works out of the box is: serverless info > cert-info You will have to parse the file, but that can help you move on. |
Thx for the tip, this is a good workaround.
|
ther arn of the certificate is now also written to the console even if it has already been created
finally got around to implement your suggestions. you can now add a setting to the plugin configuration in serverless.yml "writeCertInfoToFile". If set to true a file called cert-info.yml will be created, default is false |
I need to get the ARN of the Generated Cert. I see it in the console but I would like to be able to feed the ARN into
AWS::CloudFront::Distribution
Is there a way how this can be looked up?
The text was updated successfully, but these errors were encountered: