Skip to content

feat: add Python inline/local hybrid example - #87

Open
tomatotomata wants to merge 1 commit into
pulumi:mainfrom
tomatotomata:codex/python-inline-local-hybrid
Open

tomatotomata wants to merge 1 commit into
pulumi:mainfrom
tomatotomata:codex/python-inline-local-hybrid

Conversation

@tomatotomata

Copy link
Copy Markdown

What this adds

Issue #30 asks for a Python equivalent of the existing Go inline/local hybrid example. This PR adds that parity example:

  • a shared Python inline S3 program under python/inline_local_hybrid/infra
  • an Automation API driver that reuses the CLI project's Pulumi.yaml
  • a Pulumi CLI entry point using the same program
  • setup and usage documentation plus the Python example index entry

The two drivers intentionally share the same website_deploy function, so the example demonstrates the requested hybrid workflow rather than duplicating infrastructure code.

Validation

  • python -m compileall -q python/inline_local_hybrid
  • git diff --check

I could not run a cloud deployment here because the environment has no Pulumi AWS provider or AWS credentials. The example keeps the same AWS v4 dependency range and resource shape as the existing Go counterpart.

Let me know what you think.

@github-actions

github-actions Bot commented Aug 5, 2026

Copy link
Copy Markdown

PR is now waiting for a maintainer to run the acceptance tests.
Note for the maintainer: To run the acceptance tests, please comment /run-example-tests on the PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant