pulumi/pkg/backend
Fraser Waters 5eb04f18ad Fix destroy without project file
Fixes https://github.com/pulumi/pulumi/issues/12714

The empty project created for destroy operations when no Pulumi.yaml is
found still needs to have it's name filled in so that project name
consistency checks work.

Our tests didn't pick this up because for filestate we were still
searching from the working directory for consistency checks rather than
checking the backends current project. I've also fixed that up as part
of this change.
2023-04-24 16:14:56 +01:00
..
display Merge #12157 2023-04-14 00:42:27 +00:00
filestate Fix destroy without project file 2023-04-24 16:14:56 +01:00
httpstate Fix destroy without project file 2023-04-24 16:14:56 +01:00
state [breaking] Changing the version of go.mod in sdk / pkg to be v3 2021-04-14 19:32:18 +01:00
apply.go Addressed feedback from Code Review 2023-04-13 15:04:53 -07:00
apply_test.go Add more detail to update display to indicate `retainOnDelete` usage. 2023-04-05 17:25:23 -07:00
backend.go Fix destroy without project file 2023-04-24 16:14:56 +01:00
backend_test.go all: Reformat with gofumpt 2023-03-03 09:00:24 -08:00
doc.go Document Go packages (#6009) 2021-01-11 11:07:59 -07:00
errors.go Add a link to docs for the 409 Conflict error message (#3207) 2019-09-10 13:25:08 -07:00
mock.go Fix destroy without project file 2023-04-24 16:14:56 +01:00
policypack.go [breaking] Changing the version of go.mod in sdk / pkg to be v3 2021-04-14 19:32:18 +01:00
query.go all: Reformat with gofumpt 2023-03-03 09:00:24 -08:00
snapshot.go pkg/backend: Prefer contract.Assertf over Assert 2023-02-21 15:13:16 -08:00
snapshot_test.go all: Reformat with gofumpt 2023-03-03 09:00:24 -08:00
stack.go all: Reformat with gofumpt 2023-03-03 09:00:24 -08:00
updates.go all: Reformat with gofumpt 2023-03-03 09:00:24 -08:00
watch.go all: Reformat with gofumpt 2023-03-03 09:00:24 -08:00