Skip to content

Commit 45fc595

Browse files
committed
final terraform and ansible ecs update to use_ecs_tag lowercase
1 parent e051f41 commit 45fc595

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

ansible/deploy-ecs-proxies.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
SOURCE_COMMIT_ID: "{{ lookup('env', 'SOURCE_COMMIT_ID') }}"
1616
apigee_uri: "https://{{ APIGEE_HOSTNAME }}"
1717
aws_profile: "deploy-{{ APIGEE_ENVIRONMENT | lower }}-{{ service_id }}"
18-
use_ecs_tag: "{{ lookup('env','use_ecs_tag') | default('false') }}"
18+
1919

2020
pre_tasks:
2121

@@ -43,13 +43,18 @@
4343
include_vars:
4444
file: "{{ lookup('env', 'PROXY_VARS_FILE') | expandvars | expanduser | realpath }}"
4545

46+
- name: load use_ecs_tag from environment
47+
set_fact:
48+
use_ecs_tag: "{{ lookup('env','use_ecs_tag') | default('false') }}"
49+
4650
- name: normalise use_ecs_tag to boolean
4751
set_fact:
4852
use_ecs_tag: "{{ use_ecs_tag | lower == 'true' }}"
4953

50-
- name: debug use_ecs_tag
54+
- name: debug use_ecs_tag type
5155
debug:
52-
msg: "ANSIBLE DEBUG: use_ecs_tag = {{ use_ecs_tag }}"
56+
msg: "VALUEDEPLOYYAML={{ use_ecs_tag }} TYPE={{ use_ecs_tag | type_debug }}"
57+
5358

5459
roles:
5560
- setup-facts

0 commit comments

Comments
 (0)