@awsless/awsless 0.0.451 → 0.0.454
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin.js +4 -6
- package/dist/build-json-schema.js +2 -2
- package/dist/prebuild/rpc/bundle.zip +0 -0
- package/dist/stack.json +1 -1
- package/package.json +11 -11
package/dist/bin.js
CHANGED
|
@@ -38,7 +38,6 @@ import { confirm, isCancel, log } from "@clack/prompts";
|
|
|
38
38
|
// src/util/workspace.ts
|
|
39
39
|
import {
|
|
40
40
|
DynamoLockBackend,
|
|
41
|
-
enableDebug,
|
|
42
41
|
S3StateBackend,
|
|
43
42
|
Terraform,
|
|
44
43
|
WorkSpace
|
|
@@ -124,7 +123,6 @@ var createWorkSpace = async (props) => {
|
|
|
124
123
|
const terraform = new Terraform({
|
|
125
124
|
providerLocation: join2(homedir(), `.awsless/providers`)
|
|
126
125
|
});
|
|
127
|
-
enableDebug();
|
|
128
126
|
const aws = await terraform.install("hashicorp", "aws", "5.94.1");
|
|
129
127
|
const workspace = new WorkSpace({
|
|
130
128
|
providers: [
|
|
@@ -1013,7 +1011,7 @@ var TypeSchema = z20.enum([
|
|
|
1013
1011
|
var PortSchema = z20.number().int().min(1).max(5e4);
|
|
1014
1012
|
var ShardsSchema = z20.number().int().min(0).max(100);
|
|
1015
1013
|
var ReplicasPerShardSchema = z20.number().int().min(0).max(5);
|
|
1016
|
-
var
|
|
1014
|
+
var EngineVersionSchema = z20.enum(["7.3", "7.2"]);
|
|
1017
1015
|
var CachesSchema = z20.record(
|
|
1018
1016
|
ResourceIdSchema,
|
|
1019
1017
|
z20.object({
|
|
@@ -1021,7 +1019,7 @@ var CachesSchema = z20.record(
|
|
|
1021
1019
|
port: PortSchema.default(6379),
|
|
1022
1020
|
shards: ShardsSchema.default(1),
|
|
1023
1021
|
replicasPerShard: ReplicasPerShardSchema.default(1),
|
|
1024
|
-
|
|
1022
|
+
engineVersion: EngineVersionSchema.default("7.3"),
|
|
1025
1023
|
dataTiering: z20.boolean().default(false)
|
|
1026
1024
|
})
|
|
1027
1025
|
).optional().describe("Define the caches in your stack. For access to the cache put your functions inside the global VPC.");
|
|
@@ -1986,8 +1984,8 @@ var cacheFeature = defineFeature({
|
|
|
1986
1984
|
name,
|
|
1987
1985
|
aclName: "open-access",
|
|
1988
1986
|
nodeType: `db.${props.type}`,
|
|
1989
|
-
engine: "
|
|
1990
|
-
engineVersion:
|
|
1987
|
+
engine: "valkey",
|
|
1988
|
+
engineVersion: props.engineVersion,
|
|
1991
1989
|
port: props.port,
|
|
1992
1990
|
securityGroupIds: [securityGroup.id],
|
|
1993
1991
|
subnetGroupName: subnetGroup.name,
|
|
@@ -602,7 +602,7 @@ var TypeSchema = z20.enum([
|
|
|
602
602
|
var PortSchema = z20.number().int().min(1).max(5e4);
|
|
603
603
|
var ShardsSchema = z20.number().int().min(0).max(100);
|
|
604
604
|
var ReplicasPerShardSchema = z20.number().int().min(0).max(5);
|
|
605
|
-
var
|
|
605
|
+
var EngineVersionSchema = z20.enum(["7.3", "7.2"]);
|
|
606
606
|
var CachesSchema = z20.record(
|
|
607
607
|
ResourceIdSchema,
|
|
608
608
|
z20.object({
|
|
@@ -610,7 +610,7 @@ var CachesSchema = z20.record(
|
|
|
610
610
|
port: PortSchema.default(6379),
|
|
611
611
|
shards: ShardsSchema.default(1),
|
|
612
612
|
replicasPerShard: ReplicasPerShardSchema.default(1),
|
|
613
|
-
|
|
613
|
+
engineVersion: EngineVersionSchema.default("7.3"),
|
|
614
614
|
dataTiering: z20.boolean().default(false)
|
|
615
615
|
})
|
|
616
616
|
).optional().describe("Define the caches in your stack. For access to the cache put your functions inside the global VPC.");
|
|
Binary file
|