Skip to content

Conversation

@zaro0508
Copy link
Contributor

@zaro0508 zaro0508 commented Oct 20, 2025

Allow users to boostrap and get started quicker by not requiring https by default. This will allow users to deploy this infra without having to create a certificate.

Allow users to boostrap and get started quicker by not requiring https
that way users aren't required to create a certificate just to deploy
this infra.
@zaro0508 zaro0508 requested review from a team as code owners October 20, 2025 16:24
@zaro0508 zaro0508 requested a review from Copilot October 20, 2025 18:00
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR makes HTTPS optional for the load balancer configuration, allowing users to deploy the infrastructure without requiring SSL certificates. This simplifies initial deployment and reduces the barrier to entry for getting started with the service.

Key changes:

  • Added enable_https parameter to control HTTPS listener creation
  • Made certificate_arn optional with a default value of None
  • Removed hardcoded certificate ARN from environment variables

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
src/service_stack.py Added optional HTTPS support with new enable_https parameter and conditional listener creation logic
app.py Removed hardcoded certificate ARN from environment variables and instantiation call

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

handle error when HTTPS is requested but no certificate ARN is provided.

Co-authored-by: Copilot <[email protected]>
@zaro0508 zaro0508 merged commit 7dcb580 into Sage-Bionetworks-IT:main Oct 21, 2025
4 checks passed
zaro0508 added a commit that referenced this pull request Oct 30, 2025
Use the AWS CDK built in context loader[1] and allow storing and loading configurations from files.

[1] https://docs.aws.amazon.com/cdk/v2/guide/context.html

depends on #25
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

Successfully merging this pull request may close these issues.

2 participants