pulumi/pkg/backend/httpstate
Thomas Gummerer 0f8e922c71
allow retries for encrypt/decrypt API calls (#15600)
By default our HTTP client retries all GET requests. However these post
requests are also idempotent, as we just expect to encrypt/decrypt a
single value, without changing anything on the server side. Retry them,
so network errors won't abort the pulumi program.

There's also some log decryption events that might be retryable, but I'm
not sure about them, so I left them alone for now.

Fixes https://github.com/pulumi/pulumi/issues/15236
2024-03-06 08:35:36 +00:00
..
client allow retries for encrypt/decrypt API calls (#15600) 2024-03-06 08:35:36 +00:00
testdata [snapshot] Use a newer diff package 2023-05-16 12:33:30 -07:00
backend.go Pass in a header to indicate where the deployment initiated (#15468) 2024-02-20 04:00:01 +00:00
backend_test.go Fix merge failures #2 (#15543) 2024-02-29 21:06:24 +00:00
console.go Add support for a PULUMI_CONSOLE_DOMAIN env var (#4410) 2020-04-17 11:50:00 -07:00
console_test.go all: Reformat with gofumpt 2023-03-03 09:00:24 -08:00
diffs.go Clean up uses of .Error() (#14965) 2023-12-20 15:54:06 +00:00
diffs_post_1.20.go Clean up uses of .Error() (#14965) 2023-12-20 15:54:06 +00:00
diffs_pre_1.20.go [snapshot] Use a newer diff package 2023-05-16 12:33:30 -07:00
doc.go Document Go packages (#6009) 2021-01-11 11:07:59 -07:00
environments.go [cli] Include config from ESC in `pulumi config` (#14560) 2023-11-21 10:44:45 +00:00
mock.go Pass in a header to indicate where the deployment initiated (#15468) 2024-02-20 04:00:01 +00:00
policypack.go improve display for policy packs (#15186) 2024-01-19 13:40:24 +00:00
snapshot.go Implement preview-only refresh (#15330) 2024-02-01 20:30:40 +00:00
snapshot_test.go Add tokens.StackName (#14487) 2023-11-15 07:44:54 +00:00
stack.go Add --import-file to pulumi preview (#14548) 2023-12-05 08:32:40 +00:00
state.go Exclude internal events from those sent to the service (#14972) 2023-12-21 00:13:04 +00:00
token_source.go all: Reformat with gofumpt 2023-03-03 09:00:24 -08:00
token_source_test.go Use context.Background in tests (#14029) 2023-09-25 12:25:26 +00:00