2019-04-23 17:02:33 -07:00
|
|
|
prefix = "{{ prefix }}"
|
|
|
|
key_name = "{{ ec2_ssh_key_name }}"
|
|
|
|
key_content = "{{ ec2_ssh_key_content }}"
|
|
|
|
vpc_cidr = "{{ vpc_cidr }}"
|
|
|
|
public_subnet_cidr = "{{ public_subnet_cidr }}"
|
|
|
|
db_subnet_cidr = "{{ db_subnet_cidr }}"
|
|
|
|
dns_zone_name = "{{ dns_zone_name }}"
|
|
|
|
instance_type = "{{ instance_type }}"
|
|
|
|
root_block_size = "{{ root_block_size }}"
|
2019-02-23 09:23:41 -08:00
|
|
|
|
2019-04-17 07:15:45 -07:00
|
|
|
pool_size = {
|
|
|
|
{% for key, value in chain_custom_environment.iteritems() %}
|
2019-04-24 04:30:29 -07:00
|
|
|
{{ key }}="{{ value['POOL_SIZE']|default('30') }}"{% if not loop.last %},{% endif %}
|
2019-03-05 13:54:43 -08:00
|
|
|
{% endfor %}
|
|
|
|
}
|
|
|
|
|
2019-04-17 07:15:45 -07:00
|
|
|
secret_key_base = {
|
|
|
|
{% for key, value in chain_custom_environment.iteritems() %}
|
2019-04-24 04:30:29 -07:00
|
|
|
{{ key }}="{{ value['SECRET_KEY_BASE']|default('TPGMvGK0iIwlXBQuQDA5KRqk77VETbEBlG4gAWeb93TvBsYAjvoAvdODMd6ZeguPwf2YTRY3n7uvxXzQP4WayQ==') }}"{% if not loop.last %},{% endif %}
|
2019-03-05 13:54:43 -08:00
|
|
|
{% endfor %}
|
|
|
|
}
|
|
|
|
|
2019-04-17 07:15:45 -07:00
|
|
|
use_ssl = {
|
|
|
|
{% for key, value in chain_custom_environment.iteritems() %}
|
2019-04-24 04:30:29 -07:00
|
|
|
{{ key }}="{{ value['ECTO_USE_SSL']|default('false') }}"{% if not loop.last %},{% endif %}
|
2019-03-05 13:54:43 -08:00
|
|
|
{% endfor %}
|
|
|
|
}
|
|
|
|
|
2019-04-23 17:02:33 -07:00
|
|
|
|
2019-04-18 12:12:11 -07:00
|
|
|
alb_ssl_policy = {
|
|
|
|
{% for key, value in chain_custom_environment.iteritems() %}
|
2019-04-23 17:02:33 -07:00
|
|
|
{{ key }}="{{ value['ALB_SSL_POLICY']|default('') }}"{% if not loop.last %},{% endif %}
|
2019-04-18 12:12:11 -07:00
|
|
|
{% endfor %}
|
|
|
|
}
|
|
|
|
|
|
|
|
alb_certificate_arn = {
|
|
|
|
{% for key, value in chain_custom_environment.iteritems() %}
|
2019-04-23 17:02:33 -07:00
|
|
|
{{ key }}="{{ value['ALB_CERTIFICATE_ARN']|default('') }}"{% if not loop.last %},{% endif %}
|
2019-04-18 12:12:11 -07:00
|
|
|
{% endfor %}
|
|
|
|
}
|
|
|
|
|
2019-04-17 07:15:45 -07:00
|
|
|
chains = [
|
2019-04-18 07:12:21 -07:00
|
|
|
{% for key,value in chain_custom_environment.iteritems() %}
|
|
|
|
"{{ key }}"{% if not loop.last %},{% endif %}
|
2019-03-05 13:54:43 -08:00
|
|
|
{% endfor %}
|
2019-04-17 07:15:45 -07:00
|
|
|
]
|
2019-03-05 13:54:43 -08:00
|
|
|
|
|
|
|
chain_db_id = {
|
|
|
|
{% for key, value in chain_db_id.iteritems() %}
|
|
|
|
{{ key }} = "{{ value }}"{% if not loop.last %},{% endif %}
|
|
|
|
{% endfor %}
|
|
|
|
}
|
|
|
|
|
|
|
|
chain_db_name = {
|
|
|
|
{% for key, value in chain_db_name.iteritems() %}
|
|
|
|
{{ key }} = "{{ value }}"{% if not loop.last %},{% endif %}
|
|
|
|
{% endfor %}
|
|
|
|
}
|
|
|
|
|
|
|
|
chain_db_username = {
|
|
|
|
{% for key, value in chain_db_username.iteritems() %}
|
|
|
|
{{ key }} = "{{ value }}"{% if not loop.last %},{% endif %}
|
|
|
|
{% endfor %}
|
|
|
|
}
|
|
|
|
|
|
|
|
chain_db_password = {
|
|
|
|
{% for key, value in chain_db_password.iteritems() %}
|
|
|
|
{{ key }} = "{{ value }}"{% if not loop.last %},{% endif %}
|
|
|
|
{% endfor %}
|
|
|
|
}
|
|
|
|
|
|
|
|
chain_db_instance_class = {
|
|
|
|
{% for key, value in chain_db_instance_class.iteritems() %}
|
|
|
|
{{ key }} = "{{ value }}"{% if not loop.last %},{% endif %}
|
|
|
|
{% endfor %}
|
|
|
|
}
|
|
|
|
|
|
|
|
chain_db_storage = {
|
|
|
|
{% for key, value in chain_db_storage.iteritems() %}
|
|
|
|
{{ key }} = "{{ value }}"{% if not loop.last %},{% endif %}
|
|
|
|
{% endfor %}
|
|
|
|
}
|
|
|
|
|
|
|
|
chain_db_storage_type = {
|
|
|
|
{% for key, value in chain_db_storage_type.iteritems() %}
|
|
|
|
{{ key }} = "{{ value }}"{% if not loop.last %},{% endif %}
|
|
|
|
{% endfor %}
|
|
|
|
}
|
2019-02-23 09:23:41 -08:00
|
|
|
|
2019-03-14 07:42:30 -07:00
|
|
|
chain_db_iops = {
|
2019-04-03 04:36:45 -07:00
|
|
|
{% for key, value in db_iops.iteritems() %}
|
2019-03-14 07:42:30 -07:00
|
|
|
{{ key }} = "{{ value }}"{% if not loop.last %},{% endif %}
|
|
|
|
{% endfor %}
|
|
|
|
}
|
|
|
|
|
2019-03-05 13:54:43 -08:00
|
|
|
chain_db_version = {
|
|
|
|
{% for key, value in chain_db_version.iteritems() %}
|
|
|
|
{{ key }} = "{{ value }}"{% if not loop.last %},{% endif %}
|
|
|
|
{% endfor %}
|
|
|
|
}
|