Skip to content

copilot 1.8: variables and secrets in environments section of manifest not populated from pipeline #2474

@sugarjig

Description

@sugarjig

I just upgraded to Copilot 1.8. I have a pipeline that deploys three services. I just noticed that when the pipeline deployed the services after the upgrade, any variables or secrets defined in the environments section of the service's manifest no longer have their values populated in the running containers. In my case, these are things like the DB host and DB password, which differ between environments. The result is that the application is no longer connected to the database.

Any variables or secrets that are not defined in environments are still populated. Also, any secrets created by addon outputs still have their values populated.

When I inspect the task definition in ECS, I can confirm that it no longer contains the variables and secrets that I am expecting, but it does contain the variables not in the environments section.

When I run copilot svc deploy from my workstation, all the values are populated as expected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/pipelineIssues about pipelines to release applications.type/bugIssues that are bugs.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions