Pre and Post Script hooks for build, package, deploy, and delete.
Run scripts with defined arguments.
Metadata: expand: plugins: - '@starterstack/sam-expand/plugins/run-script-hooks' config: script: hooks: pre:delete - command: ../empty-s3-bucket.mjs args: - file: location: ../settings.mjs exportName: region - file: location: ../settings.mjs exportName: s3Bucket Copy
Metadata: expand: plugins: - '@starterstack/sam-expand/plugins/run-script-hooks' config: script: hooks: pre:delete - command: ../empty-s3-bucket.mjs args: - file: location: ../settings.mjs exportName: region - file: location: ../settings.mjs exportName: s3Bucket
Remarks
Pre and Post Script hooks for build, package, deploy, and delete.
Run scripts with defined arguments.
Example