diff --git a/test/src/test/java/de/widdix/awscftemplates/state/TestRDSPostgres.java b/test/src/test/java/de/widdix/awscftemplates/state/TestRDSPostgres.java index c22753186..6ce5e28e6 100644 --- a/test/src/test/java/de/widdix/awscftemplates/state/TestRDSPostgres.java +++ b/test/src/test/java/de/widdix/awscftemplates/state/TestRDSPostgres.java @@ -64,7 +64,8 @@ public void testWithSecret() { new Parameter().withParameterKey("ParentVPCStack").withParameterValue(vpcStackName), new Parameter().withParameterKey("ParentClientStack").withParameterValue(clientStackName), new Parameter().withParameterKey("ParentSecretStack").withParameterValue(secretStackName), - new Parameter().withParameterKey("DBName").withParameterValue("db1") + new Parameter().withParameterKey("DBName").withParameterValue("db1"), + new Parameter().withParameterKey("EngineVersion").withParameterValue("10.17") ); // TODO how can we check if this stack works? start a bastion host and try to connect? } finally { diff --git a/test/src/test/java/de/widdix/awscftemplates/vpc/AVPCTest.java b/test/src/test/java/de/widdix/awscftemplates/vpc/AVPCTest.java index 82abc37ae..8a4430341 100644 --- a/test/src/test/java/de/widdix/awscftemplates/vpc/AVPCTest.java +++ b/test/src/test/java/de/widdix/awscftemplates/vpc/AVPCTest.java @@ -13,7 +13,8 @@ protected final void testVPCSubnetInternetAccess(final Context context, final St this.createStack(context, stackName, "ec2/al2-mutable-" + reach + ".yaml", new Parameter().withParameterKey("ParentVPCStack").withParameterValue(parentVPCStack), - new Parameter().withParameterKey("SubnetName").withParameterValue(subnetName) + new Parameter().withParameterKey("SubnetName").withParameterValue(subnetName), + new Parameter().withParameterKey("AmazonLinux2Version").withParameterValue("20191217.0") ); } finally { this.deleteStack(context, stackName);