Skip to content

Commit

Permalink
Quote everything, like the docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
robert-de-bock committed Feb 2, 2024
1 parent 2d33c4f commit f549e56
Showing 1 changed file with 19 additions and 22 deletions.
41 changes: 19 additions & 22 deletions templates/docker-compose.env.j2
Original file line number Diff line number Diff line change
@@ -1,31 +1,28 @@
{{ ansible_managed | comment }}

# This file contains all specific information that Terraform Enterprise
# needs to run.

# Terraform Enterprise settings.
TFE_IMAGE = {{ tfe_image }}
TFE_LICENSE = {{ tfe_license }}
TFE_HOSTNAME = {{ tfe_hostname }}
TFE_ENCRYPTION_PASSWORD = {{ tfe_encryption_password }}
TFE_IACT_SUBNETS = {{ tfe_iact_subnets | join(",") }}
TFE_IMAGE = "{{ tfe_image }}"
TFE_LICENSE = "{{ tfe_license }}"
TFE_HOSTNAME = "{{ tfe_hostname }}"
TFE_ENCRYPTION_PASSWORD = "{{ tfe_encryption_password }}"
TFE_IACT_SUBNETS = "{{ tfe_iact_subnets | join(',') }}"

# Database settings.
TFE_DATABASE_HOST = {{ tfe_database_host }}
TFE_DATABASE_USER = {{ tfe_database_user }}
TFE_DATABASE_PASSWORD = {{ tfe_database_password }}
TFE_DATABASE_NAME = {{ tfe_database_name }}
TFE_DATABASE_PARAMETERS = {{ tfe_database_parameters }}
TFE_DATABASE_HOST = "{{ tfe_database_host }}"
TFE_DATABASE_USER = "{{ tfe_database_user }}"
TFE_DATABASE_PASSWORD = "{{ tfe_database_password }}"
TFE_DATABASE_NAME = "{{ tfe_database_name }}"
TFE_DATABASE_PARAMETERS = "{{ tfe_database_parameters }}"

# Object storage settings.
TFE_OBJECT_STORAGE_S3_BUCKET = {{ tfe_object_storage_s3_bucket }}
TFE_OBJECT_STORAGE_S3_ACCESS_KEY_ID = {{ tfe_object_storage_s3_access_key_id }}
TFE_OBJECT_STORAGE_S3_SECRET_ACCESS_KEY = {{ tfe_object_storage_s3_secret_access_key }}
TFE_OBJECT_STORAGE_S3_REGION = {{ tfe_object_storage_s3_region }}
TFE_OBJECT_STORAGE_S3_BUCKET = "{{ tfe_object_storage_s3_bucket }}"
TFE_OBJECT_STORAGE_S3_ACCESS_KEY_ID = "{{ tfe_object_storage_s3_access_key_id }}"
TFE_OBJECT_STORAGE_S3_SECRET_ACCESS_KEY = "{{ tfe_object_storage_s3_secret_access_key }}"
TFE_OBJECT_STORAGE_S3_REGION = "{{ tfe_object_storage_s3_region }}"

# Redis settings.
TFE_REDIS_HOST = {{ tfe_redis_host }}
TFE_REDIS_USER = {{ tfe_redis_user }}
TFE_REDIS_PASSWORD = {{ tfe_redis_password }}
TFE_REDIS_USE_TLS = {{ tfe_redis_use_tls | ternary("true", "false") }}
TFE_REDIS_USE_AUTH = {{ tfe_redis_use_auth | ternary("true", "false") }}
TFE_REDIS_HOST = "{{ tfe_redis_host }}"
TFE_REDIS_USER = "{{ tfe_redis_user }}"
TFE_REDIS_PASSWORD = "{{ tfe_redis_password }}"
TFE_REDIS_USE_TLS = "{{ tfe_redis_use_tls | ternary('true', "false") }}"
TFE_REDIS_USE_AUTH = "{{ tfe_redis_use_auth | ternary('true', 'false') }}"

0 comments on commit f549e56

Please sign in to comment.