Skip to content

Commit 1b9f116

Browse files
committed
removing print statements and testing terraform condition
1 parent dafdb7f commit 1b9f116

File tree

3 files changed

+1
-7
lines changed

3 files changed

+1
-7
lines changed

ansible/Makefile

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,6 @@ 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 RAW: use_ecs_tag='${use_ecs_tag}'"
47-
@echo "MAKE LENGTH: $${#use_ecs_tag}"
48-
@echo "MAKE BYTES: $(printf '%s' "${use_ecs_tag}" | hexdump -C)"
4946
@poetry run ansible-playbook -i local deploy-ecs-proxies.yml \
5047

5148
deploy-ecs-proxies-retag: guard-build_label guard-service_id guard-PROXY_VARS_FILE

ansible/deploy-ecs-proxies.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,6 @@
5151
set_fact:
5252
use_ecs_tag: "{{ use_ecs_tag | lower == 'true' }}"
5353

54-
- name: debug use_ecs_tag type
55-
debug:
56-
msg: "VALUEDEPLOYYAML={{ use_ecs_tag }} TYPE={{ use_ecs_tag | type_debug }}"
5754

5855
roles:
5956
- setup-facts

ansible/roles/deploy-ecs-proxies/templates/terraform/locals.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ ecs_service = [
5151
+ service_id + '_' + container.name
5252
+ (
5353
":ecs-" + build_label
54-
if use_ecs_tag and container.name == "canary-api"
54+
if use_ecs_tag and container.name == "cnary-api"
5555
else ":" + build_label
5656
)
5757
)

0 commit comments

Comments
 (0)