Skip to content

Expose COPILOT_DOCKER_VERSION as predefined variable for task #5169

Open
@AlexeiZenin

Description

I am trying to add DD_VERSION to my task in AWS Copilot as outlined here: https://docs.datadoghq.com/tracing/trace_collection/dd_libraries/java/?tab=containers. This allows me to track errors/requests between versions on my dashboards, something that is critical for PROD deploys.

I don't see an existing way to set the DD_VERSION as an environment variable for my ECS Fargate task where the value is set to the tag of the the image for the service deploy.

Can this be done in some other way or does this functionality need to be added?

I am looking to be able to do something like this:

variables:
  DD_VERSION: ${COPILOT_DOCKER_VERSION}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    size/SWe should be able to deliver roughly 2 small issues in a sprint.type/featureIssues that are new feature requests.type/requestIssues that are created by customers.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions