sparse-intern-71089
09/23/2020, 6:16 PMbillowy-army-68599
eager-appointment-42460
09/23/2020, 6:42 PMeager-appointment-42460
09/23/2020, 6:47 PMconst example = new aws.rds.GlobalCluster("example", {globalClusterIdentifier: "example"}, {
provider: primary,
});
const primaryCluster = new aws.rds.Cluster("primaryCluster", {
engineMode: "global",
globalClusterIdentifier: example.id,
}, {
provider: primary,
});
const primaryClusterInstance = new aws.rds.ClusterInstance("primaryClusterInstance", {
instanceClass: "db.r4.large",
clusterIdentifier: primaryCluster.id
}, {
provider: primary,
});//Add engine version -- Snap! Breaks: const example = new aws.rds.GlobalCluster( _ "ocat-gdb-pu-todd",_ { globalClusterIdentifier: "ocat-gdb-pu-todd"_,_ engine: "aurora-mysql"_,_ engineVersion: "5.7.mysql_aurora.2.07.2"_,_ }, { provider: primary, } _)_; const primaryCluster = new aws.rds.Cluster( _ "primaryCluster",_ { engineMode: "global"_,_ globalClusterIdentifier: example.id, masterUsername: "clusteradmin"_,_ masterPassword: "clusteradmin"_,_ clusterIdentifier: "ocat-aurora-gdb-cluster-pu"_,_ databaseName: "CALSAWS_OCAT"_,_ engine: "aurora-mysql"_,_ engineVersion: "5.7.mysql_aurora.2.07.2"_,_ }, I've tried versions 5.7 - 2.07 through 2.09 which is pretty new.
billowy-army-68599
eager-appointment-42460
09/23/2020, 9:03 PMeager-appointment-42460
09/24/2020, 3:18 PMerror creating RDS cluster: InvalidParameterValue: The requested engine version was not found or does not support global functionality
status code: 400, request id: 412ad457-29b5-4f2b-ae5e-d0c44d88d7cf
pulumipulumiStack (global-db-7-dev):
error: update failed
Resources:
4 unchanged
Duration: 3s
And, the AWS Console says this and many other versions are available (and indeed those work from the console):
Provisioned with global database
global_10a, 2.07.0 (Global compatible), 2.07.1 (Global compatible), 2.07.2 (Global compatible), 2.08.0 (Global compatible), 2.08.1 (Global compatible), 2.08.2 (Global compatible), 2.09.0 (Global compatible), 1.22.0 (Global compatible), 1.22.1 (Global compatible), 1.22.1.3 (Global compatible), 1.22.2 (Global compatible), 1.23.0 (Global compatible)faint-table-42725
09/24/2020, 4:34 PMeager-appointment-42460
09/24/2020, 7:31 PMNo matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.
Powered by