Skip to content

Commit

Permalink
rds cluster resource was not setting engine_version for aurora postgr…
Browse files Browse the repository at this point in the history
…es clusters
  • Loading branch information
Miro Madecki committed Apr 10, 2018
1 parent ee95e93 commit 78c022d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions aws/resource_aws_rds_cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -460,6 +460,10 @@ func resourceAwsRDSClusterCreate(d *schema.ResourceData, meta interface{}) error
createOpts.DBClusterParameterGroupName = aws.String(attr.(string))
}

if attr, ok := d.GetOk("engine_version"); ok {
createOpts.EngineVersion = aws.String(attr.(string))
}

if attr := d.Get("vpc_security_group_ids").(*schema.Set); attr.Len() > 0 {
createOpts.VpcSecurityGroupIds = expandStringList(attr.List())
}
Expand Down

0 comments on commit 78c022d

Please sign in to comment.