feat(iac): add Pulumi TypeScript and Python samples for AgentCore#1111
Open
dirien wants to merge 2 commits intoawslabs:mainfrom
Open
feat(iac): add Pulumi TypeScript and Python samples for AgentCore#1111dirien wants to merge 2 commits intoawslabs:mainfrom
dirien wants to merge 2 commits intoawslabs:mainfrom
Conversation
Add four Pulumi TypeScript infrastructure-as-code samples that mirror the existing CDK, CloudFormation, and Terraform examples: - basic-runtime: Simple Strands agent on AgentCore - mcp-server-agentcore-runtime: MCP server with Cognito JWT auth - multi-agent-runtime: Two-agent A2A communication system - end-to-end-weather-agent: Weather agent with Browser, Code Interpreter, and Memory Each sample uses Lambda-triggered CodeBuild for ARM64 image builds, ESLint with deprecation checking, and includes test scripts. Also updates the IaC README to reference Pulumi alongside existing tools.
…ages Add four Pulumi Python samples mirroring the existing TypeScript ones, using uv as the package manager with Pulumi's toolchain: uv option. Update pulumi/README.md to show both TypeScript and Python samples, matching the structure of the existing cdk/README.md. Update the IaC root README to reference Pulumi (TypeScript) and Pulumi (Python) in all implementation links, prerequisites, and repository structure sections.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
I'm on the Developer Relations team at Pulumi. I wrote Pulumi implementations of the four AgentCore IaC samples that already ship in CloudFormation, CDK, and Terraform -- in both TypeScript and Python. Each one has been deployed and tested end-to-end against a real AWS account.
This PR adds eight samples under
04-infrastructure-as-code/pulumi/:TypeScript (
pulumi/typescript/)add_numbers,multiply_numbers,greet_user). Tested: all 3 tools correct.Python (
pulumi/python/)Same four samples ported to Python, using uv as the package manager and Pulumi's
toolchain: uvruntime option. Same test results as the TypeScript versions.Shared patterns across all eight samples
TypeScript samples include ESLint with
@typescript-eslint/no-deprecated. Python samples passruff checkandruff format.The IaC README now lists Pulumi (TypeScript) and Pulumi (Python) alongside CloudFormation, CDK, and Terraform. A
pulumi/README.mdmirrors the structure of the existingcdk/README.md.