Skip to content

Commit 8803d36

Browse files
authored
Fix typo: vpc_congig -> vpc_config (#75)
Corrects variable name typo in deploy.py where 'vpc_congig' was used instead of 'vpc_config' in two locations (lines 164-165 and 586-590). This is a follow-up fix to PR #66.
1 parent 67a9df7 commit 8803d36

File tree

1 file changed

+6
-6
lines changed
  • source/claude_code_with_bedrock/cli/commands

1 file changed

+6
-6
lines changed

source/claude_code_with_bedrock/cli/commands/deploy.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -161,8 +161,8 @@ def handle(self) -> int:
161161

162162
# Deploy remaining monitoring stacks
163163
if profile.monitoring_enabled:
164-
vpc_congig = profile.monitoring_config or {}
165-
if vpc_congig.get("create_vpc", True):
164+
vpc_config = profile.monitoring_config or {}
165+
if vpc_config.get("create_vpc", True):
166166
stacks_to_deploy.append(("networking", "VPC Networking for OTEL Collector"))
167167
stacks_to_deploy.append(("s3bucket", "S3 Bucket"))
168168
stacks_to_deploy.append(("monitoring", "OpenTelemetry Collector"))
@@ -583,11 +583,11 @@ def deploy_with_cf(
583583
template = project_root / "deployment" / "infrastructure" / "otel-collector.yaml"
584584
stack_name = profile.stack_names.get("monitoring", f"{profile.identity_pool_name}-otel-collector")
585585
params = []
586-
vpc_congig = profile.monitoring_config or {}
586+
vpc_config = profile.monitoring_config or {}
587587

588-
if not vpc_congig.get("create_vpc", True):
589-
params.append(f"VpcId={vpc_congig.get('vpc_id', '')}")
590-
subnet_ids = ",".join(vpc_congig.get("subnet_ids", []))
588+
if not vpc_config.get("create_vpc", True):
589+
params.append(f"VpcId={vpc_config.get('vpc_id', '')}")
590+
subnet_ids = ",".join(vpc_config.get("subnet_ids", []))
591591
params.append(f"SubnetIds={subnet_ids}")
592592
else:
593593
# Get VPC outputs from networking stack

0 commit comments

Comments
 (0)