⚡️ Features and Enhancements
- Pipeline CloudFormation template overrides (#5034)
Copilot pipelines are much more nimble and extensible with CDK and YAML path overrides with
copilot pipeline override
! This feature provides a safe and easy way to modify your pipeline's CloudFormation template.
A new--diff
flag forcopilot pipeline deploy
enables you to preview changes to your CloudFormation template. (#4991)
See the blogpost for more. - Static Site enhancements
- For more dynamic development, Copilot will now invalidate the CloudFront edge cache each time you redeploy a Static Site workload, enabling you to see and deliver your updated content right away. (#5035)
copilot svc show
for Static Site workloads includes a tree representation of your S3 bucket's contents. (#4966)
View sample output
Service name: static-site About Application my-app Name static-site Type Static Site Routes Environment URL ----------- --- test https://d399t9j1xbplme.cloudfront.net/ S3 Bucket Objects Environment test . ├── ReadMe.md ├── error.html ├── index.html ├── Images │ ├── SomeImage.PNG │ └── AnotherImage.PNG ├── css │ ├── Style.css │ ├── all.min.css │ └── bootstrap.min.css └── images └── bg-masthead.jpg
copilot svc status
for Static Site workloads includes the S3 bucket's object count and total size. (#4985)
- Prevent clashes between Copilot versions by disallowing downgrading (unless explicitly enabled with the new
--allow-downgrade
flag forinit
,deploy
, andpackage
commands) (#5064) - Support Yarn for CDK overrides (#5076)
- Enable interpolation of lists of strings in Copilot manifests (#4993)
- Allow passing an existing permissions boundary's ARN when running
copilot app init
(as an alternative to the permissions boundary name (#4981) - Recommend splitting domains/conditions into different listener rules if the quota (five per rule) is detected. (#4961)
🐛 Bug Fixes
copilot svc package
now applies overrides for Static Site workload types (#4952)- prevent exceeding CloudWatch Logs Resource Policy size when running
copilot job logs
by adding policies to each environment (#4979) - Static Site CloudFormation manifests quote aliases so asterisks render properly in CloudFormation templates (#5003)
- Distinguish between active and non-active ECS clusters to avoid clashes (#5062)
❤️ Contributions
Thank you, contributors 🥰!