pulumi/pkg/resource
bors[bot] 46380d4cea
Merge #12939
12939: Untargeted resources now have update plans. r=dixler a=dixler

Fixes #12926

# What
This change modifies the step_generator to include untargeted resources in plans.

# Why
This prevents the step_executor from erroring from an untargeted resource being registered.

The `step_executor` would error due to an untargeted resource being registered while not being included in the update plan.

This appeared to be applicable only to users using update plans, but update plans are enabled by default internally.

There are some rare cases where they are not such as if `--skip-preview` is set, or if using `pulumi up` with URLs or Templates without PULUMI_EXPERIMENTAL being truthy.

# Previous Context
This error previously appeared in #12824 and was believed to be due to the root stack resource not being targeted in liue of informative error messages.

A fix was merged in:

https://github.com/pulumi/pulumi/pull/12834

This also contained an enhanced error message containing the offending URN of the resource.

The fix was shipped in 3.67.0, but #12926 was opened with the new error message indicating that the problem was still outstanding and it was applicable to resources that weren't the root stack resource.

Co-authored-by: Kyle Dixler <kyle@pulumi.com>
2023-05-15 14:12:35 +00:00
..
analyzer all: Reformat with gofumpt 2023-03-03 09:00:24 -08:00
deploy Merge #12939 2023-05-15 14:12:35 +00:00
edit all: Reformat with gofumpt 2023-03-03 09:00:24 -08:00
graph all: Reformat with gofumpt 2023-03-03 09:00:24 -08:00
provider all: Reformat with gofumpt 2023-03-03 09:00:24 -08:00
stack This commit adds the `Created` and `Modified` timestamps to pulumi state that are optional. 2023-03-27 09:28:26 -07:00
testdata ci: radical idea - what if slow tests & no stdout makes GH consider runner dead? 2022-03-06 14:52:13 -08:00