Skip to content

Commit d34e832

Browse files
authored
fix: Master username when specifying snapshot identifier (#70)
1 parent 0e6da86 commit d34e832

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ resource "aws_redshift_cluster" "this" {
6060
maintenance_track_name = var.maintenance_track_name
6161
manual_snapshot_retention_period = var.manual_snapshot_retention_period
6262
master_password = var.snapshot_identifier != null ? null : local.master_password
63-
master_username = var.snapshot_identifier != null ? null : var.master_username
63+
master_username = var.master_username
6464
node_type = var.node_type
6565
number_of_nodes = var.number_of_nodes
6666
owner_account = var.owner_account

0 commit comments

Comments
 (0)