Merge pull request #3 from behanceops/more-rds2-support

fix: put db name in quotes, if present.
This commit is contained in:
mfulleratlassian 2015-02-17 07:03:20 +11:00
commit 9d0932bc23

View File

@ -165,7 +165,7 @@ class Database(object):
"DBInstanceClass": "{{ database.db_instance_class }}",
"DBInstanceIdentifier": "{{ database.db_instance_identifier }}",
"DBInstanceStatus": "{{ database.status }}",
"DBName": {%- if database.db_name -%}{{ database.db_name }}{%- else %} null{%- endif -%},
"DBName": {%- if database.db_name -%}"{{ database.db_name }}"{%- else %} null{%- endif -%},
{% if database.db_parameter_group_name -%}"DBParameterGroups": {
"DBParameterGroup": {
"ParameterApplyStatus": "in-sync",