pulumi/pkg
Ian Wahbe 999da67dcd
Fix (Read,Invoke) denied default provider handling (#9067)
* Fix (Read,Invoke) denied default provider handling

When denying default providers was added, we had no special handling for
Reads and Invokes. This lead to confusing error messages. The fix (#8853)
involved checking on invokes. This check didn't apply to several types
of calls (Read) as well as blocking invokes with providers applied.

This PR fixes the logic to only deny providers when they are default
providers.

It also pushes the change into `getProviderFromSource`, which ensures
that this behavior is handled the same way (and correctly) for both
Invokes and Reads.

* Append to changelog

* Add testing

* Fix lint

* Fix spelling + nit
2022-02-28 15:33:45 -08:00
..
backend Fix snapshot assert for replacement deletes (#9004) 2022-02-17 19:52:38 +00:00
cmd/pulumi Adding completion alias (#9006) 2022-02-22 17:44:11 +00:00
codegen [codegen/go] Fix secret codegen for input properties (#9052) 2022-02-26 15:26:16 -07:00
engine [secrets] Fix + refactor bulk decryption. (#9039) 2022-02-25 08:51:52 -08:00
graph Update error handling (#8406) 2021-11-12 18:37:17 -08:00
operations Update error handling (#8406) 2021-11-12 18:37:17 -08:00
resource Fix (Read,Invoke) denied default provider handling (#9067) 2022-02-28 15:33:45 -08:00
secrets [secrets] Fix + refactor bulk decryption. (#9039) 2022-02-25 08:51:52 -08:00
testing/integration Revert "Allow trivial stack with no engine events" 2022-02-18 12:49:16 -08:00
util Update error handling (#8406) 2021-11-12 18:37:17 -08:00
version duplicate version to ensure linking is properly handled 2020-03-19 12:49:34 -07:00
README.md export codegen tests for internal use (#8928) 2022-02-07 12:10:04 +01:00
go.mod Update pkg -> sdk dependency (#9038) 2022-02-23 19:06:26 +00:00
go.sum [codegen/go] Add GenerateProgramWithOpts function (#8997) 2022-02-16 11:11:33 -07:00

README.md

pulumi/pkg

While pulumi/sdk maintains strict backwards compatibility guarantees, code under pkg/ is handled more informally: while breaking changes are still discouraged they may happen when they make sense.