lib/aws-sdk-rds/resource.rb in aws-sdk-rds-1.238.0 vs lib/aws-sdk-rds/resource.rb in aws-sdk-rds-1.239.0
- old
+ new
@@ -954,10 +954,10 @@
def create_db_cluster(options = {})
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
@client.create_db_cluster(options)
end
DBCluster.new(
- id: options[:db_cluster][:db_cluster_identifier],
+ id: resp.data.db_cluster.db_cluster_identifier,
data: resp.data.db_cluster,
client: @client
)
end