You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: CDK template types and credential ARN passthrough for gateway deploy (#432)
* fix: correct CDK template type names and prop names
The CDK stack template used McpSpec (doesn't exist) instead of
AgentCoreMcpSpec, and passed wrong prop names to AgentCoreMcp:
- spec → mcpSpec
- application → agentCoreApplication
- Added missing projectName prop
* fix: collect API key credential ARNs and write to deployed state before CDK synth
API key credential providers were created during deploy but their ARNs
were not stored in deployed state, causing CDK to fail with 'Credential
not found in deployed state' for gateway targets with API key auth.
- Return credentialProviderArn from create/update API key providers
- Unify API key and OAuth credential ARNs into single deployed state map
- Move credential setup before CDK synth so template can read ARNs
- Write partial deployed state with credentials before synth
* fix: pass credential ARNs from deployed state to CDK gateway construct
CDK template now reads deployed-state.json and extracts credential
provider ARNs per target, passing them to AgentCoreMcp so gateway
targets can reference outbound auth credentials.
* fix: reorder TUI preflight to create credentials before CDK synth
* fix: fetch OAuth credential ARN via Get after create/update
* fix: handle Mcp prefix in gateway output key parsing
* fix: bump CDK version to 2.239.0 in project template
* fix: lint errors in deploy actions and preflight hook
0 commit comments