mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
Merge pull request #2126 from sugarb/aws_ec_cluster_create_with_pg
Fix parameter group assignment when creating AWS::Elasticache clusters
This commit is contained in:
commit
9625da11ff
1 changed files with 3 additions and 1 deletions
|
@ -29,6 +29,8 @@ module Fog
|
|||
attribute :notification_config,
|
||||
:aliases => 'NotificationConfiguration', :type => :hash
|
||||
|
||||
attr_accessor :parameter_group_name
|
||||
|
||||
def ready?
|
||||
status == 'available'
|
||||
end
|
||||
|
@ -57,7 +59,7 @@ module Fog
|
|||
:port => port,
|
||||
:preferred_availablility_zone => zone,
|
||||
:preferred_maintenance_window => maintenance_window,
|
||||
:parameter_group_name => parameter_group['CacheParameterGroupName'],
|
||||
:parameter_group_name => parameter_group_name || parameter_group['CacheParameterGroupName'],
|
||||
}
|
||||
)
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue