diff --git a/builtin/providers/aws/resource_aws_redshift_cluster.go b/builtin/providers/aws/resource_aws_redshift_cluster.go index 2c4604daf2..e9d4b2e1ee 100644 --- a/builtin/providers/aws/resource_aws_redshift_cluster.go +++ b/builtin/providers/aws/resource_aws_redshift_cluster.go @@ -277,7 +277,10 @@ 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))), - OwnerAccount: aws.String(d.Get("owner_account").(string)), + } + + if v, ok := d.GetOk("owner_account"); ok { + restoreOpts.OwnerAccount = aws.String(v.(string)) } if v, ok := d.GetOk("snapshot_cluster_identifier"); ok {