pulumi/pkg/secrets
bors[bot] 2957b6b1b3
Merge #11806
11806: all: Drop ioutil r=abhinav a=abhinav

Stop using io/ioutil across the entire repository.
The io/ioutil package was deprecated in Go 1.16 (2021-02)
with replacements provided in other packages.
Specifically:

    ioutil.Discard   => io.Discard
    ioutil.NopCloser => io.NopCloser
    ioutil.ReadAll   => io.ReadAll
    ioutil.ReadFile  => os.ReadFile
    ioutil.TempDir   => os.MkdirTemp
    ioutil.TempFile  => os.CreateTemp
    ioutil.WriteFile => os.WriteFile

This change switches all of these entities
across the repository.

Following this change,
the only references to ioutil are in schema files:

    % rg -l ioutil
    pkg/codegen/testing/test/testdata/aws-4.26.0.json
    pkg/codegen/testing/test/testdata/aws-4.36.0.json
    pkg/codegen/testing/test/testdata/aws-4.37.1.json
    pkg/codegen/testing/test/testdata/aws-5.4.0.json
    pkg/codegen/testing/test/testdata/aws-5.16.2.json

The bulk of this change was generated automatically
with manual touch ups afterwards.

Specifically, the template and the template input
had to be updated manually.


Co-authored-by: Abhinav Gupta <abhinav@pulumi.com>
2023-01-09 17:15:34 +00:00
..
b64 Add 'secret' to config 2022-10-24 09:22:24 +01:00
cloud Add tests for awskms secret manager 2022-12-02 13:38:28 +00:00
passphrase Pull NewPromptingPassphraseSecretsManager out of filestate 2023-01-04 15:52:30 +00:00
service Merge #11806 2023-01-09 17:15:34 +00:00
manager.go [breaking] Changing the version of go.mod in sdk / pkg to be v3 2021-04-14 19:32:18 +01:00