No-op during Read if credentials are invalid (#194)

The `Image` resource already ignores errors during read but the `Index`
resource was requiring the inspect call to always succeed. This will often 
fail due to https://github.com/pulumi/pulumi/issues/4981 (note however in
this case credentials are stored with the resource instead of the provider).

This changes our logic to instead emit a warning if the credentials are
invalid.

Fixes https://github.com/pulumi/pulumi-docker-build/issues/121.
This commit is contained in:
Bryce Lampe
2024-08-13 12:54:14 -07:00
committed by GitHub
parent 0ba90b8cde
commit 81a7aa4ec4
15 changed files with 435 additions and 390 deletions

View File

@@ -1,5 +1,10 @@
## Unreleased
### Fixed
- Refreshing an `Index` resource will no longer fail if its stored credentials
have expired. (https://github.com/pulumi/pulumi-docker-build/pull/194)
## 0.0.5 (2024-08-08)
### Fixed