Skip to content

Instantly share code, notes, and snippets.

@KongJan
KongJan / .env.local
Created October 12, 2025 11:19
Deploy script for AWS S3 and Cloudfront
# Define profile name and role for AWS access
PROFILE_NAME="{profile_name}"
ROLE_ARN="arn:aws:iam::{account_id}:role/{role_name}"
# Define variables for S3 upload
BUCKET_NAME="{s3_bucket_name}"
# Define variables for Cloudfront distribution id
DISTRIBUTION_ID="{distribution_id}"