Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Automation API / Python] - Environment functions #14776

Merged
merged 11 commits into from
Dec 11, 2023
Merged

Conversation

komalali
Copy link
Member

@komalali komalali commented Dec 7, 2023

Description

Add python automation API support for adding and removing environments for stack configuration.

Fixes #14793

Checklist

  • I have run make tidy to update any new dependencies
  • I have run make lint to verify my code passes the lint check
    • I have formatted my code using gofumpt
  • I have added tests that prove my fix is effective or that my feature works
  • I have run make changelog and committed the changelog/pending/<file> documenting my change
  • Yes, there are changes in this PR that warrants bumping the Pulumi Cloud API version

@pulumi-bot
Copy link
Contributor

pulumi-bot commented Dec 7, 2023

Changelog

[uncommitted] (2023-12-09)

Features

  • [auto/python] Adds add_environments and remove_environment functions to Stack and LocalWorkspace classes for python Automation API.
    #14776

@komalali komalali changed the title Add env commands to python auto api [Automation API / Python] - Environment functions Dec 7, 2023
@komalali komalali marked this pull request as ready for review December 8, 2023 04:15
Copy link
Member

@justinvp justinvp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM otherwise

sdk/python/lib/pulumi/automation/_local_workspace.py Outdated Show resolved Hide resolved
@komalali komalali force-pushed the komal/auto-api-envs branch 2 times, most recently from 975250f to 03a1b4c Compare December 9, 2023 03:39
@komalali komalali added this pull request to the merge queue Dec 11, 2023
Merged via the queue into master with commit 465c254 Dec 11, 2023
45 checks passed
@komalali komalali deleted the komal/auto-api-envs branch December 11, 2023 18:37
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.

Python support (config env add/rm)
3 participants