-
Notifications
You must be signed in to change notification settings - Fork 17
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
[CLOUD-616] Deploy to AWS Certificate Manager #169
base: master
Are you sure you want to change the base?
Conversation
fi | ||
aws_region=$(echo $certificate_arn | awk -F ":" '{ print $4}') | ||
_log_info "AWS: Importing to $certificate_arn - Region: $aws_region" | ||
aws --region ${aws_region} acm import-certificate \ |
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.
It this the only permissions we need to add to the instance profile then?
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.
I have them documented in the JIRA https://hopsworks.atlassian.net/browse/CLOUD-616?focusedCommentId=16139
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.
The process is not very straightforward but I explain why on my first comment
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.
aha, ok, but why do we need to provide the certificate_arn to start with it?
The [Amazon Resource Name (ARN)](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) of an imported certificate to replace. To import a new certificate, omit this field.
https://docs.aws.amazon.com/cli/latest/reference/acm/import-certificate.html
[CLOUD-616] Modifications to certificate deployment script and a dummy service to satisfy LB health check
aws --region ${aws_region} acm import-certificate \ | ||
--certificate-arn ${certificate_arn} \ | ||
--certificate fileb://${working_dir}/cert.pem \ | ||
--private-key fileb://${working_dir}/privkey.pem |
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.
before i forget it, we need to set the certificate-chain as well
CLOUD-616 Modifications to certificate deployment script and a dummy service to satisfy LB health check