Skip to content

Commit f93e8c9

Browse files
committed
ecr lifecycle file fixed file
1 parent f2e76cc commit f93e8c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ansible/roles/build-ecs-proxies/tasks/build-container.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
ansible.builtin.command: >
7878
{{ aws_cmd }} ecr put-lifecycle-policy
7979
--repository-name {{ service_id }}_{{ item }}
80-
--lifecycle-policy-text file://{{ playbook_dir }}/ecr-lifecycle/ecr_lifecycle.json
80+
--lifecycle-policy-text '{{ desired_policy_json | to_json }}'
8181
when:
8282
- existing_policy_json != desired_policy_json
8383

0 commit comments

Comments
 (0)