diff --git a/examples/go.mod b/examples/go.mod index 1282fc5..905c337 100644 --- a/examples/go.mod +++ b/examples/go.mod @@ -2,7 +2,7 @@ module github.com/pulumi/pulumi-splunk/examples go 1.21 -require github.com/pulumi/pulumi/pkg/v3 v3.89.0 +require github.com/pulumi/pulumi/pkg/v3 v3.90.1 require ( cloud.google.com/go v0.110.4 // indirect @@ -13,12 +13,7 @@ require ( cloud.google.com/go/logging v1.7.0 // indirect cloud.google.com/go/longrunning v0.5.1 // indirect cloud.google.com/go/storage v1.30.1 // indirect - github.com/AlecAivazis/survey/v2 v2.3.7 // indirect github.com/Azure/azure-sdk-for-go v66.0.0+incompatible // indirect - github.com/Azure/azure-sdk-for-go/sdk/azcore v1.1.1 // indirect - github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.0.0 // indirect - github.com/Azure/azure-sdk-for-go/sdk/internal v1.0.0 // indirect - github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v0.4.1 // indirect github.com/Azure/go-autorest v14.2.0+incompatible // indirect github.com/Azure/go-autorest/autorest v0.11.28 // indirect github.com/Azure/go-autorest/autorest/adal v0.9.21 // indirect @@ -29,7 +24,6 @@ require ( github.com/Azure/go-autorest/autorest/validation v0.3.1 // indirect github.com/Azure/go-autorest/logger v0.2.1 // indirect github.com/Azure/go-autorest/tracing v0.6.0 // indirect - github.com/AzureAD/microsoft-authentication-library-for-go v0.4.0 // indirect github.com/Microsoft/go-winio v0.5.2 // indirect github.com/ProtonMail/go-crypto v0.0.0-20221026131551-cf6655e29de4 // indirect github.com/acomagu/bufpipe v1.0.3 // indirect @@ -41,21 +35,14 @@ require ( github.com/atotto/clipboard v0.1.4 // indirect github.com/aws/aws-sdk-go v1.44.298 // indirect github.com/aws/aws-sdk-go-v2 v1.17.3 // indirect - github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.4.3 // indirect github.com/aws/aws-sdk-go-v2/config v1.15.15 // indirect github.com/aws/aws-sdk-go-v2/credentials v1.12.10 // indirect github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.12.9 // indirect - github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.11.21 // indirect github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.27 // indirect github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.21 // indirect github.com/aws/aws-sdk-go-v2/internal/ini v1.3.16 // indirect - github.com/aws/aws-sdk-go-v2/internal/v4a v1.0.6 // indirect - github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.9.3 // indirect - github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.1.10 // indirect github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.9.9 // indirect - github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.13.9 // indirect github.com/aws/aws-sdk-go-v2/service/kms v1.18.1 // indirect - github.com/aws/aws-sdk-go-v2/service/s3 v1.27.2 // indirect github.com/aws/aws-sdk-go-v2/service/sso v1.11.13 // indirect github.com/aws/aws-sdk-go-v2/service/sts v1.16.10 // indirect github.com/aws/smithy-go v1.13.5 // indirect @@ -71,7 +58,6 @@ require ( github.com/davecgh/go-spew v1.1.1 // indirect github.com/dimchansky/utfbom v1.1.1 // indirect github.com/djherbis/times v1.5.0 // indirect - github.com/dustin/go-humanize v1.0.1 // indirect github.com/edsrzf/mmap-go v1.1.0 // indirect github.com/emirpasic/gods v1.18.1 // indirect github.com/fatih/color v1.13.0 // indirect @@ -80,7 +66,6 @@ require ( github.com/go-git/go-git/v5 v5.6.0 // indirect github.com/gofrs/uuid v4.2.0+incompatible // indirect github.com/gogo/protobuf v1.3.2 // indirect - github.com/golang-jwt/jwt v3.2.1+incompatible // indirect github.com/golang-jwt/jwt/v4 v4.4.2 // indirect github.com/golang/glog v1.1.0 // indirect github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect @@ -115,21 +100,17 @@ require ( github.com/hashicorp/vault/api v1.8.2 // indirect github.com/hashicorp/vault/sdk v0.6.1 // indirect github.com/hashicorp/yamux v0.1.1 // indirect - github.com/ijc/Gotty v0.0.0-20170406111628-a8b993ba6abd // indirect github.com/imdario/mergo v0.3.13 // indirect github.com/inconshreveable/mousetrap v1.1.0 // indirect github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect github.com/jmespath/go-jmespath v0.4.0 // indirect github.com/json-iterator/go v1.1.12 // indirect - github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 // indirect github.com/kevinburke/ssh_config v1.2.0 // indirect - github.com/kylelemons/godebug v1.1.0 // indirect github.com/lucasb-eyer/go-colorful v1.2.0 // indirect github.com/mattn/go-colorable v0.1.12 // indirect github.com/mattn/go-isatty v0.0.18 // indirect github.com/mattn/go-localereader v0.0.1 // indirect github.com/mattn/go-runewidth v0.0.14 // indirect - github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b // indirect github.com/mitchellh/copystructure v1.2.0 // indirect github.com/mitchellh/go-homedir v1.1.0 // indirect github.com/mitchellh/go-ps v1.0.0 // indirect @@ -150,12 +131,11 @@ require ( github.com/pgavlin/goldmark v1.1.33-0.20200616210433-b5eb04559386 // indirect github.com/pierrec/lz4 v2.6.1+incompatible // indirect github.com/pjbgf/sha1cd v0.3.0 // indirect - github.com/pkg/browser v0.0.0-20210115035449-ce105d075bb4 // indirect github.com/pkg/errors v0.9.1 // indirect github.com/pkg/term v1.1.0 // indirect github.com/pmezard/go-difflib v1.0.0 // indirect - github.com/pulumi/esc v0.5.2 // indirect - github.com/pulumi/pulumi/sdk/v3 v3.89.0 // indirect + github.com/pulumi/esc v0.5.6 // indirect + github.com/pulumi/pulumi/sdk/v3 v3.90.1 // indirect github.com/rivo/uniseg v0.4.4 // indirect github.com/rogpeppe/go-internal v1.11.0 // indirect github.com/ryanuber/go-glob v1.0.0 // indirect @@ -181,15 +161,15 @@ require ( go.uber.org/atomic v1.9.0 // indirect gocloud.dev v0.27.0 // indirect gocloud.dev/secrets/hashivault v0.27.0 // indirect - golang.org/x/crypto v0.9.0 // indirect + golang.org/x/crypto v0.14.0 // indirect golang.org/x/exp v0.0.0-20231006140011-7918f672742d // indirect golang.org/x/mod v0.13.0 // indirect - golang.org/x/net v0.10.0 // indirect + golang.org/x/net v0.17.0 // indirect golang.org/x/oauth2 v0.8.0 // indirect golang.org/x/sync v0.2.0 // indirect golang.org/x/sys v0.13.0 // indirect - golang.org/x/term v0.8.0 // indirect - golang.org/x/text v0.9.0 // indirect + golang.org/x/term v0.13.0 // indirect + golang.org/x/text v0.13.0 // indirect golang.org/x/time v0.0.0-20220722155302-e5dcc9cfc0b9 // indirect golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect google.golang.org/api v0.126.0 // indirect diff --git a/examples/go.sum b/examples/go.sum index b0506f2..350f37b 100644 --- a/examples/go.sum +++ b/examples/go.sum @@ -93,8 +93,6 @@ contrib.go.opencensus.io/exporter/stackdriver v0.13.13/go.mod h1:5pSSGY0Bhuk7waT contrib.go.opencensus.io/integrations/ocsql v0.1.7/go.mod h1:8DsSdjz3F+APR+0z0WkU1aRorQCFfRxvqjUUPMbF3fE= dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= github.com/AdaLogics/go-fuzz-headers v0.0.0-20210715213245-6c3934b029d8/go.mod h1:CzsSbkDixRphAF5hS6wbMKq0eI6ccJRb7/A0M6JBnwg= -github.com/AlecAivazis/survey/v2 v2.3.7 h1:6I/u8FvytdGsgonrYsVn2t8t4QiRnh6QSTqkkhIiSjQ= -github.com/AlecAivazis/survey/v2 v2.3.7/go.mod h1:xUTIdE4KCOIjsBAE1JYsUPoCqYdZ1reCfTwbto0Fduo= github.com/Azure/azure-amqp-common-go/v3 v3.2.3/go.mod h1:7rPmbSfszeovxGfc5fSAXE4ehlXQZHpMja2OtxC2Tas= github.com/Azure/azure-sdk-for-go v16.2.1+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc= github.com/Azure/azure-sdk-for-go v63.0.0+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc= @@ -103,16 +101,12 @@ github.com/Azure/azure-sdk-for-go v66.0.0+incompatible h1:bmmC38SlE8/E81nNADlgmV github.com/Azure/azure-sdk-for-go v66.0.0+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc= github.com/Azure/azure-sdk-for-go/sdk/azcore v0.19.0/go.mod h1:h6H6c8enJmmocHUbLiiGY6sx7f9i+X3m1CHdd5c6Rdw= github.com/Azure/azure-sdk-for-go/sdk/azcore v1.0.0/go.mod h1:uGG2W01BaETf0Ozp+QxxKJdMBNRWPdstHG0Fmdwn1/U= -github.com/Azure/azure-sdk-for-go/sdk/azcore v1.1.1 h1:tz19qLF65vuu2ibfTqGVJxG/zZAI27NEIIbvAOQwYbw= github.com/Azure/azure-sdk-for-go/sdk/azcore v1.1.1/go.mod h1:uGG2W01BaETf0Ozp+QxxKJdMBNRWPdstHG0Fmdwn1/U= github.com/Azure/azure-sdk-for-go/sdk/azidentity v0.11.0/go.mod h1:HcM1YX14R7CJcghJGOYCgdezslRSVzqwLf/q+4Y2r/0= -github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.0.0 h1:Yoicul8bnVdQrhDMTHxdEckRGX01XvwXDHUT9zYZ3k0= github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.0.0/go.mod h1:+6sju8gk8FRmSajX3Oz4G5Gm7P+mbqE9FVaXXFYTkCM= github.com/Azure/azure-sdk-for-go/sdk/internal v0.7.0/go.mod h1:yqy467j36fJxcRV2TzfVZ1pCb5vxm4BtZPUdYWe/Xo8= -github.com/Azure/azure-sdk-for-go/sdk/internal v1.0.0 h1:jp0dGvZ7ZK0mgqnTSClMxa5xuRL7NZgHameVYF6BurY= github.com/Azure/azure-sdk-for-go/sdk/internal v1.0.0/go.mod h1:eWRD7oawr1Mu1sLCawqVc0CUiF43ia3qQMxLscsKQ9w= github.com/Azure/azure-sdk-for-go/sdk/messaging/azservicebus v1.0.2/go.mod h1:LH9XQnMr2ZYxQdVdCrzLO9mxeDyrDFa6wbSI3x5zCZk= -github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v0.4.1 h1:QSdcrd/UFJv6Bp/CfoVf2SrENpFn9P6Yh8yb+xNhYMM= github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v0.4.1/go.mod h1:eZ4g6GUvXiGulfIbbhh1Xr4XwUYaYaWMqzGD/284wCA= github.com/Azure/go-amqp v0.17.0/go.mod h1:9YJ3RhxRT1gquYnzpZO1vcYMMpAdJT+QEg6fwmw9Zlg= github.com/Azure/go-amqp v0.17.5/go.mod h1:9YJ3RhxRT1gquYnzpZO1vcYMMpAdJT+QEg6fwmw9Zlg= @@ -156,7 +150,6 @@ github.com/Azure/go-autorest/logger v0.2.1 h1:IG7i4p/mDa2Ce4TRyAO8IHnVhAVF3RFU+Z github.com/Azure/go-autorest/logger v0.2.1/go.mod h1:T9E3cAhj2VqvPOtCYAvby9aBXkZmbF5NWuPV8+WeEW8= github.com/Azure/go-autorest/tracing v0.6.0 h1:TYi4+3m5t6K48TGI9AUdb+IzbnSxvnvUMfuitfgcfuo= github.com/Azure/go-autorest/tracing v0.6.0/go.mod h1:+vhtPC754Xsa23ID7GlGsrdKBpUA79WCAKPPZVC2DeU= -github.com/AzureAD/microsoft-authentication-library-for-go v0.4.0 h1:WVsrXCnHlDDX8ls+tootqRE87/hL9S/g4ewig9RsD/c= github.com/AzureAD/microsoft-authentication-library-for-go v0.4.0/go.mod h1:Vt9sXTKwMyGcOxSmLDMnGPgqsUg7m8pe215qMLrDXw4= github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= @@ -192,8 +185,6 @@ github.com/Microsoft/hcsshim/test v0.0.0-20201218223536-d3e5debf77da/go.mod h1:5 github.com/Microsoft/hcsshim/test v0.0.0-20210227013316-43a75bb4edd3/go.mod h1:mw7qgWloBUl75W/gVH3cQszUg1+gUITj7D6NY7ywVnY= github.com/NYTimes/gziphandler v0.0.0-20170623195520-56545f4a5d46/go.mod h1:3wb06e3pkSAbeQ52E9H9iFoQsEEwGN64994WTCIhntQ= github.com/NYTimes/gziphandler v1.1.1/go.mod h1:n/CVRwUEOgIxrgPvAQhUUr9oeUtvrhMomdKFjzJNB0c= -github.com/Netflix/go-expect v0.0.0-20220104043353-73e0943537d2 h1:+vx7roKuyA63nhn5WAunQHLTznkw5W8b1Xc0dNjp83s= -github.com/Netflix/go-expect v0.0.0-20220104043353-73e0943537d2/go.mod h1:HBCaDeC1lPdgDeDbhX8XFpy1jqjK0IBG8W5K+xYqA0w= github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= github.com/ProtonMail/go-crypto v0.0.0-20221026131551-cf6655e29de4 h1:ra2OtmuW0AE5csawV4YXMNGNQQXvLRps3z2Z59OPO+I= github.com/ProtonMail/go-crypto v0.0.0-20221026131551-cf6655e29de4/go.mod h1:UBYPn8k0D56RtnR8RFQMjmh4KrZzWJ5o7Z9SYjossQ8= @@ -511,8 +502,6 @@ github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46t github.com/creack/pty v1.1.7/go.mod h1:lj5s0c3V2DBrqTV7llrYr5NG6My20zk30Fl46Y7DoTY= github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= github.com/creack/pty v1.1.11/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= -github.com/creack/pty v1.1.17 h1:QeVUsEDNrLBW4tMgZHvxy18sKtr6VI492kBhUfhDJNI= -github.com/creack/pty v1.1.17/go.mod h1:MOBLtS5ELjhRRrroQr9kyvTxUAFNvYEK993ew/Vr4O4= github.com/cyphar/filepath-securejoin v0.2.2/go.mod h1:FpkQEhXnPnOthhzymB7CGsFk2G9VLXONKD9G7QGMM+4= github.com/cyphar/filepath-securejoin v0.2.3/go.mod h1:aPGpWjXOXUn2NCNjFvBE6aRxGGx79pTxQpKOJNYHHl4= github.com/d2g/dhcp4 v0.0.0-20170904100407-a1d1b6c41b1c/go.mod h1:Ct2BUK8SB0YC1SMSibvLzxjeJLnrYEVLULFNiHY9YfQ= @@ -538,7 +527,6 @@ github.com/djherbis/times v1.5.0 h1:79myA211VwPhFTqUk8xehWrsEO+zcIZj0zT8mXPVARU= github.com/djherbis/times v1.5.0/go.mod h1:5q7FDLvbNg1L/KaBmPcWlVR9NmoKo3+ucqUA3ijQhA0= github.com/dnaeon/go-vcr v1.0.1/go.mod h1:aBB1+wY4s93YsC3HHjMBMrwTj2R9FHDzUr9KyGc8n1E= github.com/dnaeon/go-vcr v1.1.0/go.mod h1:M7tiix8f0r6mKKJ3Yq/kqU1OYf3MnfmBWVbPx/yU9ko= -github.com/dnaeon/go-vcr v1.2.0 h1:zHCHvJYTMh1N7xnV7zf1m1GPBF9Ad0Jk/whtQ1663qI= github.com/dnaeon/go-vcr v1.2.0/go.mod h1:R4UdLID7HZT3taECzJs4YgbbH6PIGXB6W/sc5OLb6RQ= github.com/docker/cli v0.0.0-20191017083524-a8ff7f821017/go.mod h1:JLrzqnKDaYBop7H2jaqPtU4hHvMKP+vjCwu2uszcLI8= github.com/docker/distribution v0.0.0-20190905152932-14b96e55d84c/go.mod h1:0+TTO4EOBfRPhZXAeF1Vu+W3hHZ8eLp8PgKVZlcvtFY= @@ -560,8 +548,6 @@ github.com/docker/spdystream v0.0.0-20160310174837-449fdfce4d96/go.mod h1:Qh8CwZ github.com/docopt/docopt-go v0.0.0-20180111231733-ee0de3bc6815/go.mod h1:WwZ+bS3ebgob9U8Nd0kOddGdZWjyMGR8Wziv+TBNwSE= github.com/dustin/go-humanize v0.0.0-20171111073723-bb3d318650d4/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk= github.com/dustin/go-humanize v1.0.0/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk= -github.com/dustin/go-humanize v1.0.1 h1:GzkhY7T5VNhEkwH0PVJgjz+fX1rhBrR7pRT3mDkpeCY= -github.com/dustin/go-humanize v1.0.1/go.mod h1:Mu1zIs6XwVuF/gI1OepvI0qD18qycQx+mFykh5fBlto= github.com/eapache/go-resiliency v1.1.0/go.mod h1:kFI+JgMyC7bLPUVY133qvEBtVayf5mFgVsvEsIPBvNs= github.com/eapache/go-xerial-snappy v0.0.0-20180814174437-776d5712da21/go.mod h1:+020luEh2TKB4/GOp8oxxtq0Daoen/Cii55CzbTV6DU= github.com/eapache/queue v1.1.0/go.mod h1:6eCeP0CKFpHLu8blIFXhExK/dRa7WDZfr6jVFPTqq+I= @@ -751,7 +737,6 @@ github.com/gogo/protobuf v1.3.0/go.mod h1:SlYgWuQ5SjCEi6WLHjHCa1yvBfUnHcTbrrZtXP github.com/gogo/protobuf v1.3.1/go.mod h1:SlYgWuQ5SjCEi6WLHjHCa1yvBfUnHcTbrrZtXPKa29o= github.com/gogo/protobuf v1.3.2 h1:Ov1cvc58UF3b5XjBnZv7+opcTcQFZebYjWzi34vdm4Q= github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q= -github.com/golang-jwt/jwt v3.2.1+incompatible h1:73Z+4BJcrTC+KczS6WvTPvRGOp1WmfEP4Q1lOd9Z/+c= github.com/golang-jwt/jwt v3.2.1+incompatible/go.mod h1:8pz2t5EyA70fFQQSrl6XZXzqecmYZeUEB8OUGHkxJ+I= github.com/golang-jwt/jwt/v4 v4.0.0/go.mod h1:/xlHOz8bRuivTWchD4jCa+NbatV+wEUSzwAxVc6locg= github.com/golang-jwt/jwt/v4 v4.2.0/go.mod h1:/xlHOz8bRuivTWchD4jCa+NbatV+wEUSzwAxVc6locg= @@ -1016,9 +1001,6 @@ github.com/hashicorp/yamux v0.1.1 h1:yrQxtgseBDrq9Y652vSRDvsKCJKOUD+GzTS4Y0Y8pvE github.com/hashicorp/yamux v0.1.1/go.mod h1:CtWFDAQgb7dxtzFs4tWbplKIe2jSi3+5vKbgIO0SLnQ= github.com/hetznercloud/hcloud-go v1.33.1/go.mod h1:XX/TQub3ge0yWR2yHWmnDVIrB+MQbda1pHxkUmDlUME= github.com/hetznercloud/hcloud-go v1.35.0/go.mod h1:mepQwR6va27S3UQthaEPGS86jtzSY9xWL1e9dyxXpgA= -github.com/hinshun/vt10x v0.0.0-20220119200601-820417d04eec/go.mod h1:Q48J4R4DvxnHolD5P8pOtXigYlRuPLGl6moFx3ulM68= -github.com/hinshun/vt10x v0.0.0-20220301184237-5011da428d02 h1:AgcIVYPa6XJnU3phs104wLj8l5GEththEw6+F79YsIY= -github.com/hinshun/vt10x v0.0.0-20220301184237-5011da428d02/go.mod h1:Q48J4R4DvxnHolD5P8pOtXigYlRuPLGl6moFx3ulM68= github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU= github.com/hudl/fargo v1.3.0/go.mod h1:y3CKSmjA+wD2gak7sUSXTAoopbhU08POFhmITJgmKTg= github.com/iancoleman/strcase v0.2.0/go.mod h1:iwCmte+B7n89clKwxIoIXy/HfoL7AsD47ZCWhYzw7ho= @@ -1026,8 +1008,6 @@ github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1: github.com/ianlancetaylor/demangle v0.0.0-20200824232613-28f6c0f3b639/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= github.com/ianlancetaylor/demangle v0.0.0-20210905161508-09a460cdf81d/go.mod h1:aYm2/VgdVmcIU8iMfdMvDMsRAQjcfZSKFby6HOFvi/w= github.com/ianlancetaylor/demangle v0.0.0-20220319035150-800ac71e25c2/go.mod h1:aYm2/VgdVmcIU8iMfdMvDMsRAQjcfZSKFby6HOFvi/w= -github.com/ijc/Gotty v0.0.0-20170406111628-a8b993ba6abd h1:anPrsicrIi2ColgWTVPk+TrN42hJIWlfPHSBP9S0ZkM= -github.com/ijc/Gotty v0.0.0-20170406111628-a8b993ba6abd/go.mod h1:3LVOLeyx9XVvwPgrt2be44XgSqndprz1G18rSk8KD84= github.com/imdario/mergo v0.3.5/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJh5FfA= github.com/imdario/mergo v0.3.8/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJh5FfA= github.com/imdario/mergo v0.3.10/go.mod h1:jmQim1M+e3UYxmgPu/WyfjB3N3VflVyUjjjwH0dnCYA= @@ -1115,8 +1095,6 @@ github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7V github.com/julienschmidt/httprouter v1.3.0/go.mod h1:JR6WtHb+2LUe8TCKY3cZOxFyyO8IZAc4RVcycCCAKdM= github.com/karrick/godirwalk v1.8.0/go.mod h1:H5KPZjojv4lE+QYImBI8xVtrBRgYrIVsaRPx4tDPEn4= github.com/karrick/godirwalk v1.10.3/go.mod h1:RoGL9dQei4vP9ilrpETWE8CLOZ1kiN0LhBygSwrAsHA= -github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 h1:Z9n2FFNUXsshfwJMBgNA0RU6/i7WVaAegv3PtuIHPMs= -github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51/go.mod h1:CzGEWj7cYgsdH8dAjBGEr58BoE7ScuLd+fwFZ44+/x8= github.com/kevinburke/ssh_config v1.2.0 h1:x584FjTGwHzMwvHx18PXxbBVzfnxogHaAReU4gf13a4= github.com/kevinburke/ssh_config v1.2.0/go.mod h1:CT57kijsi8u/K/BOFA39wgDQJ9CxiF4nAY/ojJ6r6mM= github.com/kisielk/errcheck v1.1.0/go.mod h1:EZBBE59ingxPouuu3KfxchcWSUPOHkagtvWXihfKN4Q= @@ -1146,7 +1124,6 @@ github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= github.com/kylelemons/godebug v0.0.0-20170820004349-d65d576e9348/go.mod h1:B69LEHPfb2qLo0BaaOLcbitczOKLWTsrBG9LczfCD4k= -github.com/kylelemons/godebug v1.1.0 h1:RPNrshWIDI6G2gRW9EHilWtl7Z6Sb1BR0xunSBf0SNc= github.com/kylelemons/godebug v1.1.0/go.mod h1:9/0rRGxNHcop5bhtWyNeEfOS8JIWk580+fNqagV/RAw= github.com/leodido/go-urn v1.2.0/go.mod h1:+8+nEpDfqqsY+g338gtMEUOtuK+4dEMhiQEgxpxOKII= github.com/lib/pq v1.0.0/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo= @@ -1178,7 +1155,6 @@ github.com/matryer/is v1.2.0 h1:92UTHpy8CDwaJ08GqLDzhhuixiBUUD1p3AU6PHddz4A= github.com/matryer/is v1.2.0/go.mod h1:2fLPjFQM9rhQ15aVEtbuwhJinnOqrmgXPNdZsdwlWXA= github.com/mattn/go-colorable v0.0.9/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaOChaDxuIBZU= github.com/mattn/go-colorable v0.1.1/go.mod h1:FuOcm+DKB9mbwrcAfNl7/TZVBZ6rcnceauSikq3lYCQ= -github.com/mattn/go-colorable v0.1.2/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVcfRqFIhoBtE= github.com/mattn/go-colorable v0.1.4/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVcfRqFIhoBtE= github.com/mattn/go-colorable v0.1.6/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc= github.com/mattn/go-colorable v0.1.8/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc= @@ -1209,8 +1185,6 @@ github.com/mattn/go-shellwords v1.0.12/go.mod h1:EZzvwXDESEeg03EKmM+RmDnNOPKG4lL github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0= github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369/go.mod h1:BSXmuO+STAnVfrANrmjBb36TMTDstsz7MSK+HVaYKv4= github.com/maxbrunsfeld/counterfeiter/v6 v6.2.2/go.mod h1:eD9eIE7cdwcMi9rYluz88Jz2VyhSmden33/aXg4oVIY= -github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b h1:j7+1HpAFS1zy5+Q4qx1fWh90gTKwiN4QCGoY9TWyyO4= -github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b/go.mod h1:01TrycV0kFyexm33Z7vhZRXopbI8J3TDReVlkTgMUxE= github.com/microsoft/ApplicationInsights-Go v0.4.4/go.mod h1:fKRUseBqkw6bDiXTs3ESTiU/4YTIHsQS4W3fP2ieF4U= github.com/miekg/dns v1.0.14/go.mod h1:W1PPwlIAgtquWBMBEV9nkV9Cazfe8ScdGz/Lj7v3Nrg= github.com/miekg/dns v1.1.26/go.mod h1:bPDLeHnStXmXAq1m/Ch/hvfNHr14JKNPMBo3VZKjuso= @@ -1389,7 +1363,6 @@ github.com/pierrec/lz4 v2.6.1+incompatible/go.mod h1:pdkljMzZIN41W+lC3N2tnIh5sFi github.com/pjbgf/sha1cd v0.3.0 h1:4D5XXmUUBUl/xQ6IjCkEAbqXskkq/4O7LmGn0AqMDs4= github.com/pjbgf/sha1cd v0.3.0/go.mod h1:nZ1rrWOcGJ5uZgEEVL1VUM9iRQiZvWdbZjkKyFzPPsI= github.com/pkg/browser v0.0.0-20180916011732-0a3d74bf9ce4/go.mod h1:4OwLy04Bl9Ef3GJJCoec+30X3LQs/0/m4HFRt/2LUSA= -github.com/pkg/browser v0.0.0-20210115035449-ce105d075bb4 h1:Qj1ukM4GlMWXNdMBuXcXfz/Kw9s1qm0CLY32QxuSImI= github.com/pkg/browser v0.0.0-20210115035449-ce105d075bb4/go.mod h1:N6UoU20jOqggOuDwUaBQpluzLNDqif3kq9z2wpdYEfQ= github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/errors v0.8.1-0.20171018195549-f15c970de5b7/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= @@ -1461,12 +1434,12 @@ github.com/prometheus/procfs v0.7.3/go.mod h1:cz+aTbrPOrUb4q7XlbU9ygM+/jj0fzG6c1 github.com/prometheus/prometheus v0.35.0/go.mod h1:7HaLx5kEPKJ0GDgbODG0fZgXbQ8K/XjZNJXQmbmgQlY= github.com/prometheus/prometheus v0.37.0/go.mod h1:egARUgz+K93zwqsVIAneFlLZefyGOON44WyAp4Xqbbk= github.com/prometheus/tsdb v0.7.1/go.mod h1:qhTCs0VvXwvX/y3TZrWD7rabWM+ijKTux40TwIPHuXU= -github.com/pulumi/esc v0.5.2 h1:Wnr0oXy8MAyRMtVrMHPI2frjyuylVnU47ReFPNjE3C0= -github.com/pulumi/esc v0.5.2/go.mod h1:lp6lkE9JrifhmjlXVH9//Rj45OETlVPHZKvoNRyU54Q= -github.com/pulumi/pulumi/pkg/v3 v3.89.0 h1:4gaR9ZerHqtc0NYcq7TLxhj2029H9CtRrirmibyLw/E= -github.com/pulumi/pulumi/pkg/v3 v3.89.0/go.mod h1:5DIoI81I+NmW/y2BDlQR4CwnzTeVwkI3DZ4FBnSprXs= -github.com/pulumi/pulumi/sdk/v3 v3.89.0 h1:WlkOQ4Q/Xyxu4lckGWssNI4Wdrobo5Zb7JQVoFVkzMo= -github.com/pulumi/pulumi/sdk/v3 v3.89.0/go.mod h1:XBIlxfHv/jnRj6v8rXP79Z3E11jQz/Ky+bDhwVAHOPk= +github.com/pulumi/esc v0.5.6 h1:4WV3X7OEVcChIwbSG+JxhZDdmq/q7lFPaSjHRYlPwmI= +github.com/pulumi/esc v0.5.6/go.mod h1:wpwNfVS5fV7Kd51j4dJ6FWYlKfxdqyppgp0gtkzqH04= +github.com/pulumi/pulumi/pkg/v3 v3.90.1 h1:RFC/eqTbDfIvfeVQL8WaPmyQr1KzZhAGIIDGr9jj9y8= +github.com/pulumi/pulumi/pkg/v3 v3.90.1/go.mod h1:J+WbfN30g3FfQifpLjQPI0UhPsC9ASEePLK8Nix06A8= +github.com/pulumi/pulumi/sdk/v3 v3.90.1 h1:iT4t57N92WGhEQtg+KVDEmYzgfEyri39eihQzcNmtrM= +github.com/pulumi/pulumi/sdk/v3 v3.90.1/go.mod h1:zYaQQibB2pYKy/uG4c4YkX7lQIBpZ0KsuMaq/3HsIBQ= github.com/rakyll/embedmd v0.0.0-20171029212350-c8060a0752a2/go.mod h1:7jOTMgqac46PZcF54q6l2hkLEG8op93fZu61KmxWDV4= github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4= github.com/rivo/uniseg v0.1.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= @@ -1787,8 +1760,8 @@ golang.org/x/crypto v0.0.0-20220722155217-630584e8d5aa/go.mod h1:IxCIyHEi3zRg3s0 golang.org/x/crypto v0.0.0-20220826181053-bd7e27e6170d/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= golang.org/x/crypto v0.1.0/go.mod h1:RecgLatLF4+eUMCP1PoPZQb+cVrJcOPbHkTkbkB9sbw= golang.org/x/crypto v0.3.0/go.mod h1:hebNnKkNXi2UzZN1eVRvBB7co0a+JxK6XbPiWVs/3J4= -golang.org/x/crypto v0.9.0 h1:LF6fAI+IutBocDJ2OT0Q1g8plpYljMZ4+lty+dsqw3g= -golang.org/x/crypto v0.9.0/go.mod h1:yrmDGqONDYtNj3tH8X9dzUun2m2lzPa9ngI6/RUPGR0= +golang.org/x/crypto v0.14.0 h1:wBqGXzWJW6m1XrIKlAH0Hs1JJ7+9KBwnIO8v66Q9cHc= +golang.org/x/crypto v0.14.0/go.mod h1:MVFd36DqK4CsrnJYDkBA3VC4m2GkXAM0PvzMCn4JQf4= golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8= @@ -1915,8 +1888,8 @@ golang.org/x/net v0.0.0-20220802222814-0bcc04d9c69b/go.mod h1:YDH+HFinaLZZlnHAfS golang.org/x/net v0.0.0-20220826154423-83b083e8dc8b/go.mod h1:YDH+HFinaLZZlnHAfSS6ZXJJ9M9t4Dl22yv3iI2vPwk= golang.org/x/net v0.1.0/go.mod h1:Cx3nUiGt4eDBEyega/BKRp+/AlGL8hYe7U9odMt2Cco= golang.org/x/net v0.2.0/go.mod h1:KqCZLdyyvdV855qA2rE3GC2aiw5xGR5TEjj8smXukLY= -golang.org/x/net v0.10.0 h1:X2//UzNDwYmtCLn7To6G58Wr6f5ahEAQgKNzv9Y951M= -golang.org/x/net v0.10.0/go.mod h1:0qNGK6F8kojg2nk9dLZ2mShWaEBan6FAoqfSigmmuDg= +golang.org/x/net v0.17.0 h1:pVaXccu2ozPjCXewfr1S7xza/zcXTity9cCdXQYSjIM= +golang.org/x/net v0.17.0/go.mod h1:NxSsAGuq816PNPmqtQdLE42eU2Fs7NoRIZrHJAlaCOE= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= @@ -2117,8 +2090,8 @@ golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuX golang.org/x/term v0.0.0-20220722155259-a9ba230a4035/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= golang.org/x/term v0.1.0/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= golang.org/x/term v0.2.0/go.mod h1:TVmDHMZPmdnySmBfhjOoOdhjzdE1h4u1VwSiw2l1Nuc= -golang.org/x/term v0.8.0 h1:n5xxQn2i3PC0yLAbjTpNT85q/Kgzcr2gIoX9OrJUols= -golang.org/x/term v0.8.0/go.mod h1:xPskH00ivmX89bAKVGSKKtLOWNx2+17Eiy94tnKShWo= +golang.org/x/term v0.13.0 h1:bb+I9cTfFazGW51MZqBVmZy7+JEJMouUHTUSKVQLBek= +golang.org/x/term v0.13.0/go.mod h1:LTmsnFJwVN6bCy1rVCoS+qHT1HhALEFxKncY3WNNh4U= golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= @@ -2130,8 +2103,8 @@ golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= golang.org/x/text v0.3.8/go.mod h1:E6s5w1FMmriuDzIBO73fBruAKo1PCIq6d2Q6DHfQ8WQ= golang.org/x/text v0.4.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= -golang.org/x/text v0.9.0 h1:2sjJmO8cDvYveuX97RDLsxlyUxLl+GHoLxBiRdHllBE= -golang.org/x/text v0.9.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8= +golang.org/x/text v0.13.0 h1:ablQoSUd0tRdKxZewP80B+BaqeKJuVhuRxj/dkrun3k= +golang.org/x/text v0.13.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= golang.org/x/time v0.0.0-20180412165947-fbb02b2291d2/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= diff --git a/provider/cmd/pulumi-resource-minio/schema.json b/provider/cmd/pulumi-resource-minio/schema.json index c69feb3..6c47b9e 100644 --- a/provider/cmd/pulumi-resource-minio/schema.json +++ b/provider/cmd/pulumi-resource-minio/schema.json @@ -698,7 +698,7 @@ } }, "minio:index/iamServiceAccount:IamServiceAccount": { - "description": "{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as minio from \"@pulumi/minio\";\n\nconst test = new minio.IamUser(\"test\", {\n forceDestroy: true,\n tags: {\n \"tag-key\": \"tag-value\",\n },\n});\nconst testServiceAccount = new minio.IamServiceAccount(\"testServiceAccount\", {targetUser: test.name});\nexport const minioUser = testServiceAccount.accessKey;\nexport const minioPassword = testServiceAccount.secretKey;\n```\n```python\nimport pulumi\nimport pulumi_minio as minio\n\ntest = minio.IamUser(\"test\",\n force_destroy=True,\n tags={\n \"tag-key\": \"tag-value\",\n })\ntest_service_account = minio.IamServiceAccount(\"testServiceAccount\", target_user=test.name)\npulumi.export(\"minioUser\", test_service_account.access_key)\npulumi.export(\"minioPassword\", test_service_account.secret_key)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Minio = Pulumi.Minio;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var test = new Minio.IamUser(\"test\", new()\n {\n ForceDestroy = true,\n Tags = \n {\n { \"tag-key\", \"tag-value\" },\n },\n });\n\n var testServiceAccount = new Minio.IamServiceAccount(\"testServiceAccount\", new()\n {\n TargetUser = test.Name,\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"minioUser\"] = testServiceAccount.AccessKey,\n [\"minioPassword\"] = testServiceAccount.SecretKey,\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-minio/sdk/go/minio\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\ttest, err := minio.NewIamUser(ctx, \"test\", \u0026minio.IamUserArgs{\n\t\t\tForceDestroy: pulumi.Bool(true),\n\t\t\tTags: pulumi.AnyMap{\n\t\t\t\t\"tag-key\": pulumi.Any(\"tag-value\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\ttestServiceAccount, err := minio.NewIamServiceAccount(ctx, \"testServiceAccount\", \u0026minio.IamServiceAccountArgs{\n\t\t\tTargetUser: test.Name,\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"minioUser\", testServiceAccount.AccessKey)\n\t\tctx.Export(\"minioPassword\", testServiceAccount.SecretKey)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.minio.IamUser;\nimport com.pulumi.minio.IamUserArgs;\nimport com.pulumi.minio.IamServiceAccount;\nimport com.pulumi.minio.IamServiceAccountArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var test = new IamUser(\"test\", IamUserArgs.builder() \n .forceDestroy(true)\n .tags(Map.of(\"tag-key\", \"tag-value\"))\n .build());\n\n var testServiceAccount = new IamServiceAccount(\"testServiceAccount\", IamServiceAccountArgs.builder() \n .targetUser(test.name())\n .build());\n\n ctx.export(\"minioUser\", testServiceAccount.accessKey());\n ctx.export(\"minioPassword\", testServiceAccount.secretKey());\n }\n}\n```\n```yaml\nresources:\n test:\n type: minio:IamUser\n properties:\n forceDestroy: true\n tags:\n tag-key: tag-value\n testServiceAccount:\n type: minio:IamServiceAccount\n properties:\n targetUser: ${test.name}\noutputs:\n minioUser: ${testServiceAccount.accessKey}\n minioPassword: ${testServiceAccount.secretKey}\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as minio from \"@pulumi/minio\";\n\nconst test = new minio.IamUser(\"test\", {\n forceDestroy: true,\n tags: {\n \"tag-key\": \"tag-value\",\n },\n});\nconst testServiceAccount = new minio.IamServiceAccount(\"testServiceAccount\", {targetUser: test.name});\nexport const minioUser = testServiceAccount.accessKey;\nexport const minioPassword = testServiceAccount.secretKey;\n```\n```python\nimport pulumi\nimport pulumi_minio as minio\n\ntest = minio.IamUser(\"test\",\n force_destroy=True,\n tags={\n \"tag-key\": \"tag-value\",\n })\ntest_service_account = minio.IamServiceAccount(\"testServiceAccount\", target_user=test.name)\npulumi.export(\"minioUser\", test_service_account.access_key)\npulumi.export(\"minioPassword\", test_service_account.secret_key)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Minio = Pulumi.Minio;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var test = new Minio.IamUser(\"test\", new()\n {\n ForceDestroy = true,\n Tags = \n {\n { \"tag-key\", \"tag-value\" },\n },\n });\n\n var testServiceAccount = new Minio.IamServiceAccount(\"testServiceAccount\", new()\n {\n TargetUser = test.Name,\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"minioUser\"] = testServiceAccount.AccessKey,\n [\"minioPassword\"] = testServiceAccount.SecretKey,\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-minio/sdk/go/minio\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\ttest, err := minio.NewIamUser(ctx, \"test\", \u0026minio.IamUserArgs{\n\t\t\tForceDestroy: pulumi.Bool(true),\n\t\t\tTags: pulumi.Map{\n\t\t\t\t\"tag-key\": pulumi.Any(\"tag-value\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\ttestServiceAccount, err := minio.NewIamServiceAccount(ctx, \"testServiceAccount\", \u0026minio.IamServiceAccountArgs{\n\t\t\tTargetUser: test.Name,\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"minioUser\", testServiceAccount.AccessKey)\n\t\tctx.Export(\"minioPassword\", testServiceAccount.SecretKey)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.minio.IamUser;\nimport com.pulumi.minio.IamUserArgs;\nimport com.pulumi.minio.IamServiceAccount;\nimport com.pulumi.minio.IamServiceAccountArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var test = new IamUser(\"test\", IamUserArgs.builder() \n .forceDestroy(true)\n .tags(Map.of(\"tag-key\", \"tag-value\"))\n .build());\n\n var testServiceAccount = new IamServiceAccount(\"testServiceAccount\", IamServiceAccountArgs.builder() \n .targetUser(test.name())\n .build());\n\n ctx.export(\"minioUser\", testServiceAccount.accessKey());\n ctx.export(\"minioPassword\", testServiceAccount.secretKey());\n }\n}\n```\n```yaml\nresources:\n test:\n type: minio:IamUser\n properties:\n forceDestroy: true\n tags:\n tag-key: tag-value\n testServiceAccount:\n type: minio:IamServiceAccount\n properties:\n targetUser: ${test.name}\noutputs:\n minioUser: ${testServiceAccount.accessKey}\n minioPassword: ${testServiceAccount.secretKey}\n```\n{{% /example %}}\n{{% /examples %}}", "properties": { "accessKey": { "type": "string" @@ -787,7 +787,7 @@ } }, "minio:index/iamUser:IamUser": { - "description": "{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as minio from \"@pulumi/minio\";\n\nconst testIamUser = new minio.IamUser(\"testIamUser\", {\n forceDestroy: true,\n tags: {\n \"tag-key\": \"tag-value\",\n },\n});\nexport const test = testIamUser.id;\nexport const status = testIamUser.status;\nexport const secret = testIamUser.secret;\n```\n```python\nimport pulumi\nimport pulumi_minio as minio\n\ntest_iam_user = minio.IamUser(\"testIamUser\",\n force_destroy=True,\n tags={\n \"tag-key\": \"tag-value\",\n })\npulumi.export(\"test\", test_iam_user.id)\npulumi.export(\"status\", test_iam_user.status)\npulumi.export(\"secret\", test_iam_user.secret)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Minio = Pulumi.Minio;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var testIamUser = new Minio.IamUser(\"testIamUser\", new()\n {\n ForceDestroy = true,\n Tags = \n {\n { \"tag-key\", \"tag-value\" },\n },\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"test\"] = testIamUser.Id,\n [\"status\"] = testIamUser.Status,\n [\"secret\"] = testIamUser.Secret,\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-minio/sdk/go/minio\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\ttestIamUser, err := minio.NewIamUser(ctx, \"testIamUser\", \u0026minio.IamUserArgs{\n\t\t\tForceDestroy: pulumi.Bool(true),\n\t\t\tTags: pulumi.AnyMap{\n\t\t\t\t\"tag-key\": pulumi.Any(\"tag-value\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"test\", testIamUser.ID())\n\t\tctx.Export(\"status\", testIamUser.Status)\n\t\tctx.Export(\"secret\", testIamUser.Secret)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.minio.IamUser;\nimport com.pulumi.minio.IamUserArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var testIamUser = new IamUser(\"testIamUser\", IamUserArgs.builder() \n .forceDestroy(true)\n .tags(Map.of(\"tag-key\", \"tag-value\"))\n .build());\n\n ctx.export(\"test\", testIamUser.id());\n ctx.export(\"status\", testIamUser.status());\n ctx.export(\"secret\", testIamUser.secret());\n }\n}\n```\n```yaml\nresources:\n testIamUser:\n type: minio:IamUser\n properties:\n forceDestroy: true\n tags:\n tag-key: tag-value\noutputs:\n test: ${testIamUser.id}\n status: ${testIamUser.status}\n secret: ${testIamUser.secret}\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as minio from \"@pulumi/minio\";\n\nconst testIamUser = new minio.IamUser(\"testIamUser\", {\n forceDestroy: true,\n tags: {\n \"tag-key\": \"tag-value\",\n },\n});\nexport const test = testIamUser.id;\nexport const status = testIamUser.status;\nexport const secret = testIamUser.secret;\n```\n```python\nimport pulumi\nimport pulumi_minio as minio\n\ntest_iam_user = minio.IamUser(\"testIamUser\",\n force_destroy=True,\n tags={\n \"tag-key\": \"tag-value\",\n })\npulumi.export(\"test\", test_iam_user.id)\npulumi.export(\"status\", test_iam_user.status)\npulumi.export(\"secret\", test_iam_user.secret)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Minio = Pulumi.Minio;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var testIamUser = new Minio.IamUser(\"testIamUser\", new()\n {\n ForceDestroy = true,\n Tags = \n {\n { \"tag-key\", \"tag-value\" },\n },\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"test\"] = testIamUser.Id,\n [\"status\"] = testIamUser.Status,\n [\"secret\"] = testIamUser.Secret,\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-minio/sdk/go/minio\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\ttestIamUser, err := minio.NewIamUser(ctx, \"testIamUser\", \u0026minio.IamUserArgs{\n\t\t\tForceDestroy: pulumi.Bool(true),\n\t\t\tTags: pulumi.Map{\n\t\t\t\t\"tag-key\": pulumi.Any(\"tag-value\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"test\", testIamUser.ID())\n\t\tctx.Export(\"status\", testIamUser.Status)\n\t\tctx.Export(\"secret\", testIamUser.Secret)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.minio.IamUser;\nimport com.pulumi.minio.IamUserArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var testIamUser = new IamUser(\"testIamUser\", IamUserArgs.builder() \n .forceDestroy(true)\n .tags(Map.of(\"tag-key\", \"tag-value\"))\n .build());\n\n ctx.export(\"test\", testIamUser.id());\n ctx.export(\"status\", testIamUser.status());\n ctx.export(\"secret\", testIamUser.secret());\n }\n}\n```\n```yaml\nresources:\n testIamUser:\n type: minio:IamUser\n properties:\n forceDestroy: true\n tags:\n tag-key: tag-value\noutputs:\n test: ${testIamUser.id}\n status: ${testIamUser.status}\n secret: ${testIamUser.secret}\n```\n{{% /example %}}\n{{% /examples %}}", "properties": { "disableUser": { "type": "boolean", diff --git a/provider/go.mod b/provider/go.mod index 9e736a0..1085330 100644 --- a/provider/go.mod +++ b/provider/go.mod @@ -6,8 +6,8 @@ replace github.com/hashicorp/terraform-plugin-sdk/v2 => github.com/pulumi/terraf require ( github.com/aminueza/terraform-provider-minio v1.18.2 - github.com/pulumi/pulumi-terraform-bridge/v3 v3.62.0 - github.com/pulumi/pulumi/sdk/v3 v3.89.0 + github.com/pulumi/pulumi-terraform-bridge/v3 v3.63.1 + github.com/pulumi/pulumi/sdk/v3 v3.90.1 ) require ( @@ -20,12 +20,7 @@ require ( cloud.google.com/go/longrunning v0.5.1 // indirect cloud.google.com/go/storage v1.30.1 // indirect dario.cat/mergo v1.0.0 // indirect - github.com/AlecAivazis/survey/v2 v2.3.7 // indirect github.com/Azure/azure-sdk-for-go v66.0.0+incompatible // indirect - github.com/Azure/azure-sdk-for-go/sdk/azcore v1.1.1 // indirect - github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.0.0 // indirect - github.com/Azure/azure-sdk-for-go/sdk/internal v1.0.0 // indirect - github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v0.4.1 // indirect github.com/Azure/go-autorest v14.2.0+incompatible // indirect github.com/Azure/go-autorest/autorest v0.11.28 // indirect github.com/Azure/go-autorest/autorest/adal v0.9.21 // indirect @@ -36,7 +31,6 @@ require ( github.com/Azure/go-autorest/autorest/validation v0.3.1 // indirect github.com/Azure/go-autorest/logger v0.2.1 // indirect github.com/Azure/go-autorest/tracing v0.6.0 // indirect - github.com/AzureAD/microsoft-authentication-library-for-go v0.4.0 // indirect github.com/BurntSushi/toml v1.2.1 // indirect github.com/Masterminds/goutils v1.1.1 // indirect github.com/Masterminds/semver v1.5.0 // indirect @@ -54,21 +48,14 @@ require ( github.com/atotto/clipboard v0.1.4 // indirect github.com/aws/aws-sdk-go v1.45.6 // indirect github.com/aws/aws-sdk-go-v2 v1.17.3 // indirect - github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.4.3 // indirect github.com/aws/aws-sdk-go-v2/config v1.15.15 // indirect github.com/aws/aws-sdk-go-v2/credentials v1.12.10 // indirect github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.12.9 // indirect - github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.11.21 // indirect github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.27 // indirect github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.21 // indirect github.com/aws/aws-sdk-go-v2/internal/ini v1.3.16 // indirect - github.com/aws/aws-sdk-go-v2/internal/v4a v1.0.6 // indirect - github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.9.3 // indirect - github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.1.10 // indirect github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.9.9 // indirect - github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.13.9 // indirect github.com/aws/aws-sdk-go-v2/service/kms v1.18.1 // indirect - github.com/aws/aws-sdk-go-v2/service/s3 v1.27.2 // indirect github.com/aws/aws-sdk-go-v2/service/sso v1.11.13 // indirect github.com/aws/aws-sdk-go-v2/service/sts v1.16.10 // indirect github.com/aws/smithy-go v1.13.5 // indirect @@ -98,13 +85,12 @@ require ( github.com/go-ole/go-ole v1.2.6 // indirect github.com/gofrs/uuid v4.2.0+incompatible // indirect github.com/gogo/protobuf v1.3.2 // indirect - github.com/golang-jwt/jwt v3.2.1+incompatible // indirect github.com/golang-jwt/jwt/v4 v4.5.0 // indirect github.com/golang/glog v1.1.0 // indirect github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect github.com/golang/protobuf v1.5.3 // indirect github.com/golang/snappy v0.0.4 // indirect - github.com/google/go-cmp v0.5.9 // indirect + github.com/google/go-cmp v0.6.0 // indirect github.com/google/go-querystring v1.1.0 // indirect github.com/google/s2a-go v0.1.4 // indirect github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 // indirect @@ -140,31 +126,27 @@ require ( github.com/hashicorp/terraform-plugin-go v0.19.0 // indirect github.com/hashicorp/terraform-plugin-log v0.9.0 // indirect github.com/hashicorp/terraform-plugin-sdk v1.9.1 // indirect - github.com/hashicorp/terraform-plugin-sdk/v2 v2.28.0 // indirect + github.com/hashicorp/terraform-plugin-sdk/v2 v2.29.0 // indirect github.com/hashicorp/terraform-svchost v0.1.1 // indirect github.com/hashicorp/vault/api v1.8.2 // indirect github.com/hashicorp/vault/sdk v0.6.1 // indirect github.com/hashicorp/yamux v0.1.1 // indirect github.com/huandu/xstrings v1.3.2 // indirect github.com/iancoleman/strcase v0.2.0 // indirect - github.com/ijc/Gotty v0.0.0-20170406111628-a8b993ba6abd // indirect github.com/imdario/mergo v0.3.15 // indirect github.com/inconshreveable/mousetrap v1.1.0 // indirect github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect github.com/jmespath/go-jmespath v0.4.0 // indirect github.com/json-iterator/go v1.1.12 // indirect - github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 // indirect github.com/kevinburke/ssh_config v1.2.0 // indirect github.com/klauspost/compress v1.16.7 // indirect github.com/klauspost/cpuid/v2 v2.2.5 // indirect - github.com/kylelemons/godebug v1.1.0 // indirect github.com/lucasb-eyer/go-colorful v1.2.0 // indirect github.com/lufia/plan9stats v0.0.0-20230326075908-cb1d2100619a // indirect github.com/mattn/go-colorable v0.1.13 // indirect github.com/mattn/go-isatty v0.0.18 // indirect github.com/mattn/go-localereader v0.0.1 // indirect github.com/mattn/go-runewidth v0.0.14 // indirect - github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b // indirect github.com/minio/madmin-go v1.7.5 // indirect github.com/minio/md5-simd v1.1.2 // indirect github.com/minio/minio-go/v7 v7.0.63 // indirect @@ -192,18 +174,17 @@ require ( github.com/philhofer/fwd v1.1.2 // indirect github.com/pierrec/lz4 v2.6.1+incompatible // indirect github.com/pjbgf/sha1cd v0.3.0 // indirect - github.com/pkg/browser v0.0.0-20210115035449-ce105d075bb4 // indirect github.com/pkg/errors v0.9.1 // indirect github.com/pkg/term v1.1.0 // indirect github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect github.com/posener/complete v1.2.3 // indirect github.com/power-devops/perfstat v0.0.0-20221212215047-62379fc7944b // indirect github.com/prometheus/procfs v0.9.0 // indirect - github.com/pulumi/esc v0.5.2 // indirect + github.com/pulumi/esc v0.5.6 // indirect github.com/pulumi/pulumi-java/pkg v0.9.8 // indirect github.com/pulumi/pulumi-terraform-bridge/x/muxer v0.0.4 // indirect github.com/pulumi/pulumi-yaml v1.2.2 // indirect - github.com/pulumi/pulumi/pkg/v3 v3.89.0 // indirect + github.com/pulumi/pulumi/pkg/v3 v3.90.1 // indirect github.com/pulumi/schema-tools v0.1.2 // indirect github.com/pulumi/terraform-diff-reader v0.0.2 // indirect github.com/rivo/uniseg v0.4.4 // indirect diff --git a/provider/go.sum b/provider/go.sum index 1b5b013..ee8130e 100644 --- a/provider/go.sum +++ b/provider/go.sum @@ -629,8 +629,6 @@ dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7 gioui.org v0.0.0-20210308172011-57750fc8a0a6/go.mod h1:RSH6KIUZ0p2xy5zHDxgAM4zumjgTw83q2ge/PI+yyw8= git.sr.ht/~sbinet/gg v0.3.1/go.mod h1:KGYtlADtqsqANL9ueOFkWymvzUvLMQllU5Ixo+8v3pc= github.com/AdaLogics/go-fuzz-headers v0.0.0-20210715213245-6c3934b029d8/go.mod h1:CzsSbkDixRphAF5hS6wbMKq0eI6ccJRb7/A0M6JBnwg= -github.com/AlecAivazis/survey/v2 v2.3.7 h1:6I/u8FvytdGsgonrYsVn2t8t4QiRnh6QSTqkkhIiSjQ= -github.com/AlecAivazis/survey/v2 v2.3.7/go.mod h1:xUTIdE4KCOIjsBAE1JYsUPoCqYdZ1reCfTwbto0Fduo= github.com/Azure/azure-amqp-common-go/v3 v3.2.3/go.mod h1:7rPmbSfszeovxGfc5fSAXE4ehlXQZHpMja2OtxC2Tas= github.com/Azure/azure-sdk-for-go v16.2.1+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc= github.com/Azure/azure-sdk-for-go v63.0.0+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc= @@ -639,16 +637,12 @@ github.com/Azure/azure-sdk-for-go v66.0.0+incompatible h1:bmmC38SlE8/E81nNADlgmV github.com/Azure/azure-sdk-for-go v66.0.0+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc= github.com/Azure/azure-sdk-for-go/sdk/azcore v0.19.0/go.mod h1:h6H6c8enJmmocHUbLiiGY6sx7f9i+X3m1CHdd5c6Rdw= github.com/Azure/azure-sdk-for-go/sdk/azcore v1.0.0/go.mod h1:uGG2W01BaETf0Ozp+QxxKJdMBNRWPdstHG0Fmdwn1/U= -github.com/Azure/azure-sdk-for-go/sdk/azcore v1.1.1 h1:tz19qLF65vuu2ibfTqGVJxG/zZAI27NEIIbvAOQwYbw= github.com/Azure/azure-sdk-for-go/sdk/azcore v1.1.1/go.mod h1:uGG2W01BaETf0Ozp+QxxKJdMBNRWPdstHG0Fmdwn1/U= github.com/Azure/azure-sdk-for-go/sdk/azidentity v0.11.0/go.mod h1:HcM1YX14R7CJcghJGOYCgdezslRSVzqwLf/q+4Y2r/0= -github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.0.0 h1:Yoicul8bnVdQrhDMTHxdEckRGX01XvwXDHUT9zYZ3k0= github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.0.0/go.mod h1:+6sju8gk8FRmSajX3Oz4G5Gm7P+mbqE9FVaXXFYTkCM= github.com/Azure/azure-sdk-for-go/sdk/internal v0.7.0/go.mod h1:yqy467j36fJxcRV2TzfVZ1pCb5vxm4BtZPUdYWe/Xo8= -github.com/Azure/azure-sdk-for-go/sdk/internal v1.0.0 h1:jp0dGvZ7ZK0mgqnTSClMxa5xuRL7NZgHameVYF6BurY= github.com/Azure/azure-sdk-for-go/sdk/internal v1.0.0/go.mod h1:eWRD7oawr1Mu1sLCawqVc0CUiF43ia3qQMxLscsKQ9w= github.com/Azure/azure-sdk-for-go/sdk/messaging/azservicebus v1.0.2/go.mod h1:LH9XQnMr2ZYxQdVdCrzLO9mxeDyrDFa6wbSI3x5zCZk= -github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v0.4.1 h1:QSdcrd/UFJv6Bp/CfoVf2SrENpFn9P6Yh8yb+xNhYMM= github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v0.4.1/go.mod h1:eZ4g6GUvXiGulfIbbhh1Xr4XwUYaYaWMqzGD/284wCA= github.com/Azure/go-amqp v0.17.0/go.mod h1:9YJ3RhxRT1gquYnzpZO1vcYMMpAdJT+QEg6fwmw9Zlg= github.com/Azure/go-amqp v0.17.5/go.mod h1:9YJ3RhxRT1gquYnzpZO1vcYMMpAdJT+QEg6fwmw9Zlg= @@ -692,7 +686,6 @@ github.com/Azure/go-autorest/logger v0.2.1 h1:IG7i4p/mDa2Ce4TRyAO8IHnVhAVF3RFU+Z github.com/Azure/go-autorest/logger v0.2.1/go.mod h1:T9E3cAhj2VqvPOtCYAvby9aBXkZmbF5NWuPV8+WeEW8= github.com/Azure/go-autorest/tracing v0.6.0 h1:TYi4+3m5t6K48TGI9AUdb+IzbnSxvnvUMfuitfgcfuo= github.com/Azure/go-autorest/tracing v0.6.0/go.mod h1:+vhtPC754Xsa23ID7GlGsrdKBpUA79WCAKPPZVC2DeU= -github.com/AzureAD/microsoft-authentication-library-for-go v0.4.0 h1:WVsrXCnHlDDX8ls+tootqRE87/hL9S/g4ewig9RsD/c= github.com/AzureAD/microsoft-authentication-library-for-go v0.4.0/go.mod h1:Vt9sXTKwMyGcOxSmLDMnGPgqsUg7m8pe215qMLrDXw4= github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= github.com/BurntSushi/toml v1.2.1 h1:9F2/+DoOYIOksmaJFPw1tGFy1eDnIJXg+UHjuD8lTak= @@ -740,8 +733,6 @@ github.com/Microsoft/hcsshim/test v0.0.0-20201218223536-d3e5debf77da/go.mod h1:5 github.com/Microsoft/hcsshim/test v0.0.0-20210227013316-43a75bb4edd3/go.mod h1:mw7qgWloBUl75W/gVH3cQszUg1+gUITj7D6NY7ywVnY= github.com/NYTimes/gziphandler v0.0.0-20170623195520-56545f4a5d46/go.mod h1:3wb06e3pkSAbeQ52E9H9iFoQsEEwGN64994WTCIhntQ= github.com/NYTimes/gziphandler v1.1.1/go.mod h1:n/CVRwUEOgIxrgPvAQhUUr9oeUtvrhMomdKFjzJNB0c= -github.com/Netflix/go-expect v0.0.0-20220104043353-73e0943537d2 h1:+vx7roKuyA63nhn5WAunQHLTznkw5W8b1Xc0dNjp83s= -github.com/Netflix/go-expect v0.0.0-20220104043353-73e0943537d2/go.mod h1:HBCaDeC1lPdgDeDbhX8XFpy1jqjK0IBG8W5K+xYqA0w= github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= github.com/ProtonMail/go-crypto v0.0.0-20230717121422-5aa5874ade95 h1:KLq8BE0KwCL+mmXnjLWEAOYO+2l2AE4YMmqG1ZpZHBs= github.com/ProtonMail/go-crypto v0.0.0-20230717121422-5aa5874ade95/go.mod h1:EjAoLdwvbIOoOQr3ihjnSoLZRtE8azugULFRteWMNc0= @@ -1096,8 +1087,6 @@ github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46t github.com/creack/pty v1.1.7/go.mod h1:lj5s0c3V2DBrqTV7llrYr5NG6My20zk30Fl46Y7DoTY= github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= github.com/creack/pty v1.1.11/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= -github.com/creack/pty v1.1.17 h1:QeVUsEDNrLBW4tMgZHvxy18sKtr6VI492kBhUfhDJNI= -github.com/creack/pty v1.1.17/go.mod h1:MOBLtS5ELjhRRrroQr9kyvTxUAFNvYEK993ew/Vr4O4= github.com/cyphar/filepath-securejoin v0.2.2/go.mod h1:FpkQEhXnPnOthhzymB7CGsFk2G9VLXONKD9G7QGMM+4= github.com/cyphar/filepath-securejoin v0.2.3/go.mod h1:aPGpWjXOXUn2NCNjFvBE6aRxGGx79pTxQpKOJNYHHl4= github.com/d2g/dhcp4 v0.0.0-20170904100407-a1d1b6c41b1c/go.mod h1:Ct2BUK8SB0YC1SMSibvLzxjeJLnrYEVLULFNiHY9YfQ= @@ -1123,7 +1112,6 @@ github.com/djherbis/times v1.5.0 h1:79myA211VwPhFTqUk8xehWrsEO+zcIZj0zT8mXPVARU= github.com/djherbis/times v1.5.0/go.mod h1:5q7FDLvbNg1L/KaBmPcWlVR9NmoKo3+ucqUA3ijQhA0= github.com/dnaeon/go-vcr v1.0.1/go.mod h1:aBB1+wY4s93YsC3HHjMBMrwTj2R9FHDzUr9KyGc8n1E= github.com/dnaeon/go-vcr v1.1.0/go.mod h1:M7tiix8f0r6mKKJ3Yq/kqU1OYf3MnfmBWVbPx/yU9ko= -github.com/dnaeon/go-vcr v1.2.0 h1:zHCHvJYTMh1N7xnV7zf1m1GPBF9Ad0Jk/whtQ1663qI= github.com/dnaeon/go-vcr v1.2.0/go.mod h1:R4UdLID7HZT3taECzJs4YgbbH6PIGXB6W/sc5OLb6RQ= github.com/docker/cli v0.0.0-20191017083524-a8ff7f821017/go.mod h1:JLrzqnKDaYBop7H2jaqPtU4hHvMKP+vjCwu2uszcLI8= github.com/docker/distribution v0.0.0-20190905152932-14b96e55d84c/go.mod h1:0+TTO4EOBfRPhZXAeF1Vu+W3hHZ8eLp8PgKVZlcvtFY= @@ -1362,7 +1350,6 @@ github.com/gogo/protobuf v1.3.0/go.mod h1:SlYgWuQ5SjCEi6WLHjHCa1yvBfUnHcTbrrZtXP github.com/gogo/protobuf v1.3.1/go.mod h1:SlYgWuQ5SjCEi6WLHjHCa1yvBfUnHcTbrrZtXPKa29o= github.com/gogo/protobuf v1.3.2 h1:Ov1cvc58UF3b5XjBnZv7+opcTcQFZebYjWzi34vdm4Q= github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q= -github.com/golang-jwt/jwt v3.2.1+incompatible h1:73Z+4BJcrTC+KczS6WvTPvRGOp1WmfEP4Q1lOd9Z/+c= github.com/golang-jwt/jwt v3.2.1+incompatible/go.mod h1:8pz2t5EyA70fFQQSrl6XZXzqecmYZeUEB8OUGHkxJ+I= github.com/golang-jwt/jwt/v4 v4.0.0/go.mod h1:/xlHOz8bRuivTWchD4jCa+NbatV+wEUSzwAxVc6locg= github.com/golang-jwt/jwt/v4 v4.2.0/go.mod h1:/xlHOz8bRuivTWchD4jCa+NbatV+wEUSzwAxVc6locg= @@ -1436,8 +1423,9 @@ github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/ github.com/google/go-cmp v0.5.6/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= -github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38= github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= +github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= +github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/google/go-containerregistry v0.5.1/go.mod h1:Ct15B4yir3PLOP5jsy0GNeYVaIZs/MK/Jz5any1wFW0= github.com/google/go-querystring v1.0.0/go.mod h1:odCYkC5MyYFN7vkCjXpyrEuKhc/BUO6wN/zVPAxq5ck= github.com/google/go-querystring v1.1.0 h1:AnCroh3fv4ZBgVIf1Iwtovgjaw/GiKJo8M8yD/fhyJ8= @@ -1691,9 +1679,6 @@ github.com/hexops/gotextdiff v1.0.3 h1:gitA9+qJrrTCsiCl7+kh75nPqQt1cx4ZkudSTLoUq github.com/hexops/gotextdiff v1.0.3/go.mod h1:pSWU5MAI3yDq+fZBTazCSJysOMbxWL1BSow5/V2vxeg= github.com/hexops/valast v1.4.0 h1:sFzyxPDP0riFQUzSBXTCCrAbbIndHPWMndxuEjXdZlc= github.com/hexops/valast v1.4.0/go.mod h1:uVjKZ0smVuYlgCSPz9NRi5A04sl7lp6GtFWsROKDgEs= -github.com/hinshun/vt10x v0.0.0-20220119200601-820417d04eec/go.mod h1:Q48J4R4DvxnHolD5P8pOtXigYlRuPLGl6moFx3ulM68= -github.com/hinshun/vt10x v0.0.0-20220301184237-5011da428d02 h1:AgcIVYPa6XJnU3phs104wLj8l5GEththEw6+F79YsIY= -github.com/hinshun/vt10x v0.0.0-20220301184237-5011da428d02/go.mod h1:Q48J4R4DvxnHolD5P8pOtXigYlRuPLGl6moFx3ulM68= github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU= github.com/huandu/xstrings v1.3.1/go.mod h1:y5/lhBue+AyNmUVz9RLU9xbLR0o4KIIExikq4ovT0aE= github.com/huandu/xstrings v1.3.2 h1:L18LIDzqlW6xN2rEkpdV8+oL/IXWJ1APd+vsdYy4Wdw= @@ -1705,8 +1690,6 @@ github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1: github.com/ianlancetaylor/demangle v0.0.0-20200824232613-28f6c0f3b639/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= github.com/ianlancetaylor/demangle v0.0.0-20210905161508-09a460cdf81d/go.mod h1:aYm2/VgdVmcIU8iMfdMvDMsRAQjcfZSKFby6HOFvi/w= github.com/ianlancetaylor/demangle v0.0.0-20220319035150-800ac71e25c2/go.mod h1:aYm2/VgdVmcIU8iMfdMvDMsRAQjcfZSKFby6HOFvi/w= -github.com/ijc/Gotty v0.0.0-20170406111628-a8b993ba6abd h1:anPrsicrIi2ColgWTVPk+TrN42hJIWlfPHSBP9S0ZkM= -github.com/ijc/Gotty v0.0.0-20170406111628-a8b993ba6abd/go.mod h1:3LVOLeyx9XVvwPgrt2be44XgSqndprz1G18rSk8KD84= github.com/imdario/mergo v0.3.5/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJh5FfA= github.com/imdario/mergo v0.3.8/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJh5FfA= github.com/imdario/mergo v0.3.10/go.mod h1:jmQim1M+e3UYxmgPu/WyfjB3N3VflVyUjjjwH0dnCYA= @@ -1801,7 +1784,6 @@ github.com/jung-kurt/gofpdf v1.0.0/go.mod h1:7Id9E/uU8ce6rXgefFLlgrJj/GYY22cpxn+ github.com/jung-kurt/gofpdf v1.0.3-0.20190309125859-24315acbbda5/go.mod h1:7Id9E/uU8ce6rXgefFLlgrJj/GYY22cpxn+r32jIOes= github.com/karrick/godirwalk v1.8.0/go.mod h1:H5KPZjojv4lE+QYImBI8xVtrBRgYrIVsaRPx4tDPEn4= github.com/karrick/godirwalk v1.10.3/go.mod h1:RoGL9dQei4vP9ilrpETWE8CLOZ1kiN0LhBygSwrAsHA= -github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 h1:Z9n2FFNUXsshfwJMBgNA0RU6/i7WVaAegv3PtuIHPMs= github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51/go.mod h1:CzGEWj7cYgsdH8dAjBGEr58BoE7ScuLd+fwFZ44+/x8= github.com/kevinburke/ssh_config v1.2.0 h1:x584FjTGwHzMwvHx18PXxbBVzfnxogHaAReU4gf13a4= github.com/kevinburke/ssh_config v1.2.0/go.mod h1:CT57kijsi8u/K/BOFA39wgDQJ9CxiF4nAY/ojJ6r6mM= @@ -1880,7 +1862,6 @@ github.com/matryer/is v1.2.0 h1:92UTHpy8CDwaJ08GqLDzhhuixiBUUD1p3AU6PHddz4A= github.com/matryer/is v1.2.0/go.mod h1:2fLPjFQM9rhQ15aVEtbuwhJinnOqrmgXPNdZsdwlWXA= github.com/mattn/go-colorable v0.0.9/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaOChaDxuIBZU= github.com/mattn/go-colorable v0.1.1/go.mod h1:FuOcm+DKB9mbwrcAfNl7/TZVBZ6rcnceauSikq3lYCQ= -github.com/mattn/go-colorable v0.1.2/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVcfRqFIhoBtE= github.com/mattn/go-colorable v0.1.4/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVcfRqFIhoBtE= github.com/mattn/go-colorable v0.1.6/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc= github.com/mattn/go-colorable v0.1.8/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc= @@ -1914,8 +1895,6 @@ github.com/mattn/go-sqlite3 v1.14.14/go.mod h1:NyWgC/yNuGj7Q9rpYnZvas74GogHl5/Z4 github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0= github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369/go.mod h1:BSXmuO+STAnVfrANrmjBb36TMTDstsz7MSK+HVaYKv4= github.com/maxbrunsfeld/counterfeiter/v6 v6.2.2/go.mod h1:eD9eIE7cdwcMi9rYluz88Jz2VyhSmden33/aXg4oVIY= -github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b h1:j7+1HpAFS1zy5+Q4qx1fWh90gTKwiN4QCGoY9TWyyO4= -github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b/go.mod h1:01TrycV0kFyexm33Z7vhZRXopbI8J3TDReVlkTgMUxE= github.com/microsoft/ApplicationInsights-Go v0.4.4/go.mod h1:fKRUseBqkw6bDiXTs3ESTiU/4YTIHsQS4W3fP2ieF4U= github.com/miekg/dns v1.0.14/go.mod h1:W1PPwlIAgtquWBMBEV9nkV9Cazfe8ScdGz/Lj7v3Nrg= github.com/miekg/dns v1.1.26/go.mod h1:bPDLeHnStXmXAq1m/Ch/hvfNHr14JKNPMBo3VZKjuso= @@ -2120,7 +2099,6 @@ github.com/pierrec/lz4/v4 v4.1.15/go.mod h1:gZWDp/Ze/IJXGXf23ltt2EXimqmTUXEy0GFu github.com/pjbgf/sha1cd v0.3.0 h1:4D5XXmUUBUl/xQ6IjCkEAbqXskkq/4O7LmGn0AqMDs4= github.com/pjbgf/sha1cd v0.3.0/go.mod h1:nZ1rrWOcGJ5uZgEEVL1VUM9iRQiZvWdbZjkKyFzPPsI= github.com/pkg/browser v0.0.0-20180916011732-0a3d74bf9ce4/go.mod h1:4OwLy04Bl9Ef3GJJCoec+30X3LQs/0/m4HFRt/2LUSA= -github.com/pkg/browser v0.0.0-20210115035449-ce105d075bb4 h1:Qj1ukM4GlMWXNdMBuXcXfz/Kw9s1qm0CLY32QxuSImI= github.com/pkg/browser v0.0.0-20210115035449-ce105d075bb4/go.mod h1:N6UoU20jOqggOuDwUaBQpluzLNDqif3kq9z2wpdYEfQ= github.com/pkg/diff v0.0.0-20210226163009-20ebb0f2a09e/go.mod h1:pJLUxLENpZxwdsKMEsNbx1VGcRFpLqf3715MtcvvzbA= github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= @@ -2203,22 +2181,22 @@ github.com/prometheus/procfs v0.9.0/go.mod h1:+pB4zwohETzFnmlpe6yd2lSc+0/46IYZRB github.com/prometheus/prometheus v0.35.0/go.mod h1:7HaLx5kEPKJ0GDgbODG0fZgXbQ8K/XjZNJXQmbmgQlY= github.com/prometheus/prometheus v0.37.0/go.mod h1:egARUgz+K93zwqsVIAneFlLZefyGOON44WyAp4Xqbbk= github.com/prometheus/tsdb v0.7.1/go.mod h1:qhTCs0VvXwvX/y3TZrWD7rabWM+ijKTux40TwIPHuXU= -github.com/pulumi/esc v0.5.2 h1:Wnr0oXy8MAyRMtVrMHPI2frjyuylVnU47ReFPNjE3C0= -github.com/pulumi/esc v0.5.2/go.mod h1:lp6lkE9JrifhmjlXVH9//Rj45OETlVPHZKvoNRyU54Q= +github.com/pulumi/esc v0.5.6 h1:4WV3X7OEVcChIwbSG+JxhZDdmq/q7lFPaSjHRYlPwmI= +github.com/pulumi/esc v0.5.6/go.mod h1:wpwNfVS5fV7Kd51j4dJ6FWYlKfxdqyppgp0gtkzqH04= github.com/pulumi/pulumi-java/pkg v0.9.8 h1:c8mYsalnRXA2Ibgvv6scefOn6mW1Vb0UT0mcDqjsivQ= github.com/pulumi/pulumi-java/pkg v0.9.8/go.mod h1:c6rSw/+q4O0IImgJ9axxoC6QesbPYWBaG5gimbHouUQ= github.com/pulumi/pulumi-terraform-bridge/testing v0.0.1 h1:SCg1gjfY9N4yn8U8peIUYATifjoDABkyR7H9lmefsfc= github.com/pulumi/pulumi-terraform-bridge/testing v0.0.1/go.mod h1:7OeUPH8rpt5ipyj9EFcnXpuzQ8SHL0dyqdfa8nOacdk= -github.com/pulumi/pulumi-terraform-bridge/v3 v3.62.0 h1:oZNwz2YupCstNNwxCcUaEBV6iL6wikiAqjas9ufR4yE= -github.com/pulumi/pulumi-terraform-bridge/v3 v3.62.0/go.mod h1:8UuPmsuaGgUDUSsRKhoSf5J6SlfjHioKO+XeEWfXQfE= +github.com/pulumi/pulumi-terraform-bridge/v3 v3.63.1 h1:hBgediyT2LdS5yfD5AMiCmBJ/TYP94Xxv6a4TcAfV0g= +github.com/pulumi/pulumi-terraform-bridge/v3 v3.63.1/go.mod h1:6YVbDo019OeHkQWo9MnUbBy6cCgCQeoXZDjmR9SYmUA= github.com/pulumi/pulumi-terraform-bridge/x/muxer v0.0.4 h1:rIzMmtcVpPX8ynaz6/nW5AHNY63DiNfCohqmxWvMpM4= github.com/pulumi/pulumi-terraform-bridge/x/muxer v0.0.4/go.mod h1:Kt8RIZWa/N8rW3+0g6NrqCBmF3o+HuIhFaZpssEkG6w= github.com/pulumi/pulumi-yaml v1.2.2 h1:W6BeUBLhDrJ2GSU0em1AUVelG9PBI4ABY61DdhJOO3E= github.com/pulumi/pulumi-yaml v1.2.2/go.mod h1:EgakC7b/4+VBNnlgM1RZIea2gUstV8s/7bdFJZt0P64= -github.com/pulumi/pulumi/pkg/v3 v3.89.0 h1:4gaR9ZerHqtc0NYcq7TLxhj2029H9CtRrirmibyLw/E= -github.com/pulumi/pulumi/pkg/v3 v3.89.0/go.mod h1:5DIoI81I+NmW/y2BDlQR4CwnzTeVwkI3DZ4FBnSprXs= -github.com/pulumi/pulumi/sdk/v3 v3.89.0 h1:WlkOQ4Q/Xyxu4lckGWssNI4Wdrobo5Zb7JQVoFVkzMo= -github.com/pulumi/pulumi/sdk/v3 v3.89.0/go.mod h1:XBIlxfHv/jnRj6v8rXP79Z3E11jQz/Ky+bDhwVAHOPk= +github.com/pulumi/pulumi/pkg/v3 v3.90.1 h1:RFC/eqTbDfIvfeVQL8WaPmyQr1KzZhAGIIDGr9jj9y8= +github.com/pulumi/pulumi/pkg/v3 v3.90.1/go.mod h1:J+WbfN30g3FfQifpLjQPI0UhPsC9ASEePLK8Nix06A8= +github.com/pulumi/pulumi/sdk/v3 v3.90.1 h1:iT4t57N92WGhEQtg+KVDEmYzgfEyri39eihQzcNmtrM= +github.com/pulumi/pulumi/sdk/v3 v3.90.1/go.mod h1:zYaQQibB2pYKy/uG4c4YkX7lQIBpZ0KsuMaq/3HsIBQ= github.com/pulumi/schema-tools v0.1.2 h1:Fd9xvUjgck4NA+7/jSk7InqCUT4Kj940+EcnbQKpfZo= github.com/pulumi/schema-tools v0.1.2/go.mod h1:62lgj52Tzq11eqWTIaKd+EVyYAu5dEcDJxMhTjvMO/k= github.com/pulumi/terraform-diff-reader v0.0.2 h1:kTE4nEXU3/SYXESvAIem+wyHMI3abqkI3OhJ0G04LLI= diff --git a/sdk/go.mod b/sdk/go.mod index 9f836b6..0d24e2d 100644 --- a/sdk/go.mod +++ b/sdk/go.mod @@ -4,7 +4,7 @@ go 1.21 require ( github.com/blang/semver v3.5.1+incompatible - github.com/pulumi/pulumi/sdk/v3 v3.89.0 + github.com/pulumi/pulumi/sdk/v3 v3.90.1 ) require ( @@ -53,7 +53,7 @@ require ( github.com/pjbgf/sha1cd v0.3.0 // indirect github.com/pkg/errors v0.9.1 // indirect github.com/pkg/term v1.1.0 // indirect - github.com/pulumi/esc v0.5.2 // indirect + github.com/pulumi/esc v0.5.6 // indirect github.com/rivo/uniseg v0.4.4 // indirect github.com/rogpeppe/go-internal v1.11.0 // indirect github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06 // indirect @@ -71,13 +71,13 @@ require ( github.com/xanzy/ssh-agent v0.3.3 // indirect github.com/zclconf/go-cty v1.13.2 // indirect go.uber.org/atomic v1.9.0 // indirect - golang.org/x/crypto v0.9.0 // indirect + golang.org/x/crypto v0.14.0 // indirect golang.org/x/exp v0.0.0-20231006140011-7918f672742d // indirect - golang.org/x/net v0.10.0 // indirect + golang.org/x/net v0.17.0 // indirect golang.org/x/sync v0.2.0 // indirect golang.org/x/sys v0.13.0 // indirect - golang.org/x/term v0.8.0 // indirect - golang.org/x/text v0.9.0 // indirect + golang.org/x/term v0.13.0 // indirect + golang.org/x/text v0.13.0 // indirect google.golang.org/genproto/googleapis/rpc v0.0.0-20230706204954-ccb25ca9f130 // indirect google.golang.org/grpc v1.57.0 // indirect google.golang.org/protobuf v1.31.0 // indirect diff --git a/sdk/go.sum b/sdk/go.sum index 42d97bb..71605ee 100644 --- a/sdk/go.sum +++ b/sdk/go.sum @@ -142,10 +142,10 @@ github.com/pkg/term v1.1.0 h1:xIAAdCMh3QIAy+5FrE8Ad8XoDhEU4ufwbaSozViP9kk= github.com/pkg/term v1.1.0/go.mod h1:E25nymQcrSllhX42Ok8MRm1+hyBdHY0dCeiKZ9jpNGw= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/pulumi/esc v0.5.2 h1:Wnr0oXy8MAyRMtVrMHPI2frjyuylVnU47ReFPNjE3C0= -github.com/pulumi/esc v0.5.2/go.mod h1:lp6lkE9JrifhmjlXVH9//Rj45OETlVPHZKvoNRyU54Q= -github.com/pulumi/pulumi/sdk/v3 v3.89.0 h1:WlkOQ4Q/Xyxu4lckGWssNI4Wdrobo5Zb7JQVoFVkzMo= -github.com/pulumi/pulumi/sdk/v3 v3.89.0/go.mod h1:XBIlxfHv/jnRj6v8rXP79Z3E11jQz/Ky+bDhwVAHOPk= +github.com/pulumi/esc v0.5.6 h1:4WV3X7OEVcChIwbSG+JxhZDdmq/q7lFPaSjHRYlPwmI= +github.com/pulumi/esc v0.5.6/go.mod h1:wpwNfVS5fV7Kd51j4dJ6FWYlKfxdqyppgp0gtkzqH04= +github.com/pulumi/pulumi/sdk/v3 v3.90.1 h1:iT4t57N92WGhEQtg+KVDEmYzgfEyri39eihQzcNmtrM= +github.com/pulumi/pulumi/sdk/v3 v3.90.1/go.mod h1:zYaQQibB2pYKy/uG4c4YkX7lQIBpZ0KsuMaq/3HsIBQ= github.com/rivo/uniseg v0.1.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= github.com/rivo/uniseg v0.4.4 h1:8TfxU8dW6PdqD27gjM8MVNuicgxIjxpm4K7x4jp8sis= @@ -207,8 +207,8 @@ golang.org/x/crypto v0.0.0-20220622213112-05595931fe9d/go.mod h1:IxCIyHEi3zRg3s0 golang.org/x/crypto v0.0.0-20220826181053-bd7e27e6170d/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= golang.org/x/crypto v0.1.0/go.mod h1:RecgLatLF4+eUMCP1PoPZQb+cVrJcOPbHkTkbkB9sbw= golang.org/x/crypto v0.3.0/go.mod h1:hebNnKkNXi2UzZN1eVRvBB7co0a+JxK6XbPiWVs/3J4= -golang.org/x/crypto v0.9.0 h1:LF6fAI+IutBocDJ2OT0Q1g8plpYljMZ4+lty+dsqw3g= -golang.org/x/crypto v0.9.0/go.mod h1:yrmDGqONDYtNj3tH8X9dzUun2m2lzPa9ngI6/RUPGR0= +golang.org/x/crypto v0.14.0 h1:wBqGXzWJW6m1XrIKlAH0Hs1JJ7+9KBwnIO8v66Q9cHc= +golang.org/x/crypto v0.14.0/go.mod h1:MVFd36DqK4CsrnJYDkBA3VC4m2GkXAM0PvzMCn4JQf4= golang.org/x/exp v0.0.0-20231006140011-7918f672742d h1:jtJma62tbqLibJ5sFQz8bKtEM8rJBtfilJ2qTU199MI= golang.org/x/exp v0.0.0-20231006140011-7918f672742d/go.mod h1:ldy0pHrwJyGW56pPQzzkH36rKxoZW1tw7ZJpeKx+hdo= golang.org/x/lint v0.0.0-20200302205851-738671d3881b/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= @@ -228,8 +228,8 @@ golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug golang.org/x/net v0.0.0-20220826154423-83b083e8dc8b/go.mod h1:YDH+HFinaLZZlnHAfSS6ZXJJ9M9t4Dl22yv3iI2vPwk= golang.org/x/net v0.1.0/go.mod h1:Cx3nUiGt4eDBEyega/BKRp+/AlGL8hYe7U9odMt2Cco= golang.org/x/net v0.2.0/go.mod h1:KqCZLdyyvdV855qA2rE3GC2aiw5xGR5TEjj8smXukLY= -golang.org/x/net v0.10.0 h1:X2//UzNDwYmtCLn7To6G58Wr6f5ahEAQgKNzv9Y951M= -golang.org/x/net v0.10.0/go.mod h1:0qNGK6F8kojg2nk9dLZ2mShWaEBan6FAoqfSigmmuDg= +golang.org/x/net v0.17.0 h1:pVaXccu2ozPjCXewfr1S7xza/zcXTity9cCdXQYSjIM= +golang.org/x/net v0.17.0/go.mod h1:NxSsAGuq816PNPmqtQdLE42eU2Fs7NoRIZrHJAlaCOE= golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= @@ -267,15 +267,15 @@ golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuX golang.org/x/term v0.0.0-20220722155259-a9ba230a4035/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= golang.org/x/term v0.1.0/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= golang.org/x/term v0.2.0/go.mod h1:TVmDHMZPmdnySmBfhjOoOdhjzdE1h4u1VwSiw2l1Nuc= -golang.org/x/term v0.8.0 h1:n5xxQn2i3PC0yLAbjTpNT85q/Kgzcr2gIoX9OrJUols= -golang.org/x/term v0.8.0/go.mod h1:xPskH00ivmX89bAKVGSKKtLOWNx2+17Eiy94tnKShWo= +golang.org/x/term v0.13.0 h1:bb+I9cTfFazGW51MZqBVmZy7+JEJMouUHTUSKVQLBek= +golang.org/x/term v0.13.0/go.mod h1:LTmsnFJwVN6bCy1rVCoS+qHT1HhALEFxKncY3WNNh4U= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= golang.org/x/text v0.4.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= -golang.org/x/text v0.9.0 h1:2sjJmO8cDvYveuX97RDLsxlyUxLl+GHoLxBiRdHllBE= -golang.org/x/text v0.9.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8= +golang.org/x/text v0.13.0 h1:ablQoSUd0tRdKxZewP80B+BaqeKJuVhuRxj/dkrun3k= +golang.org/x/text v0.13.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20181030221726-6c7e314b6563/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= diff --git a/sdk/go/minio/iamServiceAccount.go b/sdk/go/minio/iamServiceAccount.go index 6cf3bd4..e840063 100644 --- a/sdk/go/minio/iamServiceAccount.go +++ b/sdk/go/minio/iamServiceAccount.go @@ -29,7 +29,7 @@ import ( // pulumi.Run(func(ctx *pulumi.Context) error { // test, err := minio.NewIamUser(ctx, "test", &minio.IamUserArgs{ // ForceDestroy: pulumi.Bool(true), -// Tags: pulumi.AnyMap{ +// Tags: pulumi.Map{ // "tag-key": pulumi.Any("tag-value"), // }, // }) diff --git a/sdk/go/minio/iamUser.go b/sdk/go/minio/iamUser.go index 0e11a96..bdafb84 100644 --- a/sdk/go/minio/iamUser.go +++ b/sdk/go/minio/iamUser.go @@ -28,7 +28,7 @@ import ( // pulumi.Run(func(ctx *pulumi.Context) error { // testIamUser, err := minio.NewIamUser(ctx, "testIamUser", &minio.IamUserArgs{ // ForceDestroy: pulumi.Bool(true), -// Tags: pulumi.AnyMap{ +// Tags: pulumi.Map{ // "tag-key": pulumi.Any("tag-value"), // }, // }) diff --git a/sdk/python/pulumi_minio/_inputs.py b/sdk/python/pulumi_minio/_inputs.py index a473d8b..211f0b0 100644 --- a/sdk/python/pulumi_minio/_inputs.py +++ b/sdk/python/pulumi_minio/_inputs.py @@ -39,13 +39,15 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - id: pulumi.Input[str], + id: Optional[pulumi.Input[str]] = None, expiration: Optional[pulumi.Input[str]] = None, filter: Optional[pulumi.Input[str]] = None, status: Optional[pulumi.Input[str]] = None, tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, - opts: Optional[pulumi.ResourceOptions]=None, + opts: Optional[pulumi.ResourceOptions] = None, **kwargs): + if id is None: + raise TypeError("Missing 'id' argument") _setter("id", id) if expiration is not None: @@ -128,18 +130,22 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - events: pulumi.Input[Sequence[pulumi.Input[str]]], - queue_arn: pulumi.Input[str], + events: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + queue_arn: Optional[pulumi.Input[str]] = None, filter_prefix: Optional[pulumi.Input[str]] = None, filter_suffix: Optional[pulumi.Input[str]] = None, id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None, + opts: Optional[pulumi.ResourceOptions] = None, **kwargs): - if 'queueArn' in kwargs: + if events is None: + raise TypeError("Missing 'events' argument") + if queue_arn is None and 'queueArn' in kwargs: queue_arn = kwargs['queueArn'] - if 'filterPrefix' in kwargs: + if queue_arn is None: + raise TypeError("Missing 'queue_arn' argument") + if filter_prefix is None and 'filterPrefix' in kwargs: filter_prefix = kwargs['filterPrefix'] - if 'filterSuffix' in kwargs: + if filter_suffix is None and 'filterSuffix' in kwargs: filter_suffix = kwargs['filterSuffix'] _setter("events", events) @@ -215,14 +221,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - status: pulumi.Input[str], + status: Optional[pulumi.Input[str]] = None, exclude_folders: Optional[pulumi.Input[bool]] = None, excluded_prefixes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - opts: Optional[pulumi.ResourceOptions]=None, + opts: Optional[pulumi.ResourceOptions] = None, **kwargs): - if 'excludeFolders' in kwargs: + if status is None: + raise TypeError("Missing 'status' argument") + if exclude_folders is None and 'excludeFolders' in kwargs: exclude_folders = kwargs['excludeFolders'] - if 'excludedPrefixes' in kwargs: + if excluded_prefixes is None and 'excludedPrefixes' in kwargs: excluded_prefixes = kwargs['excludedPrefixes'] _setter("status", status) @@ -286,7 +294,7 @@ def _configure( principal: Optional[str] = None, resources: Optional[Sequence[str]] = None, sid: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None, + opts: Optional[pulumi.ResourceOptions] = None, **kwargs): if actions is not None: @@ -372,11 +380,17 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - test: str, - values: Sequence[str], - variable: str, - opts: Optional[pulumi.ResourceOptions]=None, + test: Optional[str] = None, + values: Optional[Sequence[str]] = None, + variable: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions] = None, **kwargs): + if test is None: + raise TypeError("Missing 'test' argument") + if values is None: + raise TypeError("Missing 'values' argument") + if variable is None: + raise TypeError("Missing 'variable' argument") _setter("test", test) _setter("values", values) diff --git a/sdk/python/pulumi_minio/_utilities.py b/sdk/python/pulumi_minio/_utilities.py index 2d9a3c8..2936b65 100644 --- a/sdk/python/pulumi_minio/_utilities.py +++ b/sdk/python/pulumi_minio/_utilities.py @@ -246,5 +246,24 @@ def lifted_func(*args, opts=None, **kwargs): return (lambda _: lifted_func) + +def configure(val, cls: type, input: bool): + def _apply(v): + if isinstance(v, typing.Mapping): + def _setter(key, value): + v[key] = value + cls._configure(_setter, **v) + return v + + # Check that cls has a static _configure method. External classes may + # not have it if it was generated with older codegen. + if hasattr(cls, "_configure"): + if isinstance(val, typing.Mapping): + return _apply(val) + elif input and val is not None and not isinstance(val, cls): + return pulumi.Output.from_input(val).apply(_apply) + + return val + def get_plugin_download_url(): return None diff --git a/sdk/python/pulumi_minio/iam_group.py b/sdk/python/pulumi_minio/iam_group.py index 27f2b83..c56f2fb 100644 --- a/sdk/python/pulumi_minio/iam_group.py +++ b/sdk/python/pulumi_minio/iam_group.py @@ -34,11 +34,11 @@ def _configure( disable_group: Optional[pulumi.Input[bool]] = None, force_destroy: Optional[pulumi.Input[bool]] = None, name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None, + opts: Optional[pulumi.ResourceOptions] = None, **kwargs): - if 'disableGroup' in kwargs: + if disable_group is None and 'disableGroup' in kwargs: disable_group = kwargs['disableGroup'] - if 'forceDestroy' in kwargs: + if force_destroy is None and 'forceDestroy' in kwargs: force_destroy = kwargs['forceDestroy'] if disable_group is not None: @@ -108,13 +108,13 @@ def _configure( force_destroy: Optional[pulumi.Input[bool]] = None, group_name: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None, + opts: Optional[pulumi.ResourceOptions] = None, **kwargs): - if 'disableGroup' in kwargs: + if disable_group is None and 'disableGroup' in kwargs: disable_group = kwargs['disableGroup'] - if 'forceDestroy' in kwargs: + if force_destroy is None and 'forceDestroy' in kwargs: force_destroy = kwargs['forceDestroy'] - if 'groupName' in kwargs: + if group_name is None and 'groupName' in kwargs: group_name = kwargs['groupName'] if disable_group is not None: diff --git a/sdk/python/pulumi_minio/iam_group_membership.py b/sdk/python/pulumi_minio/iam_group_membership.py index 642fd6f..9b331fd 100644 --- a/sdk/python/pulumi_minio/iam_group_membership.py +++ b/sdk/python/pulumi_minio/iam_group_membership.py @@ -32,11 +32,15 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - group: pulumi.Input[str], - users: pulumi.Input[Sequence[pulumi.Input[str]]], + group: Optional[pulumi.Input[str]] = None, + users: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None, + opts: Optional[pulumi.ResourceOptions] = None, **kwargs): + if group is None: + raise TypeError("Missing 'group' argument") + if users is None: + raise TypeError("Missing 'users' argument") _setter("group", group) _setter("users", users) @@ -104,7 +108,7 @@ def _configure( group: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, users: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - opts: Optional[pulumi.ResourceOptions]=None, + opts: Optional[pulumi.ResourceOptions] = None, **kwargs): if group is not None: diff --git a/sdk/python/pulumi_minio/iam_group_policy.py b/sdk/python/pulumi_minio/iam_group_policy.py index 8d9fc8f..961362c 100644 --- a/sdk/python/pulumi_minio/iam_group_policy.py +++ b/sdk/python/pulumi_minio/iam_group_policy.py @@ -31,13 +31,17 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - group: pulumi.Input[str], - policy: pulumi.Input[str], + group: Optional[pulumi.Input[str]] = None, + policy: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, name_prefix: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None, + opts: Optional[pulumi.ResourceOptions] = None, **kwargs): - if 'namePrefix' in kwargs: + if group is None: + raise TypeError("Missing 'group' argument") + if policy is None: + raise TypeError("Missing 'policy' argument") + if name_prefix is None and 'namePrefix' in kwargs: name_prefix = kwargs['namePrefix'] _setter("group", group) @@ -108,9 +112,9 @@ def _configure( name: Optional[pulumi.Input[str]] = None, name_prefix: Optional[pulumi.Input[str]] = None, policy: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None, + opts: Optional[pulumi.ResourceOptions] = None, **kwargs): - if 'namePrefix' in kwargs: + if name_prefix is None and 'namePrefix' in kwargs: name_prefix = kwargs['namePrefix'] if group is not None: diff --git a/sdk/python/pulumi_minio/iam_group_policy_attachment.py b/sdk/python/pulumi_minio/iam_group_policy_attachment.py index 537ad68..ee0ebe1 100644 --- a/sdk/python/pulumi_minio/iam_group_policy_attachment.py +++ b/sdk/python/pulumi_minio/iam_group_policy_attachment.py @@ -27,14 +27,18 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - group_name: pulumi.Input[str], - policy_name: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None, + group_name: Optional[pulumi.Input[str]] = None, + policy_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions] = None, **kwargs): - if 'groupName' in kwargs: + if group_name is None and 'groupName' in kwargs: group_name = kwargs['groupName'] - if 'policyName' in kwargs: + if group_name is None: + raise TypeError("Missing 'group_name' argument") + if policy_name is None and 'policyName' in kwargs: policy_name = kwargs['policyName'] + if policy_name is None: + raise TypeError("Missing 'policy_name' argument") _setter("group_name", group_name) _setter("policy_name", policy_name) @@ -76,11 +80,11 @@ def _configure( _setter: Callable[[Any, Any], None], group_name: Optional[pulumi.Input[str]] = None, policy_name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None, + opts: Optional[pulumi.ResourceOptions] = None, **kwargs): - if 'groupName' in kwargs: + if group_name is None and 'groupName' in kwargs: group_name = kwargs['groupName'] - if 'policyName' in kwargs: + if policy_name is None and 'policyName' in kwargs: policy_name = kwargs['policyName'] if group_name is not None: diff --git a/sdk/python/pulumi_minio/iam_group_user_attachment.py b/sdk/python/pulumi_minio/iam_group_user_attachment.py index 05d2ed2..e98dc19 100644 --- a/sdk/python/pulumi_minio/iam_group_user_attachment.py +++ b/sdk/python/pulumi_minio/iam_group_user_attachment.py @@ -27,14 +27,18 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - group_name: pulumi.Input[str], - user_name: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None, + group_name: Optional[pulumi.Input[str]] = None, + user_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions] = None, **kwargs): - if 'groupName' in kwargs: + if group_name is None and 'groupName' in kwargs: group_name = kwargs['groupName'] - if 'userName' in kwargs: + if group_name is None: + raise TypeError("Missing 'group_name' argument") + if user_name is None and 'userName' in kwargs: user_name = kwargs['userName'] + if user_name is None: + raise TypeError("Missing 'user_name' argument") _setter("group_name", group_name) _setter("user_name", user_name) @@ -76,11 +80,11 @@ def _configure( _setter: Callable[[Any, Any], None], group_name: Optional[pulumi.Input[str]] = None, user_name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None, + opts: Optional[pulumi.ResourceOptions] = None, **kwargs): - if 'groupName' in kwargs: + if group_name is None and 'groupName' in kwargs: group_name = kwargs['groupName'] - if 'userName' in kwargs: + if user_name is None and 'userName' in kwargs: user_name = kwargs['userName'] if group_name is not None: diff --git a/sdk/python/pulumi_minio/iam_policy.py b/sdk/python/pulumi_minio/iam_policy.py index 2aa7404..d2dd71c 100644 --- a/sdk/python/pulumi_minio/iam_policy.py +++ b/sdk/python/pulumi_minio/iam_policy.py @@ -29,12 +29,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - policy: pulumi.Input[str], + policy: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, name_prefix: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None, + opts: Optional[pulumi.ResourceOptions] = None, **kwargs): - if 'namePrefix' in kwargs: + if policy is None: + raise TypeError("Missing 'policy' argument") + if name_prefix is None and 'namePrefix' in kwargs: name_prefix = kwargs['namePrefix'] _setter("policy", policy) @@ -92,9 +94,9 @@ def _configure( name: Optional[pulumi.Input[str]] = None, name_prefix: Optional[pulumi.Input[str]] = None, policy: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None, + opts: Optional[pulumi.ResourceOptions] = None, **kwargs): - if 'namePrefix' in kwargs: + if name_prefix is None and 'namePrefix' in kwargs: name_prefix = kwargs['namePrefix'] if name is not None: diff --git a/sdk/python/pulumi_minio/iam_service_account.py b/sdk/python/pulumi_minio/iam_service_account.py index 41e5f47..1bd5fef 100644 --- a/sdk/python/pulumi_minio/iam_service_account.py +++ b/sdk/python/pulumi_minio/iam_service_account.py @@ -34,17 +34,19 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - target_user: pulumi.Input[str], + target_user: Optional[pulumi.Input[str]] = None, disable_user: Optional[pulumi.Input[bool]] = None, policy: Optional[pulumi.Input[str]] = None, update_secret: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions]=None, + opts: Optional[pulumi.ResourceOptions] = None, **kwargs): - if 'targetUser' in kwargs: + if target_user is None and 'targetUser' in kwargs: target_user = kwargs['targetUser'] - if 'disableUser' in kwargs: + if target_user is None: + raise TypeError("Missing 'target_user' argument") + if disable_user is None and 'disableUser' in kwargs: disable_user = kwargs['disableUser'] - if 'updateSecret' in kwargs: + if update_secret is None and 'updateSecret' in kwargs: update_secret = kwargs['updateSecret'] _setter("target_user", target_user) @@ -137,17 +139,17 @@ def _configure( status: Optional[pulumi.Input[str]] = None, target_user: Optional[pulumi.Input[str]] = None, update_secret: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions]=None, + opts: Optional[pulumi.ResourceOptions] = None, **kwargs): - if 'accessKey' in kwargs: + if access_key is None and 'accessKey' in kwargs: access_key = kwargs['accessKey'] - if 'disableUser' in kwargs: + if disable_user is None and 'disableUser' in kwargs: disable_user = kwargs['disableUser'] - if 'secretKey' in kwargs: + if secret_key is None and 'secretKey' in kwargs: secret_key = kwargs['secretKey'] - if 'targetUser' in kwargs: + if target_user is None and 'targetUser' in kwargs: target_user = kwargs['targetUser'] - if 'updateSecret' in kwargs: + if update_secret is None and 'updateSecret' in kwargs: update_secret = kwargs['updateSecret'] if access_key is not None: diff --git a/sdk/python/pulumi_minio/iam_user.py b/sdk/python/pulumi_minio/iam_user.py index 3e73c6a..56bceb3 100644 --- a/sdk/python/pulumi_minio/iam_user.py +++ b/sdk/python/pulumi_minio/iam_user.py @@ -44,13 +44,13 @@ def _configure( secret: Optional[pulumi.Input[str]] = None, tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, update_secret: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions]=None, + opts: Optional[pulumi.ResourceOptions] = None, **kwargs): - if 'disableUser' in kwargs: + if disable_user is None and 'disableUser' in kwargs: disable_user = kwargs['disableUser'] - if 'forceDestroy' in kwargs: + if force_destroy is None and 'forceDestroy' in kwargs: force_destroy = kwargs['forceDestroy'] - if 'updateSecret' in kwargs: + if update_secret is None and 'updateSecret' in kwargs: update_secret = kwargs['updateSecret'] if disable_user is not None: @@ -166,13 +166,13 @@ def _configure( status: Optional[pulumi.Input[str]] = None, tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, update_secret: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions]=None, + opts: Optional[pulumi.ResourceOptions] = None, **kwargs): - if 'disableUser' in kwargs: + if disable_user is None and 'disableUser' in kwargs: disable_user = kwargs['disableUser'] - if 'forceDestroy' in kwargs: + if force_destroy is None and 'forceDestroy' in kwargs: force_destroy = kwargs['forceDestroy'] - if 'updateSecret' in kwargs: + if update_secret is None and 'updateSecret' in kwargs: update_secret = kwargs['updateSecret'] if disable_user is not None: diff --git a/sdk/python/pulumi_minio/iam_user_policy_attachment.py b/sdk/python/pulumi_minio/iam_user_policy_attachment.py index 204cb16..fc37f78 100644 --- a/sdk/python/pulumi_minio/iam_user_policy_attachment.py +++ b/sdk/python/pulumi_minio/iam_user_policy_attachment.py @@ -27,14 +27,18 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - policy_name: pulumi.Input[str], - user_name: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None, + policy_name: Optional[pulumi.Input[str]] = None, + user_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions] = None, **kwargs): - if 'policyName' in kwargs: + if policy_name is None and 'policyName' in kwargs: policy_name = kwargs['policyName'] - if 'userName' in kwargs: + if policy_name is None: + raise TypeError("Missing 'policy_name' argument") + if user_name is None and 'userName' in kwargs: user_name = kwargs['userName'] + if user_name is None: + raise TypeError("Missing 'user_name' argument") _setter("policy_name", policy_name) _setter("user_name", user_name) @@ -76,11 +80,11 @@ def _configure( _setter: Callable[[Any, Any], None], policy_name: Optional[pulumi.Input[str]] = None, user_name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None, + opts: Optional[pulumi.ResourceOptions] = None, **kwargs): - if 'policyName' in kwargs: + if policy_name is None and 'policyName' in kwargs: policy_name = kwargs['policyName'] - if 'userName' in kwargs: + if user_name is None and 'userName' in kwargs: user_name = kwargs['userName'] if policy_name is not None: diff --git a/sdk/python/pulumi_minio/ilm_policy.py b/sdk/python/pulumi_minio/ilm_policy.py index 7bda08f..de53109 100644 --- a/sdk/python/pulumi_minio/ilm_policy.py +++ b/sdk/python/pulumi_minio/ilm_policy.py @@ -29,10 +29,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - bucket: pulumi.Input[str], - rules: pulumi.Input[Sequence[pulumi.Input['IlmPolicyRuleArgs']]], - opts: Optional[pulumi.ResourceOptions]=None, + bucket: Optional[pulumi.Input[str]] = None, + rules: Optional[pulumi.Input[Sequence[pulumi.Input['IlmPolicyRuleArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions] = None, **kwargs): + if bucket is None: + raise TypeError("Missing 'bucket' argument") + if rules is None: + raise TypeError("Missing 'rules' argument") _setter("bucket", bucket) _setter("rules", rules) @@ -74,7 +78,7 @@ def _configure( _setter: Callable[[Any, Any], None], bucket: Optional[pulumi.Input[str]] = None, rules: Optional[pulumi.Input[Sequence[pulumi.Input['IlmPolicyRuleArgs']]]] = None, - opts: Optional[pulumi.ResourceOptions]=None, + opts: Optional[pulumi.ResourceOptions] = None, **kwargs): if bucket is not None: diff --git a/sdk/python/pulumi_minio/kms_key.py b/sdk/python/pulumi_minio/kms_key.py index 128b664..11dfe91 100644 --- a/sdk/python/pulumi_minio/kms_key.py +++ b/sdk/python/pulumi_minio/kms_key.py @@ -25,11 +25,13 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - key_id: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None, + key_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions] = None, **kwargs): - if 'keyId' in kwargs: + if key_id is None and 'keyId' in kwargs: key_id = kwargs['keyId'] + if key_id is None: + raise TypeError("Missing 'key_id' argument") _setter("key_id", key_id) @@ -58,9 +60,9 @@ def __init__(__self__, *, def _configure( _setter: Callable[[Any, Any], None], key_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None, + opts: Optional[pulumi.ResourceOptions] = None, **kwargs): - if 'keyId' in kwargs: + if key_id is None and 'keyId' in kwargs: key_id = kwargs['keyId'] if key_id is not None: diff --git a/sdk/python/pulumi_minio/outputs.py b/sdk/python/pulumi_minio/outputs.py index 035fb00..0812cbd 100644 --- a/sdk/python/pulumi_minio/outputs.py +++ b/sdk/python/pulumi_minio/outputs.py @@ -40,13 +40,15 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - id: str, + id: Optional[str] = None, expiration: Optional[str] = None, filter: Optional[str] = None, status: Optional[str] = None, tags: Optional[Mapping[str, Any]] = None, - opts: Optional[pulumi.ResourceOptions]=None, + opts: Optional[pulumi.ResourceOptions] = None, **kwargs): + if id is None: + raise TypeError("Missing 'id' argument") _setter("id", id) if expiration is not None: @@ -130,18 +132,22 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - events: Sequence[str], - queue_arn: str, + events: Optional[Sequence[str]] = None, + queue_arn: Optional[str] = None, filter_prefix: Optional[str] = None, filter_suffix: Optional[str] = None, id: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None, + opts: Optional[pulumi.ResourceOptions] = None, **kwargs): - if 'queueArn' in kwargs: + if events is None: + raise TypeError("Missing 'events' argument") + if queue_arn is None and 'queueArn' in kwargs: queue_arn = kwargs['queueArn'] - if 'filterPrefix' in kwargs: + if queue_arn is None: + raise TypeError("Missing 'queue_arn' argument") + if filter_prefix is None and 'filterPrefix' in kwargs: filter_prefix = kwargs['filterPrefix'] - if 'filterSuffix' in kwargs: + if filter_suffix is None and 'filterSuffix' in kwargs: filter_suffix = kwargs['filterSuffix'] _setter("events", events) @@ -216,14 +222,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - status: str, + status: Optional[str] = None, exclude_folders: Optional[bool] = None, excluded_prefixes: Optional[Sequence[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None, + opts: Optional[pulumi.ResourceOptions] = None, **kwargs): - if 'excludeFolders' in kwargs: + if status is None: + raise TypeError("Missing 'status' argument") + if exclude_folders is None and 'excludeFolders' in kwargs: exclude_folders = kwargs['excludeFolders'] - if 'excludedPrefixes' in kwargs: + if excluded_prefixes is None and 'excludedPrefixes' in kwargs: excluded_prefixes = kwargs['excludedPrefixes'] _setter("status", status) @@ -275,7 +283,7 @@ def _configure( principal: Optional[str] = None, resources: Optional[Sequence[str]] = None, sid: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None, + opts: Optional[pulumi.ResourceOptions] = None, **kwargs): if actions is not None: @@ -337,11 +345,17 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - test: str, - values: Sequence[str], - variable: str, - opts: Optional[pulumi.ResourceOptions]=None, + test: Optional[str] = None, + values: Optional[Sequence[str]] = None, + variable: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions] = None, **kwargs): + if test is None: + raise TypeError("Missing 'test' argument") + if values is None: + raise TypeError("Missing 'values' argument") + if variable is None: + raise TypeError("Missing 'variable' argument") _setter("test", test) _setter("values", values) diff --git a/sdk/python/pulumi_minio/provider.py b/sdk/python/pulumi_minio/provider.py index 3e983b1..1c7c5c5 100644 --- a/sdk/python/pulumi_minio/provider.py +++ b/sdk/python/pulumi_minio/provider.py @@ -59,7 +59,7 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - minio_server: pulumi.Input[str], + minio_server: Optional[pulumi.Input[str]] = None, minio_access_key: Optional[pulumi.Input[str]] = None, minio_api_version: Optional[pulumi.Input[str]] = None, minio_cacert_file: Optional[pulumi.Input[str]] = None, @@ -72,33 +72,35 @@ def _configure( minio_session_token: Optional[pulumi.Input[str]] = None, minio_ssl: Optional[pulumi.Input[bool]] = None, minio_user: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None, + opts: Optional[pulumi.ResourceOptions] = None, **kwargs): - if 'minioServer' in kwargs: + if minio_server is None and 'minioServer' in kwargs: minio_server = kwargs['minioServer'] - if 'minioAccessKey' in kwargs: + if minio_server is None: + raise TypeError("Missing 'minio_server' argument") + if minio_access_key is None and 'minioAccessKey' in kwargs: minio_access_key = kwargs['minioAccessKey'] - if 'minioApiVersion' in kwargs: + if minio_api_version is None and 'minioApiVersion' in kwargs: minio_api_version = kwargs['minioApiVersion'] - if 'minioCacertFile' in kwargs: + if minio_cacert_file is None and 'minioCacertFile' in kwargs: minio_cacert_file = kwargs['minioCacertFile'] - if 'minioCertFile' in kwargs: + if minio_cert_file is None and 'minioCertFile' in kwargs: minio_cert_file = kwargs['minioCertFile'] - if 'minioInsecure' in kwargs: + if minio_insecure is None and 'minioInsecure' in kwargs: minio_insecure = kwargs['minioInsecure'] - if 'minioKeyFile' in kwargs: + if minio_key_file is None and 'minioKeyFile' in kwargs: minio_key_file = kwargs['minioKeyFile'] - if 'minioPassword' in kwargs: + if minio_password is None and 'minioPassword' in kwargs: minio_password = kwargs['minioPassword'] - if 'minioRegion' in kwargs: + if minio_region is None and 'minioRegion' in kwargs: minio_region = kwargs['minioRegion'] - if 'minioSecretKey' in kwargs: + if minio_secret_key is None and 'minioSecretKey' in kwargs: minio_secret_key = kwargs['minioSecretKey'] - if 'minioSessionToken' in kwargs: + if minio_session_token is None and 'minioSessionToken' in kwargs: minio_session_token = kwargs['minioSessionToken'] - if 'minioSsl' in kwargs: + if minio_ssl is None and 'minioSsl' in kwargs: minio_ssl = kwargs['minioSsl'] - if 'minioUser' in kwargs: + if minio_user is None and 'minioUser' in kwargs: minio_user = kwargs['minioUser'] _setter("minio_server", minio_server) diff --git a/sdk/python/pulumi_minio/s3_bucket.py b/sdk/python/pulumi_minio/s3_bucket.py index eae1368..11a72c6 100644 --- a/sdk/python/pulumi_minio/s3_bucket.py +++ b/sdk/python/pulumi_minio/s3_bucket.py @@ -41,13 +41,13 @@ def _configure( force_destroy: Optional[pulumi.Input[bool]] = None, object_locking: Optional[pulumi.Input[bool]] = None, quota: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None, + opts: Optional[pulumi.ResourceOptions] = None, **kwargs): - if 'bucketPrefix' in kwargs: + if bucket_prefix is None and 'bucketPrefix' in kwargs: bucket_prefix = kwargs['bucketPrefix'] - if 'forceDestroy' in kwargs: + if force_destroy is None and 'forceDestroy' in kwargs: force_destroy = kwargs['forceDestroy'] - if 'objectLocking' in kwargs: + if object_locking is None and 'objectLocking' in kwargs: object_locking = kwargs['objectLocking'] if acl is not None: @@ -154,15 +154,15 @@ def _configure( force_destroy: Optional[pulumi.Input[bool]] = None, object_locking: Optional[pulumi.Input[bool]] = None, quota: Optional[pulumi.Input[int]] = None, - opts: Optional[pulumi.ResourceOptions]=None, + opts: Optional[pulumi.ResourceOptions] = None, **kwargs): - if 'bucketDomainName' in kwargs: + if bucket_domain_name is None and 'bucketDomainName' in kwargs: bucket_domain_name = kwargs['bucketDomainName'] - if 'bucketPrefix' in kwargs: + if bucket_prefix is None and 'bucketPrefix' in kwargs: bucket_prefix = kwargs['bucketPrefix'] - if 'forceDestroy' in kwargs: + if force_destroy is None and 'forceDestroy' in kwargs: force_destroy = kwargs['forceDestroy'] - if 'objectLocking' in kwargs: + if object_locking is None and 'objectLocking' in kwargs: object_locking = kwargs['objectLocking'] if acl is not None: diff --git a/sdk/python/pulumi_minio/s3_bucket_notification.py b/sdk/python/pulumi_minio/s3_bucket_notification.py index 5d9e47d..945e93a 100644 --- a/sdk/python/pulumi_minio/s3_bucket_notification.py +++ b/sdk/python/pulumi_minio/s3_bucket_notification.py @@ -29,10 +29,12 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - bucket: pulumi.Input[str], + bucket: Optional[pulumi.Input[str]] = None, queues: Optional[pulumi.Input[Sequence[pulumi.Input['S3BucketNotificationQueueArgs']]]] = None, - opts: Optional[pulumi.ResourceOptions]=None, + opts: Optional[pulumi.ResourceOptions] = None, **kwargs): + if bucket is None: + raise TypeError("Missing 'bucket' argument") _setter("bucket", bucket) if queues is not None: @@ -75,7 +77,7 @@ def _configure( _setter: Callable[[Any, Any], None], bucket: Optional[pulumi.Input[str]] = None, queues: Optional[pulumi.Input[Sequence[pulumi.Input['S3BucketNotificationQueueArgs']]]] = None, - opts: Optional[pulumi.ResourceOptions]=None, + opts: Optional[pulumi.ResourceOptions] = None, **kwargs): if bucket is not None: diff --git a/sdk/python/pulumi_minio/s3_bucket_policy.py b/sdk/python/pulumi_minio/s3_bucket_policy.py index d8c2489..d2724b0 100644 --- a/sdk/python/pulumi_minio/s3_bucket_policy.py +++ b/sdk/python/pulumi_minio/s3_bucket_policy.py @@ -27,10 +27,14 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - bucket: pulumi.Input[str], - policy: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None, + bucket: Optional[pulumi.Input[str]] = None, + policy: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions] = None, **kwargs): + if bucket is None: + raise TypeError("Missing 'bucket' argument") + if policy is None: + raise TypeError("Missing 'policy' argument") _setter("bucket", bucket) _setter("policy", policy) @@ -72,7 +76,7 @@ def _configure( _setter: Callable[[Any, Any], None], bucket: Optional[pulumi.Input[str]] = None, policy: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None, + opts: Optional[pulumi.ResourceOptions] = None, **kwargs): if bucket is not None: diff --git a/sdk/python/pulumi_minio/s3_bucket_server_side_encryption.py b/sdk/python/pulumi_minio/s3_bucket_server_side_encryption.py index e19e319..d0ababf 100644 --- a/sdk/python/pulumi_minio/s3_bucket_server_side_encryption.py +++ b/sdk/python/pulumi_minio/s3_bucket_server_side_encryption.py @@ -29,15 +29,21 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - bucket: pulumi.Input[str], - encryption_type: pulumi.Input[str], - kms_key_id: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None, + bucket: Optional[pulumi.Input[str]] = None, + encryption_type: Optional[pulumi.Input[str]] = None, + kms_key_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions] = None, **kwargs): - if 'encryptionType' in kwargs: + if bucket is None: + raise TypeError("Missing 'bucket' argument") + if encryption_type is None and 'encryptionType' in kwargs: encryption_type = kwargs['encryptionType'] - if 'kmsKeyId' in kwargs: + if encryption_type is None: + raise TypeError("Missing 'encryption_type' argument") + if kms_key_id is None and 'kmsKeyId' in kwargs: kms_key_id = kwargs['kmsKeyId'] + if kms_key_id is None: + raise TypeError("Missing 'kms_key_id' argument") _setter("bucket", bucket) _setter("encryption_type", encryption_type) @@ -92,11 +98,11 @@ def _configure( bucket: Optional[pulumi.Input[str]] = None, encryption_type: Optional[pulumi.Input[str]] = None, kms_key_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None, + opts: Optional[pulumi.ResourceOptions] = None, **kwargs): - if 'encryptionType' in kwargs: + if encryption_type is None and 'encryptionType' in kwargs: encryption_type = kwargs['encryptionType'] - if 'kmsKeyId' in kwargs: + if kms_key_id is None and 'kmsKeyId' in kwargs: kms_key_id = kwargs['kmsKeyId'] if bucket is not None: diff --git a/sdk/python/pulumi_minio/s3_bucket_versioning.py b/sdk/python/pulumi_minio/s3_bucket_versioning.py index edf02f4..91525e7 100644 --- a/sdk/python/pulumi_minio/s3_bucket_versioning.py +++ b/sdk/python/pulumi_minio/s3_bucket_versioning.py @@ -29,12 +29,16 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - bucket: pulumi.Input[str], - versioning_configuration: pulumi.Input['S3BucketVersioningVersioningConfigurationArgs'], - opts: Optional[pulumi.ResourceOptions]=None, + bucket: Optional[pulumi.Input[str]] = None, + versioning_configuration: Optional[pulumi.Input['S3BucketVersioningVersioningConfigurationArgs']] = None, + opts: Optional[pulumi.ResourceOptions] = None, **kwargs): - if 'versioningConfiguration' in kwargs: + if bucket is None: + raise TypeError("Missing 'bucket' argument") + if versioning_configuration is None and 'versioningConfiguration' in kwargs: versioning_configuration = kwargs['versioningConfiguration'] + if versioning_configuration is None: + raise TypeError("Missing 'versioning_configuration' argument") _setter("bucket", bucket) _setter("versioning_configuration", versioning_configuration) @@ -76,9 +80,9 @@ def _configure( _setter: Callable[[Any, Any], None], bucket: Optional[pulumi.Input[str]] = None, versioning_configuration: Optional[pulumi.Input['S3BucketVersioningVersioningConfigurationArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None, + opts: Optional[pulumi.ResourceOptions] = None, **kwargs): - if 'versioningConfiguration' in kwargs: + if versioning_configuration is None and 'versioningConfiguration' in kwargs: versioning_configuration = kwargs['versioningConfiguration'] if bucket is not None: @@ -159,11 +163,7 @@ def _internal_init(__self__, if bucket is None and not opts.urn: raise TypeError("Missing required property 'bucket'") __props__.__dict__["bucket"] = bucket - if versioning_configuration is not None and not isinstance(versioning_configuration, S3BucketVersioningVersioningConfigurationArgs): - versioning_configuration = versioning_configuration or {} - def _setter(key, value): - versioning_configuration[key] = value - S3BucketVersioningVersioningConfigurationArgs._configure(_setter, **versioning_configuration) + versioning_configuration = _utilities.configure(versioning_configuration, S3BucketVersioningVersioningConfigurationArgs, True) if versioning_configuration is None and not opts.urn: raise TypeError("Missing required property 'versioning_configuration'") __props__.__dict__["versioning_configuration"] = versioning_configuration diff --git a/sdk/python/pulumi_minio/s3_object.py b/sdk/python/pulumi_minio/s3_object.py index 3477607..5abe120 100644 --- a/sdk/python/pulumi_minio/s3_object.py +++ b/sdk/python/pulumi_minio/s3_object.py @@ -39,25 +39,29 @@ def __init__(__self__, *, @staticmethod def _configure( _setter: Callable[[Any, Any], None], - bucket_name: pulumi.Input[str], - object_name: pulumi.Input[str], + bucket_name: Optional[pulumi.Input[str]] = None, + object_name: Optional[pulumi.Input[str]] = None, content: Optional[pulumi.Input[str]] = None, content_base64: Optional[pulumi.Input[str]] = None, content_type: Optional[pulumi.Input[str]] = None, etag: Optional[pulumi.Input[str]] = None, source: Optional[pulumi.Input[str]] = None, version_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None, + opts: Optional[pulumi.ResourceOptions] = None, **kwargs): - if 'bucketName' in kwargs: + if bucket_name is None and 'bucketName' in kwargs: bucket_name = kwargs['bucketName'] - if 'objectName' in kwargs: + if bucket_name is None: + raise TypeError("Missing 'bucket_name' argument") + if object_name is None and 'objectName' in kwargs: object_name = kwargs['objectName'] - if 'contentBase64' in kwargs: + if object_name is None: + raise TypeError("Missing 'object_name' argument") + if content_base64 is None and 'contentBase64' in kwargs: content_base64 = kwargs['contentBase64'] - if 'contentType' in kwargs: + if content_type is None and 'contentType' in kwargs: content_type = kwargs['contentType'] - if 'versionId' in kwargs: + if version_id is None and 'versionId' in kwargs: version_id = kwargs['versionId'] _setter("bucket_name", bucket_name) @@ -184,17 +188,17 @@ def _configure( object_name: Optional[pulumi.Input[str]] = None, source: Optional[pulumi.Input[str]] = None, version_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None, + opts: Optional[pulumi.ResourceOptions] = None, **kwargs): - if 'bucketName' in kwargs: + if bucket_name is None and 'bucketName' in kwargs: bucket_name = kwargs['bucketName'] - if 'contentBase64' in kwargs: + if content_base64 is None and 'contentBase64' in kwargs: content_base64 = kwargs['contentBase64'] - if 'contentType' in kwargs: + if content_type is None and 'contentType' in kwargs: content_type = kwargs['contentType'] - if 'objectName' in kwargs: + if object_name is None and 'objectName' in kwargs: object_name = kwargs['objectName'] - if 'versionId' in kwargs: + if version_id is None and 'versionId' in kwargs: version_id = kwargs['versionId'] if bucket_name is not None: