Skip to content

Commit

Permalink
Fixes redshift restore not using number_of_nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Lacroix committed Jun 4, 2020
1 parent 47a7974 commit 8a81861
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions aws/resource_aws_redshift_cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -368,6 +368,7 @@ func resourceAwsRedshiftClusterCreate(d *schema.ResourceData, meta interface{})
NodeType: aws.String(d.Get("node_type").(string)),
PubliclyAccessible: aws.Bool(d.Get("publicly_accessible").(bool)),
AutomatedSnapshotRetentionPeriod: aws.Int64(int64(d.Get("automated_snapshot_retention_period").(int))),
NumberOfNodes: aws.Int64(int64(d.Get("number_of_nodes").(int))),
}

if v, ok := d.GetOk("owner_account"); ok {
Expand Down

0 comments on commit 8a81861

Please sign in to comment.