1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

[aws|rds]: PubliclyAccessible is boolean.

The PubliclyAccessible attribute for the AWS::RDS::Server should be
parsed as a boolean (similarly to MultiAZ).
This commit is contained in:
Timur Alperovich 2013-07-19 22:00:00 -07:00
parent aa1847e7d2
commit 7d96082068

View file

@ -47,9 +47,9 @@ module Fog
'DBInstanceStatus', 'DBInstanceIdentifier', 'EngineVersion',
'PreferredBackupWindow', 'PreferredMaintenanceWindow',
'AvailabilityZone', 'MasterUsername', 'DBName', 'LicenseModel',
'DBSubnetGroupName', 'PubliclyAccessible'
'DBSubnetGroupName'
@db_instance[name] = value
when 'MultiAZ', 'AutoMinorVersionUpgrade'
when 'MultiAZ', 'AutoMinorVersionUpgrade', 'PubliclyAccessible'
if value == 'false'
@db_instance[name] = false
else