copilot-cli icon indicating copy to clipboard operation
copilot-cli copied to clipboard

Enabling Mutual Authentication (mTLS) for a Load Balanced Web Service

Open mackinleysmith opened this issue 11 months ago • 0 comments

Hi there! I am having a hard time figuring out how I might enable this setting for my Load Balanced Web Service:

Image

I found this similar issue, and tried to follow along with the suggestion to use a yamlpatch, but unfortunately, the resource that I need to set my override on (the AWS::ElasticLoadBalancingV2::Listener) is actually not named explicitly in the CloudFormation yaml config that is spit out by copilot svc package. I have a AWS::ElasticLoadBalancingV2::ListenerRule, but no AWS::ElasticLoadBalancingV2::Listener -- this seems to be getting dynamically generated by the EnvControllerAction and so far I have not been able to figure out a way to patch it.

For the time being, I can just override this setting manually in the UI, but I'm worried about that being a bit to ephemeral for the long term -- both in terms of resiliency to re-deploys, and also tribal knowledge.

Any suggestions?

mackinleysmith avatar Mar 03 '25 22:03 mackinleysmith