Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tecracer/cdk-templates
Templates for aws cdk
https://github.com/tecracer/cdk-templates
aws cdk
Last synced: about 1 month ago
JSON representation
Templates for aws cdk
- Host: GitHub
- URL: https://github.com/tecracer/cdk-templates
- Owner: tecracer
- License: apache-2.0
- Created: 2019-05-26T13:59:50.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-10-03T13:14:56.000Z (about 1 year ago)
- Last Synced: 2024-08-02T00:26:21.090Z (4 months ago)
- Topics: aws, cdk
- Language: TypeScript
- Size: 48.2 MB
- Stars: 120
- Watchers: 12
- Forks: 21
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-cdk - Example templates for aws cdk - Working TypeScript snippets from several AWS projects. (Training Materials and Sample Code / Multi-accounts setup)
- awesome-cdk - Example templates for aws cdk - Working TypeScript snippets from several AWS projects. (Training Materials and Sample Code / Multi-accounts setup)
README
# cdk-templates
AWS CDK is th "Cloud Development Kit" which lets you programm CloudFormation Templates.
This is a collection of templates for the cdk
## Directories
- `v1` - CDK V1
- `go` - GO CDK V2
- `python` - python CDK V2
- `typescript` - typescript CDK V2## Tooling
We use [tasks](https://taskfile.dev/#/) for scripting.
For switching profiles [awsume](https://github.com/trek10inc/awsume) is used.
### Deploy Templates
If you use `awsume`, then the env variable `AWSUME_PROFILE` is set. If you work with different accounts its better to call the cdk cli with profile parameter.
So with awsume:
`task deploy`
Or with cdk directly:
`cdk deploy`
## Templates
Work in Progress (@megaproaktiv Juni 2021):
- Migration all CDK templates to v2
See v2 for "old" templates
## Troubleshooting
#### You get an cdk error about the syntax.
The Taskfile setting deploy with the environment variable "AWSUME_PROFILE".
This is set automatically of you use `awsume`. If not, just export your profile:```bash
export AWSUME_PROFILE=default
```Replace "default" with the name of your AWS profile.