github aws/copilot-cli v1.21.1
copilot-cli: Release v1.21.1

latest releases: v1.33.3, v1.33.2, v1.33.1...
20 months ago

🐛 Bug Fixes

  • Preserve existing service discovery endpoint (#3949)

    In the transition from env upgrade to env deploy, we lost the preservation of the ServiceDiscoveryEndpoint parameter and instead assumed the [app].[env].local format. However, environments that predated our v1.9.0 release have [app].local-formatted ServiceDiscoveryEndpoint parameters, and therefore were erroring out when updates were attempted. This fix preserves the existing value when env deploy is run.

  • Trigger EnvControllerAction custom resource whenever Copilot version updated (#3957)

    For users with internal ALBs, their backend service CloudFormation stacks rely on the environment stack for an Output, InternalWorkloadsHostedZone. After upgrading to v1.21.0, svc deploy failed for those users, as this Output was not being generated because nothing within the EnvController's properties had changed to trigger an execution. This fix ensures that the Lambda is triggered whenever the Copilot version is changed.

  • Ensure EnvManagerRole has permission to upload artifacts to S3 (#3956)

    By checking for the appropriate permissions and adding them if they're absent, Copilot makes sure the EnvManagerRole can push objects to S3, whether the environment was deployed in the same account as the application or not.

  • Give EnvManagerRole permission to --generate-cmd (#3942)

    Now that the EnvManagerRole session is executing the command generation when that flag is applied to task run, it needs the states:DescribeStateMachine permission to do so. This fix grants that permission.

Don't miss a new copilot-cli release

NewReleases is sending notifications on new releases.