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

[Feature Request]: Make Pkg accessible to be used as a library

Open dgr237 opened this issue 1 year ago • 1 comments

Describe your idea/feature/enhancement

I wish Copilot would expose the internal as pkg so that I could build a client-server architecture.

Proposal

At present the bulk of the logic in copilot is inside an internal/pkg this effectively means that this code can only be used by the CLI. I am interested in building a managed service for enabling clients to invoke a webservice which would then provision an ECS Cluster and Service in their AWS Account (within the same AWS Org).

Additional Details

We have our own Certificate Authority (outside of AWS) which we need to use for provisioning Certificates used by the LoadBalancers, and also our own Image building and scanning infrastructure which we need to use. I would therefore like to build a custom workflow which would leverage the Copilot functionality for provisioning the AWS Infrastructure. We would also need to inject a validation stage which would validate that a valid change control ticket is open in ServiceNow before the request is executed.

dgr237 avatar Apr 25 '24 19:04 dgr237

@dgr237 love this, thanks for the feature request. @iamhopaul123 was actually thinking about something similar! Glad to see a user that resonates with this idea.

Lou1415926 avatar May 03 '24 17:05 Lou1415926