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

latest releases: v1.34.0, v1.33.4, v1.33.3...
2 years ago

⚡️ Features and enhancements

  • Enable Network Load Balancer (#3142)

    You can enable Network Load Balancer for your Load-Balanced Web Service simply by adding nlb to your manifest, for example:

    nlb:
       port: 80/tcp # or tls

    You can then access your service through Network Load Balancer via its DNS name.

    Expand for additional NLB configuration

    If your application is associated with a domain, then Copilot will give your service a default alias of <service>-nlb.<environment>.<app>.<domain>. Similar to today's http field, you can take advantage of the alias field to change this behavior:

    nlb:
        port: 80/tcp
        alias: ["example.com", "v1.example.com"]

    In this way, your service will be accessible through "example.com:80" and "v1.example.com:80" with tcp protocol.

    Moreover, you can also enable TLS termination by

    nlb:
       port: 443/tls

    It is also possible to use only the Network Load Balancer - without the Application Load Balancer - for your Load-Balanced Web Service:

      http: false
      
      nlb:
         port: 80/tcp
  • Support external files for environment variables (#3138)

    More efficiently use and reuse multiple env vars by keeping them in a .env file. In your workload manifest:

    env_file: <path>

    You can specify different env vars per environment with env overrides:

    env_file: <test path>
    environment:
      prod:
        env_file: <prod path>
  • Provide the option to use CloudWatch Container Insights (#3126)

    When creating a new environment, use the new --container-insights flag to collect those metrics:
    copilot env init --container-insights

  • Check if associated domains are not registered with Route 53 and recommend actions accordingly (#3081)

  • Allow more than two availability zones when configuring the default environment in copilot env init (#3131)

  • Rename pipeline update to pipeline deploy (#3154)

🐛 Bug Fixes

  • Error out when trying to initialize preexisting environments (#3088) or services/jobs (#3116)
  • Enable the --force flag with copilot svc deploy when Auto Scaling is set (#3127)
  • Detect ARM-based CodeBuild images in the pipeline manifest and automatically change the build environment type (#3190)
  • Exit the pipeline build stage if workload manifests don't pass validations (#3080)

❤️ Contributions

Thank you, contributors!

Don't miss a new copilot-cli release

NewReleases is sending notifications on new releases.