silly-address-30441
03/29/2021, 5:16 PMerror modifying DB Instance (read-replicaf4d753f): InvalidParameterCombination: Cannot change master user password on an RDS postgres Read Replica because it uses physical replication and therefore cannot differ from its parent
even though the replica was created and visible in the console. Is there a trick I'm missing?const readReplica = new aws.rds.Instance('read-replica', {
engine: 'postgres',
engineVersion: '13',
instanceClass: instanceClass,
allocatedStorage: 5,
dbSubnetGroupName: dbSubnetGroup.id,
vpcSecurityGroupIds: [dbSecurityGroup.id],
name: dbName,
username: dbUsername,
password: dbPassword,
allowMajorVersionUpgrade: false,
autoMinorVersionUpgrade: true,
storageEncrypted: true,
maxAllocatedStorage: 500,
deletionProtection: true,
performanceInsightsEnabled: true,
backupRetentionPeriod: 30,
replicateSourceDb: db.arn,
});
billowy-army-68599
03/29/2021, 5:19 PMsilly-address-30441
03/29/2021, 5:20 PMusername: dbUsername,
password: dbPassword,
billowy-army-68599
03/29/2021, 5:23 PMsilly-address-30441
03/29/2021, 5:24 PMpulumi up
a second time, it wants to change it again.└─ aws:rds:Instance read-replica update [diff: ~replicateSourceDb]
aws:rds:Instance (read-replica):
error: 1 error occurred:
* updating urn:pulumi:dev::core::aws:rds/instance:Instance::read-replica: 1 error occurred:
* cannot elect new source database for replication
billowy-army-68599
03/29/2021, 9:56 PMignoreChanges
perhaps?silly-address-30441
03/29/2021, 10:14 PM{ ignoreChanges: ['replicateSourceDb'] }