Closed brivu closed 2 years ago
@brivu Where do I have to set this value ${EPHEMERAL_STORAGE}? I have a pipeline which first creates a task-def using terraform and the circleci-orb ECS deploys that. But I am still seeing ephemeralStorage value is getting dropped.
I am using provider 4.23.0 and circleci or aws-ecs@3.2.0
When updating a task definition that includes
ephemeralStorage
and then runningupdate-service
command, theephemeralStorage
information gets dropped.This PR addresses the issue by extracting the
ephemeralStorage
value usingjq
and exporting to the environment variableCCI_ORB_AWS_ECS_EPHEMERAL_STORAGE
. The variable is then available for use in theupdate-service
command.