Skip to content

Commit 8c2aee5

Browse files
authored
Minor bug fix: Plumb --region command through into ConfigurationManager (#333)
* Minor bug fix: plumb region command line arg through to agentcore configure
1 parent 0c57292 commit 8c2aee5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/bedrock_agentcore_starter_toolkit/cli/runtime/commands.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ def configure(
380380

381381
# Create configuration manager early for consistent prompting
382382
config_path = Path.cwd() / ".bedrock_agentcore.yaml"
383-
config_manager = ConfigurationManager(config_path, non_interactive)
383+
config_manager = ConfigurationManager(config_path, non_interactive, region=region)
384384

385385
# Interactive entrypoint selection
386386
if not entrypoint:

src/bedrock_agentcore_starter_toolkit/operations/runtime/configure.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ def configure_bedrock_agentcore(
253253
log.debug("No execution role provided and auto-create disabled")
254254

255255
# Pass region to ConfigurationManager so it can check for existing memories
256-
config_manager = ConfigurationManager(build_dir / ".bedrock_agentcore.yaml", non_interactive)
256+
config_manager = ConfigurationManager(build_dir / ".bedrock_agentcore.yaml", non_interactive, region=region)
257257

258258
# Handle memory configuration
259259
memory_config = MemoryConfig()

0 commit comments

Comments
 (0)