This repository contains a AWS CDK devcontainer for use with PyCharm projects.
1.6K
This repository contains a Docker image designed for development environments that require AWS CDK, Python 3, AWS CLI v2, and Node.js, with support for both ARM64 and AMD64 architectures. It provides a clean, minimal environment well suited for cloud-based development.
The image is optimized for developers working with PyCharm and is intended to be used as a Dev Container to streamline AWS Cloud Development Kit (CDK) work in a Python-based environment.
This Docker image is ideal for developers who need:
venv and pip for Python-based development.appuser with passwordless sudo; working directory /app.This image is designed for use with PyCharm as a development container (dev container). It provides a pre-configured, architecture-portable environment so you can focus on building and deploying AWS infrastructure with CDK instead of managing local dependencies.
Pull the Docker Image:
docker pull mejatos/aws-cdk:latest
Run the Container:
docker run -it mejatos/aws-cdk:latest bash
Sample devcontainer.json Configuration:
{
"name": "DEVCONTAINER-NAME",
"image": "mejatos/aws-cdk:latest",
"customizations": {
"jetbrains": {},
"vscode": {
"settings": {
"terminal.integrated.defaultProfile.linux": "bash"
},
"extensions": []
}
},
"forwardPorts": [],
"mounts": [],
"postCreateCommand": "echo 'Container ready!'",
"remoteUser": "appuser"
}
Note: the image runs as the non-root user appuser (with passwordless sudo). Set
remoteUser accordingly. Use root only if your workflow specifically requires it.
Run JetBrains Gateway DevContainer Setup:
.devcontainer folder in the project root and add the devcontainer.json
configuration file (sample above)..devcontainer folder to your VCS.devcontainer.json to build the
development container.AWS Configuration and Authentication:
aws configure from the container CLI to set up credentials, orAWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY,
AWS_SESSION_TOKEN) to authenticate.Maintained at https://github.com/flyingsquirrelcloud/awscdk-devcontainer
Content type
Image
Digest
sha256:c462085bf…
Size
232.8 MB
Last updated
18 days ago
docker pull mejatos/aws-cdk