@fy-stack/app-construct 0.0.147-alpha.30692 → 0.0.147-alpha.30693
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.
|
@@ -28,13 +28,13 @@ class ImageAppContainer extends constructs_1.Construct {
|
|
|
28
28
|
const versions = [props.version, 'latest'];
|
|
29
29
|
const parameters = [];
|
|
30
30
|
for (const v of versions) {
|
|
31
|
-
parameters.push(new ssm.StringParameter(this, `
|
|
31
|
+
parameters.push(new ssm.StringParameter(this, `RepositoryParamV${v}`, {
|
|
32
32
|
parameterName: `/${stackName}/${v}/repository`,
|
|
33
33
|
stringValue: repo.repositoryName,
|
|
34
|
-
}), new ssm.StringParameter(this, `
|
|
34
|
+
}), new ssm.StringParameter(this, `TagParamV${v}`, {
|
|
35
35
|
parameterName: `/${stackName}/${v}/tag`,
|
|
36
36
|
stringValue: props.version,
|
|
37
|
-
}), new ssm.StringListParameter(this, `
|
|
37
|
+
}), new ssm.StringListParameter(this, `ImageCMDV${v}`, {
|
|
38
38
|
parameterName: `/${stackName}/${v}/cmd`,
|
|
39
39
|
stringListValue: props.cmd,
|
|
40
40
|
}));
|
|
@@ -25,22 +25,22 @@ class NextAppRouterCode extends constructs_1.Construct {
|
|
|
25
25
|
const versions = [props.version, 'latest'];
|
|
26
26
|
const parameters = [];
|
|
27
27
|
for (const v of versions) {
|
|
28
|
-
parameters.push(new ssm.StringParameter(this, `
|
|
28
|
+
parameters.push(new ssm.StringParameter(this, `ArtifactsParamV${v}`, {
|
|
29
29
|
parameterName: `/${stackName}/${v}/artifacts`,
|
|
30
30
|
stringValue: artifactBucket.bucketName,
|
|
31
|
-
}), new ssm.StringParameter(this, `
|
|
31
|
+
}), new ssm.StringParameter(this, `CodeFilesKeyParamV${v}`, {
|
|
32
32
|
parameterName: `/${stackName}/${v}/code`,
|
|
33
33
|
stringValue: code,
|
|
34
|
-
}), new ssm.StringParameter(this, `
|
|
34
|
+
}), new ssm.StringParameter(this, `CodeCMDParamV${v}`, {
|
|
35
35
|
parameterName: `/${stackName}/${v}/code/handler`,
|
|
36
36
|
stringValue: 'run.sh',
|
|
37
|
-
}), new ssm.StringParameter(this, `
|
|
37
|
+
}), new ssm.StringParameter(this, `StaticFilesKeyParamV${v}`, {
|
|
38
38
|
parameterName: `/${stackName}/${v}/files/staticFiles/key`,
|
|
39
39
|
stringValue: deployment.files.staticFiles.key,
|
|
40
|
-
}), new ssm.StringParameter(this, `
|
|
40
|
+
}), new ssm.StringParameter(this, `PublicFilesKeyParamV${v}`, {
|
|
41
41
|
parameterName: `/${stackName}/${v}/files/publicFiles/key`,
|
|
42
42
|
stringValue: deployment.files.publicFiles.key,
|
|
43
|
-
}), new ssm.StringParameter(this, `
|
|
43
|
+
}), new ssm.StringParameter(this, `TagParamV${v}`, {
|
|
44
44
|
parameterName: `/${stackName}/${v}/tag`,
|
|
45
45
|
stringValue: props.version,
|
|
46
46
|
}));
|
|
@@ -35,19 +35,19 @@ class NextAppRouterContainer extends constructs_1.Construct {
|
|
|
35
35
|
const versions = [props.version, 'latest'];
|
|
36
36
|
const parameters = [];
|
|
37
37
|
for (const v of versions) {
|
|
38
|
-
parameters.push(new ssm.StringParameter(this, `
|
|
38
|
+
parameters.push(new ssm.StringParameter(this, `RepositoryParamV${v}`, {
|
|
39
39
|
parameterName: `/${stackName}/${v}/repository`,
|
|
40
40
|
stringValue: repo.repositoryName,
|
|
41
|
-
}), new ssm.StringParameter(this, `
|
|
41
|
+
}), new ssm.StringParameter(this, `ArtifactsParamV${v}`, {
|
|
42
42
|
parameterName: `/${stackName}/${v}/artifacts`,
|
|
43
43
|
stringValue: artifactBucket.bucketName,
|
|
44
|
-
}), new ssm.StringParameter(this, `
|
|
44
|
+
}), new ssm.StringParameter(this, `StaticFilesKeyParamV${v}`, {
|
|
45
45
|
parameterName: `/${stackName}/${v}/files/staticFiles/key`,
|
|
46
46
|
stringValue: deployment.files.staticFiles.key,
|
|
47
|
-
}), new ssm.StringParameter(this, `
|
|
47
|
+
}), new ssm.StringParameter(this, `PublicFilesKeyParamV${v}`, {
|
|
48
48
|
parameterName: `/${stackName}/${v}/files/publicFiles/key`,
|
|
49
49
|
stringValue: deployment.files.publicFiles.key,
|
|
50
|
-
}), new ssm.StringParameter(this, `
|
|
50
|
+
}), new ssm.StringParameter(this, `TagParamV${v}`, {
|
|
51
51
|
parameterName: `/${stackName}/${v}/tag`,
|
|
52
52
|
stringValue: props.version,
|
|
53
53
|
}));
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fy-stack/app-construct",
|
|
3
|
-
"version": "0.0.147-alpha.
|
|
3
|
+
"version": "0.0.147-alpha.30693",
|
|
4
4
|
"repository": "https://github.com/festusyuma/fy-stack",
|
|
5
5
|
"dependencies": {
|
|
6
|
-
"@fy-stack/types": "0.0.147-alpha.
|
|
6
|
+
"@fy-stack/types": "0.0.147-alpha.30693",
|
|
7
7
|
"tslib": "^2.3.0",
|
|
8
8
|
"zod": "^4.3.6"
|
|
9
9
|
},
|