Skip to content

Commit f843dc0

Browse files
committed
terraform ecs tag add variable
1 parent 8b96b99 commit f843dc0

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

ansible/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ create-build-env-vars: guard-build_label guard-out_dir
4343
@poetry run ansible-playbook -i local create-build-env-vars.yml
4444

4545
deploy-ecs-proxies: guard-account guard-build_label guard-service_id guard-APIGEE_ENVIRONMENT guard-PROXY_VARS_FILE
46+
@echo "MAKE DEBUG: use_ecs_tag=${use_ecs_tag}"
4647
@poetry run ansible-playbook -i local deploy-ecs-proxies.yml \
4748
-e "use_ecs_tag=${use_ecs_tag}"
4849

ansible/deploy-ecs-proxies.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,10 @@
4444
include_vars:
4545
file: "{{ lookup('env', 'PROXY_VARS_FILE') | expandvars | expanduser | realpath }}"
4646

47+
- name: debug use_ecs_tag
48+
debug:
49+
msg: "ANSIBLE DEBUG: use_ecs_tag = {{ use_ecs_tag }}"
50+
4751
roles:
4852
- setup-facts
4953
- deploy-ecs-proxies

azure/templates/deploy-service.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,7 @@ steps:
259259
RELEASE_RELEASEID="$(Build.BuildId)" \
260260
SERVICE_BASE_PATH=${{ parameters.service_base_path }} \
261261
APIGEE_ENVIRONMENT=${{ parameters.apigee_environment }} \
262+
TF_VAR_use_ecs_tag="${TF_VAR_use_ecs_tag}" \
262263
make --no-print-directory -C $(UTILS_DIR)/ansible deploy-ecs-proxies
263264
264265
displayName: Deploy ECS proxies

0 commit comments

Comments
 (0)