@fy-stack/cli 0.0.141 → 0.0.142
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-yaml-file.d.ts","sourceRoot":"","sources":["../../../src/commands/assets/get-yaml-file.ts"],"names":[],"mappings":"AAAA,KAAK,gBAAgB,GAAG;IACtB,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,wBAAgB,WAAW,CAAC,KAAK,EAAE,gBAAgB,
|
|
1
|
+
{"version":3,"file":"get-yaml-file.d.ts","sourceRoot":"","sources":["../../../src/commands/assets/get-yaml-file.ts"],"names":[],"mappings":"AAAA,KAAK,gBAAgB,GAAG;IACtB,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,wBAAgB,WAAW,CAAC,KAAK,EAAE,gBAAgB,UA0DlD"}
|
|
@@ -42,5 +42,21 @@ jobs:
|
|
|
42
42
|
run: npm ci
|
|
43
43
|
|
|
44
44
|
- name: Deploy Apps
|
|
45
|
-
run: npx cdk deploy --require-approval never
|
|
45
|
+
run: npx cdk deploy --require-approval never --outputs-file app.json
|
|
46
|
+
|
|
47
|
+
- name: Get App Secrets Name
|
|
48
|
+
id: get_app_secrets
|
|
49
|
+
run: |
|
|
50
|
+
SECRETS=$(jq -r '."${props.app}-\${{ env.ENVIRONMENT }}".appSecrets' app.json)
|
|
51
|
+
echo "app_secrets=$SECRETS" >> $GITHUB_OUTPUT
|
|
52
|
+
|
|
53
|
+
# Load App secrets back into actions to perform tasks like seed
|
|
54
|
+
# Remove if not needed
|
|
55
|
+
- name: Fetch App Secrets
|
|
56
|
+
uses: aws-actions/aws-secretsmanager-get-secrets@v2
|
|
57
|
+
with:
|
|
58
|
+
secret-ids: |
|
|
59
|
+
,\${{ steps.get_app_secrets.outputs.app_secrets }}
|
|
60
|
+
name-transformation: none
|
|
61
|
+
parse-json-secrets: true`;
|
|
46
62
|
}
|
|
@@ -144,7 +144,7 @@ async function initApp(props) {
|
|
|
144
144
|
"aws-cdk": "^2.174.1",
|
|
145
145
|
"aws-cdk-lib": "^2.174.1",
|
|
146
146
|
"constructs": "^10.4.2",
|
|
147
|
-
"@fy-stack/fullstack-construct": "^0.0.
|
|
147
|
+
"@fy-stack/fullstack-construct": "^0.0.142"
|
|
148
148
|
};
|
|
149
149
|
if (!fs.existsSync(cdkPath))
|
|
150
150
|
fs.writeFileSync(cdkPath, cdkJsonFile);
|