pulumi/sdk/python/lib/pulumi
Will Jones 01dc95a173
Support `--remove` for `destroy` in the Go, NodeJS and Python Automation API SDKs (#16674)
By default, `pulumi destroy` removes all resources within a stack but
leaves the stack and its configuration intact. If one passes the
`--remove` option to `destroy`, however, the stack and its configuration
will also be removed once the resources within the stack have been
deleted. This commit updates the work of @Moon1706 in #11080 to add
`remove` as an option to the Go, NodeJS and Python Automation API SDKs'
`destroy` methods, which then perform an analogous clean-up.

Closes #11080

---------

Co-authored-by: Nikita Sharaev <n.p.sharaev@tinkoff.ru>
2024-07-17 09:07:30 +00:00
..
automation Support `--remove` for `destroy` in the Go, NodeJS and Python Automation API SDKs (#16674) 2024-07-17 09:07:30 +00:00
dynamic Updating python dynamic provider types for inputs to Dict[str, Any] (#16102) 2024-05-02 17:56:48 +00:00
policy Handle extra CLI arguments passed policy packs plugins (#16402) 2024-06-17 09:10:04 +00:00
provider Update mypy (#16030) 2024-04-22 19:53:19 +00:00
runtime sdk/python: avoid maximum recursion depth error (#16669) 2024-07-16 11:21:03 +00:00
__init__.py Don't incorrectly emit deprecated warnings (#16400) 2024-06-17 16:04:55 +00:00
_types.py Don't incorrectly emit deprecated warnings (#16400) 2024-06-17 16:04:55 +00:00
_utils.py [sdk/python] Workaround lazy module regression (#16038) 2024-04-24 06:53:59 +00:00
_version.py Freeze 3.124.1 (#16643) 2024-07-12 11:12:34 +00:00
asset.py Reformat python 2023-02-01 09:45:06 +00:00
config.py [sdk/python] Add `default` arg to `Config.get_secret` (#12279) 2023-10-02 13:43:48 +00:00
deprecated.py Don't incorrectly emit deprecated warnings (#16400) 2024-06-17 16:04:55 +00:00
errors.py Python Dynamic Providers (#2900) 2019-07-19 10:18:25 -07:00
invoke.py [codegen/python] Implement deep merge on resource and invoke options, matching other SDKs (#9856) 2022-06-14 16:52:24 -07:00
log.py Use black code formatter for the python sdk (#8919) 2022-02-04 01:16:16 +01:00
metadata.py Make getOrganization total, default to 'organization' 2022-09-22 11:06:51 -07:00
output.py Don't lift dunder attributes on Python `Output`s (#16439) 2024-06-22 00:04:34 +00:00
py.typed Add py.typed to Python package for PEP 561 compliance (#3704) 2020-01-17 15:01:36 -08:00
resource.py Python parameterized provider test (#16491) 2024-07-16 10:55:38 +00:00
stack_reference.py Update mypy (#16030) 2024-04-22 19:53:19 +00:00
urn.py Use black code formatter for the python sdk (#8919) 2022-02-04 01:16:16 +01:00