Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aminfazlmondo/deployable-awscdk-app-ts
Projen Project for deployable CDK Typescript Applications
https://github.com/aminfazlmondo/deployable-awscdk-app-ts
aws-cdk deployment github-actions hacktoberfest projen typescript
Last synced: 3 months ago
JSON representation
Projen Project for deployable CDK Typescript Applications
- Host: GitHub
- URL: https://github.com/aminfazlmondo/deployable-awscdk-app-ts
- Owner: AminFazlMondo
- License: apache-2.0
- Created: 2021-11-23T03:48:08.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-05-22T00:52:49.000Z (9 months ago)
- Last Synced: 2024-05-22T02:21:42.524Z (9 months ago)
- Topics: aws-cdk, deployment, github-actions, hacktoberfest, projen, typescript
- Language: TypeScript
- Homepage: https://aminfazlmondo.github.io/deployable-awscdk-app-ts/
- Size: 3.09 MB
- Stars: 9
- Watchers: 2
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Deployable Typescript AWS CDK App Projen Project
Inspired by [projen](https://github.com/projen/projen)
This is a projen project for typescript AWS CDK Applications deployed via github actions.## Getting started
To create a new project, run the following command and follow the instructions:
### Typescript
```console
$ mkdir my-project
$ cd my-project
$ git init
$ npx projen new --from deployable-awscdk-app-ts --projenrc-ts
🤖 Synthesizing project...
...
```This will initialize a projen project and will create `.projenrc.ts` file for capturing the project details and options. Below is an example of the contents in this file
### Javascript
```console
$ mkdir my-project
$ cd my-project
$ git init
$ npx projen new --from deployable-awscdk-app-ts
🤖 Synthesizing project...
...
```This will initialize a projen project and will create `.projenrc.js` file for capturing the project details and options. Below is an example of the contents in this file
### Example
```javascript
const { DeployableAwsCdkTypeScriptApp } = require('deployable-awscdk-app-ts');const project = new DeployableAwsCdkTypeScriptApp({
name: 'my-test-app',
defaultReleaseBranch: 'main',
cdkVersion: '1.129.0',
workflowNodeVersion: '14.18.1',
deployOptions: {
environments: [
{
name: 'dev',
awsCredentials: {
accessKeyIdSecretName: 'dev-secret-1',
secretAccessKeySecretName: 'dev-secret-2',
region: 'dev-aws-region-1',
},
},
{
name: 'staging',
awsCredentials: {
accessKeyIdSecretName: 'staging-secret-1',
secretAccessKeySecretName: 'staging-secret-2',
region: 'staging-aws-region-1',
},
},
]
}
});project.synth()
```