Skip to content

Commit c04df04

Browse files
aleksclarktoote
authored andcommitted
add documentation and correct a bug
1 parent ba4e939 commit c04df04

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,10 @@ Example: `"0/100"`
9999

100100
The region we deploy the ECS Service to.
101101

102+
### `env` (optional)
103+
104+
An array of environment variables to add to *every* image's task definition
105+
102106
## AWS Roles
103107

104108
At a minimum this plugin requires the following AWS permissions to be granted to the agent running this step:

hooks/command

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,6 @@ done
126126
## This adds the env vars to each container
127127
image_idx=0
128128
for image in "${images[@]}"; do
129-
container_definitions_json=$(echo "$container_definitions_json" | jq ".[${image_idx}].environment=[]"
130-
)
131129
for env_var in "${env_vars[@]}"; do
132130
# shellcheck disable=SC2206
133131
var_val=(${env_var//=/ })

0 commit comments

Comments
 (0)