mirror of
https://github.com/Sea-Haven-Industries/shoc-frontend-new.git
synced 2026-09-30 06:53:12 +00:00
retainForTerraformAdoption=true adds the required ManageSiteInfrastructure parameter, conditions the 13 transferred resources and the S3 auto-delete custom resource on it, applies Retain policies, pins the live dev origin ID, attaches the deploy boundary and HcpTerraformWorkspace tag, and narrows the OIDC subject to StringEquals. Normal synthesis is unchanged; template tests cover both modes.
31 lines
840 B
JSON
31 lines
840 B
JSON
{
|
|
"name": "shoc-frontend-infra",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"description": "CDK app provisioning S3 + CloudFront hosting and the GitHub OIDC deploy role for the Sea Haven SHOC frontend.",
|
|
"bin": {
|
|
"app": "bin/app.ts"
|
|
},
|
|
"engines": {
|
|
"node": ">=22.22.1"
|
|
},
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"test": "npm run build && node --test test/*.test.mjs",
|
|
"synth": "cdk synth",
|
|
"synth:adoption": "cdk synth -c retainForTerraformAdoption=true --parameters ManageSiteInfrastructure=true",
|
|
"diff": "cdk diff",
|
|
"deploy": "cdk deploy"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^24.13.3",
|
|
"aws-cdk": "^2.1130.0",
|
|
"ts-node": "^10.9.2",
|
|
"typescript": "~6.0.3"
|
|
},
|
|
"dependencies": {
|
|
"aws-cdk-lib": "^2.261.0",
|
|
"constructs": "^10.4.2"
|
|
},
|
|
"packageManager": "npm@11.16.0"
|
|
}
|