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?silly-address-30441
03/29/2021, 5:16 PMconst 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
silly-address-30441
03/29/2021, 5:20 PMsilly-address-30441
03/29/2021, 5:20 PMusername: dbUsername,
password: dbPassword,
silly-address-30441
03/29/2021, 5:20 PMbillowy-army-68599
silly-address-30441
03/29/2021, 5:24 PMsilly-address-30441
03/29/2021, 6:13 PMsilly-address-30441
03/29/2021, 9:51 PMpulumi up
a second time, it wants to change it again.silly-address-30441
03/29/2021, 9:51 PMsilly-address-30441
03/29/2021, 9:51 PM└─ aws:rds:Instance read-replica update [diff: ~replicateSourceDb]
silly-address-30441
03/29/2021, 9:51 PMsilly-address-30441
03/29/2021, 9:52 PMaws: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
ignoreChanges
perhaps?silly-address-30441
03/29/2021, 10:14 PMsilly-address-30441
03/29/2021, 10:15 PMsilly-address-30441
03/29/2021, 10:15 PM{ ignoreChanges: ['replicateSourceDb'] }
silly-address-30441
03/29/2021, 10:15 PM