From 7c3a73b696fda89eac526dd73f5d578667f28751 Mon Sep 17 00:00:00 2001 From: hrodmn Date: Wed, 29 Oct 2025 14:19:36 -0500 Subject: [PATCH] fix: remove env from eoapi stack? --- infrastructure/app.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/infrastructure/app.py b/infrastructure/app.py index 368ceeb..1eaad00 100644 --- a/infrastructure/app.py +++ b/infrastructure/app.py @@ -1,11 +1,9 @@ -import os from pathlib import Path from aws_cdk import ( App, CfnOutput, Duration, - Environment, RemovalPolicy, Stack, aws_ec2, @@ -377,12 +375,6 @@ def __init__( app_config = AppConfig() -# Get AWS account and region from environment (uses AWS_PROFILE) -env = Environment( - account=os.environ.get("CDK_DEFAULT_ACCOUNT"), - region=os.environ.get("CDK_DEFAULT_REGION"), -) - vpc_stack = VpcStack( scope=app, app_config=app_config, @@ -394,7 +386,6 @@ def __init__( app_config=app_config, id=app_config.project, vpc=vpc_stack.vpc, - env=env, ) app.synth()