From 7d9608206895ff792f97e552b2fae940ac752c7f Mon Sep 17 00:00:00 2001 From: Timur Alperovich Date: Fri, 19 Jul 2013 22:00:00 -0700 Subject: [PATCH] [aws|rds]: PubliclyAccessible is boolean. The PubliclyAccessible attribute for the AWS::RDS::Server should be parsed as a boolean (similarly to MultiAZ). --- lib/fog/aws/parsers/rds/db_parser.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/fog/aws/parsers/rds/db_parser.rb b/lib/fog/aws/parsers/rds/db_parser.rb index 1d287582b..0ed3ba3c1 100644 --- a/lib/fog/aws/parsers/rds/db_parser.rb +++ b/lib/fog/aws/parsers/rds/db_parser.rb @@ -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