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

Allow updating gateway ACM certificate #1266

Open
r4victor opened this issue May 23, 2024 · 1 comment
Open

Allow updating gateway ACM certificate #1266

r4victor opened this issue May 23, 2024 · 1 comment

Comments

@r4victor
Copy link
Collaborator

#1264 added support for gateways with ACM certificates. Since ACM certificates are not renewed by dstack automatically, users should be able to update them in the gateway configuration. This should be as easy as specifying a new ARN in the configuration and running dstack apply. dstack apply should detect that the certificate has changed and update it.

Implementation details:

AWSCompute will likely get a special method for updating the ACM certificate on the gateway. It can be done by updating the listener:

response = elb_client.modify_listener(
        ListenerArn=listener_arn,
        Certificates=[
            {
                'CertificateArn': new_certificate_arn
            }
        ]
    )
@peterschmidt85
Copy link
Contributor

This issue is stale because it has been open for 30 days with no activity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants