diff --git a/examples/go.mod b/examples/go.mod
index 3a8d9051..cc01e507 100644
--- a/examples/go.mod
+++ b/examples/go.mod
@@ -2,7 +2,7 @@ module github.com/pulumi/pulumi-consul/examples/v3
go 1.21
-require github.com/pulumi/pulumi/pkg/v3 v3.86.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
@@ -111,25 +96,21 @@ require (
github.com/hashicorp/go-version v1.6.0 // indirect
github.com/hashicorp/golang-lru v0.5.4 // indirect
github.com/hashicorp/hcl v1.0.0 // indirect
- github.com/hashicorp/hcl/v2 v2.16.2 // indirect
+ github.com/hashicorp/hcl/v2 v2.17.0 // 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/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,13 +131,13 @@ 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/pulumi/sdk/v3 v3.86.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.9.0 // indirect
+ github.com/rogpeppe/go-internal v1.11.0 // indirect
github.com/ryanuber/go-glob v1.0.0 // indirect
github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06 // indirect
github.com/santhosh-tekuri/jsonschema/v5 v5.0.0 // indirect
@@ -166,7 +147,7 @@ require (
github.com/skeema/knownhosts v1.1.0 // indirect
github.com/spf13/cobra v1.7.0 // indirect
github.com/spf13/pflag v1.0.5 // indirect
- github.com/stretchr/testify v1.8.3 // indirect
+ github.com/stretchr/testify v1.8.4 // indirect
github.com/texttheater/golang-levenshtein v1.0.1 // indirect
github.com/tweekmonster/luser v0.0.0-20161003172636-3fa38070dbd7 // indirect
github.com/uber/jaeger-client-go v2.30.0+incompatible // indirect
@@ -180,14 +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/mod v0.10.0 // indirect
- golang.org/x/net v0.10.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.17.0 // indirect
golang.org/x/oauth2 v0.8.0 // indirect
golang.org/x/sync v0.2.0 // indirect
- golang.org/x/sys v0.9.0 // indirect
- golang.org/x/term v0.8.0 // indirect
- golang.org/x/text v0.9.0 // indirect
+ golang.org/x/sys v0.13.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 ab745422..350f37bf 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=
@@ -993,8 +978,8 @@ github.com/hashicorp/golang-lru v0.5.4 h1:YDjusn29QI/Das2iO9M0BHnIbxPeyuCHsjMW+l
github.com/hashicorp/golang-lru v0.5.4/go.mod h1:iADmTwqILo4mZ8BN3D2Q6+9jd8WM5uGBxy+E8yxSoD4=
github.com/hashicorp/hcl v1.0.0 h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4=
github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ=
-github.com/hashicorp/hcl/v2 v2.16.2 h1:mpkHZh/Tv+xet3sy3F9Ld4FyI2tUpWe9x3XtPx9f1a0=
-github.com/hashicorp/hcl/v2 v2.16.2/go.mod h1:JRmR89jycNkrrqnMmvPDMd56n1rQJ2Q6KocSLCMCXng=
+github.com/hashicorp/hcl/v2 v2.17.0 h1:z1XvSUyXd1HP10U4lrLg5e0JMVz6CPaJvAgxM0KNZVY=
+github.com/hashicorp/hcl/v2 v2.17.0/go.mod h1:gJyW2PTShkJqQBKpAmPO3yxMxIuoXkOF2TpqXzrQyx4=
github.com/hashicorp/logutils v1.0.0/go.mod h1:QIAnNjmIWmVIIkWDTG1z5v++HQmx9WQRO+LraFDTW64=
github.com/hashicorp/mdns v1.0.0/go.mod h1:tL+uN++7HEJ6SQLQ2/p+z2pH24WQKWjBPkE0mNTz8vQ=
github.com/hashicorp/mdns v1.0.4/go.mod h1:mtBihi+LeNXGtG8L9dX59gAEa12BDtBQSp4v/YAJqrc=
@@ -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=
@@ -1137,9 +1115,8 @@ github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod h1:+0opPa2QZZtGFB
github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo=
github.com/kr/pretty v0.2.0/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI=
github.com/kr/pretty v0.2.1/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI=
+github.com/kr/pretty v0.3.0 h1:WgNl7dwNpEZ6jJ9k1snq4pZsg7DOEN8hP9Xw0Tsjwk0=
github.com/kr/pretty v0.3.0/go.mod h1:640gp4NfQd8pI5XOwp5fnNeVWj67G7CFk/SaSQn7NBk=
-github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE=
-github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk=
github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
github.com/kr/pty v1.1.5/go.mod h1:9r2w37qlBe7rQ6e1fg1S/9xpWHSnaqNdHD3WcMdbPDA=
github.com/kr/pty v1.1.8/go.mod h1:O1sed60cT9XZ5uDucP5qwvh+TE3NnUj51EiZO/lmSfw=
@@ -1147,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=
@@ -1179,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=
@@ -1210,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=
@@ -1390,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=
@@ -1462,10 +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/pulumi/pkg/v3 v3.86.0 h1:G4spuT89ZN8lSxT9WkMF/JaP7n+wu7ubEly7Yy8uza0=
-github.com/pulumi/pulumi/pkg/v3 v3.86.0/go.mod h1:Qs55gPhUwM/Dua3VRtHXLLlpY8uEe+llDBIZc+1pvHM=
-github.com/pulumi/pulumi/sdk/v3 v3.86.0 h1:Cxg0rGdvMt9GqGvesFTj8+WaO/ihmALYlQf4zm1GzFw=
-github.com/pulumi/pulumi/sdk/v3 v3.86.0/go.mod h1:vexSGJ5L834l3T7Fo/KpdywjGAgZ2CvChuqGFl+ebS0=
+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=
@@ -1478,8 +1452,8 @@ github.com/rogpeppe/go-internal v1.1.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFR
github.com/rogpeppe/go-internal v1.2.2/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4=
github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4=
github.com/rogpeppe/go-internal v1.6.1/go.mod h1:xXDCJY+GAPziupqXw64V24skbSoqbTEfhy4qGm1nDQc=
-github.com/rogpeppe/go-internal v1.9.0 h1:73kH8U+JUqXU8lRuOHeVHaa/SZPifC7BkcraZVejAe8=
-github.com/rogpeppe/go-internal v1.9.0/go.mod h1:WtVeX8xhTBvf0smdhujwtBcq4Qrzq/fJaraNFVN+nFs=
+github.com/rogpeppe/go-internal v1.11.0 h1:cWPaGQEPrBb5/AsnsZesgZZ9yb1OQ+GOISoDNXVBh4M=
+github.com/rogpeppe/go-internal v1.11.0/go.mod h1:ddIwULY96R17DhadqLgMfk9H9tvdUzkipdSkR5nkCZA=
github.com/rs/cors v1.8.2/go.mod h1:XyqrcTp5zjWr1wsJ8PIRZssZ8b/WMcMf71DJnit4EMU=
github.com/rs/xid v1.2.1/go.mod h1:+uKXf+4Djp6Md1KODXJxgGQPKngRmWyn10oCKFzNHOQ=
github.com/rs/zerolog v1.13.0/go.mod h1:YbFCdg8HfsridGWAh22vktObvhZbQsZXe4/zB0OKkWU=
@@ -1579,8 +1553,8 @@ github.com/stretchr/testify v1.7.2/go.mod h1:R6va5+xMeoiuVRoj+gSkQ7d3FALtqAAGI1F
github.com/stretchr/testify v1.7.5/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU=
github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU=
github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4=
-github.com/stretchr/testify v1.8.3 h1:RP3t2pwF7cMEbC1dqtB6poj3niw/9gnV4Cjg5oW5gtY=
-github.com/stretchr/testify v1.8.3/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo=
+github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk=
+github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo=
github.com/subosito/gotenv v1.2.0/go.mod h1:N0PQaV/YGNqwC0u51sEeR/aUtSLEXKX9iv69rRypqCw=
github.com/syndtr/gocapability v0.0.0-20170704070218-db04d3cc01c8/go.mod h1:hkRG7XYTFWNJGYcbNJQlaLq0fg1yr4J4t/NcTQtrfww=
github.com/syndtr/gocapability v0.0.0-20180916011248-d98352740cb2/go.mod h1:hkRG7XYTFWNJGYcbNJQlaLq0fg1yr4J4t/NcTQtrfww=
@@ -1786,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=
@@ -1798,6 +1772,8 @@ golang.org/x/exp v0.0.0-20191227195350-da58074b4299/go.mod h1:2RIsYlXP63K8oxa1u0
golang.org/x/exp v0.0.0-20200119233911-0405dc783f0a/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4=
golang.org/x/exp v0.0.0-20200207192155-f17229e696bd/go.mod h1:J/WKrq2StrnmMY6+EHIKF9dgMWnmCNThgcyBT1FY9mM=
golang.org/x/exp v0.0.0-20200224162631-6cc2880d07d6/go.mod h1:3jZMyOhIsHpP37uCMkUooju7aAi5cS1Q23tOzKc+0MU=
+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/image v0.0.0-20190227222117-0694c2d4d067/go.mod h1:kZ7UVZpmo3dzQBMxlp+ypCbDeSB+sBbTgSJuh5dn5js=
golang.org/x/image v0.0.0-20190802002840-cff245a6509b/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0=
golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE=
@@ -1828,8 +1804,8 @@ golang.org/x/mod v0.5.1/go.mod h1:5OXOZSfqPIIbmVBIIKWRFfZjPR0E5r58TLhUjH0a2Ro=
golang.org/x/mod v0.6.0-dev.0.20220106191415-9b9b3d81d5e3/go.mod h1:3p9vT2HGsQu2K1YbXdKPJLVgG5VJdoTa1poYQBtP1AY=
golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4=
golang.org/x/mod v0.6.0/go.mod h1:4mET923SAdbXp2ki8ey+zGs1SLqsuM2Y0uvdZR/fUNI=
-golang.org/x/mod v0.10.0 h1:lFO9qtOdlre5W1jxS3r/4szv2/6iXxScdzjoBMXNhYk=
-golang.org/x/mod v0.10.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs=
+golang.org/x/mod v0.13.0 h1:I/DsJXRlw/8l/0c24sM9yb0T4z9liZTduXvdAWYiysY=
+golang.org/x/mod v0.13.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c=
golang.org/x/net v0.0.0-20180530234432-1e491301e022/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
@@ -1912,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=
@@ -2104,8 +2080,8 @@ golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.2.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.3.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
-golang.org/x/sys v0.9.0 h1:KS/R3tvhPqvJvwcKfnBHJwwthS11LRhmM5D59eEXa0s=
-golang.org/x/sys v0.9.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
+golang.org/x/sys v0.13.0 h1:Af8nKPmuFypiUBjVoU9V20FiaFXOcuZI21p0ycVYYGE=
+golang.org/x/sys v0.13.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw=
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
golang.org/x/term v0.0.0-20210220032956-6a3ed077a48d/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
@@ -2114,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=
@@ -2127,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/go.mod b/provider/go.mod
index 267dd805..7819b8cf 100644
--- a/provider/go.mod
+++ b/provider/go.mod
@@ -5,8 +5,8 @@ go 1.21
require (
github.com/hashicorp/terraform-plugin-sdk v1.17.2
github.com/hashicorp/terraform-provider-consul v1.1.1-0.20230724083048-ba52b81c9d21
- github.com/pulumi/pulumi-terraform-bridge/v3 v3.61.0
- github.com/pulumi/pulumi/sdk/v3 v3.86.0
+ github.com/pulumi/pulumi-terraform-bridge/v3 v3.63.0
+ github.com/pulumi/pulumi/sdk/v3 v3.90.1
)
replace github.com/spf13/afero => github.com/spf13/afero v1.2.2
@@ -20,12 +20,8 @@ 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
+ dario.cat/mergo v1.0.0 // 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,39 +32,31 @@ 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
github.com/Masterminds/semver/v3 v3.1.1 // indirect
github.com/Masterminds/sprig/v3 v3.2.2 // indirect
- github.com/Microsoft/go-winio v0.5.2 // indirect
- github.com/ProtonMail/go-crypto v0.0.0-20230217124315-7d5c6f04bbb8 // indirect
+ github.com/Microsoft/go-winio v0.6.1 // indirect
+ github.com/ProtonMail/go-crypto v0.0.0-20230717121422-5aa5874ade95 // indirect
github.com/acomagu/bufpipe v1.0.4 // indirect
github.com/aead/chacha20 v0.0.0-20180709150244-8b13a72661da // indirect
github.com/agext/levenshtein v1.2.3 // indirect
github.com/apparentlymart/go-cidr v1.1.0 // indirect
- github.com/apparentlymart/go-textseg/v13 v13.0.0 // indirect
+ github.com/apparentlymart/go-textseg/v15 v15.0.0 // indirect
github.com/armon/go-metrics v0.4.1 // indirect
github.com/armon/go-radix v1.0.0 // indirect
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
@@ -86,24 +74,22 @@ require (
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // 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/ettle/strcase v0.1.1 // indirect
github.com/fatih/color v1.14.1 // indirect
github.com/gedex/inflector v0.0.0-20170307190818-16278e9db813 // indirect
- github.com/go-git/gcfg v1.5.0 // indirect
+ github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 // indirect
github.com/go-git/go-billy/v5 v5.4.1 // indirect
- github.com/go-git/go-git/v5 v5.6.1 // indirect
+ github.com/go-git/go-git/v5 v5.8.1 // 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
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
@@ -134,14 +120,13 @@ require (
github.com/hashicorp/go-version v1.6.0 // indirect
github.com/hashicorp/golang-lru v0.5.4 // indirect
github.com/hashicorp/hcl v1.0.0 // indirect
- github.com/hashicorp/hcl/v2 v2.17.0 // indirect
+ github.com/hashicorp/hcl/v2 v2.18.0 // indirect
github.com/hashicorp/hil v0.0.0-20190212132231-97b3a9cdfa93 // indirect
github.com/hashicorp/logutils v1.0.0 // indirect
github.com/hashicorp/serf v0.10.1 // indirect
github.com/hashicorp/terraform-config-inspect v0.0.0-20191212124732-c6ae6269b9d7 // indirect
github.com/hashicorp/terraform-exec v0.15.0 // indirect
github.com/hashicorp/terraform-json v0.13.0 // indirect
- github.com/hashicorp/terraform-plugin-go v0.19.0 // indirect
github.com/hashicorp/terraform-plugin-test/v2 v2.2.1 // indirect
github.com/hashicorp/terraform-svchost v0.1.1 // indirect
github.com/hashicorp/vault/api v1.8.2 // indirect
@@ -149,23 +134,19 @@ require (
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.13 // 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/keybase/go-crypto v0.0.0-20180614160407-5114a9a81e1b // indirect
github.com/klauspost/compress v1.16.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.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/mitchellh/cli v1.1.5 // indirect
github.com/mitchellh/colorstring v0.0.0-20190213212951-d06e56a500db // indirect
github.com/mitchellh/copystructure v1.2.0 // indirect
@@ -189,19 +170,19 @@ 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.1-0.20181226105442-5d4384ee4fb2 // indirect
github.com/posener/complete v1.2.3 // indirect
- github.com/pulumi/pulumi-java/pkg v0.9.6 // 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.86.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
- github.com/rogpeppe/go-internal v1.9.0 // indirect
+ github.com/rogpeppe/go-internal v1.11.0 // indirect
github.com/russross/blackfriday/v2 v2.1.0 // indirect
github.com/ryanuber/go-glob v1.0.0 // indirect
github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06 // indirect
@@ -210,12 +191,12 @@ require (
github.com/segmentio/encoding v0.3.5 // indirect
github.com/sergi/go-diff v1.3.1 // indirect
github.com/shopspring/decimal v1.3.1 // indirect
- github.com/skeema/knownhosts v1.1.0 // indirect
+ github.com/skeema/knownhosts v1.2.0 // indirect
github.com/spf13/afero v1.9.5 // indirect
github.com/spf13/cast v1.5.0 // indirect
github.com/spf13/cobra v1.7.0 // indirect
github.com/spf13/pflag v1.0.5 // indirect
- github.com/stretchr/testify v1.8.3 // indirect
+ github.com/stretchr/testify v1.8.4 // indirect
github.com/texttheater/golang-levenshtein v1.0.1 // indirect
github.com/tweekmonster/luser v0.0.0-20161003172636-3fa38070dbd7 // indirect
github.com/uber/jaeger-client-go v2.30.0+incompatible // indirect
@@ -227,22 +208,23 @@ require (
github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f // indirect
github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 // indirect
github.com/xeipuuv/gojsonschema v1.2.0 // indirect
- github.com/zclconf/go-cty v1.13.2 // indirect
+ github.com/zclconf/go-cty v1.14.0 // indirect
github.com/zclconf/go-cty-yaml v1.0.2 // indirect
go.opencensus.io v0.24.0 // indirect
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.11.0 // indirect
- golang.org/x/exp v0.0.0-20230321023759-10a507213a29 // indirect
- golang.org/x/mod v0.10.0 // indirect
- golang.org/x/net v0.13.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.17.0 // indirect
golang.org/x/oauth2 v0.8.0 // indirect
- golang.org/x/sync v0.2.0 // indirect
- golang.org/x/sys v0.10.0 // indirect
- golang.org/x/term v0.10.0 // indirect
- golang.org/x/text v0.11.0 // indirect
+ golang.org/x/sync v0.4.0 // indirect
+ golang.org/x/sys v0.13.0 // indirect
+ golang.org/x/term v0.13.0 // indirect
+ golang.org/x/text v0.13.0 // indirect
golang.org/x/time v0.3.0 // indirect
+ golang.org/x/tools v0.14.0 // indirect
golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect
google.golang.org/api v0.126.0 // indirect
google.golang.org/appengine v1.6.7 // indirect
diff --git a/provider/go.sum b/provider/go.sum
index 087b707d..2eb1ab97 100644
--- a/provider/go.sum
+++ b/provider/go.sum
@@ -211,10 +211,10 @@ code.cloudfoundry.org/clock v0.0.0-20180518195852-02e53af36e6c/go.mod h1:QD9Lzhd
contrib.go.opencensus.io/exporter/aws v0.0.0-20200617204711-c478e41e60e9/go.mod h1:uu1P0UCM/6RbsMrgPa98ll8ZcHM858i/AD06a9aLRCA=
contrib.go.opencensus.io/exporter/stackdriver v0.13.13/go.mod h1:5pSSGY0Bhuk7waTHuDf4aQ8D2DrhgETRo9fy6k3Xlzc=
contrib.go.opencensus.io/integrations/ocsql v0.1.7/go.mod h1:8DsSdjz3F+APR+0z0WkU1aRorQCFfRxvqjUUPMbF3fE=
+dario.cat/mergo v1.0.0 h1:AGCNq9Evsj31mOgNPcLyXc+4PNABt905YmuqPYYpBWk=
+dario.cat/mergo v1.0.0/go.mod h1:uNxQE+84aUszobStD9th8a29P2fMDhsBdgRYvZOxGmk=
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=
@@ -223,16 +223,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=
@@ -276,7 +272,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=
@@ -307,8 +302,9 @@ github.com/Microsoft/go-winio v0.4.17-0.20210211115548-6eac466e5fa3/go.mod h1:JP
github.com/Microsoft/go-winio v0.4.17-0.20210324224401-5516f17a5958/go.mod h1:JPGBdM1cNvN/6ISo+n8V5iA4v8pBzdOpzfwIujj1a84=
github.com/Microsoft/go-winio v0.4.17/go.mod h1:JPGBdM1cNvN/6ISo+n8V5iA4v8pBzdOpzfwIujj1a84=
github.com/Microsoft/go-winio v0.5.1/go.mod h1:JPGBdM1cNvN/6ISo+n8V5iA4v8pBzdOpzfwIujj1a84=
-github.com/Microsoft/go-winio v0.5.2 h1:a9IhgEQBCUEk6QCdml9CiJGhAws+YwffDHEMp1VMrpA=
github.com/Microsoft/go-winio v0.5.2/go.mod h1:WpS1mjBmmwHBEWmogvA2mj8546UReBk4v8QkMxJ6pZY=
+github.com/Microsoft/go-winio v0.6.1 h1:9/kr64B9VUZrLm5YYwbGtUJnMgqWVOdUAXu6Migciow=
+github.com/Microsoft/go-winio v0.6.1/go.mod h1:LRdKpFKfdobln8UmuiYcKPot9D2v6svN5+sAH+4kjUM=
github.com/Microsoft/hcsshim v0.8.6/go.mod h1:Op3hHsoHPAvb6lceZHDtd9OkTew38wNoXnJs8iY7rUg=
github.com/Microsoft/hcsshim v0.8.7-0.20190325164909-8abdbb8205e4/go.mod h1:Op3hHsoHPAvb6lceZHDtd9OkTew38wNoXnJs8iY7rUg=
github.com/Microsoft/hcsshim v0.8.7/go.mod h1:OHd7sQqRFrYd3RmSgbgji+ctCwkbq2wbEYNSzOYtcBQ=
@@ -324,12 +320,10 @@ 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-20210428141323-04723f9f07d7/go.mod h1:z4/9nQmJSSwwds7ejkxaJwO37dru3geImFUdJlaLzQo=
-github.com/ProtonMail/go-crypto v0.0.0-20230217124315-7d5c6f04bbb8 h1:wPbRQzjjwFc0ih8puEVAOFGELsn1zoIIYdxvML7mDxA=
-github.com/ProtonMail/go-crypto v0.0.0-20230217124315-7d5c6f04bbb8/go.mod h1:I0gYDMZ6Z5GRU7l58bNFSkPTFN6Yl12dsUlAZ8xy98g=
+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=
github.com/PuerkitoBio/purell v1.0.0/go.mod h1:c11w/QuzBsJSee3cPx9rAFu61PvFxuPbtSwDGJws/X0=
github.com/PuerkitoBio/purell v1.1.1/go.mod h1:c11w/QuzBsJSee3cPx9rAFu61PvFxuPbtSwDGJws/X0=
github.com/PuerkitoBio/urlesc v0.0.0-20160726150825-5bd2802263f2/go.mod h1:uGdkoq3SwY9Y+13GIhn11/XLaGBb4BfwItxLd5jeuXE=
@@ -373,8 +367,9 @@ github.com/apparentlymart/go-dump v0.0.0-20190214190832-042adf3cf4a0 h1:MzVXffFU
github.com/apparentlymart/go-dump v0.0.0-20190214190832-042adf3cf4a0/go.mod h1:oL81AME2rN47vu18xqj1S1jPIPuN7afo62yKTNn3XMM=
github.com/apparentlymart/go-textseg v1.0.0/go.mod h1:z96Txxhf3xSFMPmb5X/1W05FF/Nj9VFpLOpjS5yuumk=
github.com/apparentlymart/go-textseg/v12 v12.0.0/go.mod h1:S/4uRK2UtaQttw1GenVJEynmyUenKwP++x/+DdGV/Ec=
-github.com/apparentlymart/go-textseg/v13 v13.0.0 h1:Y+KvPE1NYz0xl601PVImeQfFyEy6iT90AvPUL1NNfNw=
github.com/apparentlymart/go-textseg/v13 v13.0.0/go.mod h1:ZK2fH7c4NqDTLtiYLvIkEghdlcqw7yxLeM89kiTRPUo=
+github.com/apparentlymart/go-textseg/v15 v15.0.0 h1:uYvfpb3DyLSCGWnctWKGj857c6ew1u1fNQOlOtuGxQY=
+github.com/apparentlymart/go-textseg/v15 v15.0.0/go.mod h1:K8XmNZdhEBkdlyDdvbmmsvpAG721bKi0joRfFdHIWJ4=
github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e/go.mod h1:3U/XgcO3hCbHZ8TKRvWD2dDTCfh9M9ya+I9JpbB7O8o=
github.com/armon/consul-api v0.0.0-20180202201655-eb2c6b5be1b6/go.mod h1:grANhF5doyWs3UAsr3K4I6qtAmlQcZDesFNEHPZAzj8=
github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da/go.mod h1:Q73ZrmVTwzkszR9V5SSuryQ31EELlFMUz1kKyl939pY=
@@ -485,7 +480,7 @@ github.com/buger/jsonparser v1.1.1/go.mod h1:6RYKKt7H4d4+iWqouImQ9R2FZql3VbhNgx2
github.com/bugsnag/bugsnag-go v0.0.0-20141110184014-b1d153021fcd/go.mod h1:2oa8nejYd4cQ/b0hMIopN0lCRxU0bueqREvZLWFrtK8=
github.com/bugsnag/osext v0.0.0-20130617224835-0dd3f918b21b/go.mod h1:obH5gd0BsqsP2LwDJ9aOkm/6J86V6lyAXCoQWGw3K50=
github.com/bugsnag/panicwrap v0.0.0-20151223152923-e2c28503fcd0/go.mod h1:D/8v3kj0zr8ZAKg1AQ6crr+5VwKN5eIywRkfhyM/+dE=
-github.com/bwesterb/go-ristretto v1.2.0/go.mod h1:fUIoIZaG73pV5biE2Blr2xEzDoMj7NFEuV9ekS419A0=
+github.com/bwesterb/go-ristretto v1.2.3/go.mod h1:fUIoIZaG73pV5biE2Blr2xEzDoMj7NFEuV9ekS419A0=
github.com/casbin/casbin/v2 v2.1.2/go.mod h1:YcPU1XXisHhLzuxH9coDNf2FbKpjGlbCg3n9yuLkIJQ=
github.com/cenkalti/backoff v2.2.1+incompatible/go.mod h1:90ReRw6GdpyfrHakVjL/QHaoyV4aDUVVkXQJJJ3NXXM=
github.com/cenkalti/backoff/v3 v3.0.0/go.mod h1:cIeZDE3IrqwwJl6VUwCN6trj1oXrTS4rc0ij+ULvLYs=
@@ -529,7 +524,6 @@ github.com/circonus-labs/circonus-gometrics v2.3.1+incompatible/go.mod h1:nmEj6D
github.com/circonus-labs/circonusllhist v0.1.3/go.mod h1:kMXHVDlOchFAehlya5ePtbp5jckzBHf4XRpQvBOLI+I=
github.com/clbanning/x2j v0.0.0-20191024224557-825249438eec/go.mod h1:jMjuTZXRI4dUb/I5gc9Hdhagfvm9+RyrPryS/auMzxE=
github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw=
-github.com/cloudflare/circl v1.1.0/go.mod h1:prBCrKB9DV4poKZY1l9zBXg2QJY7mvgRvtMxxK7fi4I=
github.com/cloudflare/circl v1.3.3 h1:fE/Qz0QdIGqeWfnwq0RE0R7MI51s0M2E4Ga9kq5AEMs=
github.com/cloudflare/circl v1.3.3/go.mod h1:5XYMA4rFBvNIrhs50XuiBJ15vF2pZn4nnUKZrLbUZFA=
github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc=
@@ -670,8 +664,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=
@@ -698,7 +690,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=
@@ -720,8 +711,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=
@@ -729,6 +718,8 @@ github.com/edsrzf/mmap-go v1.0.0/go.mod h1:YO35OhQPt3KJa3ryjFM5Bs14WD66h8eGKpfaB
github.com/edsrzf/mmap-go v1.1.0 h1:6EUwBLQ/Mcr1EYLE4Tn1VdW1A4ckqCQWZBw8Hr0kjpQ=
github.com/edsrzf/mmap-go v1.1.0/go.mod h1:19H/e8pUPLicwkyNgOykDXkJ9F0MHE+Z52B8EIth78Q=
github.com/elazarl/goproxy v0.0.0-20180725130230-947c36da3153/go.mod h1:/Zj4wYkgs4iZTTu3o/KG3Itv/qCCa8VVMlb3i9OVuzc=
+github.com/elazarl/goproxy v0.0.0-20221015165544-a0805db90819 h1:RIB4cRk+lBqKK3Oy0r2gRX4ui7tuhiZq2SuTtTCi0/0=
+github.com/elazarl/goproxy v0.0.0-20221015165544-a0805db90819/go.mod h1:Ro8st/ElPeALwNFlcTpWmkr6IoMFfkjXAvTHpevnDsM=
github.com/emicklei/go-restful v0.0.0-20170410110728-ff4f55a20633/go.mod h1:otzb+WCGbkyDHkqmQmT5YD2WR4BBwUdeQoFo8l/7tVs=
github.com/emicklei/go-restful v2.9.5+incompatible/go.mod h1:otzb+WCGbkyDHkqmQmT5YD2WR4BBwUdeQoFo8l/7tVs=
github.com/emirpasic/gods v1.12.0/go.mod h1:YfzfFFoVP/catgzJb4IKIqXjX78Ha8FMSDh3ymbK86o=
@@ -795,8 +786,9 @@ github.com/gliderlabs/ssh v0.2.2/go.mod h1:U7qILu1NlMHj9FlMhZLlkCdDnU1DBEAqr0aev
github.com/gliderlabs/ssh v0.3.5 h1:OcaySEmAQJgyYcArR+gGGTHCyE7nvhEMTlYY+Dp8CpY=
github.com/gliderlabs/ssh v0.3.5/go.mod h1:8XB4KraRrX39qHhT6yxPsHedjA08I/uBVwj4xC+/+z4=
github.com/go-asn1-ber/asn1-ber v1.3.1/go.mod h1:hEBeB/ic+5LoWskz+yKT7vGhhPYkProFKoKdwZRWMe0=
-github.com/go-git/gcfg v1.5.0 h1:Q5ViNfGF8zFgyJWPqYwA7qGFoMTEiBmdlkcfRmpIMa4=
github.com/go-git/gcfg v1.5.0/go.mod h1:5m20vg6GwYabIxaOonVkTdrILxQMpEShl1xiMF4ua+E=
+github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 h1:+zs/tPmkDkHx3U66DAb0lQFJrpS6731Oaa12ikc+DiI=
+github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376/go.mod h1:an3vInlBmSxCcxctByoQdvwPiA7DTK7jaaFDBTtu0ic=
github.com/go-git/go-billy/v5 v5.0.0/go.mod h1:pmpqyWchKfYfrkb/UVH4otLvyi/5gJlGI4Hb3ZqZ3W0=
github.com/go-git/go-billy/v5 v5.1.0/go.mod h1:pmpqyWchKfYfrkb/UVH4otLvyi/5gJlGI4Hb3ZqZ3W0=
github.com/go-git/go-billy/v5 v5.2.0/go.mod h1:pmpqyWchKfYfrkb/UVH4otLvyi/5gJlGI4Hb3ZqZ3W0=
@@ -806,13 +798,13 @@ github.com/go-git/go-billy/v5 v5.4.1/go.mod h1:vjbugF6Fz7JIflbVpl1hJsGjSHNltrSw4
github.com/go-git/go-git-fixtures/v4 v4.0.1/go.mod h1:m+ICp2rF3jDhFgEZ/8yziagdT1C+ZpZcrJjappBCDSw=
github.com/go-git/go-git-fixtures/v4 v4.0.2-0.20200613231340-f56387b50c12/go.mod h1:m+ICp2rF3jDhFgEZ/8yziagdT1C+ZpZcrJjappBCDSw=
github.com/go-git/go-git-fixtures/v4 v4.2.1/go.mod h1:K8zd3kDUAykwTdDCr+I0per6Y6vMiRR/nnVTBtavnB0=
-github.com/go-git/go-git-fixtures/v4 v4.3.1 h1:y5z6dd3qi8Hl+stezc8p3JxDkoTRqMAlKnXHuzrfjTQ=
-github.com/go-git/go-git-fixtures/v4 v4.3.1/go.mod h1:8LHG1a3SRW71ettAD/jW13h8c6AqjVSeL11RAdgaqpo=
+github.com/go-git/go-git-fixtures/v4 v4.3.2-0.20230305113008-0c11038e723f h1:Pz0DHeFij3XFhoBRGUDPzSJ+w2UcK5/0JvF8DRI58r8=
+github.com/go-git/go-git-fixtures/v4 v4.3.2-0.20230305113008-0c11038e723f/go.mod h1:8LHG1a3SRW71ettAD/jW13h8c6AqjVSeL11RAdgaqpo=
github.com/go-git/go-git/v5 v5.1.0/go.mod h1:ZKfuPUoY1ZqIG4QG9BDBh3G4gLM5zvPuSJAozQrZuyM=
github.com/go-git/go-git/v5 v5.3.0/go.mod h1:xdX4bWJ48aOrdhnl2XqHYstHbbp6+LFS4r4X+lNVprw=
github.com/go-git/go-git/v5 v5.4.2/go.mod h1:gQ1kArt6d+n+BGd+/B/I74HwRTLhth2+zti4ihgckDc=
-github.com/go-git/go-git/v5 v5.6.1 h1:q4ZRqQl4pR/ZJHc1L5CFjGA1a10u76aV1iC+nh+bHsk=
-github.com/go-git/go-git/v5 v5.6.1/go.mod h1:mvyoL6Unz0PiTQrGQfSfiLFhBH1c1e84ylC2MDs4ee8=
+github.com/go-git/go-git/v5 v5.8.1 h1:Zo79E4p7TRk0xoRgMq0RShiTHGKcKI4+DI6BfJc/Q+A=
+github.com/go-git/go-git/v5 v5.8.1/go.mod h1:FHFuoD6yGz5OSKEBK+aWN9Oah0q54Jxl0abmj6GnqAo=
github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod h1:vR7hzQXu2zJy9AVAgeJqvqgH9Q5CA+iKCZ2gyEVpxRU=
github.com/go-gl/glfw/v3.3/glfw v0.0.0-20191125211704-12ad95a8df72/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8=
github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8=
@@ -929,7 +921,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=
@@ -1002,8 +993,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=
@@ -1207,8 +1199,8 @@ github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T
github.com/hashicorp/hcl/v2 v2.0.0/go.mod h1:oVVDG71tEinNGYCxinCYadcmKU9bglqW9pV3txagJ90=
github.com/hashicorp/hcl/v2 v2.3.0/go.mod h1:d+FwDBbOLvpAM3Z6J7gPj/VoAGkNe/gm352ZhjJ/Zv8=
github.com/hashicorp/hcl/v2 v2.8.2/go.mod h1:bQTN5mpo+jewjJgh8jr0JUguIi7qPHUF6yIfAEN3jqY=
-github.com/hashicorp/hcl/v2 v2.17.0 h1:z1XvSUyXd1HP10U4lrLg5e0JMVz6CPaJvAgxM0KNZVY=
-github.com/hashicorp/hcl/v2 v2.17.0/go.mod h1:gJyW2PTShkJqQBKpAmPO3yxMxIuoXkOF2TpqXzrQyx4=
+github.com/hashicorp/hcl/v2 v2.18.0 h1:wYnG7Lt31t2zYkcquwgKo6MWXzRUDIeIVU5naZwHLl8=
+github.com/hashicorp/hcl/v2 v2.18.0/go.mod h1:ThLC89FV4p9MPW804KVbe/cEXoQ8NZEh+JtMeeGErHE=
github.com/hashicorp/hil v0.0.0-20190212132231-97b3a9cdfa93 h1:T1Q6ag9tCwun16AW+XK3tAql24P4uTGUMIn1/92WsQQ=
github.com/hashicorp/hil v0.0.0-20190212132231-97b3a9cdfa93/go.mod h1:n2TSygSNwsLJ76m8qFXTSc7beTb+auJxYdqrnoqwZWE=
github.com/hashicorp/logutils v1.0.0 h1:dLEQVugN8vlakKOUE3ihGLTZJRB4j+M2cdTm/ORI65Y=
@@ -1245,8 +1237,8 @@ github.com/hashicorp/terraform-plugin-sdk v1.7.0/go.mod h1:OjgQmey5VxnPej/buEhe+
github.com/hashicorp/terraform-plugin-sdk v1.17.2 h1:V7DUR3yBWFrVB9z3ddpY7kiYVSsq4NYR67NiTs93NQo=
github.com/hashicorp/terraform-plugin-sdk v1.17.2/go.mod h1:wkvldbraEMkz23NxkkAsFS88A1R9eUiooiaUZyS6TLw=
github.com/hashicorp/terraform-plugin-sdk/v2 v2.0.2/go.mod h1:pVZLnLuSe/yv0XqTHFPb8xRGWPwgANT77jHeHqjXS5o=
-github.com/hashicorp/terraform-plugin-sdk/v2 v2.24.1 h1:zHcMbxY0+rFO9gY99elV/XC/UnQVg7FhRCbj1i5b7vM=
-github.com/hashicorp/terraform-plugin-sdk/v2 v2.24.1/go.mod h1:+tNlb0wkfdsDJ7JEiERLz4HzM19HyiuIoGzTsM7rPpw=
+github.com/hashicorp/terraform-plugin-sdk/v2 v2.29.0 h1:wcOKYwPI9IorAJEBLzgclh3xVolO7ZorYd6U1vnok14=
+github.com/hashicorp/terraform-plugin-sdk/v2 v2.29.0/go.mod h1:qH/34G25Ugdj5FcM95cSoXzUgIbgfhVLXCcEcYaMwq8=
github.com/hashicorp/terraform-plugin-test v1.2.0/go.mod h1:QIJHYz8j+xJtdtLrFTlzQVC0ocr3rf/OjIpgZLK56Hs=
github.com/hashicorp/terraform-plugin-test/v2 v2.1.1/go.mod h1:HaW2G5cDTVyiEKt7PHC85YSM5BwvYl/rIko1g8Lg7qE=
github.com/hashicorp/terraform-plugin-test/v2 v2.2.1 h1:d3Rzmi5bnRzcAZon91FY4TDCMUYdU8c5vpPpf2Tz+c8=
@@ -1276,9 +1268,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=
@@ -1290,16 +1279,14 @@ 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.9/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJh5FfA=
github.com/imdario/mergo v0.3.10/go.mod h1:jmQim1M+e3UYxmgPu/WyfjB3N3VflVyUjjjwH0dnCYA=
github.com/imdario/mergo v0.3.11/go.mod h1:jmQim1M+e3UYxmgPu/WyfjB3N3VflVyUjjjwH0dnCYA=
github.com/imdario/mergo v0.3.12/go.mod h1:jmQim1M+e3UYxmgPu/WyfjB3N3VflVyUjjjwH0dnCYA=
-github.com/imdario/mergo v0.3.13 h1:lFzP57bqS/wsqKssCGmtLAb8A0wKjLGrve2q3PPVcBk=
-github.com/imdario/mergo v0.3.13/go.mod h1:4lJ1jqUDcsbIECGy0RUJAXNIhg+6ocWgb1ALK2O4oXg=
+github.com/imdario/mergo v0.3.15 h1:M8XP7IuFNsqUx6VPK2P9OSmsYsI/YFaGil0uD21V3dM=
+github.com/imdario/mergo v0.3.15/go.mod h1:WBLT9ZmE3lPoWsEzCh9LPo3TiwVN+ZKEjmz+hD27ysY=
github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8=
github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8=
github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw=
@@ -1381,8 +1368,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 v0.0.0-20190725054713-01f96b0aa0cd/go.mod h1:CT57kijsi8u/K/BOFA39wgDQJ9CxiF4nAY/ojJ6r6mM=
github.com/kevinburke/ssh_config v0.0.0-20201106050909-4977a11b4351/go.mod h1:CT57kijsi8u/K/BOFA39wgDQJ9CxiF4nAY/ojJ6r6mM=
github.com/kevinburke/ssh_config v1.2.0 h1:x584FjTGwHzMwvHx18PXxbBVzfnxogHaAReU4gf13a4=
@@ -1453,7 +1438,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=
@@ -1486,8 +1470,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=
@@ -1539,7 +1521,6 @@ github.com/mitchellh/reflectwalk v1.0.0/go.mod h1:mSTlrgnPZtwu0c4WaC2kGObEpuNDbx
github.com/mitchellh/reflectwalk v1.0.1/go.mod h1:mSTlrgnPZtwu0c4WaC2kGObEpuNDbx0jmZXqmk4esnw=
github.com/mitchellh/reflectwalk v1.0.2 h1:G2LzWKi524PWgd3mLHV8Y5k7s6XUvT0Gef6zxSIeXaQ=
github.com/mitchellh/reflectwalk v1.0.2/go.mod h1:mSTlrgnPZtwu0c4WaC2kGObEpuNDbx0jmZXqmk4esnw=
-github.com/mmcloughlin/avo v0.5.0/go.mod h1:ChHFdoV7ql95Wi7vuq2YT1bwCJqiWdZrQ1im3VujLYM=
github.com/moby/locker v1.0.1/go.mod h1:S7SDdo5zpBK84bzzVlKr2V0hz+7x9hWbYC/kq7oQppc=
github.com/moby/spdystream v0.2.0/go.mod h1:f7i0iNDQJ059oMTcWxx8MA/zKFIuD/lY+0GqbN2Wy8c=
github.com/moby/sys/mountinfo v0.4.0/go.mod h1:rEr8tzG/lsIZHBtN/JjGG+LMYx9eXgW2JI+6q0qou+A=
@@ -1681,7 +1662,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=
@@ -1755,20 +1735,22 @@ 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/pulumi-java/pkg v0.9.6 h1:UJrOAsYHRchwb4QlfI9Q224qg1TOI3rIsI6DDTUnn30=
-github.com/pulumi/pulumi-java/pkg v0.9.6/go.mod h1:c6rSw/+q4O0IImgJ9axxoC6QesbPYWBaG5gimbHouUQ=
+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.61.0 h1:ryRfPhwm78Ni+U1uaAsITAI6dD2tLtb3suhJXGWb9cM=
-github.com/pulumi/pulumi-terraform-bridge/v3 v3.61.0/go.mod h1:k6iVhOWqTkMWxMdd7njoSkPXBJC/T2Rs44Iif3yDgXw=
+github.com/pulumi/pulumi-terraform-bridge/v3 v3.63.0 h1:otdmkNsMGyZ+proUZClznZo+cEchkSSkmaGcq+Gf+6s=
+github.com/pulumi/pulumi-terraform-bridge/v3 v3.63.0/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.86.0 h1:G4spuT89ZN8lSxT9WkMF/JaP7n+wu7ubEly7Yy8uza0=
-github.com/pulumi/pulumi/pkg/v3 v3.86.0/go.mod h1:Qs55gPhUwM/Dua3VRtHXLLlpY8uEe+llDBIZc+1pvHM=
-github.com/pulumi/pulumi/sdk/v3 v3.86.0 h1:Cxg0rGdvMt9GqGvesFTj8+WaO/ihmALYlQf4zm1GzFw=
-github.com/pulumi/pulumi/sdk/v3 v3.86.0/go.mod h1:vexSGJ5L834l3T7Fo/KpdywjGAgZ2CvChuqGFl+ebS0=
+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=
@@ -1785,8 +1767,8 @@ github.com/rogpeppe/go-internal v1.1.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFR
github.com/rogpeppe/go-internal v1.2.2/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4=
github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4=
github.com/rogpeppe/go-internal v1.6.1/go.mod h1:xXDCJY+GAPziupqXw64V24skbSoqbTEfhy4qGm1nDQc=
-github.com/rogpeppe/go-internal v1.9.0 h1:73kH8U+JUqXU8lRuOHeVHaa/SZPifC7BkcraZVejAe8=
-github.com/rogpeppe/go-internal v1.9.0/go.mod h1:WtVeX8xhTBvf0smdhujwtBcq4Qrzq/fJaraNFVN+nFs=
+github.com/rogpeppe/go-internal v1.11.0 h1:cWPaGQEPrBb5/AsnsZesgZZ9yb1OQ+GOISoDNXVBh4M=
+github.com/rogpeppe/go-internal v1.11.0/go.mod h1:ddIwULY96R17DhadqLgMfk9H9tvdUzkipdSkR5nkCZA=
github.com/rs/cors v1.8.2/go.mod h1:XyqrcTp5zjWr1wsJ8PIRZssZ8b/WMcMf71DJnit4EMU=
github.com/rs/xid v1.2.1/go.mod h1:+uKXf+4Djp6Md1KODXJxgGQPKngRmWyn10oCKFzNHOQ=
github.com/rs/zerolog v1.13.0/go.mod h1:YbFCdg8HfsridGWAh22vktObvhZbQsZXe4/zB0OKkWU=
@@ -1841,8 +1823,8 @@ github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6Mwd
github.com/sirupsen/logrus v1.6.0/go.mod h1:7uNnSEd1DgxDLC74fIahvMZmmYsHGZGEOFrfsX/uA88=
github.com/sirupsen/logrus v1.7.0/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0=
github.com/sirupsen/logrus v1.8.1/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0=
-github.com/skeema/knownhosts v1.1.0 h1:Wvr9V0MxhjRbl3f9nMnKnFfiWTJmtECJ9Njkea3ysW0=
-github.com/skeema/knownhosts v1.1.0/go.mod h1:sKFq3RD6/TKZkSWn8boUbDC7Qkgcv+8XXijpFO6roag=
+github.com/skeema/knownhosts v1.2.0 h1:h9r9cf0+u7wSE+M183ZtMGgOJKiL96brpaz5ekfJCpM=
+github.com/skeema/knownhosts v1.2.0/go.mod h1:g4fPeYpque7P0xefxtGzV81ihjC8sX2IqpAoNkjxbMo=
github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d/go.mod h1:OnSkiWE9lh6wB0YB77sQom3nweQdgAjqCqsofrRNTgc=
github.com/smartystreets/goconvey v0.0.0-20190330032615-68dc04aab96a/go.mod h1:syvi0/a8iFYH4r/RixwvyeAJjdLS9QV7WQ/tjFTllLA=
github.com/smartystreets/goconvey v1.6.4/go.mod h1:syvi0/a8iFYH4r/RixwvyeAJjdLS9QV7WQ/tjFTllLA=
@@ -1896,8 +1878,8 @@ github.com/stretchr/testify v1.7.2/go.mod h1:R6va5+xMeoiuVRoj+gSkQ7d3FALtqAAGI1F
github.com/stretchr/testify v1.7.5/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU=
github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU=
github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4=
-github.com/stretchr/testify v1.8.3 h1:RP3t2pwF7cMEbC1dqtB6poj3niw/9gnV4Cjg5oW5gtY=
-github.com/stretchr/testify v1.8.3/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo=
+github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk=
+github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo=
github.com/subosito/gotenv v1.2.0/go.mod h1:N0PQaV/YGNqwC0u51sEeR/aUtSLEXKX9iv69rRypqCw=
github.com/syndtr/gocapability v0.0.0-20170704070218-db04d3cc01c8/go.mod h1:hkRG7XYTFWNJGYcbNJQlaLq0fg1yr4J4t/NcTQtrfww=
github.com/syndtr/gocapability v0.0.0-20180916011248-d98352740cb2/go.mod h1:hkRG7XYTFWNJGYcbNJQlaLq0fg1yr4J4t/NcTQtrfww=
@@ -1986,8 +1968,8 @@ github.com/zclconf/go-cty v1.2.0/go.mod h1:hOPWgoHbaTUnI5k4D2ld+GRpFJSCe6bCM7m1q
github.com/zclconf/go-cty v1.2.1/go.mod h1:hOPWgoHbaTUnI5k4D2ld+GRpFJSCe6bCM7m1q/N4PQ8=
github.com/zclconf/go-cty v1.8.2/go.mod h1:vVKLxnk3puL4qRAv72AO+W99LUD4da90g3uUAzyuvAk=
github.com/zclconf/go-cty v1.9.1/go.mod h1:vVKLxnk3puL4qRAv72AO+W99LUD4da90g3uUAzyuvAk=
-github.com/zclconf/go-cty v1.13.2 h1:4GvrUxe/QUDYuJKAav4EYqdM47/kZa672LwmXFmEKT0=
-github.com/zclconf/go-cty v1.13.2/go.mod h1:YKQzy/7pZ7iq2jNFzy5go57xdxdWoLLpaEp4u238AE0=
+github.com/zclconf/go-cty v1.14.0 h1:/Xrd39K7DXbHzlisFP9c4pHao4yyf+/Ug9LEz+Y/yhc=
+github.com/zclconf/go-cty v1.14.0/go.mod h1:VvMs5i0vgZdhYawQNq5kePSpLAoz8u1xvZgrPIxfnZE=
github.com/zclconf/go-cty-debug v0.0.0-20191215020915-b22d67c1ba0b h1:FosyBZYxY34Wul7O/MSKey3txpPYyCqVO5ZyceuQJEI=
github.com/zclconf/go-cty-debug v0.0.0-20191215020915-b22d67c1ba0b/go.mod h1:ZRKQfBXbGkpdV6QMzT3rU1kSTAnfu1dO8dPKjYprgj8=
github.com/zclconf/go-cty-yaml v1.0.1/go.mod h1:IP3Ylp0wQpYm50IHK8OZWKMu6sPJIUgKa8XhiVHura0=
@@ -2093,7 +2075,6 @@ gocloud.dev v0.27.0 h1:j0WTUsnKTxCsWO7y8T+YCiBZUmLl9w/WIowqAY3yo0g=
gocloud.dev v0.27.0/go.mod h1:YlYKhYsY5/1JdHGWQDkAuqkezVKowu7qbe9aIeUF6p0=
gocloud.dev/secrets/hashivault v0.27.0 h1:AAeGJXr0tiHHJgg5tL8atOGktB4eK9EJAqkZbPKAcOo=
gocloud.dev/secrets/hashivault v0.27.0/go.mod h1:offqsI5oj0B0bVHZdfk/88uIb3NnN93ia8py0yvRlHY=
-golang.org/x/arch v0.1.0/go.mod h1:5om86z9Hs0C8fWVUuoMHwpExlXzs5Tkyp9hOrfG7pp8=
golang.org/x/crypto v0.0.0-20171113213409-9f005a07e0d3/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4=
golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4=
golang.org/x/crypto v0.0.0-20181009213950-7c1a557ab941/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4=
@@ -2131,14 +2112,12 @@ golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3/go.mod h1:IxCIyHEi3zRg3s0
golang.org/x/crypto v0.0.0-20220214200702-86341886e292/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4=
golang.org/x/crypto v0.0.0-20220314234659-1baeb1ce4c0b/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4=
golang.org/x/crypto v0.0.0-20220511200225-c6db032c6c88/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4=
-golang.org/x/crypto v0.0.0-20220525230936-793ad666bf5e/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4=
golang.org/x/crypto v0.0.0-20220622213112-05595931fe9d/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4=
golang.org/x/crypto v0.0.0-20220722155217-630584e8d5aa/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4=
-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.6.0/go.mod h1:OFC/31mSvZgRz0V1QTNCzfAI1aIRzbiufJtkMIlEp58=
-golang.org/x/crypto v0.11.0 h1:6Ewdq3tDic1mg5xRO4milcWCfMVQhI4NkqWWvqejpuA=
-golang.org/x/crypto v0.11.0/go.mod h1:xgJhtzW8F9jGdVFWZESrid1U1bjeNy4zgy5cRr/CIio=
+golang.org/x/crypto v0.3.1-0.20221117191849-2c476679df9a/go.mod h1:hebNnKkNXi2UzZN1eVRvBB7co0a+JxK6XbPiWVs/3J4=
+golang.org/x/crypto v0.7.0/go.mod h1:pYwdfH91IfpZVANVyUOhSIPZaFoJGxTFbZhFTx+dXZU=
+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=
@@ -2149,8 +2128,8 @@ golang.org/x/exp v0.0.0-20191227195350-da58074b4299/go.mod h1:2RIsYlXP63K8oxa1u0
golang.org/x/exp v0.0.0-20200119233911-0405dc783f0a/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4=
golang.org/x/exp v0.0.0-20200207192155-f17229e696bd/go.mod h1:J/WKrq2StrnmMY6+EHIKF9dgMWnmCNThgcyBT1FY9mM=
golang.org/x/exp v0.0.0-20200224162631-6cc2880d07d6/go.mod h1:3jZMyOhIsHpP37uCMkUooju7aAi5cS1Q23tOzKc+0MU=
-golang.org/x/exp v0.0.0-20230321023759-10a507213a29 h1:ooxPy7fPvB4kwsA2h+iBNHkAbp/4JxTSwCmvdjEYmug=
-golang.org/x/exp v0.0.0-20230321023759-10a507213a29/go.mod h1:CxIveKay+FTh1D0yPZemJVgC/95VzuuOLq5Qi4xnoYc=
+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/image v0.0.0-20190227222117-0694c2d4d067/go.mod h1:kZ7UVZpmo3dzQBMxlp+ypCbDeSB+sBbTgSJuh5dn5js=
golang.org/x/image v0.0.0-20190802002840-cff245a6509b/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0=
golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE=
@@ -2180,9 +2159,9 @@ golang.org/x/mod v0.5.0/go.mod h1:5OXOZSfqPIIbmVBIIKWRFfZjPR0E5r58TLhUjH0a2Ro=
golang.org/x/mod v0.5.1/go.mod h1:5OXOZSfqPIIbmVBIIKWRFfZjPR0E5r58TLhUjH0a2Ro=
golang.org/x/mod v0.6.0-dev.0.20220106191415-9b9b3d81d5e3/go.mod h1:3p9vT2HGsQu2K1YbXdKPJLVgG5VJdoTa1poYQBtP1AY=
golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4=
-golang.org/x/mod v0.6.0/go.mod h1:4mET923SAdbXp2ki8ey+zGs1SLqsuM2Y0uvdZR/fUNI=
-golang.org/x/mod v0.10.0 h1:lFO9qtOdlre5W1jxS3r/4szv2/6iXxScdzjoBMXNhYk=
-golang.org/x/mod v0.10.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs=
+golang.org/x/mod v0.8.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs=
+golang.org/x/mod v0.13.0 h1:I/DsJXRlw/8l/0c24sM9yb0T4z9liZTduXvdAWYiysY=
+golang.org/x/mod v0.13.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c=
golang.org/x/net v0.0.0-20180530234432-1e491301e022/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
golang.org/x/net v0.0.0-20180811021610-c39426892332/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
@@ -2265,14 +2244,14 @@ golang.org/x/net v0.0.0-20220617184016-355a448f1bc9/go.mod h1:XRhObCWvk6IyKnWLug
golang.org/x/net v0.0.0-20220624214902-1bab6f366d9e/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c=
golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c=
golang.org/x/net v0.0.0-20220802222814-0bcc04d9c69b/go.mod h1:YDH+HFinaLZZlnHAfSS6ZXJJ9M9t4Dl22yv3iI2vPwk=
-golang.org/x/net v0.0.0-20220826154423-83b083e8dc8b/go.mod h1:YDH+HFinaLZZlnHAfSS6ZXJJ9M9t4Dl22yv3iI2vPwk=
golang.org/x/net v0.0.0-20220909164309-bea034e7d591/go.mod h1:YDH+HFinaLZZlnHAfSS6ZXJJ9M9t4Dl22yv3iI2vPwk=
golang.org/x/net v0.0.0-20221014081412-f15817d10f9b/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.6.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs=
-golang.org/x/net v0.7.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs=
-golang.org/x/net v0.13.0 h1:Nvo8UFsZ8X3BhAC9699Z1j7XQ3rsZnUUm7jfBEk1ueY=
-golang.org/x/net v0.13.0/go.mod h1:zEVYFnQC7m/vmpQFELhcD1EWkZlX69l4oqgmer6hfKA=
+golang.org/x/net v0.8.0/go.mod h1:QVkue5JL9kW//ek3r6jTKnTFis1tRmNAW2P1shuFdJc=
+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=
@@ -2319,8 +2298,9 @@ golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod h1:RxMgew5VJxzue5/jJ
golang.org/x/sync v0.0.0-20220601150217-0de741cfad7f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20220929204114-8fcdb60fdcc0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
-golang.org/x/sync v0.2.0 h1:PUR+T4wwASmuSTYdKjYHI5TD22Wy5ogLU5qZCOLxBrI=
-golang.org/x/sync v0.2.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
+golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
+golang.org/x/sync v0.4.0 h1:zxkM55ReGkDlKSM+Fu41A+zmbZuaPVbGMzvvdUPznYQ=
+golang.org/x/sync v0.4.0/go.mod h1:FU7BRWz2tNW+3quACPkgCx/L+uEAv1htQ0V83Z9Rj+Y=
golang.org/x/sys v0.0.0-20180823144017-11551d06cbcc/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
@@ -2469,23 +2449,24 @@ golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBc
golang.org/x/sys v0.0.0-20220728004956-3c1f35247d10/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220731174439-a90be440212d/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
-golang.org/x/sys v0.0.0-20220825204002-c680a09ffe64/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
+golang.org/x/sys v0.2.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.3.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
-golang.org/x/sys v0.10.0 h1:SqMFp9UcQJZa+pmYuAKjd9xq1f0j5rLcDIk0mj4qAsA=
-golang.org/x/sys v0.10.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
+golang.org/x/sys v0.13.0 h1:Af8nKPmuFypiUBjVoU9V20FiaFXOcuZI21p0ycVYYGE=
+golang.org/x/sys v0.13.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw=
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
golang.org/x/term v0.0.0-20210220032956-6a3ed077a48d/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
golang.org/x/term v0.0.0-20210615171337-6886f2dfbf5b/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8=
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8=
-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.5.0/go.mod h1:jMB1sMXY+tzblOD4FWmEbocvup2/aLOaQEp7JmGp78k=
-golang.org/x/term v0.10.0 h1:3R7pNqamzBraeqj/Tj8qt1aQ2HpmlC+Cx/qL/7hn4/c=
-golang.org/x/term v0.10.0/go.mod h1:lpqdcUyK/oCiQxvxVrppt5ggO2KCZ5QblwqPnfZ6d5o=
+golang.org/x/term v0.6.0/go.mod h1:m6U89DPEgQRMq3DNkDClhWw02AUbt2daBVO4cn4Hv9U=
+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=
@@ -2498,8 +2479,9 @@ 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.7.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8=
-golang.org/x/text v0.11.0 h1:LAntKIrcmeSKERyiOh0XMV39LXS8IE9UL2yP7+f5ij4=
-golang.org/x/text v0.11.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE=
+golang.org/x/text v0.8.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=
@@ -2599,9 +2581,9 @@ golang.org/x/tools v0.1.9/go.mod h1:nABZi5QlRsZVlzPpHl034qft6wpY4eDcsTt5AaioBiU=
golang.org/x/tools v0.1.10/go.mod h1:Uh6Zz+xoGYZom868N8YTex3t7RhtHDBrE8Gzo9bV56E=
golang.org/x/tools v0.1.11/go.mod h1:SgwaegtQh8clINPpECJMqnxLv9I09HLqnW3RMqW0CA4=
golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc=
-golang.org/x/tools v0.2.0/go.mod h1:y4OqIKeOV/fWJetJ8bXPU1sEVniLMIyDAZWeHdV+NTA=
-golang.org/x/tools v0.9.3 h1:Gn1I8+64MsuTb/HpH+LmQtNas23LhUVr3rYZ0eKuaMM=
-golang.org/x/tools v0.9.3/go.mod h1:owI94Op576fPu3cIGQeHs3joujW/2Oc6MtlxbF5dfNc=
+golang.org/x/tools v0.6.0/go.mod h1:Xwgl3UAJ/d3gWutnCtw505GrjyAbvKui8lOU390QaIU=
+golang.org/x/tools v0.14.0 h1:jvNa2pY0M4r62jkRQ6RwEZZyPcymeL9XZMLBbV7U2nc=
+golang.org/x/tools v0.14.0/go.mod h1:uYBEerGOWcJyEORxN+Ek8+TT266gXkNlHdJBwexUsBg=
golang.org/x/xerrors v0.0.0-20190410155217-1f06c39b4373/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20190513163551-3ee3066db522/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
@@ -2919,7 +2901,6 @@ gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C
gopkg.in/yaml.v3 v3.0.0-20200605160147-a5ece683394c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
gopkg.in/yaml.v3 v3.0.0-20200615113413-eeeca48fe776/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
-gopkg.in/yaml.v3 v3.0.0/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
gotest.tools v2.2.0+incompatible/go.mod h1:DsYFclhRJ6vuDpmuTbkuFWG+y2sxOXAzmJt81HFBacw=
@@ -3000,7 +2981,6 @@ nhooyr.io/websocket v1.8.6/go.mod h1:B70DZP8IakI65RVQ51MsWP/8jndNma26DVA/nFSCgW0
pgregory.net/rapid v0.6.1 h1:4eyrDxyht86tT4Ztm+kvlyNBLIk071gR+ZQdhphc9dQ=
pgregory.net/rapid v0.6.1/go.mod h1:PY5XlDGj0+V1FCq0o192FdRhpKHGTRIWBgqjDBTrq04=
rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8=
-rsc.io/pdf v0.1.1/go.mod h1:n8OzWcQ6Sp37PL01nO98y4iUCRdTGarVfzxY20ICaU4=
rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0=
rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA=
sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.0.14/go.mod h1:LEScyzhFmoF5pso/YSeBstl57mOzx9xlU9n85RGrDQg=
diff --git a/sdk/dotnet/AclAuthMethod.cs b/sdk/dotnet/AclAuthMethod.cs
index 1883b98e..859262cd 100644
--- a/sdk/dotnet/AclAuthMethod.cs
+++ b/sdk/dotnet/AclAuthMethod.cs
@@ -12,63 +12,6 @@ namespace Pulumi.Consul
///
/// Starting with Consul 1.5.0, the consul.AclAuthMethod resource can be used to
/// managed [Consul ACL auth methods](https://www.consul.io/docs/acl/auth-methods).
- ///
- /// ## Example Usage
- ///
- /// Define a `kubernetes` auth method:
- /// ```csharp
- /// using System.Collections.Generic;
- /// using System.Linq;
- /// using System.Text.Json;
- /// using Pulumi;
- /// using Consul = Pulumi.Consul;
- ///
- /// return await Deployment.RunAsync(() =>
- /// {
- /// var minikube = new Consul.AclAuthMethod("minikube", new()
- /// {
- /// Type = "kubernetes",
- /// Description = "dev minikube cluster",
- /// ConfigJson = JsonSerializer.Serialize(new Dictionary<string, object?>
- /// {
- /// ["Host"] = "https://192.0.2.42:8443",
- /// ["CACert"] = @"-----BEGIN CERTIFICATE-----
- /// ...-----END CERTIFICATE-----
- /// ",
- /// ["ServiceAccountJWT"] = "eyJhbGciOiJSUzI1NiIsImtpZCI6IiJ9...",
- /// }),
- /// });
- ///
- /// });
- /// ```
- ///
- /// Define a `jwt` auth method:
- /// ```csharp
- /// using System.Collections.Generic;
- /// using System.Linq;
- /// using System.Text.Json;
- /// using Pulumi;
- /// using Consul = Pulumi.Consul;
- ///
- /// return await Deployment.RunAsync(() =>
- /// {
- /// var minikube = new Consul.AclAuthMethod("minikube", new()
- /// {
- /// Type = "jwt",
- /// ConfigJson = JsonSerializer.Serialize(new Dictionary<string, object?>
- /// {
- /// ["JWKSURL"] = "https://example.com/identity/oidc/.well-known/keys",
- /// ["JWTSupportedAlgs"] = "RS256",
- /// ["BoundIssuer"] = "https://example.com",
- /// ["ClaimMappings"] = new Dictionary<string, object?>
- /// {
- /// ["subject"] = "subject",
- /// },
- /// }),
- /// });
- ///
- /// });
- /// ```
///
[ConsulResourceType("consul:index/aclAuthMethod:AclAuthMethod")]
public partial class AclAuthMethod : global::Pulumi.CustomResource
diff --git a/sdk/dotnet/AclBindingRule.cs b/sdk/dotnet/AclBindingRule.cs
index 7c165b4d..3c9d098f 100644
--- a/sdk/dotnet/AclBindingRule.cs
+++ b/sdk/dotnet/AclBindingRule.cs
@@ -12,43 +12,6 @@ namespace Pulumi.Consul
///
/// Starting with Consul 1.5.0, the consul.AclBindingRule resource can be used to
/// managed Consul ACL binding rules.
- ///
- /// ## Example Usage
- ///
- /// ```csharp
- /// using System.Collections.Generic;
- /// using System.Linq;
- /// using Pulumi;
- /// using Consul = Pulumi.Consul;
- ///
- /// return await Deployment.RunAsync(() =>
- /// {
- /// var minikube = new Consul.AclAuthMethod("minikube", new()
- /// {
- /// Config =
- /// {
- /// { "CACert", @"-----BEGIN CERTIFICATE-----
- /// ...-----END CERTIFICATE-----
- ///
- /// " },
- /// { "Host", "https://192.0.2.42:8443" },
- /// { "ServiceAccountJWT", "eyJhbGciOiJSUzI1NiIsImtpZCI6IiJ9..." },
- /// },
- /// Description = "dev minikube cluster",
- /// Type = "kubernetes",
- /// });
- ///
- /// var test = new Consul.AclBindingRule("test", new()
- /// {
- /// AuthMethod = minikube.Name,
- /// BindName = "minikube",
- /// BindType = "service",
- /// Description = "foobar",
- /// Selector = "serviceaccount.namespace==default",
- /// });
- ///
- /// });
- /// ```
///
[ConsulResourceType("consul:index/aclBindingRule:AclBindingRule")]
public partial class AclBindingRule : global::Pulumi.CustomResource
diff --git a/sdk/dotnet/AclPolicy.cs b/sdk/dotnet/AclPolicy.cs
index faa6a5bc..73fc6b7f 100644
--- a/sdk/dotnet/AclPolicy.cs
+++ b/sdk/dotnet/AclPolicy.cs
@@ -12,32 +12,6 @@ namespace Pulumi.Consul
///
/// Starting with Consul 1.4.0, the consul.AclPolicy can be used to managed Consul ACL policies.
///
- /// ## Example Usage
- ///
- /// ```csharp
- /// using System.Collections.Generic;
- /// using System.Linq;
- /// using Pulumi;
- /// using Consul = Pulumi.Consul;
- ///
- /// return await Deployment.RunAsync(() =>
- /// {
- /// var test = new Consul.AclPolicy("test", new()
- /// {
- /// Datacenters = new[]
- /// {
- /// "dc1",
- /// },
- /// Rules = @"node_prefix """" {
- /// policy = ""read""
- /// }
- ///
- /// ",
- /// });
- ///
- /// });
- /// ```
- ///
/// ## Import
///
/// `consul_acl_policy` can be imported:
diff --git a/sdk/dotnet/AclRole.cs b/sdk/dotnet/AclRole.cs
index 0eaeaffd..b72929c3 100644
--- a/sdk/dotnet/AclRole.cs
+++ b/sdk/dotnet/AclRole.cs
@@ -12,44 +12,6 @@ namespace Pulumi.Consul
///
/// Starting with Consul 1.5.0, the consul.AclRole can be used to managed Consul ACL roles.
///
- /// ## Example Usage
- ///
- /// ```csharp
- /// using System.Collections.Generic;
- /// using System.Linq;
- /// using Pulumi;
- /// using Consul = Pulumi.Consul;
- ///
- /// return await Deployment.RunAsync(() =>
- /// {
- /// var read_policy = new Consul.AclPolicy("read-policy", new()
- /// {
- /// Datacenters = new[]
- /// {
- /// "dc1",
- /// },
- /// Rules = "node \"\" { policy = \"read\" }",
- /// });
- ///
- /// var read = new Consul.AclRole("read", new()
- /// {
- /// Description = "bar",
- /// Policies = new[]
- /// {
- /// read_policy.Id,
- /// },
- /// ServiceIdentities = new[]
- /// {
- /// new Consul.Inputs.AclRoleServiceIdentityArgs
- /// {
- /// ServiceName = "foo",
- /// },
- /// },
- /// });
- ///
- /// });
- /// ```
- ///
/// ## Import
///
/// `consul_acl_role` can be imported:
diff --git a/sdk/dotnet/AclToken.cs b/sdk/dotnet/AclToken.cs
index 979deb57..bf97f682 100644
--- a/sdk/dotnet/AclToken.cs
+++ b/sdk/dotnet/AclToken.cs
@@ -13,37 +13,6 @@ namespace Pulumi.Consul
/// The `consul.AclToken` resource writes an ACL token into Consul.
///
/// ## Example Usage
- /// ### Basic usage
- ///
- /// ```csharp
- /// using System.Collections.Generic;
- /// using System.Linq;
- /// using Pulumi;
- /// using Consul = Pulumi.Consul;
- ///
- /// return await Deployment.RunAsync(() =>
- /// {
- /// var agent = new Consul.AclPolicy("agent", new()
- /// {
- /// Rules = @"node_prefix """" {
- /// policy = ""read""
- /// }
- ///
- /// ",
- /// });
- ///
- /// var test = new Consul.AclToken("test", new()
- /// {
- /// Description = "my test token",
- /// Local = true,
- /// Policies = new[]
- /// {
- /// agent.Name,
- /// },
- /// });
- ///
- /// });
- /// ```
///
/// ## Import
///
diff --git a/sdk/dotnet/AdminPartition.cs b/sdk/dotnet/AdminPartition.cs
index fa7e7cdc..63d8767c 100644
--- a/sdk/dotnet/AdminPartition.cs
+++ b/sdk/dotnet/AdminPartition.cs
@@ -14,24 +14,6 @@ namespace Pulumi.Consul
///
/// The `consul.AdminPartition` resource manages [Consul Enterprise Admin Partitions](https://www.consul.io/docs/enterprise/admin-partitions).
///
- /// ## Example Usage
- ///
- /// ```csharp
- /// using System.Collections.Generic;
- /// using System.Linq;
- /// using Pulumi;
- /// using Consul = Pulumi.Consul;
- ///
- /// return await Deployment.RunAsync(() =>
- /// {
- /// var naWest = new Consul.AdminPartition("naWest", new()
- /// {
- /// Description = "Partition for North America West",
- /// });
- ///
- /// });
- /// ```
- ///
/// ## Import
///
/// `consul_admin_partition` can be imported:
diff --git a/sdk/dotnet/AgentService.cs b/sdk/dotnet/AgentService.cs
index 055dec62..4cb705a1 100644
--- a/sdk/dotnet/AgentService.cs
+++ b/sdk/dotnet/AgentService.cs
@@ -17,30 +17,6 @@ namespace Pulumi.Consul
/// Provides access to the agent service data in Consul. This can be used to
/// define a service associated with a particular agent. Currently, defining
/// health checks for an agent service is not supported.
- ///
- /// ## Example Usage
- ///
- /// ```csharp
- /// using System.Collections.Generic;
- /// using System.Linq;
- /// using Pulumi;
- /// using Consul = Pulumi.Consul;
- ///
- /// return await Deployment.RunAsync(() =>
- /// {
- /// var app = new Consul.AgentService("app", new()
- /// {
- /// Address = "www.google.com",
- /// Port = 80,
- /// Tags = new[]
- /// {
- /// "tag0",
- /// "tag1",
- /// },
- /// });
- ///
- /// });
- /// ```
///
[ConsulResourceType("consul:index/agentService:AgentService")]
public partial class AgentService : global::Pulumi.CustomResource
diff --git a/sdk/dotnet/AutopilotConfig.cs b/sdk/dotnet/AutopilotConfig.cs
index 6a1a2509..eb1ab992 100644
--- a/sdk/dotnet/AutopilotConfig.cs
+++ b/sdk/dotnet/AutopilotConfig.cs
@@ -15,26 +15,6 @@ namespace Pulumi.Consul
///
/// It includes to automatically cleanup dead servers, monitor the status of the Raft
/// cluster and stable server introduction.
- ///
- /// ## Example Usage
- ///
- /// ```csharp
- /// using System.Collections.Generic;
- /// using System.Linq;
- /// using Pulumi;
- /// using Consul = Pulumi.Consul;
- ///
- /// return await Deployment.RunAsync(() =>
- /// {
- /// var config = new Consul.AutopilotConfig("config", new()
- /// {
- /// CleanupDeadServers = false,
- /// LastContactThreshold = "1s",
- /// MaxTrailingLogs = 500,
- /// });
- ///
- /// });
- /// ```
///
[ConsulResourceType("consul:index/autopilotConfig:AutopilotConfig")]
public partial class AutopilotConfig : global::Pulumi.CustomResource
diff --git a/sdk/dotnet/CatalogEntry.cs b/sdk/dotnet/CatalogEntry.cs
index 77583360..8002e2e3 100644
--- a/sdk/dotnet/CatalogEntry.cs
+++ b/sdk/dotnet/CatalogEntry.cs
@@ -16,40 +16,6 @@ namespace Pulumi.Consul
///
/// Registers a node or service with the [Consul Catalog](https://www.consul.io/docs/agent/http/catalog.html#catalog_register).
/// Currently, defining health checks is not supported.
- ///
- /// ## Example Usage
- ///
- /// ```csharp
- /// using System.Collections.Generic;
- /// using System.Linq;
- /// using Pulumi;
- /// using Consul = Pulumi.Consul;
- ///
- /// return await Deployment.RunAsync(() =>
- /// {
- /// var app = new Consul.CatalogEntry("app", new()
- /// {
- /// Address = "192.168.10.10",
- /// Node = "foobar",
- /// Services = new[]
- /// {
- /// new Consul.Inputs.CatalogEntryServiceArgs
- /// {
- /// Address = "127.0.0.1",
- /// Id = "redis1",
- /// Name = "redis",
- /// Port = 8000,
- /// Tags = new[]
- /// {
- /// "master",
- /// "v1",
- /// },
- /// },
- /// },
- /// });
- ///
- /// });
- /// ```
///
[ConsulResourceType("consul:index/catalogEntry:CatalogEntry")]
public partial class CatalogEntry : global::Pulumi.CustomResource
diff --git a/sdk/dotnet/ConfigEntry.cs b/sdk/dotnet/ConfigEntry.cs
index 8706e721..89529d4c 100644
--- a/sdk/dotnet/ConfigEntry.cs
+++ b/sdk/dotnet/ConfigEntry.cs
@@ -10,404 +10,6 @@
namespace Pulumi.Consul
{
///
- /// ## Example Usage
- ///
- /// ```csharp
- /// using System.Collections.Generic;
- /// using System.Linq;
- /// using System.Text.Json;
- /// using Pulumi;
- /// using Consul = Pulumi.Consul;
- ///
- /// return await Deployment.RunAsync(() =>
- /// {
- /// var proxyDefaults = new Consul.ConfigEntry("proxyDefaults", new()
- /// {
- /// Kind = "proxy-defaults",
- /// ConfigJson = JsonSerializer.Serialize(new Dictionary<string, object?>
- /// {
- /// ["Config"] = new Dictionary<string, object?>
- /// {
- /// ["local_connect_timeout_ms"] = 1000,
- /// ["handshake_timeout_ms"] = 10000,
- /// },
- /// }),
- /// });
- ///
- /// var web = new Consul.ConfigEntry("web", new()
- /// {
- /// Kind = "service-defaults",
- /// ConfigJson = JsonSerializer.Serialize(new Dictionary<string, object?>
- /// {
- /// ["Protocol"] = "http",
- /// }),
- /// });
- ///
- /// var admin = new Consul.ConfigEntry("admin", new()
- /// {
- /// Kind = "service-defaults",
- /// ConfigJson = JsonSerializer.Serialize(new Dictionary<string, object?>
- /// {
- /// ["Protocol"] = "http",
- /// }),
- /// });
- ///
- /// var serviceResolver = new Consul.ConfigEntry("serviceResolver", new()
- /// {
- /// Kind = "service-resolver",
- /// ConfigJson = JsonSerializer.Serialize(new Dictionary<string, object?>
- /// {
- /// ["DefaultSubset"] = "v1",
- /// ["Subsets"] = new Dictionary<string, object?>
- /// {
- /// ["v1"] = new Dictionary<string, object?>
- /// {
- /// ["Filter"] = "Service.Meta.version == v1",
- /// },
- /// ["v2"] = new Dictionary<string, object?>
- /// {
- /// ["Filter"] = "Service.Meta.version == v2",
- /// },
- /// },
- /// }),
- /// });
- ///
- /// var serviceSplitter = new Consul.ConfigEntry("serviceSplitter", new()
- /// {
- /// Kind = "service-splitter",
- /// ConfigJson = JsonSerializer.Serialize(new Dictionary<string, object?>
- /// {
- /// ["Splits"] = new[]
- /// {
- /// new Dictionary<string, object?>
- /// {
- /// ["Weight"] = 90,
- /// ["ServiceSubset"] = "v1",
- /// },
- /// new Dictionary<string, object?>
- /// {
- /// ["Weight"] = 10,
- /// ["ServiceSubset"] = "v2",
- /// },
- /// },
- /// }),
- /// });
- ///
- /// var serviceRouter = new Consul.ConfigEntry("serviceRouter", new()
- /// {
- /// Kind = "service-router",
- /// ConfigJson = JsonSerializer.Serialize(new Dictionary<string, object?>
- /// {
- /// ["Routes"] = new[]
- /// {
- /// new Dictionary<string, object?>
- /// {
- /// ["Match"] = new Dictionary<string, object?>
- /// {
- /// ["HTTP"] = new Dictionary<string, object?>
- /// {
- /// ["PathPrefix"] = "/admin",
- /// },
- /// },
- /// ["Destination"] = new Dictionary<string, object?>
- /// {
- /// ["Service"] = "admin",
- /// },
- /// },
- /// },
- /// }),
- /// });
- ///
- /// var ingressGateway = new Consul.ConfigEntry("ingressGateway", new()
- /// {
- /// Kind = "ingress-gateway",
- /// ConfigJson = JsonSerializer.Serialize(new Dictionary<string, object?>
- /// {
- /// ["TLS"] = new Dictionary<string, object?>
- /// {
- /// ["Enabled"] = true,
- /// },
- /// ["Listeners"] = new[]
- /// {
- /// new Dictionary<string, object?>
- /// {
- /// ["Port"] = 8000,
- /// ["Protocol"] = "http",
- /// ["Services"] = new[]
- /// {
- /// new Dictionary<string, object?>
- /// {
- /// ["Name"] = "*",
- /// },
- /// },
- /// },
- /// },
- /// }),
- /// });
- ///
- /// var terminatingGateway = new Consul.ConfigEntry("terminatingGateway", new()
- /// {
- /// Kind = "terminating-gateway",
- /// ConfigJson = JsonSerializer.Serialize(new Dictionary<string, object?>
- /// {
- /// ["Services"] = new[]
- /// {
- /// new Dictionary<string, object?>
- /// {
- /// ["Name"] = "billing",
- /// },
- /// },
- /// }),
- /// });
- ///
- /// });
- /// ```
- /// ### `service-intentions` config entry
- ///
- /// ```csharp
- /// using System.Collections.Generic;
- /// using System.Linq;
- /// using System.Text.Json;
- /// using Pulumi;
- /// using Consul = Pulumi.Consul;
- ///
- /// return await Deployment.RunAsync(() =>
- /// {
- /// var serviceIntentions = new Consul.ConfigEntry("serviceIntentions", new()
- /// {
- /// Kind = "service-intentions",
- /// ConfigJson = JsonSerializer.Serialize(new Dictionary<string, object?>
- /// {
- /// ["Sources"] = new[]
- /// {
- /// new Dictionary<string, object?>
- /// {
- /// ["Action"] = "allow",
- /// ["Name"] = "frontend-webapp",
- /// ["Precedence"] = 9,
- /// ["Type"] = "consul",
- /// },
- /// new Dictionary<string, object?>
- /// {
- /// ["Action"] = "allow",
- /// ["Name"] = "nightly-cronjob",
- /// ["Precedence"] = 9,
- /// ["Type"] = "consul",
- /// },
- /// },
- /// }),
- /// });
- ///
- /// });
- /// ```
- ///
- /// ```csharp
- /// using System.Collections.Generic;
- /// using System.Linq;
- /// using System.Text.Json;
- /// using Pulumi;
- /// using Consul = Pulumi.Consul;
- ///
- /// return await Deployment.RunAsync(() =>
- /// {
- /// var sd = new Consul.ConfigEntry("sd", new()
- /// {
- /// Kind = "service-defaults",
- /// ConfigJson = JsonSerializer.Serialize(new Dictionary<string, object?>
- /// {
- /// ["Protocol"] = "http",
- /// }),
- /// });
- ///
- /// var jwtProvider = new Consul.ConfigEntry("jwtProvider", new()
- /// {
- /// Kind = "jwt-provider",
- /// ConfigJson = JsonSerializer.Serialize(new Dictionary<string, object?>
- /// {
- /// ["Issuer"] = "test-issuer",
- /// ["JSONWebKeySet"] = new Dictionary<string, object?>
- /// {
- /// ["Remote"] = new Dictionary<string, object?>
- /// {
- /// ["URI"] = "https://127.0.0.1:9091",
- /// ["FetchAsynchronously"] = true,
- /// },
- /// },
- /// ["Forwarding"] = new Dictionary<string, object?>
- /// {
- /// ["HeaderName"] = "test-token",
- /// },
- /// }),
- /// });
- ///
- /// var serviceIntentions = new Consul.ConfigEntry("serviceIntentions", new()
- /// {
- /// Kind = "service-intentions",
- /// ConfigJson = jwtProvider.Name.Apply(name => JsonSerializer.Serialize(new Dictionary<string, object?>
- /// {
- /// ["Sources"] = new[]
- /// {
- /// new Dictionary<string, object?>
- /// {
- /// ["Name"] = "contractor-webapp",
- /// ["Permissions"] = new[]
- /// {
- /// new Dictionary<string, object?>
- /// {
- /// ["Action"] = "allow",
- /// ["HTTP"] = new Dictionary<string, object?>
- /// {
- /// ["Methods"] = new[]
- /// {
- /// "GET",
- /// "HEAD",
- /// },
- /// ["PathExact"] = "/healtz",
- /// },
- /// ["JWT"] = new Dictionary<string, object?>
- /// {
- /// ["Providers"] = new[]
- /// {
- /// new Dictionary<string, object?>
- /// {
- /// ["Name"] = name,
- /// },
- /// },
- /// },
- /// },
- /// },
- /// ["Precedence"] = 9,
- /// ["Type"] = "consul",
- /// },
- /// new Dictionary<string, object?>
- /// {
- /// ["Name"] = "admin-dashboard-webapp",
- /// ["Permissions"] = new[]
- /// {
- /// new Dictionary<string, object?>
- /// {
- /// ["Action"] = "deny",
- /// ["HTTP"] = new Dictionary<string, object?>
- /// {
- /// ["PathPrefix"] = "/debugz",
- /// },
- /// },
- /// new Dictionary<string, object?>
- /// {
- /// ["Action"] = "allow",
- /// ["HTTP"] = new Dictionary<string, object?>
- /// {
- /// ["PathPrefix"] = "/",
- /// },
- /// },
- /// },
- /// ["Precedence"] = 9,
- /// ["Type"] = "consul",
- /// },
- /// },
- /// })),
- /// });
- ///
- /// });
- /// ```
- /// ### `exported-services` config entry
- ///
- /// ```csharp
- /// using System.Collections.Generic;
- /// using System.Linq;
- /// using System.Text.Json;
- /// using Pulumi;
- /// using Consul = Pulumi.Consul;
- ///
- /// return await Deployment.RunAsync(() =>
- /// {
- /// var exportedServices = new Consul.ConfigEntry("exportedServices", new()
- /// {
- /// Kind = "exported-services",
- /// ConfigJson = JsonSerializer.Serialize(new Dictionary<string, object?>
- /// {
- /// ["Services"] = new[]
- /// {
- /// new Dictionary<string, object?>
- /// {
- /// ["Name"] = "test",
- /// ["Namespace"] = "default",
- /// ["Consumers"] = new[]
- /// {
- /// new Dictionary<string, object?>
- /// {
- /// ["Partition"] = "default",
- /// },
- /// },
- /// },
- /// },
- /// }),
- /// });
- ///
- /// });
- /// ```
- /// ### `mesh` config entry
- ///
- /// ```csharp
- /// using System.Collections.Generic;
- /// using System.Linq;
- /// using System.Text.Json;
- /// using Pulumi;
- /// using Consul = Pulumi.Consul;
- ///
- /// return await Deployment.RunAsync(() =>
- /// {
- /// var mesh = new Consul.ConfigEntry("mesh", new()
- /// {
- /// Kind = "mesh",
- /// Partition = "default",
- /// ConfigJson = JsonSerializer.Serialize(new Dictionary<string, object?>
- /// {
- /// ["TransparentProxy"] = new Dictionary<string, object?>
- /// {
- /// ["MeshDestinationsOnly"] = true,
- /// },
- /// }),
- /// });
- ///
- /// });
- /// ```
- /// ### `jwt-provider` config entry
- ///
- /// ```csharp
- /// using System.Collections.Generic;
- /// using System.Linq;
- /// using System.Text.Json;
- /// using Pulumi;
- /// using Consul = Pulumi.Consul;
- ///
- /// return await Deployment.RunAsync(() =>
- /// {
- /// var jwtProvider = new Consul.ConfigEntry("jwtProvider", new()
- /// {
- /// Kind = "jwt-provider",
- /// ConfigJson = JsonSerializer.Serialize(new Dictionary<string, object?>
- /// {
- /// ["Issuer"] = "https://your.issuer.com",
- /// ["JSONWebKeySet"] = new Dictionary<string, object?>
- /// {
- /// ["Remote"] = new Dictionary<string, object?>
- /// {
- /// ["URI"] = "https://your-remote.jwks.com",
- /// ["FetchAsynchronously"] = true,
- /// ["CacheDuration"] = "10s",
- /// },
- /// },
- /// ["Forwarding"] = new Dictionary<string, object?>
- /// {
- /// ["HeaderName"] = "test-token",
- /// },
- /// }),
- /// });
- ///
- /// });
- /// ```
- ///
/// ## Import
///
/// `consul_config_entry` can be imported using the syntax `<kind>/<name>` if the config entry is in the default partition and default namespace, or `<partition>/<namespace>/<kind>/<name>` for config entries in a non-default partition or namespace:
diff --git a/sdk/dotnet/GetAclAuthMethod.cs b/sdk/dotnet/GetAclAuthMethod.cs
index 6368601a..8b952021 100644
--- a/sdk/dotnet/GetAclAuthMethod.cs
+++ b/sdk/dotnet/GetAclAuthMethod.cs
@@ -14,32 +14,6 @@ public static class GetAclAuthMethod
///
/// The `consul.AclAuthMethod` data source returns the information related to a
/// [Consul Auth Method](https://www.consul.io/docs/acl/acl-auth-methods.html).
- ///
- /// {{% examples %}}
- /// ## Example Usage
- /// {{% example %}}
- ///
- /// ```csharp
- /// using System.Collections.Generic;
- /// using System.Linq;
- /// using Pulumi;
- /// using Consul = Pulumi.Consul;
- ///
- /// return await Deployment.RunAsync(() =>
- /// {
- /// var test = Consul.GetAclAuthMethod.Invoke(new()
- /// {
- /// Name = "minikube",
- /// });
- ///
- /// return new Dictionary<string, object?>
- /// {
- /// ["consulAclAuthMethod"] = test.Apply(getAclAuthMethodResult => getAclAuthMethodResult.Config),
- /// };
- /// });
- /// ```
- /// {{% /example %}}
- /// {{% /examples %}}
///
public static Task InvokeAsync(GetAclAuthMethodArgs args, InvokeOptions? options = null)
=> global::Pulumi.Deployment.Instance.InvokeAsync("consul:index/getAclAuthMethod:getAclAuthMethod", args ?? new GetAclAuthMethodArgs(), options.WithDefaults());
@@ -47,32 +21,6 @@ public static Task InvokeAsync(GetAclAuthMethodArgs args
///
/// The `consul.AclAuthMethod` data source returns the information related to a
/// [Consul Auth Method](https://www.consul.io/docs/acl/acl-auth-methods.html).
- ///
- /// {{% examples %}}
- /// ## Example Usage
- /// {{% example %}}
- ///
- /// ```csharp
- /// using System.Collections.Generic;
- /// using System.Linq;
- /// using Pulumi;
- /// using Consul = Pulumi.Consul;
- ///
- /// return await Deployment.RunAsync(() =>
- /// {
- /// var test = Consul.GetAclAuthMethod.Invoke(new()
- /// {
- /// Name = "minikube",
- /// });
- ///
- /// return new Dictionary<string, object?>
- /// {
- /// ["consulAclAuthMethod"] = test.Apply(getAclAuthMethodResult => getAclAuthMethodResult.Config),
- /// };
- /// });
- /// ```
- /// {{% /example %}}
- /// {{% /examples %}}
///
public static Output Invoke(GetAclAuthMethodInvokeArgs args, InvokeOptions? options = null)
=> global::Pulumi.Deployment.Instance.Invoke("consul:index/getAclAuthMethod:getAclAuthMethod", args ?? new GetAclAuthMethodInvokeArgs(), options.WithDefaults());
diff --git a/sdk/dotnet/GetAclPolicy.cs b/sdk/dotnet/GetAclPolicy.cs
index ad1f73db..1ba2a359 100644
--- a/sdk/dotnet/GetAclPolicy.cs
+++ b/sdk/dotnet/GetAclPolicy.cs
@@ -14,33 +14,6 @@ public static class GetAclPolicy
///
/// The `consul.AclPolicy` data source returns the information related to a
/// [Consul ACL Policy](https://www.consul.io/docs/acl/acl-system.html#acl-policies).
- ///
- ///
- /// {{% examples %}}
- /// ## Example Usage
- /// {{% example %}}
- ///
- /// ```csharp
- /// using System.Collections.Generic;
- /// using System.Linq;
- /// using Pulumi;
- /// using Consul = Pulumi.Consul;
- ///
- /// return await Deployment.RunAsync(() =>
- /// {
- /// var agent = Consul.GetAclPolicy.Invoke(new()
- /// {
- /// Name = "agent",
- /// });
- ///
- /// return new Dictionary<string, object?>
- /// {
- /// ["consulAclPolicy"] = agent.Apply(getAclPolicyResult => getAclPolicyResult.Rules),
- /// };
- /// });
- /// ```
- /// {{% /example %}}
- /// {{% /examples %}}
///
public static Task InvokeAsync(GetAclPolicyArgs args, InvokeOptions? options = null)
=> global::Pulumi.Deployment.Instance.InvokeAsync("consul:index/getAclPolicy:getAclPolicy", args ?? new GetAclPolicyArgs(), options.WithDefaults());
@@ -48,33 +21,6 @@ public static Task InvokeAsync(GetAclPolicyArgs args, Invoke
///
/// The `consul.AclPolicy` data source returns the information related to a
/// [Consul ACL Policy](https://www.consul.io/docs/acl/acl-system.html#acl-policies).
- ///
- ///
- /// {{% examples %}}
- /// ## Example Usage
- /// {{% example %}}
- ///
- /// ```csharp
- /// using System.Collections.Generic;
- /// using System.Linq;
- /// using Pulumi;
- /// using Consul = Pulumi.Consul;
- ///
- /// return await Deployment.RunAsync(() =>
- /// {
- /// var agent = Consul.GetAclPolicy.Invoke(new()
- /// {
- /// Name = "agent",
- /// });
- ///
- /// return new Dictionary<string, object?>
- /// {
- /// ["consulAclPolicy"] = agent.Apply(getAclPolicyResult => getAclPolicyResult.Rules),
- /// };
- /// });
- /// ```
- /// {{% /example %}}
- /// {{% /examples %}}
///
public static Output Invoke(GetAclPolicyInvokeArgs args, InvokeOptions? options = null)
=> global::Pulumi.Deployment.Instance.Invoke("consul:index/getAclPolicy:getAclPolicy", args ?? new GetAclPolicyInvokeArgs(), options.WithDefaults());
diff --git a/sdk/dotnet/GetAclRole.cs b/sdk/dotnet/GetAclRole.cs
index cf9888c8..e7e0e8d5 100644
--- a/sdk/dotnet/GetAclRole.cs
+++ b/sdk/dotnet/GetAclRole.cs
@@ -14,32 +14,6 @@ public static class GetAclRole
///
/// The `consul.AclRole` data source returns the information related to a
/// [Consul ACL Role](https://www.consul.io/api/acl/roles.html).
- ///
- /// {{% examples %}}
- /// ## Example Usage
- /// {{% example %}}
- ///
- /// ```csharp
- /// using System.Collections.Generic;
- /// using System.Linq;
- /// using Pulumi;
- /// using Consul = Pulumi.Consul;
- ///
- /// return await Deployment.RunAsync(() =>
- /// {
- /// var test = Consul.GetAclRole.Invoke(new()
- /// {
- /// Name = "example-role",
- /// });
- ///
- /// return new Dictionary<string, object?>
- /// {
- /// ["consulAclRole"] = test.Apply(getAclRoleResult => getAclRoleResult.Id),
- /// };
- /// });
- /// ```
- /// {{% /example %}}
- /// {{% /examples %}}
///
public static Task InvokeAsync(GetAclRoleArgs args, InvokeOptions? options = null)
=> global::Pulumi.Deployment.Instance.InvokeAsync("consul:index/getAclRole:getAclRole", args ?? new GetAclRoleArgs(), options.WithDefaults());
@@ -47,32 +21,6 @@ public static Task InvokeAsync(GetAclRoleArgs args, InvokeOpti
///
/// The `consul.AclRole` data source returns the information related to a
/// [Consul ACL Role](https://www.consul.io/api/acl/roles.html).
- ///
- /// {{% examples %}}
- /// ## Example Usage
- /// {{% example %}}
- ///
- /// ```csharp
- /// using System.Collections.Generic;
- /// using System.Linq;
- /// using Pulumi;
- /// using Consul = Pulumi.Consul;
- ///
- /// return await Deployment.RunAsync(() =>
- /// {
- /// var test = Consul.GetAclRole.Invoke(new()
- /// {
- /// Name = "example-role",
- /// });
- ///
- /// return new Dictionary<string, object?>
- /// {
- /// ["consulAclRole"] = test.Apply(getAclRoleResult => getAclRoleResult.Id),
- /// };
- /// });
- /// ```
- /// {{% /example %}}
- /// {{% /examples %}}
///
public static Output Invoke(GetAclRoleInvokeArgs args, InvokeOptions? options = null)
=> global::Pulumi.Deployment.Instance.Invoke("consul:index/getAclRole:getAclRole", args ?? new GetAclRoleInvokeArgs(), options.WithDefaults());
diff --git a/sdk/dotnet/GetAclToken.cs b/sdk/dotnet/GetAclToken.cs
index 96be634f..4c58bb9b 100644
--- a/sdk/dotnet/GetAclToken.cs
+++ b/sdk/dotnet/GetAclToken.cs
@@ -17,32 +17,6 @@ public static class GetAclToken
///
/// If you want to get the secret ID associated with a token, use the
/// [`consul.getAclTokenSecretId` data source](https://www.terraform.io/docs/providers/consul/d/acl_token_secret_id.html).
- ///
- /// {{% examples %}}
- /// ## Example Usage
- /// {{% example %}}
- ///
- /// ```csharp
- /// using System.Collections.Generic;
- /// using System.Linq;
- /// using Pulumi;
- /// using Consul = Pulumi.Consul;
- ///
- /// return await Deployment.RunAsync(() =>
- /// {
- /// var test = Consul.GetAclToken.Invoke(new()
- /// {
- /// AccessorId = "00000000-0000-0000-0000-000000000002",
- /// });
- ///
- /// return new Dictionary<string, object?>
- /// {
- /// ["consulAclPolicies"] = test.Apply(getAclTokenResult => getAclTokenResult.Policies),
- /// };
- /// });
- /// ```
- /// {{% /example %}}
- /// {{% /examples %}}
///
public static Task InvokeAsync(GetAclTokenArgs args, InvokeOptions? options = null)
=> global::Pulumi.Deployment.Instance.InvokeAsync("consul:index/getAclToken:getAclToken", args ?? new GetAclTokenArgs(), options.WithDefaults());
@@ -53,32 +27,6 @@ public static Task InvokeAsync(GetAclTokenArgs args, InvokeOp
///
/// If you want to get the secret ID associated with a token, use the
/// [`consul.getAclTokenSecretId` data source](https://www.terraform.io/docs/providers/consul/d/acl_token_secret_id.html).
- ///
- /// {{% examples %}}
- /// ## Example Usage
- /// {{% example %}}
- ///
- /// ```csharp
- /// using System.Collections.Generic;
- /// using System.Linq;
- /// using Pulumi;
- /// using Consul = Pulumi.Consul;
- ///
- /// return await Deployment.RunAsync(() =>
- /// {
- /// var test = Consul.GetAclToken.Invoke(new()
- /// {
- /// AccessorId = "00000000-0000-0000-0000-000000000002",
- /// });
- ///
- /// return new Dictionary<string, object?>
- /// {
- /// ["consulAclPolicies"] = test.Apply(getAclTokenResult => getAclTokenResult.Policies),
- /// };
- /// });
- /// ```
- /// {{% /example %}}
- /// {{% /examples %}}
///
public static Output Invoke(GetAclTokenInvokeArgs args, InvokeOptions? options = null)
=> global::Pulumi.Deployment.Instance.Invoke("consul:index/getAclToken:getAclToken", args ?? new GetAclTokenInvokeArgs(), options.WithDefaults());
diff --git a/sdk/dotnet/GetAclTokenSecretId.cs b/sdk/dotnet/GetAclTokenSecretId.cs
index 2e52a0da..239aa4c5 100644
--- a/sdk/dotnet/GetAclTokenSecretId.cs
+++ b/sdk/dotnet/GetAclTokenSecretId.cs
@@ -11,103 +11,9 @@ namespace Pulumi.Consul
{
public static class GetAclTokenSecretId
{
- ///
- /// {{% examples %}}
- /// ## Example Usage
- /// {{% example %}}
- ///
- /// ```csharp
- /// using System.Collections.Generic;
- /// using System.Linq;
- /// using Pulumi;
- /// using Consul = Pulumi.Consul;
- ///
- /// return await Deployment.RunAsync(() =>
- /// {
- /// var testAclPolicy = new Consul.AclPolicy("testAclPolicy", new()
- /// {
- /// Rules = "node \"\" { policy = \"read\" }",
- /// Datacenters = new[]
- /// {
- /// "dc1",
- /// },
- /// });
- ///
- /// var testAclToken = new Consul.AclToken("testAclToken", new()
- /// {
- /// Description = "test",
- /// Policies = new[]
- /// {
- /// testAclPolicy.Name,
- /// },
- /// Local = true,
- /// });
- ///
- /// var read = Consul.GetAclTokenSecretId.Invoke(new()
- /// {
- /// AccessorId = testAclToken.Id,
- /// PgpKey = "keybase:my_username",
- /// });
- ///
- /// return new Dictionary<string, object?>
- /// {
- /// ["consulAclTokenSecretId"] = read.Apply(getAclTokenSecretIdResult => getAclTokenSecretIdResult.EncryptedSecretId),
- /// };
- /// });
- /// ```
- /// {{% /example %}}
- /// {{% /examples %}}
- ///
public static Task InvokeAsync(GetAclTokenSecretIdArgs args, InvokeOptions? options = null)
=> global::Pulumi.Deployment.Instance.InvokeAsync("consul:index/getAclTokenSecretId:getAclTokenSecretId", args ?? new GetAclTokenSecretIdArgs(), options.WithDefaults());
- ///
- /// {{% examples %}}
- /// ## Example Usage
- /// {{% example %}}
- ///
- /// ```csharp
- /// using System.Collections.Generic;
- /// using System.Linq;
- /// using Pulumi;
- /// using Consul = Pulumi.Consul;
- ///
- /// return await Deployment.RunAsync(() =>
- /// {
- /// var testAclPolicy = new Consul.AclPolicy("testAclPolicy", new()
- /// {
- /// Rules = "node \"\" { policy = \"read\" }",
- /// Datacenters = new[]
- /// {
- /// "dc1",
- /// },
- /// });
- ///
- /// var testAclToken = new Consul.AclToken("testAclToken", new()
- /// {
- /// Description = "test",
- /// Policies = new[]
- /// {
- /// testAclPolicy.Name,
- /// },
- /// Local = true,
- /// });
- ///
- /// var read = Consul.GetAclTokenSecretId.Invoke(new()
- /// {
- /// AccessorId = testAclToken.Id,
- /// PgpKey = "keybase:my_username",
- /// });
- ///
- /// return new Dictionary<string, object?>
- /// {
- /// ["consulAclTokenSecretId"] = read.Apply(getAclTokenSecretIdResult => getAclTokenSecretIdResult.EncryptedSecretId),
- /// };
- /// });
- /// ```
- /// {{% /example %}}
- /// {{% /examples %}}
- ///
public static Output Invoke(GetAclTokenSecretIdInvokeArgs args, InvokeOptions? options = null)
=> global::Pulumi.Deployment.Instance.Invoke("consul:index/getAclTokenSecretId:getAclTokenSecretId", args ?? new GetAclTokenSecretIdInvokeArgs(), options.WithDefaults());
}
diff --git a/sdk/dotnet/GetAgentConfig.cs b/sdk/dotnet/GetAgentConfig.cs
index c6c74dae..e42b6abb 100644
--- a/sdk/dotnet/GetAgentConfig.cs
+++ b/sdk/dotnet/GetAgentConfig.cs
@@ -19,29 +19,6 @@ public static class GetAgentConfig
/// The `consul.getAgentConfig` data source returns
/// [configuration data](https://www.consul.io/api/agent.html#read-configuration)
/// from the agent specified in the `provider`.
- ///
- /// {{% examples %}}
- /// ## Example Usage
- /// {{% example %}}
- ///
- /// ```csharp
- /// using System.Collections.Generic;
- /// using System.Linq;
- /// using Pulumi;
- /// using Consul = Pulumi.Consul;
- ///
- /// return await Deployment.RunAsync(() =>
- /// {
- /// var remoteAgent = Consul.GetAgentConfig.Invoke();
- ///
- /// return new Dictionary<string, object?>
- /// {
- /// ["consulVersion"] = remoteAgent.Apply(getAgentConfigResult => getAgentConfigResult.Version),
- /// };
- /// });
- /// ```
- /// {{% /example %}}
- /// {{% /examples %}}
///
public static Task InvokeAsync(InvokeOptions? options = null)
=> global::Pulumi.Deployment.Instance.InvokeAsync("consul:index/getAgentConfig:getAgentConfig", InvokeArgs.Empty, options.WithDefaults());
@@ -54,29 +31,6 @@ public static Task InvokeAsync(InvokeOptions? options = nu
/// The `consul.getAgentConfig` data source returns
/// [configuration data](https://www.consul.io/api/agent.html#read-configuration)
/// from the agent specified in the `provider`.
- ///
- /// {{% examples %}}
- /// ## Example Usage
- /// {{% example %}}
- ///
- /// ```csharp
- /// using System.Collections.Generic;
- /// using System.Linq;
- /// using Pulumi;
- /// using Consul = Pulumi.Consul;
- ///
- /// return await Deployment.RunAsync(() =>
- /// {
- /// var remoteAgent = Consul.GetAgentConfig.Invoke();
- ///
- /// return new Dictionary<string, object?>
- /// {
- /// ["consulVersion"] = remoteAgent.Apply(getAgentConfigResult => getAgentConfigResult.Version),
- /// };
- /// });
- /// ```
- /// {{% /example %}}
- /// {{% /examples %}}
///
public static Output Invoke(InvokeOptions? options = null)
=> global::Pulumi.Deployment.Instance.Invoke("consul:index/getAgentConfig:getAgentConfig", InvokeArgs.Empty, options.WithDefaults());
diff --git a/sdk/dotnet/GetAutopilotHealth.cs b/sdk/dotnet/GetAutopilotHealth.cs
index 5a2b964d..e6928e17 100644
--- a/sdk/dotnet/GetAutopilotHealth.cs
+++ b/sdk/dotnet/GetAutopilotHealth.cs
@@ -15,29 +15,6 @@ public static class GetAutopilotHealth
/// The `consul.getAutopilotHealth` data source returns
/// [autopilot health information](https://www.consul.io/api/operator/autopilot.html#read-health)
/// about the current Consul cluster.
- ///
- /// {{% examples %}}
- /// ## Example Usage
- /// {{% example %}}
- ///
- /// ```csharp
- /// using System.Collections.Generic;
- /// using System.Linq;
- /// using Pulumi;
- /// using Consul = Pulumi.Consul;
- ///
- /// return await Deployment.RunAsync(() =>
- /// {
- /// var read = Consul.GetAutopilotHealth.Invoke();
- ///
- /// return new Dictionary<string, object?>
- /// {
- /// ["health"] = read.Apply(getAutopilotHealthResult => getAutopilotHealthResult.Healthy),
- /// };
- /// });
- /// ```
- /// {{% /example %}}
- /// {{% /examples %}}
///
public static Task InvokeAsync(GetAutopilotHealthArgs? args = null, InvokeOptions? options = null)
=> global::Pulumi.Deployment.Instance.InvokeAsync("consul:index/getAutopilotHealth:getAutopilotHealth", args ?? new GetAutopilotHealthArgs(), options.WithDefaults());
@@ -46,29 +23,6 @@ public static Task InvokeAsync(GetAutopilotHealthArgs?
/// The `consul.getAutopilotHealth` data source returns
/// [autopilot health information](https://www.consul.io/api/operator/autopilot.html#read-health)
/// about the current Consul cluster.
- ///
- /// {{% examples %}}
- /// ## Example Usage
- /// {{% example %}}
- ///
- /// ```csharp
- /// using System.Collections.Generic;
- /// using System.Linq;
- /// using Pulumi;
- /// using Consul = Pulumi.Consul;
- ///
- /// return await Deployment.RunAsync(() =>
- /// {
- /// var read = Consul.GetAutopilotHealth.Invoke();
- ///
- /// return new Dictionary<string, object?>
- /// {
- /// ["health"] = read.Apply(getAutopilotHealthResult => getAutopilotHealthResult.Healthy),
- /// };
- /// });
- /// ```
- /// {{% /example %}}
- /// {{% /examples %}}
///
public static Output Invoke(GetAutopilotHealthInvokeArgs? args = null, InvokeOptions? options = null)
=> global::Pulumi.Deployment.Instance.Invoke("consul:index/getAutopilotHealth:getAutopilotHealth", args ?? new GetAutopilotHealthInvokeArgs(), options.WithDefaults());
diff --git a/sdk/dotnet/GetKeyPrefix.cs b/sdk/dotnet/GetKeyPrefix.cs
index 2a3f8442..96ff9cd2 100644
--- a/sdk/dotnet/GetKeyPrefix.cs
+++ b/sdk/dotnet/GetKeyPrefix.cs
@@ -11,141 +11,9 @@ namespace Pulumi.Consul
{
public static class GetKeyPrefix
{
- ///
- /// {{% examples %}}
- /// ## Example Usage
- /// {{% example %}}
- ///
- /// ```csharp
- /// using System.Collections.Generic;
- /// using System.Linq;
- /// using Pulumi;
- /// using Aws = Pulumi.Aws;
- /// using Consul = Pulumi.Consul;
- ///
- /// return await Deployment.RunAsync(() =>
- /// {
- /// var appKeyPrefix = Consul.GetKeyPrefix.Invoke(new()
- /// {
- /// Datacenter = "nyc1",
- /// PathPrefix = "myapp/config/",
- /// SubkeyCollection = new[]
- /// {
- /// new Consul.Inputs.GetKeyPrefixSubkeyCollectionInputArgs
- /// {
- /// Default = "ami-1234",
- /// Name = "ami",
- /// Path = "app/launch_ami",
- /// },
- /// },
- /// Token = "abcd",
- /// });
- ///
- /// // Start our instance with the dynamic ami value
- /// var appInstance = new Aws.Ec2.Instance("appInstance", new()
- /// {
- /// Ami = appKeyPrefix.Apply(getKeyPrefixResult => getKeyPrefixResult.Var?.Ami),
- /// });
- ///
- /// });
- /// ```
- ///
- /// ```csharp
- /// using System.Collections.Generic;
- /// using System.Linq;
- /// using Pulumi;
- /// using Aws = Pulumi.Aws;
- /// using Consul = Pulumi.Consul;
- ///
- /// return await Deployment.RunAsync(() =>
- /// {
- /// var webKeyPrefix = Consul.GetKeyPrefix.Invoke(new()
- /// {
- /// Datacenter = "nyc1",
- /// PathPrefix = "myapp/config/",
- /// Token = "efgh",
- /// });
- ///
- /// // Start our instance with the dynamic ami value
- /// var webInstance = new Aws.Ec2.Instance("webInstance", new()
- /// {
- /// Ami = webKeyPrefix.Apply(getKeyPrefixResult => getKeyPrefixResult.Subkeys?.App_launch_ami),
- /// });
- ///
- /// });
- /// ```
- /// {{% /example %}}
- /// {{% /examples %}}
- ///
public static Task InvokeAsync(GetKeyPrefixArgs args, InvokeOptions? options = null)
=> global::Pulumi.Deployment.Instance.InvokeAsync("consul:index/getKeyPrefix:getKeyPrefix", args ?? new GetKeyPrefixArgs(), options.WithDefaults());
- ///
- /// {{% examples %}}
- /// ## Example Usage
- /// {{% example %}}
- ///
- /// ```csharp
- /// using System.Collections.Generic;
- /// using System.Linq;
- /// using Pulumi;
- /// using Aws = Pulumi.Aws;
- /// using Consul = Pulumi.Consul;
- ///
- /// return await Deployment.RunAsync(() =>
- /// {
- /// var appKeyPrefix = Consul.GetKeyPrefix.Invoke(new()
- /// {
- /// Datacenter = "nyc1",
- /// PathPrefix = "myapp/config/",
- /// SubkeyCollection = new[]
- /// {
- /// new Consul.Inputs.GetKeyPrefixSubkeyCollectionInputArgs
- /// {
- /// Default = "ami-1234",
- /// Name = "ami",
- /// Path = "app/launch_ami",
- /// },
- /// },
- /// Token = "abcd",
- /// });
- ///
- /// // Start our instance with the dynamic ami value
- /// var appInstance = new Aws.Ec2.Instance("appInstance", new()
- /// {
- /// Ami = appKeyPrefix.Apply(getKeyPrefixResult => getKeyPrefixResult.Var?.Ami),
- /// });
- ///
- /// });
- /// ```
- ///
- /// ```csharp
- /// using System.Collections.Generic;
- /// using System.Linq;
- /// using Pulumi;
- /// using Aws = Pulumi.Aws;
- /// using Consul = Pulumi.Consul;
- ///
- /// return await Deployment.RunAsync(() =>
- /// {
- /// var webKeyPrefix = Consul.GetKeyPrefix.Invoke(new()
- /// {
- /// Datacenter = "nyc1",
- /// PathPrefix = "myapp/config/",
- /// Token = "efgh",
- /// });
- ///
- /// // Start our instance with the dynamic ami value
- /// var webInstance = new Aws.Ec2.Instance("webInstance", new()
- /// {
- /// Ami = webKeyPrefix.Apply(getKeyPrefixResult => getKeyPrefixResult.Subkeys?.App_launch_ami),
- /// });
- ///
- /// });
- /// ```
- /// {{% /example %}}
- /// {{% /examples %}}
- ///
public static Output Invoke(GetKeyPrefixInvokeArgs args, InvokeOptions? options = null)
=> global::Pulumi.Deployment.Instance.Invoke("consul:index/getKeyPrefix:getKeyPrefix", args ?? new GetKeyPrefixInvokeArgs(), options.WithDefaults());
}
diff --git a/sdk/dotnet/GetKeys.cs b/sdk/dotnet/GetKeys.cs
index b9d302a9..9b5da6ad 100644
--- a/sdk/dotnet/GetKeys.cs
+++ b/sdk/dotnet/GetKeys.cs
@@ -14,45 +14,6 @@ public static class GetKeys
///
/// The `consul.Keys` resource reads values from the Consul key/value store.
/// This is a powerful way dynamically set values in templates.
- ///
- /// {{% examples %}}
- /// ## Example Usage
- /// {{% example %}}
- ///
- /// ```csharp
- /// using System.Collections.Generic;
- /// using System.Linq;
- /// using Pulumi;
- /// using Aws = Pulumi.Aws;
- /// using Consul = Pulumi.Consul;
- ///
- /// return await Deployment.RunAsync(() =>
- /// {
- /// var appKeys = Consul.GetKeys.Invoke(new()
- /// {
- /// Datacenter = "nyc1",
- /// Keys = new[]
- /// {
- /// new Consul.Inputs.GetKeysKeyInputArgs
- /// {
- /// Default = "ami-1234",
- /// Name = "ami",
- /// Path = "service/app/launch_ami",
- /// },
- /// },
- /// Token = "abcd",
- /// });
- ///
- /// // Start our instance with the dynamic ami value
- /// var appInstance = new Aws.Ec2.Instance("appInstance", new()
- /// {
- /// Ami = appKeys.Apply(getKeysResult => getKeysResult.Var?.Ami),
- /// });
- ///
- /// });
- /// ```
- /// {{% /example %}}
- /// {{% /examples %}}
///
public static Task InvokeAsync(GetKeysArgs? args = null, InvokeOptions? options = null)
=> global::Pulumi.Deployment.Instance.InvokeAsync("consul:index/getKeys:getKeys", args ?? new GetKeysArgs(), options.WithDefaults());
@@ -60,45 +21,6 @@ public static Task InvokeAsync(GetKeysArgs? args = null, InvokeOp
///
/// The `consul.Keys` resource reads values from the Consul key/value store.
/// This is a powerful way dynamically set values in templates.
- ///
- /// {{% examples %}}
- /// ## Example Usage
- /// {{% example %}}
- ///
- /// ```csharp
- /// using System.Collections.Generic;
- /// using System.Linq;
- /// using Pulumi;
- /// using Aws = Pulumi.Aws;
- /// using Consul = Pulumi.Consul;
- ///
- /// return await Deployment.RunAsync(() =>
- /// {
- /// var appKeys = Consul.GetKeys.Invoke(new()
- /// {
- /// Datacenter = "nyc1",
- /// Keys = new[]
- /// {
- /// new Consul.Inputs.GetKeysKeyInputArgs
- /// {
- /// Default = "ami-1234",
- /// Name = "ami",
- /// Path = "service/app/launch_ami",
- /// },
- /// },
- /// Token = "abcd",
- /// });
- ///
- /// // Start our instance with the dynamic ami value
- /// var appInstance = new Aws.Ec2.Instance("appInstance", new()
- /// {
- /// Ami = appKeys.Apply(getKeysResult => getKeysResult.Var?.Ami),
- /// });
- ///
- /// });
- /// ```
- /// {{% /example %}}
- /// {{% /examples %}}
///
public static Output Invoke(GetKeysInvokeArgs? args = null, InvokeOptions? options = null)
=> global::Pulumi.Deployment.Instance.Invoke("consul:index/getKeys:getKeys", args ?? new GetKeysInvokeArgs(), options.WithDefaults());
diff --git a/sdk/dotnet/GetNetworkAreaMembers.cs b/sdk/dotnet/GetNetworkAreaMembers.cs
index 19ef3a5f..0b8f4058 100644
--- a/sdk/dotnet/GetNetworkAreaMembers.cs
+++ b/sdk/dotnet/GetNetworkAreaMembers.cs
@@ -16,42 +16,6 @@ public static class GetNetworkAreaMembers
///
/// The `consul.getNetworkAreaMembers` data source provides a list of the Consul
/// servers present in a specific network area.
- ///
- /// {{% examples %}}
- /// ## Example Usage
- /// {{% example %}}
- ///
- /// ```csharp
- /// using System.Collections.Generic;
- /// using System.Linq;
- /// using Pulumi;
- /// using Consul = Pulumi.Consul;
- ///
- /// return await Deployment.RunAsync(() =>
- /// {
- /// var dc2NetworkArea = new Consul.NetworkArea("dc2NetworkArea", new()
- /// {
- /// PeerDatacenter = "dc2",
- /// RetryJoins = new[]
- /// {
- /// "1.2.3.4",
- /// },
- /// UseTls = true,
- /// });
- ///
- /// var dc2NetworkAreaMembers = Consul.GetNetworkAreaMembers.Invoke(new()
- /// {
- /// Uuid = dc2NetworkArea.Id,
- /// });
- ///
- /// return new Dictionary<string, object?>
- /// {
- /// ["members"] = dc2NetworkAreaMembers.Apply(getNetworkAreaMembersResult => getNetworkAreaMembersResult.Members),
- /// };
- /// });
- /// ```
- /// {{% /example %}}
- /// {{% /examples %}}
///
public static Task InvokeAsync(GetNetworkAreaMembersArgs args, InvokeOptions? options = null)
=> global::Pulumi.Deployment.Instance.InvokeAsync("consul:index/getNetworkAreaMembers:getNetworkAreaMembers", args ?? new GetNetworkAreaMembersArgs(), options.WithDefaults());
@@ -61,42 +25,6 @@ public static Task InvokeAsync(GetNetworkAreaMember
///
/// The `consul.getNetworkAreaMembers` data source provides a list of the Consul
/// servers present in a specific network area.
- ///
- /// {{% examples %}}
- /// ## Example Usage
- /// {{% example %}}
- ///
- /// ```csharp
- /// using System.Collections.Generic;
- /// using System.Linq;
- /// using Pulumi;
- /// using Consul = Pulumi.Consul;
- ///
- /// return await Deployment.RunAsync(() =>
- /// {
- /// var dc2NetworkArea = new Consul.NetworkArea("dc2NetworkArea", new()
- /// {
- /// PeerDatacenter = "dc2",
- /// RetryJoins = new[]
- /// {
- /// "1.2.3.4",
- /// },
- /// UseTls = true,
- /// });
- ///
- /// var dc2NetworkAreaMembers = Consul.GetNetworkAreaMembers.Invoke(new()
- /// {
- /// Uuid = dc2NetworkArea.Id,
- /// });
- ///
- /// return new Dictionary<string, object?>
- /// {
- /// ["members"] = dc2NetworkAreaMembers.Apply(getNetworkAreaMembersResult => getNetworkAreaMembersResult.Members),
- /// };
- /// });
- /// ```
- /// {{% /example %}}
- /// {{% /examples %}}
///
public static Output Invoke(GetNetworkAreaMembersInvokeArgs args, InvokeOptions? options = null)
=> global::Pulumi.Deployment.Instance.Invoke("consul:index/getNetworkAreaMembers:getNetworkAreaMembers", args ?? new GetNetworkAreaMembersInvokeArgs(), options.WithDefaults());
diff --git a/sdk/dotnet/GetNetworkSegments.cs b/sdk/dotnet/GetNetworkSegments.cs
index 4b41bb2b..3d4b4445 100644
--- a/sdk/dotnet/GetNetworkSegments.cs
+++ b/sdk/dotnet/GetNetworkSegments.cs
@@ -16,29 +16,6 @@ public static class GetNetworkSegments
///
/// The `consul_network_segment` data source can be used to retrieve the network
/// segments defined in the configuration.
- ///
- /// {{% examples %}}
- /// ## Example Usage
- /// {{% example %}}
- ///
- /// ```csharp
- /// using System.Collections.Generic;
- /// using System.Linq;
- /// using Pulumi;
- /// using Consul = Pulumi.Consul;
- ///
- /// return await Deployment.RunAsync(() =>
- /// {
- /// var segmentsNetworkSegments = Consul.GetNetworkSegments.Invoke();
- ///
- /// return new Dictionary<string, object?>
- /// {
- /// ["segments"] = segmentsNetworkSegments.Apply(getNetworkSegmentsResult => getNetworkSegmentsResult.Segments),
- /// };
- /// });
- /// ```
- /// {{% /example %}}
- /// {{% /examples %}}
///
public static Task InvokeAsync(GetNetworkSegmentsArgs? args = null, InvokeOptions? options = null)
=> global::Pulumi.Deployment.Instance.InvokeAsync("consul:index/getNetworkSegments:getNetworkSegments", args ?? new GetNetworkSegmentsArgs(), options.WithDefaults());
@@ -48,29 +25,6 @@ public static Task InvokeAsync(GetNetworkSegmentsArgs?
///
/// The `consul_network_segment` data source can be used to retrieve the network
/// segments defined in the configuration.
- ///
- /// {{% examples %}}
- /// ## Example Usage
- /// {{% example %}}
- ///
- /// ```csharp
- /// using System.Collections.Generic;
- /// using System.Linq;
- /// using Pulumi;
- /// using Consul = Pulumi.Consul;
- ///
- /// return await Deployment.RunAsync(() =>
- /// {
- /// var segmentsNetworkSegments = Consul.GetNetworkSegments.Invoke();
- ///
- /// return new Dictionary<string, object?>
- /// {
- /// ["segments"] = segmentsNetworkSegments.Apply(getNetworkSegmentsResult => getNetworkSegmentsResult.Segments),
- /// };
- /// });
- /// ```
- /// {{% /example %}}
- /// {{% /examples %}}
///
public static Output Invoke(GetNetworkSegmentsInvokeArgs? args = null, InvokeOptions? options = null)
=> global::Pulumi.Deployment.Instance.Invoke("consul:index/getNetworkSegments:getNetworkSegments", args ?? new GetNetworkSegmentsInvokeArgs(), options.WithDefaults());
diff --git a/sdk/dotnet/GetPeering.cs b/sdk/dotnet/GetPeering.cs
index d4ad9417..f3974934 100644
--- a/sdk/dotnet/GetPeering.cs
+++ b/sdk/dotnet/GetPeering.cs
@@ -11,55 +11,9 @@ namespace Pulumi.Consul
{
public static class GetPeering
{
- ///
- /// {{% examples %}}
- /// ## Example Usage
- /// {{% example %}}
- ///
- /// ```csharp
- /// using System.Collections.Generic;
- /// using System.Linq;
- /// using Pulumi;
- /// using Consul = Pulumi.Consul;
- ///
- /// return await Deployment.RunAsync(() =>
- /// {
- /// var basic = Consul.GetPeering.Invoke(new()
- /// {
- /// PeerName = "peered-cluster",
- /// });
- ///
- /// });
- /// ```
- /// {{% /example %}}
- /// {{% /examples %}}
- ///
public static Task InvokeAsync(GetPeeringArgs args, InvokeOptions? options = null)
=> global::Pulumi.Deployment.Instance.InvokeAsync("consul:index/getPeering:getPeering", args ?? new GetPeeringArgs(), options.WithDefaults());
- ///
- /// {{% examples %}}
- /// ## Example Usage
- /// {{% example %}}
- ///
- /// ```csharp
- /// using System.Collections.Generic;
- /// using System.Linq;
- /// using Pulumi;
- /// using Consul = Pulumi.Consul;
- ///
- /// return await Deployment.RunAsync(() =>
- /// {
- /// var basic = Consul.GetPeering.Invoke(new()
- /// {
- /// PeerName = "peered-cluster",
- /// });
- ///
- /// });
- /// ```
- /// {{% /example %}}
- /// {{% /examples %}}
- ///
public static Output Invoke(GetPeeringInvokeArgs args, InvokeOptions? options = null)
=> global::Pulumi.Deployment.Instance.Invoke("consul:index/getPeering:getPeering", args ?? new GetPeeringInvokeArgs(), options.WithDefaults());
}
diff --git a/sdk/dotnet/GetPeerings.cs b/sdk/dotnet/GetPeerings.cs
index 5796d253..f3a183a0 100644
--- a/sdk/dotnet/GetPeerings.cs
+++ b/sdk/dotnet/GetPeerings.cs
@@ -11,49 +11,9 @@ namespace Pulumi.Consul
{
public static class GetPeerings
{
- ///
- /// {{% examples %}}
- /// ## Example Usage
- /// {{% example %}}
- ///
- /// ```csharp
- /// using System.Collections.Generic;
- /// using System.Linq;
- /// using Pulumi;
- /// using Consul = Pulumi.Consul;
- ///
- /// return await Deployment.RunAsync(() =>
- /// {
- /// var peers = Consul.GetPeerings.Invoke();
- ///
- /// });
- /// ```
- /// {{% /example %}}
- /// {{% /examples %}}
- ///
public static Task InvokeAsync(GetPeeringsArgs? args = null, InvokeOptions? options = null)
=> global::Pulumi.Deployment.Instance.InvokeAsync("consul:index/getPeerings:getPeerings", args ?? new GetPeeringsArgs(), options.WithDefaults());
- ///
- /// {{% examples %}}
- /// ## Example Usage
- /// {{% example %}}
- ///
- /// ```csharp
- /// using System.Collections.Generic;
- /// using System.Linq;
- /// using Pulumi;
- /// using Consul = Pulumi.Consul;
- ///
- /// return await Deployment.RunAsync(() =>
- /// {
- /// var peers = Consul.GetPeerings.Invoke();
- ///
- /// });
- /// ```
- /// {{% /example %}}
- /// {{% /examples %}}
- ///
public static Output Invoke(GetPeeringsInvokeArgs? args = null, InvokeOptions? options = null)
=> global::Pulumi.Deployment.Instance.Invoke("consul:index/getPeerings:getPeerings", args ?? new GetPeeringsInvokeArgs(), options.WithDefaults());
}
diff --git a/sdk/dotnet/Intention.cs b/sdk/dotnet/Intention.cs
index 61304f25..b7676324 100644
--- a/sdk/dotnet/Intention.cs
+++ b/sdk/dotnet/Intention.cs
@@ -24,53 +24,6 @@ namespace Pulumi.Consul
/// in conjunction with the `consul.Service` datasource when referencing services
/// registered on nodes that have a running Consul agent.
///
- /// ## Example Usage
- ///
- /// Create a simplest intention with static service names:
- ///
- /// ```csharp
- /// using System.Collections.Generic;
- /// using System.Linq;
- /// using Pulumi;
- /// using Consul = Pulumi.Consul;
- ///
- /// return await Deployment.RunAsync(() =>
- /// {
- /// var database = new Consul.Intention("database", new()
- /// {
- /// Action = "allow",
- /// DestinationName = "db",
- /// SourceName = "api",
- /// });
- ///
- /// });
- /// ```
- ///
- /// Referencing a known service via a datasource:
- ///
- /// ```csharp
- /// using System.Collections.Generic;
- /// using System.Linq;
- /// using Pulumi;
- /// using Consul = Pulumi.Consul;
- ///
- /// return await Deployment.RunAsync(() =>
- /// {
- /// var database = new Consul.Intention("database", new()
- /// {
- /// Action = "allow",
- /// DestinationName = consul_service.Pg.Name,
- /// SourceName = "api",
- /// });
- ///
- /// var pg = Consul.GetService.Invoke(new()
- /// {
- /// Name = "postgresql",
- /// });
- ///
- /// });
- /// ```
- ///
/// ## Import
///
/// `consul_intention` can be imported:
diff --git a/sdk/dotnet/KeyPrefix.cs b/sdk/dotnet/KeyPrefix.cs
index cdc3ae5c..ed5e52e6 100644
--- a/sdk/dotnet/KeyPrefix.cs
+++ b/sdk/dotnet/KeyPrefix.cs
@@ -10,44 +10,6 @@
namespace Pulumi.Consul
{
///
- /// ## Example Usage
- ///
- /// ```csharp
- /// using System.Collections.Generic;
- /// using System.Linq;
- /// using Pulumi;
- /// using Consul = Pulumi.Consul;
- ///
- /// return await Deployment.RunAsync(() =>
- /// {
- /// var myappConfig = new Consul.KeyPrefix("myappConfig", new()
- /// {
- /// Datacenter = "nyc1",
- /// PathPrefix = "myapp/config/",
- /// SubkeyCollection = new[]
- /// {
- /// new Consul.Inputs.KeyPrefixSubkeyCollectionArgs
- /// {
- /// Flags = 2,
- /// Path = "database/password",
- /// Value = aws_db_instance.App.Password,
- /// },
- /// },
- /// Subkeys =
- /// {
- /// { "database/hostname", aws_db_instance.App.Address },
- /// { "database/name", aws_db_instance.App.Name },
- /// { "database/port", aws_db_instance.App.Port },
- /// { "database/username", aws_db_instance.App.Username },
- /// { "elb_cname", aws_elb.App.Dns_name },
- /// { "s3_bucket_name", aws_s3_bucket.App.Bucket },
- /// },
- /// Token = "abcd",
- /// });
- ///
- /// });
- /// ```
- ///
/// ## Import
///
/// `consul_key_prefix` can be imported. This is useful when the path already exists and you know all keys in path should be managed by Terraform.
diff --git a/sdk/dotnet/Keys.cs b/sdk/dotnet/Keys.cs
index 5b52ae23..6ac291b9 100644
--- a/sdk/dotnet/Keys.cs
+++ b/sdk/dotnet/Keys.cs
@@ -9,34 +9,6 @@
namespace Pulumi.Consul
{
- ///
- /// ## Example Usage
- ///
- /// ```csharp
- /// using System.Collections.Generic;
- /// using System.Linq;
- /// using Pulumi;
- /// using Consul = Pulumi.Consul;
- ///
- /// return await Deployment.RunAsync(() =>
- /// {
- /// var app = new Consul.Keys("app", new()
- /// {
- /// Datacenter = "nyc1",
- /// KeysCollection = new[]
- /// {
- /// new Consul.Inputs.KeysKeyArgs
- /// {
- /// Path = "service/app/elb_address",
- /// Value = aws_elb.App.Dns_name,
- /// },
- /// },
- /// Token = "abcd",
- /// });
- ///
- /// });
- /// ```
- ///
[ConsulResourceType("consul:index/keys:Keys")]
public partial class Keys : global::Pulumi.CustomResource
{
diff --git a/sdk/dotnet/License.cs b/sdk/dotnet/License.cs
index 29f18b88..ba13efda 100644
--- a/sdk/dotnet/License.cs
+++ b/sdk/dotnet/License.cs
@@ -15,25 +15,6 @@ namespace Pulumi.Consul
/// The `consul.License` resource provides datacenter-level management of
/// the Consul Enterprise license. If ACLs are enabled then a token with operator
/// privileges may be required in order to use this command.
- ///
- /// ## Example Usage
- ///
- /// ```csharp
- /// using System.Collections.Generic;
- /// using System.IO;
- /// using System.Linq;
- /// using Pulumi;
- /// using Consul = Pulumi.Consul;
- ///
- /// return await Deployment.RunAsync(() =>
- /// {
- /// var license = new Consul.License("license", new()
- /// {
- /// ConsulLicense = File.ReadAllText("license.hclic"),
- /// });
- ///
- /// });
- /// ```
///
[ConsulResourceType("consul:index/license:License")]
public partial class License : global::Pulumi.CustomResource
diff --git a/sdk/dotnet/Namespace.cs b/sdk/dotnet/Namespace.cs
index 65dd020b..d8d1b4c5 100644
--- a/sdk/dotnet/Namespace.cs
+++ b/sdk/dotnet/Namespace.cs
@@ -14,28 +14,6 @@ namespace Pulumi.Consul
///
/// The `consul.Namespace` resource provides isolated [Consul Enterprise Namespaces](https://www.consul.io/docs/enterprise/namespaces/index.html).
///
- /// ## Example Usage
- ///
- /// ```csharp
- /// using System.Collections.Generic;
- /// using System.Linq;
- /// using Pulumi;
- /// using Consul = Pulumi.Consul;
- ///
- /// return await Deployment.RunAsync(() =>
- /// {
- /// var production = new Consul.Namespace("production", new()
- /// {
- /// Description = "Production namespace",
- /// Meta =
- /// {
- /// { "foo", "bar" },
- /// },
- /// });
- ///
- /// });
- /// ```
- ///
/// ## Import
///
/// `consul_namespace` can be imported. This is useful to manage attributes of the default namespace that is created automatically:
diff --git a/sdk/dotnet/NetworkArea.cs b/sdk/dotnet/NetworkArea.cs
index 55357172..835ea081 100644
--- a/sdk/dotnet/NetworkArea.cs
+++ b/sdk/dotnet/NetworkArea.cs
@@ -19,29 +19,6 @@ namespace Pulumi.Consul
/// communication, and relationships can be made between independent pairs of
/// datacenters, so not all servers need to be fully connected. This allows for
/// complex topologies among Consul datacenters like hub/spoke and more general trees.
- ///
- /// ## Example Usage
- ///
- /// ```csharp
- /// using System.Collections.Generic;
- /// using System.Linq;
- /// using Pulumi;
- /// using Consul = Pulumi.Consul;
- ///
- /// return await Deployment.RunAsync(() =>
- /// {
- /// var dc2 = new Consul.NetworkArea("dc2", new()
- /// {
- /// PeerDatacenter = "dc2",
- /// RetryJoins = new[]
- /// {
- /// "1.2.3.4",
- /// },
- /// UseTls = true,
- /// });
- ///
- /// });
- /// ```
///
[ConsulResourceType("consul:index/networkArea:NetworkArea")]
public partial class NetworkArea : global::Pulumi.CustomResource
diff --git a/sdk/dotnet/Node.cs b/sdk/dotnet/Node.cs
index 5d885ddc..056eda4e 100644
--- a/sdk/dotnet/Node.cs
+++ b/sdk/dotnet/Node.cs
@@ -13,24 +13,6 @@ namespace Pulumi.Consul
/// Provides access to Node data in Consul. This can be used to define a
/// node. Currently, defining health checks is not supported.
///
- /// ## Example Usage
- ///
- /// ```csharp
- /// using System.Collections.Generic;
- /// using System.Linq;
- /// using Pulumi;
- /// using Consul = Pulumi.Consul;
- ///
- /// return await Deployment.RunAsync(() =>
- /// {
- /// var foobar = new Consul.Node("foobar", new()
- /// {
- /// Address = "192.168.10.10",
- /// });
- ///
- /// });
- /// ```
- ///
/// ## Import
///
/// The `consul_node` resource can be imported:
diff --git a/sdk/dotnet/Peering.cs b/sdk/dotnet/Peering.cs
index 191dbe8f..ca23f1d9 100644
--- a/sdk/dotnet/Peering.cs
+++ b/sdk/dotnet/Peering.cs
@@ -17,51 +17,6 @@ namespace Pulumi.Consul
/// > **Cluster peering is currently in technical preview:** Functionality associated with cluster peering is subject to change. You should never use the technical preview release in secure environments or production scenarios. Features in technical preview may have performance issues, scaling issues, and limited support.
///
/// The functionality described here is available only in Consul version 1.13.0 and later.
- ///
- /// ## Example Usage
- ///
- /// ```csharp
- /// using System.Collections.Generic;
- /// using System.Linq;
- /// using Pulumi;
- /// using Consul = Pulumi.Consul;
- ///
- /// return await Deployment.RunAsync(() =>
- /// {
- /// // Create a peering between the EU and US Consul clusters
- /// var eu = new Consul.Provider("eu", new()
- /// {
- /// Address = "eu-cluster:8500",
- /// });
- ///
- /// var us = new Consul.Provider("us", new()
- /// {
- /// Address = "us-cluster:8500",
- /// });
- ///
- /// var eu_usPeeringToken = new Consul.PeeringToken("eu-usPeeringToken", new()
- /// {
- /// PeerName = "eu-cluster",
- /// }, new CustomResourceOptions
- /// {
- /// Provider = consul.Us,
- /// });
- ///
- /// var eu_usPeering = new Consul.Peering("eu-usPeering", new()
- /// {
- /// PeerName = "eu-cluster",
- /// PeeringToken = consul_peering_token.Token.Peering_token,
- /// Meta =
- /// {
- /// { "hello", "world" },
- /// },
- /// }, new CustomResourceOptions
- /// {
- /// Provider = consul.Eu,
- /// });
- ///
- /// });
- /// ```
///
[ConsulResourceType("consul:index/peering:Peering")]
public partial class Peering : global::Pulumi.CustomResource
diff --git a/sdk/dotnet/PeeringToken.cs b/sdk/dotnet/PeeringToken.cs
index 7ad0119f..7fa7614c 100644
--- a/sdk/dotnet/PeeringToken.cs
+++ b/sdk/dotnet/PeeringToken.cs
@@ -17,24 +17,6 @@ namespace Pulumi.Consul
/// > **Cluster peering is currently in technical preview:** Functionality associated with cluster peering is subject to change. You should never use the technical preview release in secure environments or production scenarios. Features in technical preview may have performance issues, scaling issues, and limited support.
///
/// The functionality described here is available only in Consul version 1.13.0 and later.
- ///
- /// ## Example Usage
- ///
- /// ```csharp
- /// using System.Collections.Generic;
- /// using System.Linq;
- /// using Pulumi;
- /// using Consul = Pulumi.Consul;
- ///
- /// return await Deployment.RunAsync(() =>
- /// {
- /// var token = new Consul.PeeringToken("token", new()
- /// {
- /// PeerName = "eu-cluster",
- /// });
- ///
- /// });
- /// ```
///
[ConsulResourceType("consul:index/peeringToken:PeeringToken")]
public partial class PeeringToken : global::Pulumi.CustomResource
diff --git a/sdk/dotnet/PreparedQuery.cs b/sdk/dotnet/PreparedQuery.cs
index be1bc8cf..b3b912df 100644
--- a/sdk/dotnet/PreparedQuery.cs
+++ b/sdk/dotnet/PreparedQuery.cs
@@ -10,84 +10,6 @@
namespace Pulumi.Consul
{
///
- /// ## Example Usage
- ///
- /// ```csharp
- /// using System.Collections.Generic;
- /// using System.Linq;
- /// using Pulumi;
- /// using Consul = Pulumi.Consul;
- ///
- /// return await Deployment.RunAsync(() =>
- /// {
- /// // Creates a prepared query myquery.query.consul that finds the nearest
- /// // healthy myapp.service.consul instance that has the active tag and not
- /// // the standby tag.
- /// var myapp_query = new Consul.PreparedQuery("myapp-query", new()
- /// {
- /// Datacenter = "us-central1",
- /// Dns = new Consul.Inputs.PreparedQueryDnsArgs
- /// {
- /// Ttl = "30s",
- /// },
- /// Failover = new Consul.Inputs.PreparedQueryFailoverArgs
- /// {
- /// Datacenters = new[]
- /// {
- /// "us-west1",
- /// "us-east-2",
- /// "asia-east1",
- /// },
- /// NearestN = 3,
- /// },
- /// Near = "_agent",
- /// OnlyPassing = true,
- /// Service = "myapp",
- /// StoredToken = "wxyz",
- /// Tags = new[]
- /// {
- /// "active",
- /// "!standby",
- /// },
- /// Token = "abcd",
- /// });
- ///
- /// // Creates a Prepared Query Template that matches *-near-self.query.consul
- /// // and finds the nearest service that matches the glob character (e.g.
- /// // foo-near-self.query.consul will find the nearest healthy foo.service.consul).
- /// var service_near_self = new Consul.PreparedQuery("service-near-self", new()
- /// {
- /// Connect = true,
- /// Datacenter = "nyc1",
- /// Dns = new Consul.Inputs.PreparedQueryDnsArgs
- /// {
- /// Ttl = "5m",
- /// },
- /// Failover = new Consul.Inputs.PreparedQueryFailoverArgs
- /// {
- /// Datacenters = new[]
- /// {
- /// "dc2",
- /// "dc3",
- /// "dc4",
- /// },
- /// NearestN = 3,
- /// },
- /// Near = "_agent",
- /// OnlyPassing = true,
- /// Service = "${match(1)}",
- /// StoredToken = "wxyz",
- /// Template = new Consul.Inputs.PreparedQueryTemplateArgs
- /// {
- /// Regexp = "^(.*)-near-self$",
- /// Type = "name_prefix_match",
- /// },
- /// Token = "abcd",
- /// });
- ///
- /// });
- /// ```
- ///
/// ## Import
///
/// ```sh
diff --git a/sdk/go.mod b/sdk/go.mod
index 4764ccd0..6838126c 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.86.0
+ github.com/pulumi/pulumi/sdk/v3 v3.90.1
)
require (
@@ -12,7 +12,7 @@ require (
github.com/ProtonMail/go-crypto v0.0.0-20221026131551-cf6655e29de4 // indirect
github.com/acomagu/bufpipe v1.0.3 // indirect
github.com/aead/chacha20 v0.0.0-20180709150244-8b13a72661da // indirect
- github.com/agext/levenshtein v1.2.1 // indirect
+ github.com/agext/levenshtein v1.2.3 // indirect
github.com/apparentlymart/go-textseg/v13 v13.0.0 // indirect
github.com/atotto/clipboard v0.1.4 // indirect
github.com/aymanbagabas/go-osc52/v2 v2.0.1 // indirect
@@ -33,9 +33,9 @@ require (
github.com/grpc-ecosystem/grpc-opentracing v0.0.0-20180507213350-8e809c8a8645 // indirect
github.com/hashicorp/errwrap v1.1.0 // indirect
github.com/hashicorp/go-multierror v1.1.1 // indirect
- github.com/hashicorp/hcl/v2 v2.16.1 // indirect
+ github.com/hashicorp/hcl/v2 v2.17.0 // indirect
github.com/imdario/mergo v0.3.13 // indirect
- github.com/inconshreveable/mousetrap v1.0.1 // indirect
+ github.com/inconshreveable/mousetrap v1.1.0 // indirect
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect
github.com/kevinburke/ssh_config v1.2.0 // indirect
github.com/lucasb-eyer/go-colorful v1.2.0 // indirect
@@ -43,7 +43,7 @@ require (
github.com/mattn/go-localereader v0.0.1 // indirect
github.com/mattn/go-runewidth v0.0.14 // indirect
github.com/mitchellh/go-ps v1.0.0 // indirect
- github.com/mitchellh/go-wordwrap v0.0.0-20150314170334-ad45545899c7 // indirect
+ github.com/mitchellh/go-wordwrap v1.0.1 // indirect
github.com/muesli/ansi v0.0.0-20211018074035-2e021307bc4b // indirect
github.com/muesli/cancelreader v0.2.2 // indirect
github.com/muesli/reflow v0.3.0 // indirect
@@ -53,14 +53,15 @@ 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.6 // indirect
github.com/rivo/uniseg v0.4.4 // indirect
- github.com/rogpeppe/go-internal v1.9.0 // indirect
+ github.com/rogpeppe/go-internal v1.11.0 // indirect
github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06 // indirect
github.com/santhosh-tekuri/jsonschema/v5 v5.0.0 // indirect
- github.com/sergi/go-diff v1.2.0 // indirect
+ github.com/sergi/go-diff v1.3.1 // indirect
github.com/skeema/knownhosts v1.1.0 // indirect
github.com/spf13/cast v1.4.1 // indirect
- github.com/spf13/cobra v1.6.1 // indirect
+ github.com/spf13/cobra v1.7.0 // indirect
github.com/spf13/pflag v1.0.5 // indirect
github.com/stretchr/objx v0.5.0 // indirect
github.com/texttheater/golang-levenshtein v1.0.1 // indirect
@@ -68,14 +69,15 @@ require (
github.com/uber/jaeger-client-go v2.30.0+incompatible // indirect
github.com/uber/jaeger-lib v2.4.1+incompatible // indirect
github.com/xanzy/ssh-agent v0.3.3 // indirect
- github.com/zclconf/go-cty v1.12.1 // indirect
+ github.com/zclconf/go-cty v1.13.2 // indirect
go.uber.org/atomic v1.9.0 // indirect
- golang.org/x/crypto v0.7.0 // indirect
- golang.org/x/net v0.10.0 // indirect
- golang.org/x/sync v0.1.0 // indirect
- golang.org/x/sys v0.8.0 // indirect
- golang.org/x/term v0.8.0 // indirect
- golang.org/x/text 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.17.0 // indirect
+ golang.org/x/sync v0.2.0 // indirect
+ golang.org/x/sys v0.13.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 3b27b671..0da5bb30 100644
--- a/sdk/go.sum
+++ b/sdk/go.sum
@@ -8,8 +8,8 @@ github.com/acomagu/bufpipe v1.0.3 h1:fxAGrHZTgQ9w5QqVItgzwj235/uYZYgbXitB+dLupOk
github.com/acomagu/bufpipe v1.0.3/go.mod h1:mxdxdup/WdsKVreO5GpW4+M/1CE2sMG4jeGJ2sYmHc4=
github.com/aead/chacha20 v0.0.0-20180709150244-8b13a72661da h1:KjTM2ks9d14ZYCvmHS9iAKVt9AyzRSqNU1qabPih5BY=
github.com/aead/chacha20 v0.0.0-20180709150244-8b13a72661da/go.mod h1:eHEWzANqSiWQsof+nXEI9bUVUyV6F53Fp89EuCh2EAA=
-github.com/agext/levenshtein v1.2.1 h1:QmvMAjj2aEICytGiWzmxoE0x2KZvE0fvmqMOfy2tjT8=
-github.com/agext/levenshtein v1.2.1/go.mod h1:JEDfjyjHDjOF/1e4FlBE/PkbqA9OfWu2ki2W0IB5558=
+github.com/agext/levenshtein v1.2.3 h1:YB2fHEn0UJagG8T1rrWknE3ZQzWM06O8AMAatNn7lmo=
+github.com/agext/levenshtein v1.2.3/go.mod h1:JEDfjyjHDjOF/1e4FlBE/PkbqA9OfWu2ki2W0IB5558=
github.com/anmitsu/go-shlex v0.0.0-20200514113438-38f4b401e2be h1:9AeTilPcZAjCFIImctFaOjnTIavg87rW78vTPkQqLI8=
github.com/anmitsu/go-shlex v0.0.0-20200514113438-38f4b401e2be/go.mod h1:ySMOLuWl6zY27l47sB3qLNK6tF2fkHG55UZxx8oIVo4=
github.com/apparentlymart/go-textseg/v13 v13.0.0 h1:Y+KvPE1NYz0xl601PVImeQfFyEy6iT90AvPUL1NNfNw=
@@ -77,12 +77,12 @@ github.com/hashicorp/errwrap v1.1.0 h1:OxrOeh75EUXMY8TBjag2fzXGZ40LB6IKw45YeGUDY
github.com/hashicorp/errwrap v1.1.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4=
github.com/hashicorp/go-multierror v1.1.1 h1:H5DkEtf6CXdFp0N0Em5UCwQpXMWke8IA0+lD48awMYo=
github.com/hashicorp/go-multierror v1.1.1/go.mod h1:iw975J/qwKPdAO1clOe2L8331t/9/fmwbPZ6JB6eMoM=
-github.com/hashicorp/hcl/v2 v2.16.1 h1:BwuxEMD/tsYgbhIW7UuI3crjovf3MzuFWiVgiv57iHg=
-github.com/hashicorp/hcl/v2 v2.16.1/go.mod h1:JRmR89jycNkrrqnMmvPDMd56n1rQJ2Q6KocSLCMCXng=
+github.com/hashicorp/hcl/v2 v2.17.0 h1:z1XvSUyXd1HP10U4lrLg5e0JMVz6CPaJvAgxM0KNZVY=
+github.com/hashicorp/hcl/v2 v2.17.0/go.mod h1:gJyW2PTShkJqQBKpAmPO3yxMxIuoXkOF2TpqXzrQyx4=
github.com/imdario/mergo v0.3.13 h1:lFzP57bqS/wsqKssCGmtLAb8A0wKjLGrve2q3PPVcBk=
github.com/imdario/mergo v0.3.13/go.mod h1:4lJ1jqUDcsbIECGy0RUJAXNIhg+6ocWgb1ALK2O4oXg=
-github.com/inconshreveable/mousetrap v1.0.1 h1:U3uMjPSQEBMNp1lFxmllqCPM6P5u/Xq7Pgzkat/bFNc=
-github.com/inconshreveable/mousetrap v1.0.1/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw=
+github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8=
+github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw=
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 h1:BQSFePA1RWJOlocH6Fxy8MmwDt+yVQYULKfN0RoTN8A=
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99/go.mod h1:1lJo3i6rXxKeerYnT8Nvf0QmHCRC1n8sfWVwXF2Frvo=
github.com/jessevdk/go-flags v1.5.0/go.mod h1:Fw0T6WPc1dYxT4mKEZRfG5kJhaTDP9pj1c2EWnYs/m4=
@@ -92,9 +92,8 @@ github.com/kisielk/errcheck v1.2.0/go.mod h1:/BMXB+zMLi60iA8Vv6Ksmxu/1UDYcXs4uQL
github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8=
github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck=
github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo=
+github.com/kr/pretty v0.2.1 h1:Fmg33tUaq4/8ym9TJN1x7sLJnHVwhP33CNkpYV/7rwI=
github.com/kr/pretty v0.2.1/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI=
-github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE=
-github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk=
github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
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=
@@ -118,8 +117,8 @@ github.com/mattn/go-runewidth v0.0.14 h1:+xnbZSEeDbOIg5/mE6JF0w6n9duR1l3/WmbinWV
github.com/mattn/go-runewidth v0.0.14/go.mod h1:Jdepj2loyihRzMpdS35Xk/zdY8IAYHsh153qUoGf23w=
github.com/mitchellh/go-ps v1.0.0 h1:i6ampVEEF4wQFF+bkYfwYgY+F/uYJDktmvLPf7qIgjc=
github.com/mitchellh/go-ps v1.0.0/go.mod h1:J4lOc8z8yJs6vUwklHw2XEIiT4z4C40KtWVN3nvg8Pg=
-github.com/mitchellh/go-wordwrap v0.0.0-20150314170334-ad45545899c7 h1:DpOJ2HYzCv8LZP15IdmG+YdwD2luVPHITV96TkirNBM=
-github.com/mitchellh/go-wordwrap v0.0.0-20150314170334-ad45545899c7/go.mod h1:ZXFpozHsX6DPmq2I0TCekCxypsnAUbP2oI0UX1GXzOo=
+github.com/mitchellh/go-wordwrap v1.0.1 h1:TLuKupo69TCn6TQSyGxwI1EblZZEsQ0vMlAFQflz0v0=
+github.com/mitchellh/go-wordwrap v1.0.1/go.mod h1:R62XHJLzvMFRBbcrT7m7WgmE1eOyTSsCt+hzestvNj0=
github.com/mmcloughlin/avo v0.5.0/go.mod h1:ChHFdoV7ql95Wi7vuq2YT1bwCJqiWdZrQ1im3VujLYM=
github.com/muesli/ansi v0.0.0-20211018074035-2e021307bc4b h1:1XF24mVaiu7u+CFywTdcDo2ie1pzzhwjt6RHqzpMU34=
github.com/muesli/ansi v0.0.0-20211018074035-2e021307bc4b/go.mod h1:fQuZ0gauxyBcmsdE3ZT4NasjaRdxmbCS0jRHsrWu3Ho=
@@ -143,29 +142,31 @@ 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/pulumi/sdk/v3 v3.86.0 h1:Cxg0rGdvMt9GqGvesFTj8+WaO/ihmALYlQf4zm1GzFw=
-github.com/pulumi/pulumi/sdk/v3 v3.86.0/go.mod h1:vexSGJ5L834l3T7Fo/KpdywjGAgZ2CvChuqGFl+ebS0=
+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=
github.com/rivo/uniseg v0.4.4/go.mod h1:FN3SvrM+Zdj16jyLfmOkMNblXMcoc8DfTHruCPUcx88=
-github.com/rogpeppe/go-internal v1.9.0 h1:73kH8U+JUqXU8lRuOHeVHaa/SZPifC7BkcraZVejAe8=
-github.com/rogpeppe/go-internal v1.9.0/go.mod h1:WtVeX8xhTBvf0smdhujwtBcq4Qrzq/fJaraNFVN+nFs=
+github.com/rogpeppe/go-internal v1.11.0 h1:cWPaGQEPrBb5/AsnsZesgZZ9yb1OQ+GOISoDNXVBh4M=
+github.com/rogpeppe/go-internal v1.11.0/go.mod h1:ddIwULY96R17DhadqLgMfk9H9tvdUzkipdSkR5nkCZA=
github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06 h1:OkMGxebDjyw0ULyrTYWeN0UNCCkmCWfjPnIA2W6oviI=
github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06/go.mod h1:+ePHsJ1keEjQtpvf9HHw0f4ZeJ0TLRsxhunSI2hYJSs=
github.com/santhosh-tekuri/jsonschema/v5 v5.0.0 h1:TToq11gyfNlrMFZiYujSekIsPd9AmsA2Bj/iv+s4JHE=
github.com/santhosh-tekuri/jsonschema/v5 v5.0.0/go.mod h1:FKdcjfQW6rpZSnxxUvEA5H/cDPdvJ/SZJQLWWXWGrZ0=
github.com/sergi/go-diff v1.1.0/go.mod h1:STckp+ISIX8hZLjrqAeVduY0gWCT9IjLuqbuNXdaHfM=
-github.com/sergi/go-diff v1.2.0 h1:XU+rvMAioB0UC3q1MFrIQy4Vo5/4VsRDQQXHsEya6xQ=
-github.com/sergi/go-diff v1.2.0/go.mod h1:STckp+ISIX8hZLjrqAeVduY0gWCT9IjLuqbuNXdaHfM=
+github.com/sergi/go-diff v1.3.1 h1:xkr+Oxo4BOQKmkn/B9eMK0g5Kg/983T9DqqPHwYqD+8=
+github.com/sergi/go-diff v1.3.1/go.mod h1:aMJSSKb2lpPvRNec0+w3fl7LP9IOFzdc9Pa4NFbPK1I=
github.com/sirupsen/logrus v1.7.0/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0=
github.com/skeema/knownhosts v1.1.0 h1:Wvr9V0MxhjRbl3f9nMnKnFfiWTJmtECJ9Njkea3ysW0=
github.com/skeema/knownhosts v1.1.0/go.mod h1:sKFq3RD6/TKZkSWn8boUbDC7Qkgcv+8XXijpFO6roag=
github.com/spf13/cast v1.4.1 h1:s0hze+J0196ZfEMTs80N7UlFt0BDuQ7Q+JDnHiMWKdA=
github.com/spf13/cast v1.4.1/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE=
-github.com/spf13/cobra v1.6.1 h1:o94oiPyS4KD1mPy2fmcYYHHfCxLqYjJOhGsCHFZtEzA=
-github.com/spf13/cobra v1.6.1/go.mod h1:IOw/AERYS7UzyrGinqmz6HLUo219MORXGxhbaJUqzrY=
+github.com/spf13/cobra v1.7.0 h1:hyqWnYt1ZQShIddO5kBpj3vu05/++x6tJ6dg8EC572I=
+github.com/spf13/cobra v1.7.0/go.mod h1:uLxZILRyS/50WlhOIKD7W6V5bgeIt+4sICxh6uRMrb0=
github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA=
github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
@@ -180,8 +181,8 @@ github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/
github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU=
-github.com/stretchr/testify v1.8.1 h1:w7B6lhMri9wdJUVmEZPGGhZzrYTPvgJArz7wNPgYKsk=
-github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4=
+github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk=
+github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo=
github.com/texttheater/golang-levenshtein v1.0.1 h1:+cRNoVrfiwufQPhoMzB6N0Yf/Mqajr6t1lOv8GyGE2U=
github.com/texttheater/golang-levenshtein v1.0.1/go.mod h1:PYAKrbF5sAiq9wd+H82hs7gNaen0CplQ9uvm6+enD/8=
github.com/tweekmonster/luser v0.0.0-20161003172636-3fa38070dbd7 h1:X9dsIWPuuEJlPX//UmRKophhOKCGXc46RVIGuttks68=
@@ -195,8 +196,8 @@ github.com/xanzy/ssh-agent v0.3.3/go.mod h1:6dzNDKs0J9rVPHPhaGCukekBHKqfl+L3KghI
github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY=
-github.com/zclconf/go-cty v1.12.1 h1:PcupnljUm9EIvbgSHQnHhUr3fO6oFmkOrvs2BAFNXXY=
-github.com/zclconf/go-cty v1.12.1/go.mod h1:s9IfD1LK5ccNMSWCVFCE2rJfHiZgi7JijgeWIMfhLvA=
+github.com/zclconf/go-cty v1.13.2 h1:4GvrUxe/QUDYuJKAav4EYqdM47/kZa672LwmXFmEKT0=
+github.com/zclconf/go-cty v1.13.2/go.mod h1:YKQzy/7pZ7iq2jNFzy5go57xdxdWoLLpaEp4u238AE0=
go.uber.org/atomic v1.9.0 h1:ECmE8Bn/WFTYwEW/bpKD3M8VtR/zQVbavAoalC1PYyE=
go.uber.org/atomic v1.9.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc=
golang.org/x/arch v0.1.0/go.mod h1:5om86z9Hs0C8fWVUuoMHwpExlXzs5Tkyp9hOrfG7pp8=
@@ -209,8 +210,10 @@ 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.7.0 h1:AvwMYaRytfdeVt3u6mLaxYtErKYjxA2OXjJ1HHq6t3A=
-golang.org/x/crypto v0.7.0/go.mod h1:pYwdfH91IfpZVANVyUOhSIPZaFoJGxTFbZhFTx+dXZU=
+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=
golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg=
golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
@@ -228,14 +231,14 @@ 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=
golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
-golang.org/x/sync v0.1.0 h1:wsuoTGHzEhffawBOhz5CYhcrV4IdKZbEyZjBMuTp12o=
-golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
+golang.org/x/sync v0.2.0 h1:PUR+T4wwASmuSTYdKjYHI5TD22Wy5ogLU5qZCOLxBrI=
+golang.org/x/sync v0.2.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20190222072716-a9d3bda3a223/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
@@ -260,22 +263,22 @@ golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.2.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.3.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
-golang.org/x/sys v0.8.0 h1:EBmGv8NaZBZTWvrbjNoL6HVt+IVy3QDQpJs7VRIw3tU=
-golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
+golang.org/x/sys v0.13.0 h1:Af8nKPmuFypiUBjVoU9V20FiaFXOcuZI21p0ycVYYGE=
+golang.org/x/sys v0.13.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8=
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/consul/aclAuthMethod.go b/sdk/go/consul/aclAuthMethod.go
index 2a2d6bfd..cd887dd8 100644
--- a/sdk/go/consul/aclAuthMethod.go
+++ b/sdk/go/consul/aclAuthMethod.go
@@ -15,86 +15,6 @@ import (
// Starting with Consul 1.5.0, the AclAuthMethod resource can be used to
// managed [Consul ACL auth methods](https://www.consul.io/docs/acl/auth-methods).
-//
-// ## Example Usage
-//
-// Define a `kubernetes` auth method:
-// ```go
-// package main
-//
-// import (
-//
-// "encoding/json"
-//
-// "github.com/pulumi/pulumi-consul/sdk/v3/go/consul"
-// "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
-//
-// )
-//
-// func main() {
-// pulumi.Run(func(ctx *pulumi.Context) error {
-// tmpJSON0, err := json.Marshal(map[string]interface{}{
-// "Host": "https://192.0.2.42:8443",
-// "CACert": "-----BEGIN CERTIFICATE-----\n...-----END CERTIFICATE-----\n",
-// "ServiceAccountJWT": "eyJhbGciOiJSUzI1NiIsImtpZCI6IiJ9...",
-// })
-// if err != nil {
-// return err
-// }
-// json0 := string(tmpJSON0)
-// _, err = consul.NewAclAuthMethod(ctx, "minikube", &consul.AclAuthMethodArgs{
-// Type: pulumi.String("kubernetes"),
-// Description: pulumi.String("dev minikube cluster"),
-// ConfigJson: pulumi.String(json0),
-// })
-// if err != nil {
-// return err
-// }
-// return nil
-// })
-// }
-//
-// ```
-//
-// Define a `jwt` auth method:
-// ```go
-// package main
-//
-// import (
-//
-// "encoding/json"
-//
-// "github.com/pulumi/pulumi-consul/sdk/v3/go/consul"
-// "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
-//
-// )
-//
-// func main() {
-// pulumi.Run(func(ctx *pulumi.Context) error {
-// tmpJSON0, err := json.Marshal(map[string]interface{}{
-// "JWKSURL": "https://example.com/identity/oidc/.well-known/keys",
-// "JWTSupportedAlgs": "RS256",
-// "BoundIssuer": "https://example.com",
-// "ClaimMappings": map[string]interface{}{
-// "subject": "subject",
-// },
-// })
-// if err != nil {
-// return err
-// }
-// json0 := string(tmpJSON0)
-// _, err = consul.NewAclAuthMethod(ctx, "minikube", &consul.AclAuthMethodArgs{
-// Type: pulumi.String("jwt"),
-// ConfigJson: pulumi.String(json0),
-// })
-// if err != nil {
-// return err
-// }
-// return nil
-// })
-// }
-//
-// ```
type AclAuthMethod struct {
pulumi.CustomResourceState
diff --git a/sdk/go/consul/aclBindingRule.go b/sdk/go/consul/aclBindingRule.go
index f380aab4..60ce3bc4 100644
--- a/sdk/go/consul/aclBindingRule.go
+++ b/sdk/go/consul/aclBindingRule.go
@@ -15,48 +15,6 @@ import (
// Starting with Consul 1.5.0, the AclBindingRule resource can be used to
// managed Consul ACL binding rules.
-//
-// ## Example Usage
-//
-// ```go
-// package main
-//
-// import (
-//
-// "github.com/pulumi/pulumi-consul/sdk/v3/go/consul"
-// "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
-//
-// )
-//
-// func main() {
-// pulumi.Run(func(ctx *pulumi.Context) error {
-// minikube, err := consul.NewAclAuthMethod(ctx, "minikube", &consul.AclAuthMethodArgs{
-// Config: pulumi.StringMap{
-// "CACert": pulumi.String("-----BEGIN CERTIFICATE-----\n...-----END CERTIFICATE-----\n\n"),
-// "Host": pulumi.String("https://192.0.2.42:8443"),
-// "ServiceAccountJWT": pulumi.String("eyJhbGciOiJSUzI1NiIsImtpZCI6IiJ9..."),
-// },
-// Description: pulumi.String("dev minikube cluster"),
-// Type: pulumi.String("kubernetes"),
-// })
-// if err != nil {
-// return err
-// }
-// _, err = consul.NewAclBindingRule(ctx, "test", &consul.AclBindingRuleArgs{
-// AuthMethod: minikube.Name,
-// BindName: pulumi.String("minikube"),
-// BindType: pulumi.String("service"),
-// Description: pulumi.String("foobar"),
-// Selector: pulumi.String("serviceaccount.namespace==default"),
-// })
-// if err != nil {
-// return err
-// }
-// return nil
-// })
-// }
-//
-// ```
type AclBindingRule struct {
pulumi.CustomResourceState
diff --git a/sdk/go/consul/aclPolicy.go b/sdk/go/consul/aclPolicy.go
index 7ee081bf..801981fe 100644
--- a/sdk/go/consul/aclPolicy.go
+++ b/sdk/go/consul/aclPolicy.go
@@ -15,35 +15,6 @@ import (
// Starting with Consul 1.4.0, the AclPolicy can be used to managed Consul ACL policies.
//
-// ## Example Usage
-//
-// ```go
-// package main
-//
-// import (
-//
-// "github.com/pulumi/pulumi-consul/sdk/v3/go/consul"
-// "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
-//
-// )
-//
-// func main() {
-// pulumi.Run(func(ctx *pulumi.Context) error {
-// _, err := consul.NewAclPolicy(ctx, "test", &consul.AclPolicyArgs{
-// Datacenters: pulumi.StringArray{
-// pulumi.String("dc1"),
-// },
-// Rules: pulumi.String("node_prefix \"\" {\n policy = \"read\"\n}\n\n"),
-// })
-// if err != nil {
-// return err
-// }
-// return nil
-// })
-// }
-//
-// ```
-//
// ## Import
//
// `consul_acl_policy` can be imported:
diff --git a/sdk/go/consul/aclRole.go b/sdk/go/consul/aclRole.go
index 637516ef..cbd806ce 100644
--- a/sdk/go/consul/aclRole.go
+++ b/sdk/go/consul/aclRole.go
@@ -14,49 +14,6 @@ import (
// Starting with Consul 1.5.0, the AclRole can be used to managed Consul ACL roles.
//
-// ## Example Usage
-//
-// ```go
-// package main
-//
-// import (
-//
-// "github.com/pulumi/pulumi-consul/sdk/v3/go/consul"
-// "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
-//
-// )
-//
-// func main() {
-// pulumi.Run(func(ctx *pulumi.Context) error {
-// _, err := consul.NewAclPolicy(ctx, "read-policy", &consul.AclPolicyArgs{
-// Datacenters: pulumi.StringArray{
-// pulumi.String("dc1"),
-// },
-// Rules: pulumi.String("node \"\" { policy = \"read\" }"),
-// })
-// if err != nil {
-// return err
-// }
-// _, err = consul.NewAclRole(ctx, "read", &consul.AclRoleArgs{
-// Description: pulumi.String("bar"),
-// Policies: pulumi.StringArray{
-// read_policy.ID(),
-// },
-// ServiceIdentities: consul.AclRoleServiceIdentityArray{
-// &consul.AclRoleServiceIdentityArgs{
-// ServiceName: pulumi.String("foo"),
-// },
-// },
-// })
-// if err != nil {
-// return err
-// }
-// return nil
-// })
-// }
-//
-// ```
-//
// ## Import
//
// `consul_acl_role` can be imported:
diff --git a/sdk/go/consul/aclToken.go b/sdk/go/consul/aclToken.go
index f538af0b..506c279d 100644
--- a/sdk/go/consul/aclToken.go
+++ b/sdk/go/consul/aclToken.go
@@ -15,41 +15,6 @@ import (
// The `AclToken` resource writes an ACL token into Consul.
//
// ## Example Usage
-// ### Basic usage
-//
-// ```go
-// package main
-//
-// import (
-//
-// "github.com/pulumi/pulumi-consul/sdk/v3/go/consul"
-// "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
-//
-// )
-//
-// func main() {
-// pulumi.Run(func(ctx *pulumi.Context) error {
-// agent, err := consul.NewAclPolicy(ctx, "agent", &consul.AclPolicyArgs{
-// Rules: pulumi.String("node_prefix \"\" {\n policy = \"read\"\n}\n\n"),
-// })
-// if err != nil {
-// return err
-// }
-// _, err = consul.NewAclToken(ctx, "test", &consul.AclTokenArgs{
-// Description: pulumi.String("my test token"),
-// Local: pulumi.Bool(true),
-// Policies: pulumi.StringArray{
-// agent.Name,
-// },
-// })
-// if err != nil {
-// return err
-// }
-// return nil
-// })
-// }
-//
-// ```
//
// ## Import
//
diff --git a/sdk/go/consul/adminPartition.go b/sdk/go/consul/adminPartition.go
index 3fbdb82d..a35a3f42 100644
--- a/sdk/go/consul/adminPartition.go
+++ b/sdk/go/consul/adminPartition.go
@@ -16,32 +16,6 @@ import (
//
// The `AdminPartition` resource manages [Consul Enterprise Admin Partitions](https://www.consul.io/docs/enterprise/admin-partitions).
//
-// ## Example Usage
-//
-// ```go
-// package main
-//
-// import (
-//
-// "github.com/pulumi/pulumi-consul/sdk/v3/go/consul"
-// "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
-//
-// )
-//
-// func main() {
-// pulumi.Run(func(ctx *pulumi.Context) error {
-// _, err := consul.NewAdminPartition(ctx, "naWest", &consul.AdminPartitionArgs{
-// Description: pulumi.String("Partition for North America West"),
-// })
-// if err != nil {
-// return err
-// }
-// return nil
-// })
-// }
-//
-// ```
-//
// ## Import
//
// `consul_admin_partition` can be imported:
diff --git a/sdk/go/consul/agentService.go b/sdk/go/consul/agentService.go
index 0c806b36..b44aaffb 100644
--- a/sdk/go/consul/agentService.go
+++ b/sdk/go/consul/agentService.go
@@ -19,37 +19,6 @@ import (
// Provides access to the agent service data in Consul. This can be used to
// define a service associated with a particular agent. Currently, defining
// health checks for an agent service is not supported.
-//
-// ## Example Usage
-//
-// ```go
-// package main
-//
-// import (
-//
-// "github.com/pulumi/pulumi-consul/sdk/v3/go/consul"
-// "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
-//
-// )
-//
-// func main() {
-// pulumi.Run(func(ctx *pulumi.Context) error {
-// _, err := consul.NewAgentService(ctx, "app", &consul.AgentServiceArgs{
-// Address: pulumi.String("www.google.com"),
-// Port: pulumi.Int(80),
-// Tags: pulumi.StringArray{
-// pulumi.String("tag0"),
-// pulumi.String("tag1"),
-// },
-// })
-// if err != nil {
-// return err
-// }
-// return nil
-// })
-// }
-//
-// ```
type AgentService struct {
pulumi.CustomResourceState
diff --git a/sdk/go/consul/autopilotConfig.go b/sdk/go/consul/autopilotConfig.go
index da22e2f8..05b8bdd2 100644
--- a/sdk/go/consul/autopilotConfig.go
+++ b/sdk/go/consul/autopilotConfig.go
@@ -17,34 +17,6 @@ import (
//
// It includes to automatically cleanup dead servers, monitor the status of the Raft
// cluster and stable server introduction.
-//
-// ## Example Usage
-//
-// ```go
-// package main
-//
-// import (
-//
-// "github.com/pulumi/pulumi-consul/sdk/v3/go/consul"
-// "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
-//
-// )
-//
-// func main() {
-// pulumi.Run(func(ctx *pulumi.Context) error {
-// _, err := consul.NewAutopilotConfig(ctx, "config", &consul.AutopilotConfigArgs{
-// CleanupDeadServers: pulumi.Bool(false),
-// LastContactThreshold: pulumi.String("1s"),
-// MaxTrailingLogs: pulumi.Int(500),
-// })
-// if err != nil {
-// return err
-// }
-// return nil
-// })
-// }
-//
-// ```
type AutopilotConfig struct {
pulumi.CustomResourceState
diff --git a/sdk/go/consul/catalogEntry.go b/sdk/go/consul/catalogEntry.go
index c5e539f5..3c78ff17 100644
--- a/sdk/go/consul/catalogEntry.go
+++ b/sdk/go/consul/catalogEntry.go
@@ -19,45 +19,6 @@ import (
//
// Registers a node or service with the [Consul Catalog](https://www.consul.io/docs/agent/http/catalog.html#catalog_register).
// Currently, defining health checks is not supported.
-//
-// ## Example Usage
-//
-// ```go
-// package main
-//
-// import (
-//
-// "github.com/pulumi/pulumi-consul/sdk/v3/go/consul"
-// "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
-//
-// )
-//
-// func main() {
-// pulumi.Run(func(ctx *pulumi.Context) error {
-// _, err := consul.NewCatalogEntry(ctx, "app", &consul.CatalogEntryArgs{
-// Address: pulumi.String("192.168.10.10"),
-// Node: pulumi.String("foobar"),
-// Services: consul.CatalogEntryServiceArray{
-// &consul.CatalogEntryServiceArgs{
-// Address: pulumi.String("127.0.0.1"),
-// Id: pulumi.String("redis1"),
-// Name: pulumi.String("redis"),
-// Port: pulumi.Int(8000),
-// Tags: pulumi.StringArray{
-// pulumi.String("master"),
-// pulumi.String("v1"),
-// },
-// },
-// },
-// })
-// if err != nil {
-// return err
-// }
-// return nil
-// })
-// }
-//
-// ```
type CatalogEntry struct {
pulumi.CustomResourceState
diff --git a/sdk/go/consul/configEntry.go b/sdk/go/consul/configEntry.go
index e0bda7e2..2ea3da2a 100644
--- a/sdk/go/consul/configEntry.go
+++ b/sdk/go/consul/configEntry.go
@@ -13,482 +13,6 @@ import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumix"
)
-// ## Example Usage
-//
-// ```go
-// package main
-//
-// import (
-//
-// "encoding/json"
-//
-// "github.com/pulumi/pulumi-consul/sdk/v3/go/consul"
-// "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
-//
-// )
-//
-// func main() {
-// pulumi.Run(func(ctx *pulumi.Context) error {
-// tmpJSON0, err := json.Marshal(map[string]interface{}{
-// "Config": map[string]interface{}{
-// "local_connect_timeout_ms": 1000,
-// "handshake_timeout_ms": 10000,
-// },
-// })
-// if err != nil {
-// return err
-// }
-// json0 := string(tmpJSON0)
-// _, err = consul.NewConfigEntry(ctx, "proxyDefaults", &consul.ConfigEntryArgs{
-// Kind: pulumi.String("proxy-defaults"),
-// ConfigJson: pulumi.String(json0),
-// })
-// if err != nil {
-// return err
-// }
-// tmpJSON1, err := json.Marshal(map[string]interface{}{
-// "Protocol": "http",
-// })
-// if err != nil {
-// return err
-// }
-// json1 := string(tmpJSON1)
-// _, err = consul.NewConfigEntry(ctx, "web", &consul.ConfigEntryArgs{
-// Kind: pulumi.String("service-defaults"),
-// ConfigJson: pulumi.String(json1),
-// })
-// if err != nil {
-// return err
-// }
-// tmpJSON2, err := json.Marshal(map[string]interface{}{
-// "Protocol": "http",
-// })
-// if err != nil {
-// return err
-// }
-// json2 := string(tmpJSON2)
-// _, err = consul.NewConfigEntry(ctx, "admin", &consul.ConfigEntryArgs{
-// Kind: pulumi.String("service-defaults"),
-// ConfigJson: pulumi.String(json2),
-// })
-// if err != nil {
-// return err
-// }
-// tmpJSON3, err := json.Marshal(map[string]interface{}{
-// "DefaultSubset": "v1",
-// "Subsets": map[string]interface{}{
-// "v1": map[string]interface{}{
-// "Filter": "Service.Meta.version == v1",
-// },
-// "v2": map[string]interface{}{
-// "Filter": "Service.Meta.version == v2",
-// },
-// },
-// })
-// if err != nil {
-// return err
-// }
-// json3 := string(tmpJSON3)
-// _, err = consul.NewConfigEntry(ctx, "serviceResolver", &consul.ConfigEntryArgs{
-// Kind: pulumi.String("service-resolver"),
-// ConfigJson: pulumi.String(json3),
-// })
-// if err != nil {
-// return err
-// }
-// tmpJSON4, err := json.Marshal(map[string]interface{}{
-// "Splits": []interface{}{
-// map[string]interface{}{
-// "Weight": 90,
-// "ServiceSubset": "v1",
-// },
-// map[string]interface{}{
-// "Weight": 10,
-// "ServiceSubset": "v2",
-// },
-// },
-// })
-// if err != nil {
-// return err
-// }
-// json4 := string(tmpJSON4)
-// _, err = consul.NewConfigEntry(ctx, "serviceSplitter", &consul.ConfigEntryArgs{
-// Kind: pulumi.String("service-splitter"),
-// ConfigJson: pulumi.String(json4),
-// })
-// if err != nil {
-// return err
-// }
-// tmpJSON5, err := json.Marshal(map[string]interface{}{
-// "Routes": []map[string]interface{}{
-// map[string]interface{}{
-// "Match": map[string]interface{}{
-// "HTTP": map[string]interface{}{
-// "PathPrefix": "/admin",
-// },
-// },
-// "Destination": map[string]interface{}{
-// "Service": "admin",
-// },
-// },
-// },
-// })
-// if err != nil {
-// return err
-// }
-// json5 := string(tmpJSON5)
-// _, err = consul.NewConfigEntry(ctx, "serviceRouter", &consul.ConfigEntryArgs{
-// Kind: pulumi.String("service-router"),
-// ConfigJson: pulumi.String(json5),
-// })
-// if err != nil {
-// return err
-// }
-// tmpJSON6, err := json.Marshal(map[string]interface{}{
-// "TLS": map[string]interface{}{
-// "Enabled": true,
-// },
-// "Listeners": []map[string]interface{}{
-// map[string]interface{}{
-// "Port": 8000,
-// "Protocol": "http",
-// "Services": []map[string]interface{}{
-// map[string]interface{}{
-// "Name": "*",
-// },
-// },
-// },
-// },
-// })
-// if err != nil {
-// return err
-// }
-// json6 := string(tmpJSON6)
-// _, err = consul.NewConfigEntry(ctx, "ingressGateway", &consul.ConfigEntryArgs{
-// Kind: pulumi.String("ingress-gateway"),
-// ConfigJson: pulumi.String(json6),
-// })
-// if err != nil {
-// return err
-// }
-// tmpJSON7, err := json.Marshal(map[string]interface{}{
-// "Services": []map[string]interface{}{
-// map[string]interface{}{
-// "Name": "billing",
-// },
-// },
-// })
-// if err != nil {
-// return err
-// }
-// json7 := string(tmpJSON7)
-// _, err = consul.NewConfigEntry(ctx, "terminatingGateway", &consul.ConfigEntryArgs{
-// Kind: pulumi.String("terminating-gateway"),
-// ConfigJson: pulumi.String(json7),
-// })
-// if err != nil {
-// return err
-// }
-// return nil
-// })
-// }
-//
-// ```
-// ### `service-intentions` config entry
-//
-// ```go
-// package main
-//
-// import (
-//
-// "encoding/json"
-//
-// "github.com/pulumi/pulumi-consul/sdk/v3/go/consul"
-// "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
-//
-// )
-//
-// func main() {
-// pulumi.Run(func(ctx *pulumi.Context) error {
-// tmpJSON0, err := json.Marshal(map[string]interface{}{
-// "Sources": []map[string]interface{}{
-// map[string]interface{}{
-// "Action": "allow",
-// "Name": "frontend-webapp",
-// "Precedence": 9,
-// "Type": "consul",
-// },
-// map[string]interface{}{
-// "Action": "allow",
-// "Name": "nightly-cronjob",
-// "Precedence": 9,
-// "Type": "consul",
-// },
-// },
-// })
-// if err != nil {
-// return err
-// }
-// json0 := string(tmpJSON0)
-// _, err = consul.NewConfigEntry(ctx, "serviceIntentions", &consul.ConfigEntryArgs{
-// Kind: pulumi.String("service-intentions"),
-// ConfigJson: pulumi.String(json0),
-// })
-// if err != nil {
-// return err
-// }
-// return nil
-// })
-// }
-//
-// ```
-//
-// ```go
-// package main
-//
-// import (
-//
-// "encoding/json"
-//
-// "github.com/pulumi/pulumi-consul/sdk/v3/go/consul"
-// "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
-//
-// )
-//
-// func main() {
-// pulumi.Run(func(ctx *pulumi.Context) error {
-// tmpJSON0, err := json.Marshal(map[string]interface{}{
-// "Protocol": "http",
-// })
-// if err != nil {
-// return err
-// }
-// json0 := string(tmpJSON0)
-// _, err = consul.NewConfigEntry(ctx, "sd", &consul.ConfigEntryArgs{
-// Kind: pulumi.String("service-defaults"),
-// ConfigJson: pulumi.String(json0),
-// })
-// if err != nil {
-// return err
-// }
-// tmpJSON1, err := json.Marshal(map[string]interface{}{
-// "Issuer": "test-issuer",
-// "JSONWebKeySet": map[string]interface{}{
-// "Remote": map[string]interface{}{
-// "URI": "https://127.0.0.1:9091",
-// "FetchAsynchronously": true,
-// },
-// },
-// "Forwarding": map[string]interface{}{
-// "HeaderName": "test-token",
-// },
-// })
-// if err != nil {
-// return err
-// }
-// json1 := string(tmpJSON1)
-// jwtProvider, err := consul.NewConfigEntry(ctx, "jwtProvider", &consul.ConfigEntryArgs{
-// Kind: pulumi.String("jwt-provider"),
-// ConfigJson: pulumi.String(json1),
-// })
-// if err != nil {
-// return err
-// }
-// _, err = consul.NewConfigEntry(ctx, "serviceIntentions", &consul.ConfigEntryArgs{
-// Kind: pulumi.String("service-intentions"),
-// ConfigJson: jwtProvider.Name.ApplyT(func(name string) (pulumi.String, error) {
-// var _zero pulumi.String
-// tmpJSON2, err := json.Marshal(map[string]interface{}{
-// "Sources": []interface{}{
-// map[string]interface{}{
-// "Name": "contractor-webapp",
-// "Permissions": []map[string]interface{}{
-// map[string]interface{}{
-// "Action": "allow",
-// "HTTP": map[string]interface{}{
-// "Methods": []string{
-// "GET",
-// "HEAD",
-// },
-// "PathExact": "/healtz",
-// },
-// "JWT": map[string]interface{}{
-// "Providers": []map[string]interface{}{
-// map[string]interface{}{
-// "Name": name,
-// },
-// },
-// },
-// },
-// },
-// "Precedence": 9,
-// "Type": "consul",
-// },
-// map[string]interface{}{
-// "Name": "admin-dashboard-webapp",
-// "Permissions": []map[string]interface{}{
-// map[string]interface{}{
-// "Action": "deny",
-// "HTTP": map[string]interface{}{
-// "PathPrefix": "/debugz",
-// },
-// },
-// map[string]interface{}{
-// "Action": "allow",
-// "HTTP": map[string]interface{}{
-// "PathPrefix": "/",
-// },
-// },
-// },
-// "Precedence": 9,
-// "Type": "consul",
-// },
-// },
-// })
-// if err != nil {
-// return _zero, err
-// }
-// json2 := string(tmpJSON2)
-// return pulumi.String(json2), nil
-// }).(pulumi.StringOutput),
-// })
-// if err != nil {
-// return err
-// }
-// return nil
-// })
-// }
-//
-// ```
-// ### `exported-services` config entry
-//
-// ```go
-// package main
-//
-// import (
-//
-// "encoding/json"
-//
-// "github.com/pulumi/pulumi-consul/sdk/v3/go/consul"
-// "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
-//
-// )
-//
-// func main() {
-// pulumi.Run(func(ctx *pulumi.Context) error {
-// tmpJSON0, err := json.Marshal(map[string]interface{}{
-// "Services": []map[string]interface{}{
-// map[string]interface{}{
-// "Name": "test",
-// "Namespace": "default",
-// "Consumers": []map[string]interface{}{
-// map[string]interface{}{
-// "Partition": "default",
-// },
-// },
-// },
-// },
-// })
-// if err != nil {
-// return err
-// }
-// json0 := string(tmpJSON0)
-// _, err = consul.NewConfigEntry(ctx, "exportedServices", &consul.ConfigEntryArgs{
-// Kind: pulumi.String("exported-services"),
-// ConfigJson: pulumi.String(json0),
-// })
-// if err != nil {
-// return err
-// }
-// return nil
-// })
-// }
-//
-// ```
-// ### `mesh` config entry
-//
-// ```go
-// package main
-//
-// import (
-//
-// "encoding/json"
-//
-// "github.com/pulumi/pulumi-consul/sdk/v3/go/consul"
-// "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
-//
-// )
-//
-// func main() {
-// pulumi.Run(func(ctx *pulumi.Context) error {
-// tmpJSON0, err := json.Marshal(map[string]interface{}{
-// "TransparentProxy": map[string]interface{}{
-// "MeshDestinationsOnly": true,
-// },
-// })
-// if err != nil {
-// return err
-// }
-// json0 := string(tmpJSON0)
-// _, err = consul.NewConfigEntry(ctx, "mesh", &consul.ConfigEntryArgs{
-// Kind: pulumi.String("mesh"),
-// Partition: pulumi.String("default"),
-// ConfigJson: pulumi.String(json0),
-// })
-// if err != nil {
-// return err
-// }
-// return nil
-// })
-// }
-//
-// ```
-// ### `jwt-provider` config entry
-//
-// ```go
-// package main
-//
-// import (
-//
-// "encoding/json"
-//
-// "github.com/pulumi/pulumi-consul/sdk/v3/go/consul"
-// "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
-//
-// )
-//
-// func main() {
-// pulumi.Run(func(ctx *pulumi.Context) error {
-// tmpJSON0, err := json.Marshal(map[string]interface{}{
-// "Issuer": "https://your.issuer.com",
-// "JSONWebKeySet": map[string]interface{}{
-// "Remote": map[string]interface{}{
-// "URI": "https://your-remote.jwks.com",
-// "FetchAsynchronously": true,
-// "CacheDuration": "10s",
-// },
-// },
-// "Forwarding": map[string]interface{}{
-// "HeaderName": "test-token",
-// },
-// })
-// if err != nil {
-// return err
-// }
-// json0 := string(tmpJSON0)
-// _, err = consul.NewConfigEntry(ctx, "jwtProvider", &consul.ConfigEntryArgs{
-// Kind: pulumi.String("jwt-provider"),
-// ConfigJson: pulumi.String(json0),
-// })
-// if err != nil {
-// return err
-// }
-// return nil
-// })
-// }
-//
-// ```
-//
// ## Import
//
// `consul_config_entry` can be imported using the syntax `/` if the config entry is in the default partition and default namespace, or `///` for config entries in a non-default partition or namespace:
diff --git a/sdk/go/consul/getAclAuthMethod.go b/sdk/go/consul/getAclAuthMethod.go
index 11e470f9..a9b745f4 100644
--- a/sdk/go/consul/getAclAuthMethod.go
+++ b/sdk/go/consul/getAclAuthMethod.go
@@ -14,33 +14,6 @@ import (
// The `AclAuthMethod` data source returns the information related to a
// [Consul Auth Method](https://www.consul.io/docs/acl/acl-auth-methods.html).
-//
-// ## Example Usage
-//
-// ```go
-// package main
-//
-// import (
-//
-// "github.com/pulumi/pulumi-consul/sdk/v3/go/consul"
-// "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
-//
-// )
-//
-// func main() {
-// pulumi.Run(func(ctx *pulumi.Context) error {
-// test, err := consul.LookupAclAuthMethod(ctx, &consul.LookupAclAuthMethodArgs{
-// Name: "minikube",
-// }, nil)
-// if err != nil {
-// return err
-// }
-// ctx.Export("consulAclAuthMethod", test.Config)
-// return nil
-// })
-// }
-//
-// ```
func LookupAclAuthMethod(ctx *pulumi.Context, args *LookupAclAuthMethodArgs, opts ...pulumi.InvokeOption) (*LookupAclAuthMethodResult, error) {
opts = internal.PkgInvokeDefaultOpts(opts)
var rv LookupAclAuthMethodResult
diff --git a/sdk/go/consul/getAclPolicy.go b/sdk/go/consul/getAclPolicy.go
index bc01f444..b2695556 100644
--- a/sdk/go/consul/getAclPolicy.go
+++ b/sdk/go/consul/getAclPolicy.go
@@ -14,33 +14,6 @@ import (
// The `AclPolicy` data source returns the information related to a
// [Consul ACL Policy](https://www.consul.io/docs/acl/acl-system.html#acl-policies).
-//
-// ## Example Usage
-//
-// ```go
-// package main
-//
-// import (
-//
-// "github.com/pulumi/pulumi-consul/sdk/v3/go/consul"
-// "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
-//
-// )
-//
-// func main() {
-// pulumi.Run(func(ctx *pulumi.Context) error {
-// agent, err := consul.LookupAclPolicy(ctx, &consul.LookupAclPolicyArgs{
-// Name: "agent",
-// }, nil)
-// if err != nil {
-// return err
-// }
-// ctx.Export("consulAclPolicy", agent.Rules)
-// return nil
-// })
-// }
-//
-// ```
func LookupAclPolicy(ctx *pulumi.Context, args *LookupAclPolicyArgs, opts ...pulumi.InvokeOption) (*LookupAclPolicyResult, error) {
opts = internal.PkgInvokeDefaultOpts(opts)
var rv LookupAclPolicyResult
diff --git a/sdk/go/consul/getAclRole.go b/sdk/go/consul/getAclRole.go
index 66c86700..99770faf 100644
--- a/sdk/go/consul/getAclRole.go
+++ b/sdk/go/consul/getAclRole.go
@@ -14,33 +14,6 @@ import (
// The `AclRole` data source returns the information related to a
// [Consul ACL Role](https://www.consul.io/api/acl/roles.html).
-//
-// ## Example Usage
-//
-// ```go
-// package main
-//
-// import (
-//
-// "github.com/pulumi/pulumi-consul/sdk/v3/go/consul"
-// "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
-//
-// )
-//
-// func main() {
-// pulumi.Run(func(ctx *pulumi.Context) error {
-// test, err := consul.LookupAclRole(ctx, &consul.LookupAclRoleArgs{
-// Name: "example-role",
-// }, nil)
-// if err != nil {
-// return err
-// }
-// ctx.Export("consulAclRole", test.Id)
-// return nil
-// })
-// }
-//
-// ```
func LookupAclRole(ctx *pulumi.Context, args *LookupAclRoleArgs, opts ...pulumi.InvokeOption) (*LookupAclRoleResult, error) {
opts = internal.PkgInvokeDefaultOpts(opts)
var rv LookupAclRoleResult
diff --git a/sdk/go/consul/getAclToken.go b/sdk/go/consul/getAclToken.go
index aa330b7b..dc1f446f 100644
--- a/sdk/go/consul/getAclToken.go
+++ b/sdk/go/consul/getAclToken.go
@@ -17,33 +17,6 @@ import (
//
// If you want to get the secret ID associated with a token, use the
// [`getAclTokenSecretId` data source](https://www.terraform.io/docs/providers/consul/d/acl_token_secret_id.html).
-//
-// ## Example Usage
-//
-// ```go
-// package main
-//
-// import (
-//
-// "github.com/pulumi/pulumi-consul/sdk/v3/go/consul"
-// "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
-//
-// )
-//
-// func main() {
-// pulumi.Run(func(ctx *pulumi.Context) error {
-// test, err := consul.LookupAclToken(ctx, &consul.LookupAclTokenArgs{
-// AccessorId: "00000000-0000-0000-0000-000000000002",
-// }, nil)
-// if err != nil {
-// return err
-// }
-// ctx.Export("consulAclPolicies", test.Policies)
-// return nil
-// })
-// }
-//
-// ```
func LookupAclToken(ctx *pulumi.Context, args *LookupAclTokenArgs, opts ...pulumi.InvokeOption) (*LookupAclTokenResult, error) {
opts = internal.PkgInvokeDefaultOpts(opts)
var rv LookupAclTokenResult
diff --git a/sdk/go/consul/getAclTokenSecretId.go b/sdk/go/consul/getAclTokenSecretId.go
index a9764d1e..4d302b61 100644
--- a/sdk/go/consul/getAclTokenSecretId.go
+++ b/sdk/go/consul/getAclTokenSecretId.go
@@ -12,51 +12,6 @@ import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumix"
)
-// ## Example Usage
-//
-// ```go
-// package main
-//
-// import (
-//
-// "github.com/pulumi/pulumi-consul/sdk/v3/go/consul"
-// "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
-//
-// )
-//
-// func main() {
-// pulumi.Run(func(ctx *pulumi.Context) error {
-// testAclPolicy, err := consul.NewAclPolicy(ctx, "testAclPolicy", &consul.AclPolicyArgs{
-// Rules: pulumi.String("node \"\" { policy = \"read\" }"),
-// Datacenters: pulumi.StringArray{
-// pulumi.String("dc1"),
-// },
-// })
-// if err != nil {
-// return err
-// }
-// testAclToken, err := consul.NewAclToken(ctx, "testAclToken", &consul.AclTokenArgs{
-// Description: pulumi.String("test"),
-// Policies: pulumi.StringArray{
-// testAclPolicy.Name,
-// },
-// Local: pulumi.Bool(true),
-// })
-// if err != nil {
-// return err
-// }
-// read := consul.GetAclTokenSecretIdOutput(ctx, consul.GetAclTokenSecretIdOutputArgs{
-// AccessorId: testAclToken.ID(),
-// PgpKey: pulumi.String("keybase:my_username"),
-// }, nil)
-// ctx.Export("consulAclTokenSecretId", read.ApplyT(func(read consul.GetAclTokenSecretIdResult) (*string, error) {
-// return &read.EncryptedSecretId, nil
-// }).(pulumi.StringPtrOutput))
-// return nil
-// })
-// }
-//
-// ```
func GetAclTokenSecretId(ctx *pulumi.Context, args *GetAclTokenSecretIdArgs, opts ...pulumi.InvokeOption) (*GetAclTokenSecretIdResult, error) {
opts = internal.PkgInvokeDefaultOpts(opts)
var rv GetAclTokenSecretIdResult
diff --git a/sdk/go/consul/getAgentConfig.go b/sdk/go/consul/getAgentConfig.go
index f40dc131..e41652ea 100644
--- a/sdk/go/consul/getAgentConfig.go
+++ b/sdk/go/consul/getAgentConfig.go
@@ -4,8 +4,12 @@
package consul
import (
+ "context"
+ "reflect"
+
"github.com/pulumi/pulumi-consul/sdk/v3/go/consul/internal"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
+ "github.com/pulumi/pulumi/sdk/v3/go/pulumix"
)
// > **Note:** The `getAgentConfig` resource differs from [`getAgentSelf`](https://www.terraform.io/docs/providers/consul/d/agent_self.html),
@@ -15,31 +19,6 @@ import (
// The `getAgentConfig` data source returns
// [configuration data](https://www.consul.io/api/agent.html#read-configuration)
// from the agent specified in the `provider`.
-//
-// ## Example Usage
-//
-// ```go
-// package main
-//
-// import (
-//
-// "github.com/pulumi/pulumi-consul/sdk/v3/go/consul"
-// "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
-//
-// )
-//
-// func main() {
-// pulumi.Run(func(ctx *pulumi.Context) error {
-// remoteAgent, err := consul.GetAgentConfig(ctx, nil, nil)
-// if err != nil {
-// return err
-// }
-// ctx.Export("consulVersion", remoteAgent.Version)
-// return nil
-// })
-// }
-//
-// ```
func GetAgentConfig(ctx *pulumi.Context, opts ...pulumi.InvokeOption) (*GetAgentConfigResult, error) {
opts = internal.PkgInvokeDefaultOpts(opts)
var rv GetAgentConfigResult
@@ -67,3 +46,74 @@ type GetAgentConfigResult struct {
// The version of the build of Consul that is running
Version string `pulumi:"version"`
}
+
+func GetAgentConfigOutput(ctx *pulumi.Context, opts ...pulumi.InvokeOption) GetAgentConfigResultOutput {
+ return pulumi.ToOutput(0).ApplyT(func(int) (GetAgentConfigResult, error) {
+ r, err := GetAgentConfig(ctx, opts...)
+ var s GetAgentConfigResult
+ if r != nil {
+ s = *r
+ }
+ return s, err
+ }).(GetAgentConfigResultOutput)
+}
+
+// A collection of values returned by getAgentConfig.
+type GetAgentConfigResultOutput struct{ *pulumi.OutputState }
+
+func (GetAgentConfigResultOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*GetAgentConfigResult)(nil)).Elem()
+}
+
+func (o GetAgentConfigResultOutput) ToGetAgentConfigResultOutput() GetAgentConfigResultOutput {
+ return o
+}
+
+func (o GetAgentConfigResultOutput) ToGetAgentConfigResultOutputWithContext(ctx context.Context) GetAgentConfigResultOutput {
+ return o
+}
+
+func (o GetAgentConfigResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetAgentConfigResult] {
+ return pulumix.Output[GetAgentConfigResult]{
+ OutputState: o.OutputState,
+ }
+}
+
+// The datacenter the agent is running in
+func (o GetAgentConfigResultOutput) Datacenter() pulumi.StringOutput {
+ return o.ApplyT(func(v GetAgentConfigResult) string { return v.Datacenter }).(pulumi.StringOutput)
+}
+
+// The provider-assigned unique ID for this managed resource.
+func (o GetAgentConfigResultOutput) Id() pulumi.StringOutput {
+ return o.ApplyT(func(v GetAgentConfigResult) string { return v.Id }).(pulumi.StringOutput)
+}
+
+// The ID of the node the agent is running on
+func (o GetAgentConfigResultOutput) NodeId() pulumi.StringOutput {
+ return o.ApplyT(func(v GetAgentConfigResult) string { return v.NodeId }).(pulumi.StringOutput)
+}
+
+// The name of the node the agent is running on
+func (o GetAgentConfigResultOutput) NodeName() pulumi.StringOutput {
+ return o.ApplyT(func(v GetAgentConfigResult) string { return v.NodeName }).(pulumi.StringOutput)
+}
+
+// The first 9 characters of the VCS revision of the build of Consul that is running
+func (o GetAgentConfigResultOutput) Revision() pulumi.StringOutput {
+ return o.ApplyT(func(v GetAgentConfigResult) string { return v.Revision }).(pulumi.StringOutput)
+}
+
+// Boolean if the agent is a server or not
+func (o GetAgentConfigResultOutput) Server() pulumi.BoolOutput {
+ return o.ApplyT(func(v GetAgentConfigResult) bool { return v.Server }).(pulumi.BoolOutput)
+}
+
+// The version of the build of Consul that is running
+func (o GetAgentConfigResultOutput) Version() pulumi.StringOutput {
+ return o.ApplyT(func(v GetAgentConfigResult) string { return v.Version }).(pulumi.StringOutput)
+}
+
+func init() {
+ pulumi.RegisterOutputType(GetAgentConfigResultOutput{})
+}
diff --git a/sdk/go/consul/getAgentSelf.go b/sdk/go/consul/getAgentSelf.go
index 5c12d0a2..9f6bb351 100644
--- a/sdk/go/consul/getAgentSelf.go
+++ b/sdk/go/consul/getAgentSelf.go
@@ -4,8 +4,12 @@
package consul
import (
+ "context"
+ "reflect"
+
"github.com/pulumi/pulumi-consul/sdk/v3/go/consul/internal"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
+ "github.com/pulumi/pulumi/sdk/v3/go/pulumix"
)
// > **Warning:** The `getAgentSelf` resource has been deprecated and will be removed
@@ -170,3 +174,398 @@ type GetAgentSelfResult struct {
VersionPrerelease string `pulumi:"versionPrerelease"`
VersionRevision string `pulumi:"versionRevision"`
}
+
+func GetAgentSelfOutput(ctx *pulumi.Context, opts ...pulumi.InvokeOption) GetAgentSelfResultOutput {
+ return pulumi.ToOutput(0).ApplyT(func(int) (GetAgentSelfResult, error) {
+ r, err := GetAgentSelf(ctx, opts...)
+ var s GetAgentSelfResult
+ if r != nil {
+ s = *r
+ }
+ return s, err
+ }).(GetAgentSelfResultOutput)
+}
+
+// A collection of values returned by getAgentSelf.
+type GetAgentSelfResultOutput struct{ *pulumi.OutputState }
+
+func (GetAgentSelfResultOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*GetAgentSelfResult)(nil)).Elem()
+}
+
+func (o GetAgentSelfResultOutput) ToGetAgentSelfResultOutput() GetAgentSelfResultOutput {
+ return o
+}
+
+func (o GetAgentSelfResultOutput) ToGetAgentSelfResultOutputWithContext(ctx context.Context) GetAgentSelfResultOutput {
+ return o
+}
+
+func (o GetAgentSelfResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetAgentSelfResult] {
+ return pulumix.Output[GetAgentSelfResult]{
+ OutputState: o.OutputState,
+ }
+}
+
+func (o GetAgentSelfResultOutput) AclDatacenter() pulumi.StringOutput {
+ return o.ApplyT(func(v GetAgentSelfResult) string { return v.AclDatacenter }).(pulumi.StringOutput)
+}
+
+func (o GetAgentSelfResultOutput) AclDefaultPolicy() pulumi.StringOutput {
+ return o.ApplyT(func(v GetAgentSelfResult) string { return v.AclDefaultPolicy }).(pulumi.StringOutput)
+}
+
+// * [`aclDownPolicy`](https://www.consul.io/docs/agent/options.html#acl_down_policy)
+// * [`aclEnforce08Semantics`](https://www.consul.io/docs/agent/options.html#acl_enforce_version_8)
+// * [`aclTtl`](https://www.consul.io/docs/agent/options.html#acl_ttl)
+// * [`addresses`](https://www.consul.io/docs/agent/options.html#addresses)
+// * [`advertiseAddr`](https://www.consul.io/docs/agent/options.html#_advertise)
+// * [`advertiseAddrWan`](https://www.consul.io/docs/agent/options.html#_advertise-wan)
+// * [`advertiseAddrs`](https://www.consul.io/docs/agent/options.html#advertise_addrs)
+// * [`atlasJoin`](https://www.consul.io/docs/agent/options.html#_atlas_join)
+// * [`bindAddr`](https://www.consul.io/docs/agent/options.html#_bind)
+// * [`bootstrapExpect`](https://www.consul.io/docs/agent/options.html#_bootstrap_expect)
+// * [`bootstrapMode`](https://www.consul.io/docs/agent/options.html#_bootstrap)
+func (o GetAgentSelfResultOutput) AclDisabledTtl() pulumi.StringOutput {
+ return o.ApplyT(func(v GetAgentSelfResult) string { return v.AclDisabledTtl }).(pulumi.StringOutput)
+}
+
+func (o GetAgentSelfResultOutput) AclDownPolicy() pulumi.StringOutput {
+ return o.ApplyT(func(v GetAgentSelfResult) string { return v.AclDownPolicy }).(pulumi.StringOutput)
+}
+
+func (o GetAgentSelfResultOutput) AclEnforce08Semantics() pulumi.BoolOutput {
+ return o.ApplyT(func(v GetAgentSelfResult) bool { return v.AclEnforce08Semantics }).(pulumi.BoolOutput)
+}
+
+func (o GetAgentSelfResultOutput) AclTtl() pulumi.StringOutput {
+ return o.ApplyT(func(v GetAgentSelfResult) string { return v.AclTtl }).(pulumi.StringOutput)
+}
+
+func (o GetAgentSelfResultOutput) Addresses() pulumi.StringMapOutput {
+ return o.ApplyT(func(v GetAgentSelfResult) map[string]string { return v.Addresses }).(pulumi.StringMapOutput)
+}
+
+func (o GetAgentSelfResultOutput) AdvertiseAddr() pulumi.StringOutput {
+ return o.ApplyT(func(v GetAgentSelfResult) string { return v.AdvertiseAddr }).(pulumi.StringOutput)
+}
+
+func (o GetAgentSelfResultOutput) AdvertiseAddrWan() pulumi.StringOutput {
+ return o.ApplyT(func(v GetAgentSelfResult) string { return v.AdvertiseAddrWan }).(pulumi.StringOutput)
+}
+
+func (o GetAgentSelfResultOutput) AdvertiseAddrs() pulumi.StringMapOutput {
+ return o.ApplyT(func(v GetAgentSelfResult) map[string]string { return v.AdvertiseAddrs }).(pulumi.StringMapOutput)
+}
+
+func (o GetAgentSelfResultOutput) AtlasJoin() pulumi.BoolOutput {
+ return o.ApplyT(func(v GetAgentSelfResult) bool { return v.AtlasJoin }).(pulumi.BoolOutput)
+}
+
+func (o GetAgentSelfResultOutput) BindAddr() pulumi.StringOutput {
+ return o.ApplyT(func(v GetAgentSelfResult) string { return v.BindAddr }).(pulumi.StringOutput)
+}
+
+func (o GetAgentSelfResultOutput) BootstrapExpect() pulumi.IntOutput {
+ return o.ApplyT(func(v GetAgentSelfResult) int { return v.BootstrapExpect }).(pulumi.IntOutput)
+}
+
+func (o GetAgentSelfResultOutput) BootstrapMode() pulumi.BoolOutput {
+ return o.ApplyT(func(v GetAgentSelfResult) bool { return v.BootstrapMode }).(pulumi.BoolOutput)
+}
+
+func (o GetAgentSelfResultOutput) CheckDeregisterIntervalMin() pulumi.StringOutput {
+ return o.ApplyT(func(v GetAgentSelfResult) string { return v.CheckDeregisterIntervalMin }).(pulumi.StringOutput)
+}
+
+// * [`checkUpdateInterval`](https://www.consul.io/docs/agent/options.html#check_update_interval)
+// * [`clientAddr`](https://www.consul.io/docs/agent/options.html#_client)
+func (o GetAgentSelfResultOutput) CheckReapInterval() pulumi.StringOutput {
+ return o.ApplyT(func(v GetAgentSelfResult) string { return v.CheckReapInterval }).(pulumi.StringOutput)
+}
+
+func (o GetAgentSelfResultOutput) CheckUpdateInterval() pulumi.StringOutput {
+ return o.ApplyT(func(v GetAgentSelfResult) string { return v.CheckUpdateInterval }).(pulumi.StringOutput)
+}
+
+func (o GetAgentSelfResultOutput) ClientAddr() pulumi.StringOutput {
+ return o.ApplyT(func(v GetAgentSelfResult) string { return v.ClientAddr }).(pulumi.StringOutput)
+}
+
+func (o GetAgentSelfResultOutput) DataDir() pulumi.StringOutput {
+ return o.ApplyT(func(v GetAgentSelfResult) string { return v.DataDir }).(pulumi.StringOutput)
+}
+
+func (o GetAgentSelfResultOutput) Datacenter() pulumi.StringOutput {
+ return o.ApplyT(func(v GetAgentSelfResult) string { return v.Datacenter }).(pulumi.StringOutput)
+}
+
+func (o GetAgentSelfResultOutput) DevMode() pulumi.BoolOutput {
+ return o.ApplyT(func(v GetAgentSelfResult) bool { return v.DevMode }).(pulumi.BoolOutput)
+}
+
+// A map of DNS configuration attributes. See below for details on the
+// contents of the `dns` attribute.
+// - [`dnsRecursors`](https://www.consul.io/docs/agent/options.html#recursors) - A
+// list of all DNS recursors.
+// - [`dataDir`](https://www.consul.io/docs/agent/options.html#_data_dir)
+// - [`datacenter`](https://www.consul.io/docs/agent/options.html#_datacenter)
+// - [`devMode`](https://www.consul.io/docs/agent/options.html#_dev)
+// - [`domain`](https://www.consul.io/docs/agent/options.html#_domain)
+// - [`enableAnonymousSignature`](https://www.consul.io/docs/agent/options.html#disable_anonymous_signature)
+func (o GetAgentSelfResultOutput) Dns() pulumi.StringMapOutput {
+ return o.ApplyT(func(v GetAgentSelfResult) map[string]string { return v.Dns }).(pulumi.StringMapOutput)
+}
+
+func (o GetAgentSelfResultOutput) DnsRecursors() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v GetAgentSelfResult) []string { return v.DnsRecursors }).(pulumi.StringArrayOutput)
+}
+
+func (o GetAgentSelfResultOutput) Domain() pulumi.StringOutput {
+ return o.ApplyT(func(v GetAgentSelfResult) string { return v.Domain }).(pulumi.StringOutput)
+}
+
+func (o GetAgentSelfResultOutput) EnableAnonymousSignature() pulumi.BoolOutput {
+ return o.ApplyT(func(v GetAgentSelfResult) bool { return v.EnableAnonymousSignature }).(pulumi.BoolOutput)
+}
+
+// - [`enableDebug`](https://www.consul.io/docs/agent/options.html#enable_debug)
+// - [`enableRemoteExec`](https://www.consul.io/docs/agent/options.html#disable_remote_exec)
+// - [`enableSyslog`](https://www.consul.io/docs/agent/options.html#_syslog)
+// - [`enableUi`](https://www.consul.io/docs/agent/options.html#_ui)
+// - [`enableUpdateCheck`](https://www.consul.io/docs/agent/options.html#disable_update_check)
+// - [`id`](https://www.consul.io/docs/agent/options.html#_node_id)
+// - [`leaveOnInt`](https://www.consul.io/docs/agent/options.html#skip_leave_on_interrupt)
+// - [`leaveOnTerm`](https://www.consul.io/docs/agent/options.html#leave_on_terminate)
+// - [`logLevel`](https://www.consul.io/docs/agent/options.html#_log_level)
+// - [`name`](https://www.consul.io/docs/agent/options.html#_node)
+// - [`performance`](https://www.consul.io/docs/agent/options.html#performance)
+// - [`pidFile`](https://www.consul.io/docs/agent/options.html#_pid_file)
+// - [`ports`](https://www.consul.io/docs/agent/options.html#ports)
+// - [`protocolVersion`](https://www.consul.io/docs/agent/options.html#_protocol)
+// - [`reconnectTimeoutLan`](https://www.consul.io/docs/agent/options.html#reconnect_timeout)
+// - [`reconnectTimeoutWan`](https://www.consul.io/docs/agent/options.html#reconnect_timeout_wan)
+// - [`rejoinAfterLeave`](https://www.consul.io/docs/agent/options.html#_rejoin)
+// - [`retryJoin`](https://www.consul.io/docs/agent/options.html#retry_join)
+// - [`retryJoinEc2`](https://www.consul.io/docs/agent/options.html#retry_join_ec2) -
+// A map of EC2 retry attributes. See below for details on the available
+// information.
+// - [`retryJoinGce`](https://www.consul.io/docs/agent/options.html#retry_join_gce) -
+// A map of GCE retry attributes. See below for details on the available
+// information.
+// - [`retryJoinWan`](https://www.consul.io/docs/agent/options.html#_retry_join_wan)
+// - [`retryMaxAttempts`](https://www.consul.io/docs/agent/options.html#_retry_max)
+// - [`retryMaxAttemptsWan`](https://www.consul.io/docs/agent/options.html#_retry_max_wan)
+// - [`serfLanBindAddr`](https://www.consul.io/docs/agent/options.html#_serf_lan_bind)
+// - [`serfWanBindAddr`](https://www.consul.io/docs/agent/options.html#_serf_wan_bind)
+// - [`serverMode`](https://www.consul.io/docs/agent/options.html#_server)
+// - [`serverName`](https://www.consul.io/docs/agent/options.html#server_name)
+// - [`sessionTtlMin`](https://www.consul.io/docs/agent/options.html#session_ttl_min)
+// - [`startJoin`](https://www.consul.io/docs/agent/options.html#start_join)
+// - [`startJoinWan`](https://www.consul.io/docs/agent/options.html#start_join_wan)
+// - [`syslogFacility`](https://www.consul.io/docs/agent/options.html#syslog_facility)
+// - [`tlsCaFile`](https://www.consul.io/docs/agent/options.html#ca_file)
+// - [`tlsCertFile`](https://www.consul.io/docs/agent/options.html#cert_file)
+// - [`tlsKeyFile`](https://www.consul.io/docs/agent/options.html#key_file)
+// - [`tlsMinVersion`](https://www.consul.io/docs/agent/options.html#tls_min_version)
+// - [`tlsVerifyIncoming`](https://www.consul.io/docs/agent/options.html#verify_incoming)
+// - [`tlsVerifyOutgoing`](https://www.consul.io/docs/agent/options.html#verify_outgoing)
+// - [`tlsVerifyServerHostname`](https://www.consul.io/docs/agent/options.html#verify_server_hostname)
+// - [`taggedAddresses`](https://www.consul.io/docs/agent/options.html#translate_wan_addrs)
+// - [`telemetry`](https://www.consul.io/docs/agent/options.html#telemetry) - A map
+// of telemetry configuration.
+// - [`translateWanAddrs`](https://www.consul.io/docs/agent/options.html#translate_wan_addrs)
+// - [`uiDir`](https://www.consul.io/docs/agent/options.html#ui_dir)
+// - [`unixSockets`](https://www.consul.io/docs/agent/options.html#unix_sockets)
+func (o GetAgentSelfResultOutput) EnableCoordinates() pulumi.BoolOutput {
+ return o.ApplyT(func(v GetAgentSelfResult) bool { return v.EnableCoordinates }).(pulumi.BoolOutput)
+}
+
+func (o GetAgentSelfResultOutput) EnableDebug() pulumi.BoolOutput {
+ return o.ApplyT(func(v GetAgentSelfResult) bool { return v.EnableDebug }).(pulumi.BoolOutput)
+}
+
+func (o GetAgentSelfResultOutput) EnableRemoteExec() pulumi.BoolOutput {
+ return o.ApplyT(func(v GetAgentSelfResult) bool { return v.EnableRemoteExec }).(pulumi.BoolOutput)
+}
+
+func (o GetAgentSelfResultOutput) EnableSyslog() pulumi.BoolOutput {
+ return o.ApplyT(func(v GetAgentSelfResult) bool { return v.EnableSyslog }).(pulumi.BoolOutput)
+}
+
+func (o GetAgentSelfResultOutput) EnableUi() pulumi.BoolOutput {
+ return o.ApplyT(func(v GetAgentSelfResult) bool { return v.EnableUi }).(pulumi.BoolOutput)
+}
+
+func (o GetAgentSelfResultOutput) EnableUpdateCheck() pulumi.BoolOutput {
+ return o.ApplyT(func(v GetAgentSelfResult) bool { return v.EnableUpdateCheck }).(pulumi.BoolOutput)
+}
+
+func (o GetAgentSelfResultOutput) Id() pulumi.StringOutput {
+ return o.ApplyT(func(v GetAgentSelfResult) string { return v.Id }).(pulumi.StringOutput)
+}
+
+func (o GetAgentSelfResultOutput) LeaveOnInt() pulumi.BoolOutput {
+ return o.ApplyT(func(v GetAgentSelfResult) bool { return v.LeaveOnInt }).(pulumi.BoolOutput)
+}
+
+func (o GetAgentSelfResultOutput) LeaveOnTerm() pulumi.BoolOutput {
+ return o.ApplyT(func(v GetAgentSelfResult) bool { return v.LeaveOnTerm }).(pulumi.BoolOutput)
+}
+
+func (o GetAgentSelfResultOutput) LogLevel() pulumi.StringOutput {
+ return o.ApplyT(func(v GetAgentSelfResult) string { return v.LogLevel }).(pulumi.StringOutput)
+}
+
+func (o GetAgentSelfResultOutput) Name() pulumi.StringOutput {
+ return o.ApplyT(func(v GetAgentSelfResult) string { return v.Name }).(pulumi.StringOutput)
+}
+
+func (o GetAgentSelfResultOutput) Performance() pulumi.StringMapOutput {
+ return o.ApplyT(func(v GetAgentSelfResult) map[string]string { return v.Performance }).(pulumi.StringMapOutput)
+}
+
+func (o GetAgentSelfResultOutput) PidFile() pulumi.StringOutput {
+ return o.ApplyT(func(v GetAgentSelfResult) string { return v.PidFile }).(pulumi.StringOutput)
+}
+
+func (o GetAgentSelfResultOutput) Ports() pulumi.IntMapOutput {
+ return o.ApplyT(func(v GetAgentSelfResult) map[string]int { return v.Ports }).(pulumi.IntMapOutput)
+}
+
+func (o GetAgentSelfResultOutput) ProtocolVersion() pulumi.IntOutput {
+ return o.ApplyT(func(v GetAgentSelfResult) int { return v.ProtocolVersion }).(pulumi.IntOutput)
+}
+
+func (o GetAgentSelfResultOutput) ReconnectTimeoutLan() pulumi.StringOutput {
+ return o.ApplyT(func(v GetAgentSelfResult) string { return v.ReconnectTimeoutLan }).(pulumi.StringOutput)
+}
+
+func (o GetAgentSelfResultOutput) ReconnectTimeoutWan() pulumi.StringOutput {
+ return o.ApplyT(func(v GetAgentSelfResult) string { return v.ReconnectTimeoutWan }).(pulumi.StringOutput)
+}
+
+func (o GetAgentSelfResultOutput) RejoinAfterLeave() pulumi.BoolOutput {
+ return o.ApplyT(func(v GetAgentSelfResult) bool { return v.RejoinAfterLeave }).(pulumi.BoolOutput)
+}
+
+func (o GetAgentSelfResultOutput) RetryJoinEc2() pulumi.StringMapOutput {
+ return o.ApplyT(func(v GetAgentSelfResult) map[string]string { return v.RetryJoinEc2 }).(pulumi.StringMapOutput)
+}
+
+func (o GetAgentSelfResultOutput) RetryJoinGce() pulumi.StringMapOutput {
+ return o.ApplyT(func(v GetAgentSelfResult) map[string]string { return v.RetryJoinGce }).(pulumi.StringMapOutput)
+}
+
+func (o GetAgentSelfResultOutput) RetryJoinWans() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v GetAgentSelfResult) []string { return v.RetryJoinWans }).(pulumi.StringArrayOutput)
+}
+
+func (o GetAgentSelfResultOutput) RetryJoins() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v GetAgentSelfResult) []string { return v.RetryJoins }).(pulumi.StringArrayOutput)
+}
+
+func (o GetAgentSelfResultOutput) RetryMaxAttempts() pulumi.IntOutput {
+ return o.ApplyT(func(v GetAgentSelfResult) int { return v.RetryMaxAttempts }).(pulumi.IntOutput)
+}
+
+func (o GetAgentSelfResultOutput) RetryMaxAttemptsWan() pulumi.IntOutput {
+ return o.ApplyT(func(v GetAgentSelfResult) int { return v.RetryMaxAttemptsWan }).(pulumi.IntOutput)
+}
+
+func (o GetAgentSelfResultOutput) SerfLanBindAddr() pulumi.StringOutput {
+ return o.ApplyT(func(v GetAgentSelfResult) string { return v.SerfLanBindAddr }).(pulumi.StringOutput)
+}
+
+func (o GetAgentSelfResultOutput) SerfWanBindAddr() pulumi.StringOutput {
+ return o.ApplyT(func(v GetAgentSelfResult) string { return v.SerfWanBindAddr }).(pulumi.StringOutput)
+}
+
+func (o GetAgentSelfResultOutput) ServerMode() pulumi.BoolOutput {
+ return o.ApplyT(func(v GetAgentSelfResult) bool { return v.ServerMode }).(pulumi.BoolOutput)
+}
+
+func (o GetAgentSelfResultOutput) ServerName() pulumi.StringOutput {
+ return o.ApplyT(func(v GetAgentSelfResult) string { return v.ServerName }).(pulumi.StringOutput)
+}
+
+func (o GetAgentSelfResultOutput) SessionTtlMin() pulumi.StringOutput {
+ return o.ApplyT(func(v GetAgentSelfResult) string { return v.SessionTtlMin }).(pulumi.StringOutput)
+}
+
+func (o GetAgentSelfResultOutput) StartJoinWans() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v GetAgentSelfResult) []string { return v.StartJoinWans }).(pulumi.StringArrayOutput)
+}
+
+func (o GetAgentSelfResultOutput) StartJoins() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v GetAgentSelfResult) []string { return v.StartJoins }).(pulumi.StringArrayOutput)
+}
+
+func (o GetAgentSelfResultOutput) SyslogFacility() pulumi.StringOutput {
+ return o.ApplyT(func(v GetAgentSelfResult) string { return v.SyslogFacility }).(pulumi.StringOutput)
+}
+
+func (o GetAgentSelfResultOutput) TaggedAddresses() pulumi.StringMapOutput {
+ return o.ApplyT(func(v GetAgentSelfResult) map[string]string { return v.TaggedAddresses }).(pulumi.StringMapOutput)
+}
+
+func (o GetAgentSelfResultOutput) Telemetry() pulumi.StringMapOutput {
+ return o.ApplyT(func(v GetAgentSelfResult) map[string]string { return v.Telemetry }).(pulumi.StringMapOutput)
+}
+
+func (o GetAgentSelfResultOutput) TlsCaFile() pulumi.StringOutput {
+ return o.ApplyT(func(v GetAgentSelfResult) string { return v.TlsCaFile }).(pulumi.StringOutput)
+}
+
+func (o GetAgentSelfResultOutput) TlsCertFile() pulumi.StringOutput {
+ return o.ApplyT(func(v GetAgentSelfResult) string { return v.TlsCertFile }).(pulumi.StringOutput)
+}
+
+func (o GetAgentSelfResultOutput) TlsKeyFile() pulumi.StringOutput {
+ return o.ApplyT(func(v GetAgentSelfResult) string { return v.TlsKeyFile }).(pulumi.StringOutput)
+}
+
+func (o GetAgentSelfResultOutput) TlsMinVersion() pulumi.StringOutput {
+ return o.ApplyT(func(v GetAgentSelfResult) string { return v.TlsMinVersion }).(pulumi.StringOutput)
+}
+
+func (o GetAgentSelfResultOutput) TlsVerifyIncoming() pulumi.BoolOutput {
+ return o.ApplyT(func(v GetAgentSelfResult) bool { return v.TlsVerifyIncoming }).(pulumi.BoolOutput)
+}
+
+func (o GetAgentSelfResultOutput) TlsVerifyOutgoing() pulumi.BoolOutput {
+ return o.ApplyT(func(v GetAgentSelfResult) bool { return v.TlsVerifyOutgoing }).(pulumi.BoolOutput)
+}
+
+func (o GetAgentSelfResultOutput) TlsVerifyServerHostname() pulumi.BoolOutput {
+ return o.ApplyT(func(v GetAgentSelfResult) bool { return v.TlsVerifyServerHostname }).(pulumi.BoolOutput)
+}
+
+func (o GetAgentSelfResultOutput) TranslateWanAddrs() pulumi.BoolOutput {
+ return o.ApplyT(func(v GetAgentSelfResult) bool { return v.TranslateWanAddrs }).(pulumi.BoolOutput)
+}
+
+func (o GetAgentSelfResultOutput) UiDir() pulumi.StringOutput {
+ return o.ApplyT(func(v GetAgentSelfResult) string { return v.UiDir }).(pulumi.StringOutput)
+}
+
+func (o GetAgentSelfResultOutput) UnixSockets() pulumi.StringMapOutput {
+ return o.ApplyT(func(v GetAgentSelfResult) map[string]string { return v.UnixSockets }).(pulumi.StringMapOutput)
+}
+
+// The version of the Consul agent.
+func (o GetAgentSelfResultOutput) Version() pulumi.StringOutput {
+ return o.ApplyT(func(v GetAgentSelfResult) string { return v.Version }).(pulumi.StringOutput)
+}
+
+func (o GetAgentSelfResultOutput) VersionPrerelease() pulumi.StringOutput {
+ return o.ApplyT(func(v GetAgentSelfResult) string { return v.VersionPrerelease }).(pulumi.StringOutput)
+}
+
+func (o GetAgentSelfResultOutput) VersionRevision() pulumi.StringOutput {
+ return o.ApplyT(func(v GetAgentSelfResult) string { return v.VersionRevision }).(pulumi.StringOutput)
+}
+
+func init() {
+ pulumi.RegisterOutputType(GetAgentSelfResultOutput{})
+}
diff --git a/sdk/go/consul/getAutopilotHealth.go b/sdk/go/consul/getAutopilotHealth.go
index ebe25720..cc37d7bb 100644
--- a/sdk/go/consul/getAutopilotHealth.go
+++ b/sdk/go/consul/getAutopilotHealth.go
@@ -15,31 +15,6 @@ import (
// The `getAutopilotHealth` data source returns
// [autopilot health information](https://www.consul.io/api/operator/autopilot.html#read-health)
// about the current Consul cluster.
-//
-// ## Example Usage
-//
-// ```go
-// package main
-//
-// import (
-//
-// "github.com/pulumi/pulumi-consul/sdk/v3/go/consul"
-// "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
-//
-// )
-//
-// func main() {
-// pulumi.Run(func(ctx *pulumi.Context) error {
-// read, err := consul.GetAutopilotHealth(ctx, nil, nil)
-// if err != nil {
-// return err
-// }
-// ctx.Export("health", read.Healthy)
-// return nil
-// })
-// }
-//
-// ```
func GetAutopilotHealth(ctx *pulumi.Context, args *GetAutopilotHealthArgs, opts ...pulumi.InvokeOption) (*GetAutopilotHealthResult, error) {
opts = internal.PkgInvokeDefaultOpts(opts)
var rv GetAutopilotHealthResult
diff --git a/sdk/go/consul/getDatacenters.go b/sdk/go/consul/getDatacenters.go
index 42d24b31..a78840a9 100644
--- a/sdk/go/consul/getDatacenters.go
+++ b/sdk/go/consul/getDatacenters.go
@@ -4,8 +4,12 @@
package consul
import (
+ "context"
+ "reflect"
+
"github.com/pulumi/pulumi-consul/sdk/v3/go/consul/internal"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
+ "github.com/pulumi/pulumi/sdk/v3/go/pulumix"
)
// The `getDatacenters` data source returns the list of all knwown Consul
@@ -29,3 +33,51 @@ type GetDatacentersResult struct {
// The provider-assigned unique ID for this managed resource.
Id string `pulumi:"id"`
}
+
+func GetDatacentersOutput(ctx *pulumi.Context, opts ...pulumi.InvokeOption) GetDatacentersResultOutput {
+ return pulumi.ToOutput(0).ApplyT(func(int) (GetDatacentersResult, error) {
+ r, err := GetDatacenters(ctx, opts...)
+ var s GetDatacentersResult
+ if r != nil {
+ s = *r
+ }
+ return s, err
+ }).(GetDatacentersResultOutput)
+}
+
+// A collection of values returned by getDatacenters.
+type GetDatacentersResultOutput struct{ *pulumi.OutputState }
+
+func (GetDatacentersResultOutput) ElementType() reflect.Type {
+ return reflect.TypeOf((*GetDatacentersResult)(nil)).Elem()
+}
+
+func (o GetDatacentersResultOutput) ToGetDatacentersResultOutput() GetDatacentersResultOutput {
+ return o
+}
+
+func (o GetDatacentersResultOutput) ToGetDatacentersResultOutputWithContext(ctx context.Context) GetDatacentersResultOutput {
+ return o
+}
+
+func (o GetDatacentersResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetDatacentersResult] {
+ return pulumix.Output[GetDatacentersResult]{
+ OutputState: o.OutputState,
+ }
+}
+
+// The list of datacenters known. The datacenters will be sorted
+// in ascending order based on the estimated median round trip time from the server
+// to the servers in that datacenter.
+func (o GetDatacentersResultOutput) Datacenters() pulumi.StringArrayOutput {
+ return o.ApplyT(func(v GetDatacentersResult) []string { return v.Datacenters }).(pulumi.StringArrayOutput)
+}
+
+// The provider-assigned unique ID for this managed resource.
+func (o GetDatacentersResultOutput) Id() pulumi.StringOutput {
+ return o.ApplyT(func(v GetDatacentersResult) string { return v.Id }).(pulumi.StringOutput)
+}
+
+func init() {
+ pulumi.RegisterOutputType(GetDatacentersResultOutput{})
+}
diff --git a/sdk/go/consul/getKeyPrefix.go b/sdk/go/consul/getKeyPrefix.go
index 8a18623a..d36a7091 100644
--- a/sdk/go/consul/getKeyPrefix.go
+++ b/sdk/go/consul/getKeyPrefix.go
@@ -12,80 +12,6 @@ import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumix"
)
-// ## Example Usage
-//
-// ```go
-// package main
-//
-// import (
-//
-// "github.com/pulumi/pulumi-aws/sdk/v4/go/aws/ec2"
-// "github.com/pulumi/pulumi-consul/sdk/v3/go/consul"
-// "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
-//
-// )
-//
-// func main() {
-// pulumi.Run(func(ctx *pulumi.Context) error {
-// appKeyPrefix, err := consul.LookupKeyPrefix(ctx, &consul.LookupKeyPrefixArgs{
-// Datacenter: pulumi.StringRef("nyc1"),
-// PathPrefix: "myapp/config/",
-// SubkeyCollection: []consul.GetKeyPrefixSubkeyCollection{
-// {
-// Default: pulumi.StringRef("ami-1234"),
-// Name: "ami",
-// Path: "app/launch_ami",
-// },
-// },
-// Token: pulumi.StringRef("abcd"),
-// }, nil)
-// if err != nil {
-// return err
-// }
-// _, err = ec2.NewInstance(ctx, "appInstance", &ec2.InstanceArgs{
-// Ami: *pulumi.String(appKeyPrefix.Var.Ami),
-// })
-// if err != nil {
-// return err
-// }
-// return nil
-// })
-// }
-//
-// ```
-//
-// ```go
-// package main
-//
-// import (
-//
-// "github.com/pulumi/pulumi-aws/sdk/v4/go/aws/ec2"
-// "github.com/pulumi/pulumi-consul/sdk/v3/go/consul"
-// "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
-//
-// )
-//
-// func main() {
-// pulumi.Run(func(ctx *pulumi.Context) error {
-// webKeyPrefix, err := consul.LookupKeyPrefix(ctx, &consul.LookupKeyPrefixArgs{
-// Datacenter: pulumi.StringRef("nyc1"),
-// PathPrefix: "myapp/config/",
-// Token: pulumi.StringRef("efgh"),
-// }, nil)
-// if err != nil {
-// return err
-// }
-// _, err = ec2.NewInstance(ctx, "webInstance", &ec2.InstanceArgs{
-// Ami: *pulumi.String(webKeyPrefix.Subkeys.App / launch_ami),
-// })
-// if err != nil {
-// return err
-// }
-// return nil
-// })
-// }
-//
-// ```
func LookupKeyPrefix(ctx *pulumi.Context, args *LookupKeyPrefixArgs, opts ...pulumi.InvokeOption) (*LookupKeyPrefixResult, error) {
opts = internal.PkgInvokeDefaultOpts(opts)
var rv LookupKeyPrefixResult
diff --git a/sdk/go/consul/getKeys.go b/sdk/go/consul/getKeys.go
index 486f5daa..b4f7cfbc 100644
--- a/sdk/go/consul/getKeys.go
+++ b/sdk/go/consul/getKeys.go
@@ -14,47 +14,6 @@ import (
// The `Keys` resource reads values from the Consul key/value store.
// This is a powerful way dynamically set values in templates.
-//
-// ## Example Usage
-//
-// ```go
-// package main
-//
-// import (
-//
-// "github.com/pulumi/pulumi-aws/sdk/v4/go/aws/ec2"
-// "github.com/pulumi/pulumi-consul/sdk/v3/go/consul"
-// "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
-//
-// )
-//
-// func main() {
-// pulumi.Run(func(ctx *pulumi.Context) error {
-// appKeys, err := consul.LookupKeys(ctx, &consul.LookupKeysArgs{
-// Datacenter: pulumi.StringRef("nyc1"),
-// Keys: []consul.GetKeysKey{
-// {
-// Default: pulumi.StringRef("ami-1234"),
-// Name: "ami",
-// Path: "service/app/launch_ami",
-// },
-// },
-// Token: pulumi.StringRef("abcd"),
-// }, nil)
-// if err != nil {
-// return err
-// }
-// _, err = ec2.NewInstance(ctx, "appInstance", &ec2.InstanceArgs{
-// Ami: *pulumi.String(appKeys.Var.Ami),
-// })
-// if err != nil {
-// return err
-// }
-// return nil
-// })
-// }
-//
-// ```
func LookupKeys(ctx *pulumi.Context, args *LookupKeysArgs, opts ...pulumi.InvokeOption) (*LookupKeysResult, error) {
opts = internal.PkgInvokeDefaultOpts(opts)
var rv LookupKeysResult
diff --git a/sdk/go/consul/getNetworkAreaMembers.go b/sdk/go/consul/getNetworkAreaMembers.go
index 967de531..6f50e60c 100644
--- a/sdk/go/consul/getNetworkAreaMembers.go
+++ b/sdk/go/consul/getNetworkAreaMembers.go
@@ -16,42 +16,6 @@ import (
//
// The `getNetworkAreaMembers` data source provides a list of the Consul
// servers present in a specific network area.
-//
-// ## Example Usage
-//
-// ```go
-// package main
-//
-// import (
-//
-// "github.com/pulumi/pulumi-consul/sdk/v3/go/consul"
-// "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
-//
-// )
-//
-// func main() {
-// pulumi.Run(func(ctx *pulumi.Context) error {
-// dc2NetworkArea, err := consul.NewNetworkArea(ctx, "dc2NetworkArea", &consul.NetworkAreaArgs{
-// PeerDatacenter: pulumi.String("dc2"),
-// RetryJoins: pulumi.StringArray{
-// pulumi.String("1.2.3.4"),
-// },
-// UseTls: pulumi.Bool(true),
-// })
-// if err != nil {
-// return err
-// }
-// dc2NetworkAreaMembers := consul.GetNetworkAreaMembersOutput(ctx, consul.GetNetworkAreaMembersOutputArgs{
-// Uuid: dc2NetworkArea.ID(),
-// }, nil)
-// ctx.Export("members", dc2NetworkAreaMembers.ApplyT(func(dc2NetworkAreaMembers consul.GetNetworkAreaMembersResult) ([]consul.GetNetworkAreaMembersMember, error) {
-// return dc2NetworkAreaMembers.Members, nil
-// }).([]consul.GetNetworkAreaMembersMemberOutput))
-// return nil
-// })
-// }
-//
-// ```
func GetNetworkAreaMembers(ctx *pulumi.Context, args *GetNetworkAreaMembersArgs, opts ...pulumi.InvokeOption) (*GetNetworkAreaMembersResult, error) {
opts = internal.PkgInvokeDefaultOpts(opts)
var rv GetNetworkAreaMembersResult
diff --git a/sdk/go/consul/getNetworkSegments.go b/sdk/go/consul/getNetworkSegments.go
index cdc05a57..4bbd47c0 100644
--- a/sdk/go/consul/getNetworkSegments.go
+++ b/sdk/go/consul/getNetworkSegments.go
@@ -16,31 +16,6 @@ import (
//
// The `consulNetworkSegment` data source can be used to retrieve the network
// segments defined in the configuration.
-//
-// ## Example Usage
-//
-// ```go
-// package main
-//
-// import (
-//
-// "github.com/pulumi/pulumi-consul/sdk/v3/go/consul"
-// "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
-//
-// )
-//
-// func main() {
-// pulumi.Run(func(ctx *pulumi.Context) error {
-// segmentsNetworkSegments, err := consul.GetNetworkSegments(ctx, nil, nil)
-// if err != nil {
-// return err
-// }
-// ctx.Export("segments", segmentsNetworkSegments.Segments)
-// return nil
-// })
-// }
-//
-// ```
func GetNetworkSegments(ctx *pulumi.Context, args *GetNetworkSegmentsArgs, opts ...pulumi.InvokeOption) (*GetNetworkSegmentsResult, error) {
opts = internal.PkgInvokeDefaultOpts(opts)
var rv GetNetworkSegmentsResult
diff --git a/sdk/go/consul/getPeering.go b/sdk/go/consul/getPeering.go
index 301d3010..14f58f4b 100644
--- a/sdk/go/consul/getPeering.go
+++ b/sdk/go/consul/getPeering.go
@@ -12,31 +12,6 @@ import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumix"
)
-// ## Example Usage
-//
-// ```go
-// package main
-//
-// import (
-//
-// "github.com/pulumi/pulumi-consul/sdk/v3/go/consul"
-// "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
-//
-// )
-//
-// func main() {
-// pulumi.Run(func(ctx *pulumi.Context) error {
-// _, err := consul.LookupPeering(ctx, &consul.LookupPeeringArgs{
-// PeerName: "peered-cluster",
-// }, nil)
-// if err != nil {
-// return err
-// }
-// return nil
-// })
-// }
-//
-// ```
func LookupPeering(ctx *pulumi.Context, args *LookupPeeringArgs, opts ...pulumi.InvokeOption) (*LookupPeeringResult, error) {
opts = internal.PkgInvokeDefaultOpts(opts)
var rv LookupPeeringResult
diff --git a/sdk/go/consul/getPeerings.go b/sdk/go/consul/getPeerings.go
index 2f27270c..19faed52 100644
--- a/sdk/go/consul/getPeerings.go
+++ b/sdk/go/consul/getPeerings.go
@@ -12,29 +12,6 @@ import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumix"
)
-// ## Example Usage
-//
-// ```go
-// package main
-//
-// import (
-//
-// "github.com/pulumi/pulumi-consul/sdk/v3/go/consul"
-// "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
-//
-// )
-//
-// func main() {
-// pulumi.Run(func(ctx *pulumi.Context) error {
-// _, err := consul.GetPeerings(ctx, nil, nil)
-// if err != nil {
-// return err
-// }
-// return nil
-// })
-// }
-//
-// ```
func GetPeerings(ctx *pulumi.Context, args *GetPeeringsArgs, opts ...pulumi.InvokeOption) (*GetPeeringsResult, error) {
opts = internal.PkgInvokeDefaultOpts(opts)
var rv GetPeeringsResult
diff --git a/sdk/go/consul/intention.go b/sdk/go/consul/intention.go
index 8316d930..a6d54a39 100644
--- a/sdk/go/consul/intention.go
+++ b/sdk/go/consul/intention.go
@@ -27,70 +27,6 @@ import (
// in conjunction with the `Service` datasource when referencing services
// registered on nodes that have a running Consul agent.
//
-// ## Example Usage
-//
-// Create a simplest intention with static service names:
-//
-// ```go
-// package main
-//
-// import (
-//
-// "github.com/pulumi/pulumi-consul/sdk/v3/go/consul"
-// "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
-//
-// )
-//
-// func main() {
-// pulumi.Run(func(ctx *pulumi.Context) error {
-// _, err := consul.NewIntention(ctx, "database", &consul.IntentionArgs{
-// Action: pulumi.String("allow"),
-// DestinationName: pulumi.String("db"),
-// SourceName: pulumi.String("api"),
-// })
-// if err != nil {
-// return err
-// }
-// return nil
-// })
-// }
-//
-// ```
-//
-// Referencing a known service via a datasource:
-//
-// ```go
-// package main
-//
-// import (
-//
-// "github.com/pulumi/pulumi-consul/sdk/v3/go/consul"
-// "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
-//
-// )
-//
-// func main() {
-// pulumi.Run(func(ctx *pulumi.Context) error {
-// _, err := consul.NewIntention(ctx, "database", &consul.IntentionArgs{
-// Action: pulumi.String("allow"),
-// DestinationName: pulumi.Any(consul_service.Pg.Name),
-// SourceName: pulumi.String("api"),
-// })
-// if err != nil {
-// return err
-// }
-// _, err = consul.LookupService(ctx, &consul.LookupServiceArgs{
-// Name: "postgresql",
-// }, nil)
-// if err != nil {
-// return err
-// }
-// return nil
-// })
-// }
-//
-// ```
-//
// ## Import
//
// `consul_intention` can be imported:
diff --git a/sdk/go/consul/keyPrefix.go b/sdk/go/consul/keyPrefix.go
index fcf9b702..accc015f 100644
--- a/sdk/go/consul/keyPrefix.go
+++ b/sdk/go/consul/keyPrefix.go
@@ -13,49 +13,6 @@ import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumix"
)
-// ## Example Usage
-//
-// ```go
-// package main
-//
-// import (
-//
-// "github.com/pulumi/pulumi-consul/sdk/v3/go/consul"
-// "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
-//
-// )
-//
-// func main() {
-// pulumi.Run(func(ctx *pulumi.Context) error {
-// _, err := consul.NewKeyPrefix(ctx, "myappConfig", &consul.KeyPrefixArgs{
-// Datacenter: pulumi.String("nyc1"),
-// PathPrefix: pulumi.String("myapp/config/"),
-// SubkeyCollection: consul.KeyPrefixSubkeyCollectionArray{
-// &consul.KeyPrefixSubkeyCollectionArgs{
-// Flags: pulumi.Int(2),
-// Path: pulumi.String("database/password"),
-// Value: pulumi.Any(aws_db_instance.App.Password),
-// },
-// },
-// Subkeys: pulumi.StringMap{
-// "database/hostname": pulumi.Any(aws_db_instance.App.Address),
-// "database/name": pulumi.Any(aws_db_instance.App.Name),
-// "database/port": pulumi.Any(aws_db_instance.App.Port),
-// "database/username": pulumi.Any(aws_db_instance.App.Username),
-// "elb_cname": pulumi.Any(aws_elb.App.Dns_name),
-// "s3_bucket_name": pulumi.Any(aws_s3_bucket.App.Bucket),
-// },
-// Token: pulumi.String("abcd"),
-// })
-// if err != nil {
-// return err
-// }
-// return nil
-// })
-// }
-//
-// ```
-//
// ## Import
//
// `consul_key_prefix` can be imported. This is useful when the path already exists and you know all keys in path should be managed by Terraform.
diff --git a/sdk/go/consul/keys.go b/sdk/go/consul/keys.go
index f919b87b..94e74ae1 100644
--- a/sdk/go/consul/keys.go
+++ b/sdk/go/consul/keys.go
@@ -12,38 +12,6 @@ import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumix"
)
-// ## Example Usage
-//
-// ```go
-// package main
-//
-// import (
-//
-// "github.com/pulumi/pulumi-consul/sdk/v3/go/consul"
-// "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
-//
-// )
-//
-// func main() {
-// pulumi.Run(func(ctx *pulumi.Context) error {
-// _, err := consul.NewKeys(ctx, "app", &consul.KeysArgs{
-// Datacenter: pulumi.String("nyc1"),
-// Keys: consul.KeysKeyArray{
-// &consul.KeysKeyArgs{
-// Path: pulumi.String("service/app/elb_address"),
-// Value: pulumi.Any(aws_elb.App.Dns_name),
-// },
-// },
-// Token: pulumi.String("abcd"),
-// })
-// if err != nil {
-// return err
-// }
-// return nil
-// })
-// }
-//
-// ```
type Keys struct {
pulumi.CustomResourceState
diff --git a/sdk/go/consul/license.go b/sdk/go/consul/license.go
index 3d2d46b2..ffbdce19 100644
--- a/sdk/go/consul/license.go
+++ b/sdk/go/consul/license.go
@@ -18,42 +18,6 @@ import (
// The `License` resource provides datacenter-level management of
// the Consul Enterprise license. If ACLs are enabled then a token with operator
// privileges may be required in order to use this command.
-//
-// ## Example Usage
-//
-// ```go
-// package main
-//
-// import (
-//
-// "os"
-//
-// "github.com/pulumi/pulumi-consul/sdk/v3/go/consul"
-// "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
-//
-// )
-//
-// func readFileOrPanic(path string) pulumi.StringPtrInput {
-// data, err := os.ReadFile(path)
-// if err != nil {
-// panic(err.Error())
-// }
-// return pulumi.String(string(data))
-// }
-//
-// func main() {
-// pulumi.Run(func(ctx *pulumi.Context) error {
-// _, err := consul.NewLicense(ctx, "license", &consul.LicenseArgs{
-// License: readFileOrPanic("license.hclic"),
-// })
-// if err != nil {
-// return err
-// }
-// return nil
-// })
-// }
-//
-// ```
type License struct {
pulumi.CustomResourceState
diff --git a/sdk/go/consul/namespace.go b/sdk/go/consul/namespace.go
index 62698365..dfc0b13a 100644
--- a/sdk/go/consul/namespace.go
+++ b/sdk/go/consul/namespace.go
@@ -16,35 +16,6 @@ import (
//
// The `Namespace` resource provides isolated [Consul Enterprise Namespaces](https://www.consul.io/docs/enterprise/namespaces/index.html).
//
-// ## Example Usage
-//
-// ```go
-// package main
-//
-// import (
-//
-// "github.com/pulumi/pulumi-consul/sdk/v3/go/consul"
-// "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
-//
-// )
-//
-// func main() {
-// pulumi.Run(func(ctx *pulumi.Context) error {
-// _, err := consul.NewNamespace(ctx, "production", &consul.NamespaceArgs{
-// Description: pulumi.String("Production namespace"),
-// Meta: pulumi.StringMap{
-// "foo": pulumi.String("bar"),
-// },
-// })
-// if err != nil {
-// return err
-// }
-// return nil
-// })
-// }
-//
-// ```
-//
// ## Import
//
// `consul_namespace` can be imported. This is useful to manage attributes of the default namespace that is created automatically:
diff --git a/sdk/go/consul/networkArea.go b/sdk/go/consul/networkArea.go
index 575712b0..97fd13e6 100644
--- a/sdk/go/consul/networkArea.go
+++ b/sdk/go/consul/networkArea.go
@@ -22,36 +22,6 @@ import (
// communication, and relationships can be made between independent pairs of
// datacenters, so not all servers need to be fully connected. This allows for
// complex topologies among Consul datacenters like hub/spoke and more general trees.
-//
-// ## Example Usage
-//
-// ```go
-// package main
-//
-// import (
-//
-// "github.com/pulumi/pulumi-consul/sdk/v3/go/consul"
-// "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
-//
-// )
-//
-// func main() {
-// pulumi.Run(func(ctx *pulumi.Context) error {
-// _, err := consul.NewNetworkArea(ctx, "dc2", &consul.NetworkAreaArgs{
-// PeerDatacenter: pulumi.String("dc2"),
-// RetryJoins: pulumi.StringArray{
-// pulumi.String("1.2.3.4"),
-// },
-// UseTls: pulumi.Bool(true),
-// })
-// if err != nil {
-// return err
-// }
-// return nil
-// })
-// }
-//
-// ```
type NetworkArea struct {
pulumi.CustomResourceState
diff --git a/sdk/go/consul/node.go b/sdk/go/consul/node.go
index 24b93a29..07658cc6 100644
--- a/sdk/go/consul/node.go
+++ b/sdk/go/consul/node.go
@@ -16,32 +16,6 @@ import (
// Provides access to Node data in Consul. This can be used to define a
// node. Currently, defining health checks is not supported.
//
-// ## Example Usage
-//
-// ```go
-// package main
-//
-// import (
-//
-// "github.com/pulumi/pulumi-consul/sdk/v3/go/consul"
-// "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
-//
-// )
-//
-// func main() {
-// pulumi.Run(func(ctx *pulumi.Context) error {
-// _, err := consul.NewNode(ctx, "foobar", &consul.NodeArgs{
-// Address: pulumi.String("192.168.10.10"),
-// })
-// if err != nil {
-// return err
-// }
-// return nil
-// })
-// }
-//
-// ```
-//
// ## Import
//
// The `consul_node` resource can be imported:
diff --git a/sdk/go/consul/peering.go b/sdk/go/consul/peering.go
index 4248f91d..c2871b1a 100644
--- a/sdk/go/consul/peering.go
+++ b/sdk/go/consul/peering.go
@@ -20,54 +20,6 @@ import (
// > **Cluster peering is currently in technical preview:** Functionality associated with cluster peering is subject to change. You should never use the technical preview release in secure environments or production scenarios. Features in technical preview may have performance issues, scaling issues, and limited support.
//
// The functionality described here is available only in Consul version 1.13.0 and later.
-//
-// ## Example Usage
-//
-// ```go
-// package main
-//
-// import (
-//
-// "github.com/pulumi/pulumi-consul/sdk/v3/go/consul"
-// "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
-//
-// )
-//
-// func main() {
-// pulumi.Run(func(ctx *pulumi.Context) error {
-// _, err := consul.NewProvider(ctx, "eu", &consul.ProviderArgs{
-// Address: pulumi.String("eu-cluster:8500"),
-// })
-// if err != nil {
-// return err
-// }
-// _, err = consul.NewProvider(ctx, "us", &consul.ProviderArgs{
-// Address: pulumi.String("us-cluster:8500"),
-// })
-// if err != nil {
-// return err
-// }
-// _, err = consul.NewPeeringToken(ctx, "eu-usPeeringToken", &consul.PeeringTokenArgs{
-// PeerName: pulumi.String("eu-cluster"),
-// }, pulumi.Provider(consul.Us))
-// if err != nil {
-// return err
-// }
-// _, err = consul.NewPeering(ctx, "eu-usPeering", &consul.PeeringArgs{
-// PeerName: pulumi.String("eu-cluster"),
-// PeeringToken: pulumi.Any(consul_peering_token.Token.Peering_token),
-// Meta: pulumi.StringMap{
-// "hello": pulumi.String("world"),
-// },
-// }, pulumi.Provider(consul.Eu))
-// if err != nil {
-// return err
-// }
-// return nil
-// })
-// }
-//
-// ```
type Peering struct {
pulumi.CustomResourceState
diff --git a/sdk/go/consul/peeringToken.go b/sdk/go/consul/peeringToken.go
index 4a228f31..d3256055 100644
--- a/sdk/go/consul/peeringToken.go
+++ b/sdk/go/consul/peeringToken.go
@@ -20,32 +20,6 @@ import (
// > **Cluster peering is currently in technical preview:** Functionality associated with cluster peering is subject to change. You should never use the technical preview release in secure environments or production scenarios. Features in technical preview may have performance issues, scaling issues, and limited support.
//
// The functionality described here is available only in Consul version 1.13.0 and later.
-//
-// ## Example Usage
-//
-// ```go
-// package main
-//
-// import (
-//
-// "github.com/pulumi/pulumi-consul/sdk/v3/go/consul"
-// "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
-//
-// )
-//
-// func main() {
-// pulumi.Run(func(ctx *pulumi.Context) error {
-// _, err := consul.NewPeeringToken(ctx, "token", &consul.PeeringTokenArgs{
-// PeerName: pulumi.String("eu-cluster"),
-// })
-// if err != nil {
-// return err
-// }
-// return nil
-// })
-// }
-//
-// ```
type PeeringToken struct {
pulumi.CustomResourceState
diff --git a/sdk/go/consul/preparedQuery.go b/sdk/go/consul/preparedQuery.go
index becae4ae..e697b90a 100644
--- a/sdk/go/consul/preparedQuery.go
+++ b/sdk/go/consul/preparedQuery.go
@@ -13,79 +13,6 @@ import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumix"
)
-// ## Example Usage
-//
-// ```go
-// package main
-//
-// import (
-//
-// "github.com/pulumi/pulumi-consul/sdk/v3/go/consul"
-// "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
-//
-// )
-//
-// func main() {
-// pulumi.Run(func(ctx *pulumi.Context) error {
-// _, err := consul.NewPreparedQuery(ctx, "myapp-query", &consul.PreparedQueryArgs{
-// Datacenter: pulumi.String("us-central1"),
-// Dns: &consul.PreparedQueryDnsArgs{
-// Ttl: pulumi.String("30s"),
-// },
-// Failover: &consul.PreparedQueryFailoverArgs{
-// Datacenters: pulumi.StringArray{
-// pulumi.String("us-west1"),
-// pulumi.String("us-east-2"),
-// pulumi.String("asia-east1"),
-// },
-// NearestN: pulumi.Int(3),
-// },
-// Near: pulumi.String("_agent"),
-// OnlyPassing: pulumi.Bool(true),
-// Service: pulumi.String("myapp"),
-// StoredToken: pulumi.String("wxyz"),
-// Tags: pulumi.StringArray{
-// pulumi.String("active"),
-// pulumi.String("!standby"),
-// },
-// Token: pulumi.String("abcd"),
-// })
-// if err != nil {
-// return err
-// }
-// _, err = consul.NewPreparedQuery(ctx, "service-near-self", &consul.PreparedQueryArgs{
-// Connect: pulumi.Bool(true),
-// Datacenter: pulumi.String("nyc1"),
-// Dns: &consul.PreparedQueryDnsArgs{
-// Ttl: pulumi.String("5m"),
-// },
-// Failover: &consul.PreparedQueryFailoverArgs{
-// Datacenters: pulumi.StringArray{
-// pulumi.String("dc2"),
-// pulumi.String("dc3"),
-// pulumi.String("dc4"),
-// },
-// NearestN: pulumi.Int(3),
-// },
-// Near: pulumi.String("_agent"),
-// OnlyPassing: pulumi.Bool(true),
-// Service: pulumi.String("${match(1)}"),
-// StoredToken: pulumi.String("wxyz"),
-// Template: &consul.PreparedQueryTemplateArgs{
-// Regexp: pulumi.String("^(.*)-near-self$"),
-// Type: pulumi.String("name_prefix_match"),
-// },
-// Token: pulumi.String("abcd"),
-// })
-// if err != nil {
-// return err
-// }
-// return nil
-// })
-// }
-//
-// ```
-//
// ## Import
//
// ```sh
diff --git a/sdk/nodejs/aclAuthMethod.ts b/sdk/nodejs/aclAuthMethod.ts
index 5f4372d2..835cd148 100644
--- a/sdk/nodejs/aclAuthMethod.ts
+++ b/sdk/nodejs/aclAuthMethod.ts
@@ -9,44 +9,6 @@ import * as utilities from "./utilities";
/**
* Starting with Consul 1.5.0, the consul.AclAuthMethod resource can be used to
* managed [Consul ACL auth methods](https://www.consul.io/docs/acl/auth-methods).
- *
- * ## Example Usage
- *
- * Define a `kubernetes` auth method:
- * ```typescript
- * import * as pulumi from "@pulumi/pulumi";
- * import * as consul from "@pulumi/consul";
- *
- * const minikube = new consul.AclAuthMethod("minikube", {
- * type: "kubernetes",
- * description: "dev minikube cluster",
- * configJson: JSON.stringify({
- * Host: "https://192.0.2.42:8443",
- * CACert: `-----BEGIN CERTIFICATE-----
- * ...-----END CERTIFICATE-----
- * `,
- * ServiceAccountJWT: "eyJhbGciOiJSUzI1NiIsImtpZCI6IiJ9...",
- * }),
- * });
- * ```
- *
- * Define a `jwt` auth method:
- * ```typescript
- * import * as pulumi from "@pulumi/pulumi";
- * import * as consul from "@pulumi/consul";
- *
- * const minikube = new consul.AclAuthMethod("minikube", {
- * type: "jwt",
- * configJson: JSON.stringify({
- * JWKSURL: "https://example.com/identity/oidc/.well-known/keys",
- * JWTSupportedAlgs: "RS256",
- * BoundIssuer: "https://example.com",
- * ClaimMappings: {
- * subject: "subject",
- * },
- * }),
- * });
- * ```
*/
export class AclAuthMethod extends pulumi.CustomResource {
/**
diff --git a/sdk/nodejs/aclBindingRule.ts b/sdk/nodejs/aclBindingRule.ts
index 899970ee..183e2cce 100644
--- a/sdk/nodejs/aclBindingRule.ts
+++ b/sdk/nodejs/aclBindingRule.ts
@@ -7,33 +7,6 @@ import * as utilities from "./utilities";
/**
* Starting with Consul 1.5.0, the consul.AclBindingRule resource can be used to
* managed Consul ACL binding rules.
- *
- * ## Example Usage
- *
- * ```typescript
- * import * as pulumi from "@pulumi/pulumi";
- * import * as consul from "@pulumi/consul";
- *
- * const minikube = new consul.AclAuthMethod("minikube", {
- * config: {
- * CACert: `-----BEGIN CERTIFICATE-----
- * ...-----END CERTIFICATE-----
- *
- * `,
- * Host: "https://192.0.2.42:8443",
- * ServiceAccountJWT: "eyJhbGciOiJSUzI1NiIsImtpZCI6IiJ9...",
- * },
- * description: "dev minikube cluster",
- * type: "kubernetes",
- * });
- * const test = new consul.AclBindingRule("test", {
- * authMethod: minikube.name,
- * bindName: "minikube",
- * bindType: "service",
- * description: "foobar",
- * selector: "serviceaccount.namespace==default",
- * });
- * ```
*/
export class AclBindingRule extends pulumi.CustomResource {
/**
diff --git a/sdk/nodejs/aclPolicy.ts b/sdk/nodejs/aclPolicy.ts
index dcc0169f..926ad89d 100644
--- a/sdk/nodejs/aclPolicy.ts
+++ b/sdk/nodejs/aclPolicy.ts
@@ -7,22 +7,6 @@ import * as utilities from "./utilities";
/**
* Starting with Consul 1.4.0, the consul.AclPolicy can be used to managed Consul ACL policies.
*
- * ## Example Usage
- *
- * ```typescript
- * import * as pulumi from "@pulumi/pulumi";
- * import * as consul from "@pulumi/consul";
- *
- * const test = new consul.AclPolicy("test", {
- * datacenters: ["dc1"],
- * rules: `node_prefix "" {
- * policy = "read"
- * }
- *
- * `,
- * });
- * ```
- *
* ## Import
*
* `consul_acl_policy` can be imported:
diff --git a/sdk/nodejs/aclRole.ts b/sdk/nodejs/aclRole.ts
index c097d303..35cfd1eb 100644
--- a/sdk/nodejs/aclRole.ts
+++ b/sdk/nodejs/aclRole.ts
@@ -9,25 +9,6 @@ import * as utilities from "./utilities";
/**
* Starting with Consul 1.5.0, the consul.AclRole can be used to managed Consul ACL roles.
*
- * ## Example Usage
- *
- * ```typescript
- * import * as pulumi from "@pulumi/pulumi";
- * import * as consul from "@pulumi/consul";
- *
- * const read_policy = new consul.AclPolicy("read-policy", {
- * datacenters: ["dc1"],
- * rules: "node \"\" { policy = \"read\" }",
- * });
- * const read = new consul.AclRole("read", {
- * description: "bar",
- * policies: [read_policy.id],
- * serviceIdentities: [{
- * serviceName: "foo",
- * }],
- * });
- * ```
- *
* ## Import
*
* `consul_acl_role` can be imported:
diff --git a/sdk/nodejs/aclToken.ts b/sdk/nodejs/aclToken.ts
index ea432ee9..63ce8faf 100644
--- a/sdk/nodejs/aclToken.ts
+++ b/sdk/nodejs/aclToken.ts
@@ -10,23 +10,6 @@ import * as utilities from "./utilities";
* The `consul.AclToken` resource writes an ACL token into Consul.
*
* ## Example Usage
- * ### Basic usage
- *
- * ```typescript
- * import * as pulumi from "@pulumi/pulumi";
- * import * as consul from "@pulumi/consul";
- *
- * const agent = new consul.AclPolicy("agent", {rules: `node_prefix "" {
- * policy = "read"
- * }
- *
- * `});
- * const test = new consul.AclToken("test", {
- * description: "my test token",
- * local: true,
- * policies: [agent.name],
- * });
- * ```
*
* ## Import
*
diff --git a/sdk/nodejs/adminPartition.ts b/sdk/nodejs/adminPartition.ts
index 574193da..00bbadc1 100644
--- a/sdk/nodejs/adminPartition.ts
+++ b/sdk/nodejs/adminPartition.ts
@@ -9,15 +9,6 @@ import * as utilities from "./utilities";
*
* The `consul.AdminPartition` resource manages [Consul Enterprise Admin Partitions](https://www.consul.io/docs/enterprise/admin-partitions).
*
- * ## Example Usage
- *
- * ```typescript
- * import * as pulumi from "@pulumi/pulumi";
- * import * as consul from "@pulumi/consul";
- *
- * const naWest = new consul.AdminPartition("naWest", {description: "Partition for North America West"});
- * ```
- *
* ## Import
*
* `consul_admin_partition` can be imported:
diff --git a/sdk/nodejs/agentService.ts b/sdk/nodejs/agentService.ts
index d89bdc28..e0385375 100644
--- a/sdk/nodejs/agentService.ts
+++ b/sdk/nodejs/agentService.ts
@@ -12,22 +12,6 @@ import * as utilities from "./utilities";
* Provides access to the agent service data in Consul. This can be used to
* define a service associated with a particular agent. Currently, defining
* health checks for an agent service is not supported.
- *
- * ## Example Usage
- *
- * ```typescript
- * import * as pulumi from "@pulumi/pulumi";
- * import * as consul from "@pulumi/consul";
- *
- * const app = new consul.AgentService("app", {
- * address: "www.google.com",
- * port: 80,
- * tags: [
- * "tag0",
- * "tag1",
- * ],
- * });
- * ```
*/
export class AgentService extends pulumi.CustomResource {
/**
diff --git a/sdk/nodejs/autopilotConfig.ts b/sdk/nodejs/autopilotConfig.ts
index 9272bd21..09a57e86 100644
--- a/sdk/nodejs/autopilotConfig.ts
+++ b/sdk/nodejs/autopilotConfig.ts
@@ -10,19 +10,6 @@ import * as utilities from "./utilities";
*
* It includes to automatically cleanup dead servers, monitor the status of the Raft
* cluster and stable server introduction.
- *
- * ## Example Usage
- *
- * ```typescript
- * import * as pulumi from "@pulumi/pulumi";
- * import * as consul from "@pulumi/consul";
- *
- * const config = new consul.AutopilotConfig("config", {
- * cleanupDeadServers: false,
- * lastContactThreshold: "1s",
- * maxTrailingLogs: 500,
- * });
- * ```
*/
export class AutopilotConfig extends pulumi.CustomResource {
/**
diff --git a/sdk/nodejs/catalogEntry.ts b/sdk/nodejs/catalogEntry.ts
index 14862b50..a298392c 100644
--- a/sdk/nodejs/catalogEntry.ts
+++ b/sdk/nodejs/catalogEntry.ts
@@ -13,28 +13,6 @@ import * as utilities from "./utilities";
*
* Registers a node or service with the [Consul Catalog](https://www.consul.io/docs/agent/http/catalog.html#catalog_register).
* Currently, defining health checks is not supported.
- *
- * ## Example Usage
- *
- * ```typescript
- * import * as pulumi from "@pulumi/pulumi";
- * import * as consul from "@pulumi/consul";
- *
- * const app = new consul.CatalogEntry("app", {
- * address: "192.168.10.10",
- * node: "foobar",
- * services: [{
- * address: "127.0.0.1",
- * id: "redis1",
- * name: "redis",
- * port: 8000,
- * tags: [
- * "master",
- * "v1",
- * ],
- * }],
- * });
- * ```
*/
export class CatalogEntry extends pulumi.CustomResource {
/**
diff --git a/sdk/nodejs/configEntry.ts b/sdk/nodejs/configEntry.ts
index d9d43bdd..6b25cc08 100644
--- a/sdk/nodejs/configEntry.ts
+++ b/sdk/nodejs/configEntry.ts
@@ -5,259 +5,6 @@ import * as pulumi from "@pulumi/pulumi";
import * as utilities from "./utilities";
/**
- * ## Example Usage
- *
- * ```typescript
- * import * as pulumi from "@pulumi/pulumi";
- * import * as consul from "@pulumi/consul";
- *
- * const proxyDefaults = new consul.ConfigEntry("proxyDefaults", {
- * kind: "proxy-defaults",
- * configJson: JSON.stringify({
- * Config: {
- * local_connect_timeout_ms: 1000,
- * handshake_timeout_ms: 10000,
- * },
- * }),
- * });
- * const web = new consul.ConfigEntry("web", {
- * kind: "service-defaults",
- * configJson: JSON.stringify({
- * Protocol: "http",
- * }),
- * });
- * const admin = new consul.ConfigEntry("admin", {
- * kind: "service-defaults",
- * configJson: JSON.stringify({
- * Protocol: "http",
- * }),
- * });
- * const serviceResolver = new consul.ConfigEntry("serviceResolver", {
- * kind: "service-resolver",
- * configJson: JSON.stringify({
- * DefaultSubset: "v1",
- * Subsets: {
- * v1: {
- * Filter: "Service.Meta.version == v1",
- * },
- * v2: {
- * Filter: "Service.Meta.version == v2",
- * },
- * },
- * }),
- * });
- * const serviceSplitter = new consul.ConfigEntry("serviceSplitter", {
- * kind: "service-splitter",
- * configJson: JSON.stringify({
- * Splits: [
- * {
- * Weight: 90,
- * ServiceSubset: "v1",
- * },
- * {
- * Weight: 10,
- * ServiceSubset: "v2",
- * },
- * ],
- * }),
- * });
- * const serviceRouter = new consul.ConfigEntry("serviceRouter", {
- * kind: "service-router",
- * configJson: JSON.stringify({
- * Routes: [{
- * Match: {
- * HTTP: {
- * PathPrefix: "/admin",
- * },
- * },
- * Destination: {
- * Service: "admin",
- * },
- * }],
- * }),
- * });
- * const ingressGateway = new consul.ConfigEntry("ingressGateway", {
- * kind: "ingress-gateway",
- * configJson: JSON.stringify({
- * TLS: {
- * Enabled: true,
- * },
- * Listeners: [{
- * Port: 8000,
- * Protocol: "http",
- * Services: [{
- * Name: "*",
- * }],
- * }],
- * }),
- * });
- * const terminatingGateway = new consul.ConfigEntry("terminatingGateway", {
- * kind: "terminating-gateway",
- * configJson: JSON.stringify({
- * Services: [{
- * Name: "billing",
- * }],
- * }),
- * });
- * ```
- * ### `service-intentions` config entry
- *
- * ```typescript
- * import * as pulumi from "@pulumi/pulumi";
- * import * as consul from "@pulumi/consul";
- *
- * const serviceIntentions = new consul.ConfigEntry("serviceIntentions", {
- * kind: "service-intentions",
- * configJson: JSON.stringify({
- * Sources: [
- * {
- * Action: "allow",
- * Name: "frontend-webapp",
- * Precedence: 9,
- * Type: "consul",
- * },
- * {
- * Action: "allow",
- * Name: "nightly-cronjob",
- * Precedence: 9,
- * Type: "consul",
- * },
- * ],
- * }),
- * });
- * ```
- *
- * ```typescript
- * import * as pulumi from "@pulumi/pulumi";
- * import * as consul from "@pulumi/consul";
- *
- * const sd = new consul.ConfigEntry("sd", {
- * kind: "service-defaults",
- * configJson: JSON.stringify({
- * Protocol: "http",
- * }),
- * });
- * const jwtProvider = new consul.ConfigEntry("jwtProvider", {
- * kind: "jwt-provider",
- * configJson: JSON.stringify({
- * Issuer: "test-issuer",
- * JSONWebKeySet: {
- * Remote: {
- * URI: "https://127.0.0.1:9091",
- * FetchAsynchronously: true,
- * },
- * },
- * Forwarding: {
- * HeaderName: "test-token",
- * },
- * }),
- * });
- * const serviceIntentions = new consul.ConfigEntry("serviceIntentions", {
- * kind: "service-intentions",
- * configJson: jwtProvider.name.apply(name => JSON.stringify({
- * Sources: [
- * {
- * Name: "contractor-webapp",
- * Permissions: [{
- * Action: "allow",
- * HTTP: {
- * Methods: [
- * "GET",
- * "HEAD",
- * ],
- * PathExact: "/healtz",
- * },
- * JWT: {
- * Providers: [{
- * Name: name,
- * }],
- * },
- * }],
- * Precedence: 9,
- * Type: "consul",
- * },
- * {
- * Name: "admin-dashboard-webapp",
- * Permissions: [
- * {
- * Action: "deny",
- * HTTP: {
- * PathPrefix: "/debugz",
- * },
- * },
- * {
- * Action: "allow",
- * HTTP: {
- * PathPrefix: "/",
- * },
- * },
- * ],
- * Precedence: 9,
- * Type: "consul",
- * },
- * ],
- * })),
- * });
- * ```
- * ### `exported-services` config entry
- *
- * ```typescript
- * import * as pulumi from "@pulumi/pulumi";
- * import * as consul from "@pulumi/consul";
- *
- * const exportedServices = new consul.ConfigEntry("exportedServices", {
- * kind: "exported-services",
- * configJson: JSON.stringify({
- * Services: [{
- * Name: "test",
- * Namespace: "default",
- * Consumers: [{
- * Partition: "default",
- * }],
- * }],
- * }),
- * });
- * ```
- * ### `mesh` config entry
- *
- * ```typescript
- * import * as pulumi from "@pulumi/pulumi";
- * import * as consul from "@pulumi/consul";
- *
- * const mesh = new consul.ConfigEntry("mesh", {
- * kind: "mesh",
- * partition: "default",
- * configJson: JSON.stringify({
- * TransparentProxy: {
- * MeshDestinationsOnly: true,
- * },
- * }),
- * });
- * ```
- * ### `jwt-provider` config entry
- *
- * ```typescript
- * import * as pulumi from "@pulumi/pulumi";
- * import * as consul from "@pulumi/consul";
- *
- * const jwtProvider = new consul.ConfigEntry("jwtProvider", {
- * kind: "jwt-provider",
- * configJson: JSON.stringify({
- * Issuer: "https://your.issuer.com",
- * JSONWebKeySet: {
- * Remote: {
- * URI: "https://your-remote.jwks.com",
- * FetchAsynchronously: true,
- * CacheDuration: "10s",
- * },
- * },
- * Forwarding: {
- * HeaderName: "test-token",
- * },
- * }),
- * });
- * ```
- *
* ## Import
*
* `consul_config_entry` can be imported using the syntax `/` if the config entry is in the default partition and default namespace, or `///` for config entries in a non-default partition or namespace:
diff --git a/sdk/nodejs/getAclAuthMethod.ts b/sdk/nodejs/getAclAuthMethod.ts
index c87c9a08..d6123253 100644
--- a/sdk/nodejs/getAclAuthMethod.ts
+++ b/sdk/nodejs/getAclAuthMethod.ts
@@ -9,18 +9,6 @@ import * as utilities from "./utilities";
/**
* The `consul.AclAuthMethod` data source returns the information related to a
* [Consul Auth Method](https://www.consul.io/docs/acl/acl-auth-methods.html).
- *
- * ## Example Usage
- *
- * ```typescript
- * import * as pulumi from "@pulumi/pulumi";
- * import * as consul from "@pulumi/consul";
- *
- * const test = consul.getAclAuthMethod({
- * name: "minikube",
- * });
- * export const consulAclAuthMethod = test.then(test => test.config);
- * ```
*/
export function getAclAuthMethod(args: GetAclAuthMethodArgs, opts?: pulumi.InvokeOptions): Promise {
@@ -105,18 +93,6 @@ export interface GetAclAuthMethodResult {
/**
* The `consul.AclAuthMethod` data source returns the information related to a
* [Consul Auth Method](https://www.consul.io/docs/acl/acl-auth-methods.html).
- *
- * ## Example Usage
- *
- * ```typescript
- * import * as pulumi from "@pulumi/pulumi";
- * import * as consul from "@pulumi/consul";
- *
- * const test = consul.getAclAuthMethod({
- * name: "minikube",
- * });
- * export const consulAclAuthMethod = test.then(test => test.config);
- * ```
*/
export function getAclAuthMethodOutput(args: GetAclAuthMethodOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output {
return pulumi.output(args).apply((a: any) => getAclAuthMethod(a, opts))
diff --git a/sdk/nodejs/getAclPolicy.ts b/sdk/nodejs/getAclPolicy.ts
index 15a65c97..10babfd2 100644
--- a/sdk/nodejs/getAclPolicy.ts
+++ b/sdk/nodejs/getAclPolicy.ts
@@ -7,18 +7,6 @@ import * as utilities from "./utilities";
/**
* The `consul.AclPolicy` data source returns the information related to a
* [Consul ACL Policy](https://www.consul.io/docs/acl/acl-system.html#acl-policies).
- *
- * ## Example Usage
- *
- * ```typescript
- * import * as pulumi from "@pulumi/pulumi";
- * import * as consul from "@pulumi/consul";
- *
- * const agent = consul.getAclPolicy({
- * name: "agent",
- * });
- * export const consulAclPolicy = agent.then(agent => agent.rules);
- * ```
*/
export function getAclPolicy(args: GetAclPolicyArgs, opts?: pulumi.InvokeOptions): Promise {
@@ -75,18 +63,6 @@ export interface GetAclPolicyResult {
/**
* The `consul.AclPolicy` data source returns the information related to a
* [Consul ACL Policy](https://www.consul.io/docs/acl/acl-system.html#acl-policies).
- *
- * ## Example Usage
- *
- * ```typescript
- * import * as pulumi from "@pulumi/pulumi";
- * import * as consul from "@pulumi/consul";
- *
- * const agent = consul.getAclPolicy({
- * name: "agent",
- * });
- * export const consulAclPolicy = agent.then(agent => agent.rules);
- * ```
*/
export function getAclPolicyOutput(args: GetAclPolicyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output {
return pulumi.output(args).apply((a: any) => getAclPolicy(a, opts))
diff --git a/sdk/nodejs/getAclRole.ts b/sdk/nodejs/getAclRole.ts
index b5f4a9a8..a7da75f6 100644
--- a/sdk/nodejs/getAclRole.ts
+++ b/sdk/nodejs/getAclRole.ts
@@ -9,18 +9,6 @@ import * as utilities from "./utilities";
/**
* The `consul.AclRole` data source returns the information related to a
* [Consul ACL Role](https://www.consul.io/api/acl/roles.html).
- *
- * ## Example Usage
- *
- * ```typescript
- * import * as pulumi from "@pulumi/pulumi";
- * import * as consul from "@pulumi/consul";
- *
- * const test = consul.getAclRole({
- * name: "example-role",
- * });
- * export const consulAclRole = test.then(test => test.id);
- * ```
*/
export function getAclRole(args: GetAclRoleArgs, opts?: pulumi.InvokeOptions): Promise {
@@ -87,18 +75,6 @@ export interface GetAclRoleResult {
/**
* The `consul.AclRole` data source returns the information related to a
* [Consul ACL Role](https://www.consul.io/api/acl/roles.html).
- *
- * ## Example Usage
- *
- * ```typescript
- * import * as pulumi from "@pulumi/pulumi";
- * import * as consul from "@pulumi/consul";
- *
- * const test = consul.getAclRole({
- * name: "example-role",
- * });
- * export const consulAclRole = test.then(test => test.id);
- * ```
*/
export function getAclRoleOutput(args: GetAclRoleOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output {
return pulumi.output(args).apply((a: any) => getAclRole(a, opts))
diff --git a/sdk/nodejs/getAclToken.ts b/sdk/nodejs/getAclToken.ts
index ab7550d4..b379f9e6 100644
--- a/sdk/nodejs/getAclToken.ts
+++ b/sdk/nodejs/getAclToken.ts
@@ -12,18 +12,6 @@ import * as utilities from "./utilities";
*
* If you want to get the secret ID associated with a token, use the
* [`consul.getAclTokenSecretId` data source](https://www.terraform.io/docs/providers/consul/d/acl_token_secret_id.html).
- *
- * ## Example Usage
- *
- * ```typescript
- * import * as pulumi from "@pulumi/pulumi";
- * import * as consul from "@pulumi/consul";
- *
- * const test = consul.getAclToken({
- * accessorId: "00000000-0000-0000-0000-000000000002",
- * });
- * export const consulAclPolicies = test.then(test => test.policies);
- * ```
*/
export function getAclToken(args: GetAclTokenArgs, opts?: pulumi.InvokeOptions): Promise {
@@ -99,18 +87,6 @@ export interface GetAclTokenResult {
*
* If you want to get the secret ID associated with a token, use the
* [`consul.getAclTokenSecretId` data source](https://www.terraform.io/docs/providers/consul/d/acl_token_secret_id.html).
- *
- * ## Example Usage
- *
- * ```typescript
- * import * as pulumi from "@pulumi/pulumi";
- * import * as consul from "@pulumi/consul";
- *
- * const test = consul.getAclToken({
- * accessorId: "00000000-0000-0000-0000-000000000002",
- * });
- * export const consulAclPolicies = test.then(test => test.policies);
- * ```
*/
export function getAclTokenOutput(args: GetAclTokenOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output {
return pulumi.output(args).apply((a: any) => getAclToken(a, opts))
diff --git a/sdk/nodejs/getAclTokenSecretId.ts b/sdk/nodejs/getAclTokenSecretId.ts
index d4b4606f..8c4aad1e 100644
--- a/sdk/nodejs/getAclTokenSecretId.ts
+++ b/sdk/nodejs/getAclTokenSecretId.ts
@@ -4,29 +4,6 @@
import * as pulumi from "@pulumi/pulumi";
import * as utilities from "./utilities";
-/**
- * ## Example Usage
- *
- * ```typescript
- * import * as pulumi from "@pulumi/pulumi";
- * import * as consul from "@pulumi/consul";
- *
- * const testAclPolicy = new consul.AclPolicy("testAclPolicy", {
- * rules: "node \"\" { policy = \"read\" }",
- * datacenters: ["dc1"],
- * });
- * const testAclToken = new consul.AclToken("testAclToken", {
- * description: "test",
- * policies: [testAclPolicy.name],
- * local: true,
- * });
- * const read = consul.getAclTokenSecretIdOutput({
- * accessorId: testAclToken.id,
- * pgpKey: "keybase:my_username",
- * });
- * export const consulAclTokenSecretId = read.apply(read => read.encryptedSecretId);
- * ```
- */
export function getAclTokenSecretId(args: GetAclTokenSecretIdArgs, opts?: pulumi.InvokeOptions): Promise {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
@@ -75,29 +52,6 @@ export interface GetAclTokenSecretIdResult {
*/
readonly secretId: string;
}
-/**
- * ## Example Usage
- *
- * ```typescript
- * import * as pulumi from "@pulumi/pulumi";
- * import * as consul from "@pulumi/consul";
- *
- * const testAclPolicy = new consul.AclPolicy("testAclPolicy", {
- * rules: "node \"\" { policy = \"read\" }",
- * datacenters: ["dc1"],
- * });
- * const testAclToken = new consul.AclToken("testAclToken", {
- * description: "test",
- * policies: [testAclPolicy.name],
- * local: true,
- * });
- * const read = consul.getAclTokenSecretIdOutput({
- * accessorId: testAclToken.id,
- * pgpKey: "keybase:my_username",
- * });
- * export const consulAclTokenSecretId = read.apply(read => read.encryptedSecretId);
- * ```
- */
export function getAclTokenSecretIdOutput(args: GetAclTokenSecretIdOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output {
return pulumi.output(args).apply((a: any) => getAclTokenSecretId(a, opts))
}
diff --git a/sdk/nodejs/getAgentConfig.ts b/sdk/nodejs/getAgentConfig.ts
index d909052f..aadc3891 100644
--- a/sdk/nodejs/getAgentConfig.ts
+++ b/sdk/nodejs/getAgentConfig.ts
@@ -12,16 +12,6 @@ import * as utilities from "./utilities";
* The `consul.getAgentConfig` data source returns
* [configuration data](https://www.consul.io/api/agent.html#read-configuration)
* from the agent specified in the `provider`.
- *
- * ## Example Usage
- *
- * ```typescript
- * import * as pulumi from "@pulumi/pulumi";
- * import * as consul from "@pulumi/consul";
- *
- * const remoteAgent = consul.getAgentConfig({});
- * export const consulVersion = remoteAgent.then(remoteAgent => remoteAgent.version);
- * ```
*/
export function getAgentConfig(opts?: pulumi.InvokeOptions): Promise {
@@ -71,16 +61,6 @@ export interface GetAgentConfigResult {
* The `consul.getAgentConfig` data source returns
* [configuration data](https://www.consul.io/api/agent.html#read-configuration)
* from the agent specified in the `provider`.
- *
- * ## Example Usage
- *
- * ```typescript
- * import * as pulumi from "@pulumi/pulumi";
- * import * as consul from "@pulumi/consul";
- *
- * const remoteAgent = consul.getAgentConfig({});
- * export const consulVersion = remoteAgent.then(remoteAgent => remoteAgent.version);
- * ```
*/
export function getAgentConfigOutput(opts?: pulumi.InvokeOptions): pulumi.Output {
return pulumi.output(getAgentConfig(opts))
diff --git a/sdk/nodejs/getAutopilotHealth.ts b/sdk/nodejs/getAutopilotHealth.ts
index 9103b472..22194b6f 100644
--- a/sdk/nodejs/getAutopilotHealth.ts
+++ b/sdk/nodejs/getAutopilotHealth.ts
@@ -10,16 +10,6 @@ import * as utilities from "./utilities";
* The `consul.getAutopilotHealth` data source returns
* [autopilot health information](https://www.consul.io/api/operator/autopilot.html#read-health)
* about the current Consul cluster.
- *
- * ## Example Usage
- *
- * ```typescript
- * import * as pulumi from "@pulumi/pulumi";
- * import * as consul from "@pulumi/consul";
- *
- * const read = consul.getAutopilotHealth({});
- * export const health = read.then(read => read.healthy);
- * ```
*/
export function getAutopilotHealth(args?: GetAutopilotHealthArgs, opts?: pulumi.InvokeOptions): Promise {
args = args || {};
@@ -70,16 +60,6 @@ export interface GetAutopilotHealthResult {
* The `consul.getAutopilotHealth` data source returns
* [autopilot health information](https://www.consul.io/api/operator/autopilot.html#read-health)
* about the current Consul cluster.
- *
- * ## Example Usage
- *
- * ```typescript
- * import * as pulumi from "@pulumi/pulumi";
- * import * as consul from "@pulumi/consul";
- *
- * const read = consul.getAutopilotHealth({});
- * export const health = read.then(read => read.healthy);
- * ```
*/
export function getAutopilotHealthOutput(args?: GetAutopilotHealthOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output {
return pulumi.output(args).apply((a: any) => getAutopilotHealth(a, opts))
diff --git a/sdk/nodejs/getKeyPrefix.ts b/sdk/nodejs/getKeyPrefix.ts
index c66d040e..d1b7140c 100644
--- a/sdk/nodejs/getKeyPrefix.ts
+++ b/sdk/nodejs/getKeyPrefix.ts
@@ -6,42 +6,6 @@ import * as inputs from "./types/input";
import * as outputs from "./types/output";
import * as utilities from "./utilities";
-/**
- * ## Example Usage
- *
- * ```typescript
- * import * as pulumi from "@pulumi/pulumi";
- * import * as aws from "@pulumi/aws";
- * import * as consul from "@pulumi/consul";
- *
- * const appKeyPrefix = consul.getKeyPrefix({
- * datacenter: "nyc1",
- * pathPrefix: "myapp/config/",
- * subkeyCollection: [{
- * "default": "ami-1234",
- * name: "ami",
- * path: "app/launch_ami",
- * }],
- * token: "abcd",
- * });
- * // Start our instance with the dynamic ami value
- * const appInstance = new aws.ec2.Instance("appInstance", {ami: appKeyPrefix.then(appKeyPrefix => appKeyPrefix["var"]?.ami)});
- * ```
- *
- * ```typescript
- * import * as pulumi from "@pulumi/pulumi";
- * import * as aws from "@pulumi/aws";
- * import * as consul from "@pulumi/consul";
- *
- * const webKeyPrefix = consul.getKeyPrefix({
- * datacenter: "nyc1",
- * pathPrefix: "myapp/config/",
- * token: "efgh",
- * });
- * // Start our instance with the dynamic ami value
- * const webInstance = new aws.ec2.Instance("webInstance", {ami: webKeyPrefix.then(webKeyPrefix => webKeyPrefix.subkeys?.["app/launch_ami"])});
- * ```
- */
export function getKeyPrefix(args: GetKeyPrefixArgs, opts?: pulumi.InvokeOptions): Promise {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
@@ -126,42 +90,6 @@ Please use the token argument in the provider configuration
readonly token?: string;
readonly var: {[key: string]: string};
}
-/**
- * ## Example Usage
- *
- * ```typescript
- * import * as pulumi from "@pulumi/pulumi";
- * import * as aws from "@pulumi/aws";
- * import * as consul from "@pulumi/consul";
- *
- * const appKeyPrefix = consul.getKeyPrefix({
- * datacenter: "nyc1",
- * pathPrefix: "myapp/config/",
- * subkeyCollection: [{
- * "default": "ami-1234",
- * name: "ami",
- * path: "app/launch_ami",
- * }],
- * token: "abcd",
- * });
- * // Start our instance with the dynamic ami value
- * const appInstance = new aws.ec2.Instance("appInstance", {ami: appKeyPrefix.then(appKeyPrefix => appKeyPrefix["var"]?.ami)});
- * ```
- *
- * ```typescript
- * import * as pulumi from "@pulumi/pulumi";
- * import * as aws from "@pulumi/aws";
- * import * as consul from "@pulumi/consul";
- *
- * const webKeyPrefix = consul.getKeyPrefix({
- * datacenter: "nyc1",
- * pathPrefix: "myapp/config/",
- * token: "efgh",
- * });
- * // Start our instance with the dynamic ami value
- * const webInstance = new aws.ec2.Instance("webInstance", {ami: webKeyPrefix.then(webKeyPrefix => webKeyPrefix.subkeys?.["app/launch_ami"])});
- * ```
- */
export function getKeyPrefixOutput(args: GetKeyPrefixOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output {
return pulumi.output(args).apply((a: any) => getKeyPrefix(a, opts))
}
diff --git a/sdk/nodejs/getKeys.ts b/sdk/nodejs/getKeys.ts
index 34a22872..8c8ab484 100644
--- a/sdk/nodejs/getKeys.ts
+++ b/sdk/nodejs/getKeys.ts
@@ -9,26 +9,6 @@ import * as utilities from "./utilities";
/**
* The `consul.Keys` resource reads values from the Consul key/value store.
* This is a powerful way dynamically set values in templates.
- *
- * ## Example Usage
- *
- * ```typescript
- * import * as pulumi from "@pulumi/pulumi";
- * import * as aws from "@pulumi/aws";
- * import * as consul from "@pulumi/consul";
- *
- * const appKeys = consul.getKeys({
- * datacenter: "nyc1",
- * keys: [{
- * "default": "ami-1234",
- * name: "ami",
- * path: "service/app/launch_ami",
- * }],
- * token: "abcd",
- * });
- * // Start our instance with the dynamic ami value
- * const appInstance = new aws.ec2.Instance("appInstance", {ami: appKeys.then(appKeys => appKeys["var"]?.ami)});
- * ```
*/
export function getKeys(args?: GetKeysArgs, opts?: pulumi.InvokeOptions): Promise {
args = args || {};
@@ -102,26 +82,6 @@ Please use the token argument in the provider configuration
/**
* The `consul.Keys` resource reads values from the Consul key/value store.
* This is a powerful way dynamically set values in templates.
- *
- * ## Example Usage
- *
- * ```typescript
- * import * as pulumi from "@pulumi/pulumi";
- * import * as aws from "@pulumi/aws";
- * import * as consul from "@pulumi/consul";
- *
- * const appKeys = consul.getKeys({
- * datacenter: "nyc1",
- * keys: [{
- * "default": "ami-1234",
- * name: "ami",
- * path: "service/app/launch_ami",
- * }],
- * token: "abcd",
- * });
- * // Start our instance with the dynamic ami value
- * const appInstance = new aws.ec2.Instance("appInstance", {ami: appKeys.then(appKeys => appKeys["var"]?.ami)});
- * ```
*/
export function getKeysOutput(args?: GetKeysOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output {
return pulumi.output(args).apply((a: any) => getKeys(a, opts))
diff --git a/sdk/nodejs/getNetworkAreaMembers.ts b/sdk/nodejs/getNetworkAreaMembers.ts
index a1a2f9a1..4c972187 100644
--- a/sdk/nodejs/getNetworkAreaMembers.ts
+++ b/sdk/nodejs/getNetworkAreaMembers.ts
@@ -11,23 +11,6 @@ import * as utilities from "./utilities";
*
* The `consul.getNetworkAreaMembers` data source provides a list of the Consul
* servers present in a specific network area.
- *
- * ## Example Usage
- *
- * ```typescript
- * import * as pulumi from "@pulumi/pulumi";
- * import * as consul from "@pulumi/consul";
- *
- * const dc2NetworkArea = new consul.NetworkArea("dc2NetworkArea", {
- * peerDatacenter: "dc2",
- * retryJoins: ["1.2.3.4"],
- * useTls: true,
- * });
- * const dc2NetworkAreaMembers = consul.getNetworkAreaMembersOutput({
- * uuid: dc2NetworkArea.id,
- * });
- * export const members = dc2NetworkAreaMembers.apply(dc2NetworkAreaMembers => dc2NetworkAreaMembers.members);
- * ```
*/
export function getNetworkAreaMembers(args: GetNetworkAreaMembersArgs, opts?: pulumi.InvokeOptions): Promise {
@@ -93,23 +76,6 @@ Please use the token argument in the provider configuration
*
* The `consul.getNetworkAreaMembers` data source provides a list of the Consul
* servers present in a specific network area.
- *
- * ## Example Usage
- *
- * ```typescript
- * import * as pulumi from "@pulumi/pulumi";
- * import * as consul from "@pulumi/consul";
- *
- * const dc2NetworkArea = new consul.NetworkArea("dc2NetworkArea", {
- * peerDatacenter: "dc2",
- * retryJoins: ["1.2.3.4"],
- * useTls: true,
- * });
- * const dc2NetworkAreaMembers = consul.getNetworkAreaMembersOutput({
- * uuid: dc2NetworkArea.id,
- * });
- * export const members = dc2NetworkAreaMembers.apply(dc2NetworkAreaMembers => dc2NetworkAreaMembers.members);
- * ```
*/
export function getNetworkAreaMembersOutput(args: GetNetworkAreaMembersOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output {
return pulumi.output(args).apply((a: any) => getNetworkAreaMembers(a, opts))
diff --git a/sdk/nodejs/getNetworkSegments.ts b/sdk/nodejs/getNetworkSegments.ts
index 371b3bec..b612aeef 100644
--- a/sdk/nodejs/getNetworkSegments.ts
+++ b/sdk/nodejs/getNetworkSegments.ts
@@ -9,16 +9,6 @@ import * as utilities from "./utilities";
*
* The `consulNetworkSegment` data source can be used to retrieve the network
* segments defined in the configuration.
- *
- * ## Example Usage
- *
- * ```typescript
- * import * as pulumi from "@pulumi/pulumi";
- * import * as consul from "@pulumi/consul";
- *
- * const segmentsNetworkSegments = consul.getNetworkSegments({});
- * export const segments = segmentsNetworkSegments.then(segmentsNetworkSegments => segmentsNetworkSegments.segments);
- * ```
*/
export function getNetworkSegments(args?: GetNetworkSegmentsArgs, opts?: pulumi.InvokeOptions): Promise {
args = args || {};
@@ -76,16 +66,6 @@ Please use the token argument in the provider configuration
*
* The `consulNetworkSegment` data source can be used to retrieve the network
* segments defined in the configuration.
- *
- * ## Example Usage
- *
- * ```typescript
- * import * as pulumi from "@pulumi/pulumi";
- * import * as consul from "@pulumi/consul";
- *
- * const segmentsNetworkSegments = consul.getNetworkSegments({});
- * export const segments = segmentsNetworkSegments.then(segmentsNetworkSegments => segmentsNetworkSegments.segments);
- * ```
*/
export function getNetworkSegmentsOutput(args?: GetNetworkSegmentsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output {
return pulumi.output(args).apply((a: any) => getNetworkSegments(a, opts))
diff --git a/sdk/nodejs/getPeering.ts b/sdk/nodejs/getPeering.ts
index 8c600bf0..1a623aec 100644
--- a/sdk/nodejs/getPeering.ts
+++ b/sdk/nodejs/getPeering.ts
@@ -4,18 +4,6 @@
import * as pulumi from "@pulumi/pulumi";
import * as utilities from "./utilities";
-/**
- * ## Example Usage
- *
- * ```typescript
- * import * as pulumi from "@pulumi/pulumi";
- * import * as consul from "@pulumi/consul";
- *
- * const basic = consul.getPeering({
- * peerName: "peered-cluster",
- * });
- * ```
- */
export function getPeering(args: GetPeeringArgs, opts?: pulumi.InvokeOptions): Promise {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
@@ -51,18 +39,6 @@ export interface GetPeeringResult {
readonly peerServerName: string;
readonly state: string;
}
-/**
- * ## Example Usage
- *
- * ```typescript
- * import * as pulumi from "@pulumi/pulumi";
- * import * as consul from "@pulumi/consul";
- *
- * const basic = consul.getPeering({
- * peerName: "peered-cluster",
- * });
- * ```
- */
export function getPeeringOutput(args: GetPeeringOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output {
return pulumi.output(args).apply((a: any) => getPeering(a, opts))
}
diff --git a/sdk/nodejs/getPeerings.ts b/sdk/nodejs/getPeerings.ts
index 78293e20..0ba005ca 100644
--- a/sdk/nodejs/getPeerings.ts
+++ b/sdk/nodejs/getPeerings.ts
@@ -6,16 +6,6 @@ import * as inputs from "./types/input";
import * as outputs from "./types/output";
import * as utilities from "./utilities";
-/**
- * ## Example Usage
- *
- * ```typescript
- * import * as pulumi from "@pulumi/pulumi";
- * import * as consul from "@pulumi/consul";
- *
- * const peers = consul.getPeerings({});
- * ```
- */
export function getPeerings(args?: GetPeeringsArgs, opts?: pulumi.InvokeOptions): Promise {
args = args || {};
@@ -43,16 +33,6 @@ export interface GetPeeringsResult {
readonly partition?: string;
readonly peers: outputs.GetPeeringsPeer[];
}
-/**
- * ## Example Usage
- *
- * ```typescript
- * import * as pulumi from "@pulumi/pulumi";
- * import * as consul from "@pulumi/consul";
- *
- * const peers = consul.getPeerings({});
- * ```
- */
export function getPeeringsOutput(args?: GetPeeringsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output {
return pulumi.output(args).apply((a: any) => getPeerings(a, opts))
}
diff --git a/sdk/nodejs/intention.ts b/sdk/nodejs/intention.ts
index 9518c1dd..786f2317 100644
--- a/sdk/nodejs/intention.ts
+++ b/sdk/nodejs/intention.ts
@@ -19,37 +19,6 @@ import * as utilities from "./utilities";
* in conjunction with the `consul.Service` datasource when referencing services
* registered on nodes that have a running Consul agent.
*
- * ## Example Usage
- *
- * Create a simplest intention with static service names:
- *
- * ```typescript
- * import * as pulumi from "@pulumi/pulumi";
- * import * as consul from "@pulumi/consul";
- *
- * const database = new consul.Intention("database", {
- * action: "allow",
- * destinationName: "db",
- * sourceName: "api",
- * });
- * ```
- *
- * Referencing a known service via a datasource:
- *
- * ```typescript
- * import * as pulumi from "@pulumi/pulumi";
- * import * as consul from "@pulumi/consul";
- *
- * const database = new consul.Intention("database", {
- * action: "allow",
- * destinationName: consul_service.pg.name,
- * sourceName: "api",
- * });
- * const pg = consul.getService({
- * name: "postgresql",
- * });
- * ```
- *
* ## Import
*
* `consul_intention` can be imported:
diff --git a/sdk/nodejs/keyPrefix.ts b/sdk/nodejs/keyPrefix.ts
index 5130fade..58ff34d5 100644
--- a/sdk/nodejs/keyPrefix.ts
+++ b/sdk/nodejs/keyPrefix.ts
@@ -7,32 +7,6 @@ import * as outputs from "./types/output";
import * as utilities from "./utilities";
/**
- * ## Example Usage
- *
- * ```typescript
- * import * as pulumi from "@pulumi/pulumi";
- * import * as consul from "@pulumi/consul";
- *
- * const myappConfig = new consul.KeyPrefix("myappConfig", {
- * datacenter: "nyc1",
- * pathPrefix: "myapp/config/",
- * subkeyCollection: [{
- * flags: 2,
- * path: "database/password",
- * value: aws_db_instance.app.password,
- * }],
- * subkeys: {
- * "database/hostname": aws_db_instance.app.address,
- * "database/name": aws_db_instance.app.name,
- * "database/port": aws_db_instance.app.port,
- * "database/username": aws_db_instance.app.username,
- * elb_cname: aws_elb.app.dns_name,
- * s3_bucket_name: aws_s3_bucket.app.bucket,
- * },
- * token: "abcd",
- * });
- * ```
- *
* ## Import
*
* `consul_key_prefix` can be imported. This is useful when the path already exists and you know all keys in path should be managed by Terraform.
diff --git a/sdk/nodejs/keys.ts b/sdk/nodejs/keys.ts
index 8a885eed..ab833bc3 100644
--- a/sdk/nodejs/keys.ts
+++ b/sdk/nodejs/keys.ts
@@ -6,23 +6,6 @@ import * as inputs from "./types/input";
import * as outputs from "./types/output";
import * as utilities from "./utilities";
-/**
- * ## Example Usage
- *
- * ```typescript
- * import * as pulumi from "@pulumi/pulumi";
- * import * as consul from "@pulumi/consul";
- *
- * const app = new consul.Keys("app", {
- * datacenter: "nyc1",
- * keys: [{
- * path: "service/app/elb_address",
- * value: aws_elb.app.dns_name,
- * }],
- * token: "abcd",
- * });
- * ```
- */
export class Keys extends pulumi.CustomResource {
/**
* Get an existing Keys resource's state with the given name, ID, and optional extra
diff --git a/sdk/nodejs/license.ts b/sdk/nodejs/license.ts
index 3bec34b5..84bd68ba 100644
--- a/sdk/nodejs/license.ts
+++ b/sdk/nodejs/license.ts
@@ -10,16 +10,6 @@ import * as utilities from "./utilities";
* The `consul.License` resource provides datacenter-level management of
* the Consul Enterprise license. If ACLs are enabled then a token with operator
* privileges may be required in order to use this command.
- *
- * ## Example Usage
- *
- * ```typescript
- * import * as pulumi from "@pulumi/pulumi";
- * import * as consul from "@pulumi/consul";
- * import * as fs from "fs";
- *
- * const license = new consul.License("license", {license: fs.readFileSync("license.hclic")});
- * ```
*/
export class License extends pulumi.CustomResource {
/**
diff --git a/sdk/nodejs/namespace.ts b/sdk/nodejs/namespace.ts
index 4b63e627..d32d1dd7 100644
--- a/sdk/nodejs/namespace.ts
+++ b/sdk/nodejs/namespace.ts
@@ -9,20 +9,6 @@ import * as utilities from "./utilities";
*
* The `consul.Namespace` resource provides isolated [Consul Enterprise Namespaces](https://www.consul.io/docs/enterprise/namespaces/index.html).
*
- * ## Example Usage
- *
- * ```typescript
- * import * as pulumi from "@pulumi/pulumi";
- * import * as consul from "@pulumi/consul";
- *
- * const production = new consul.Namespace("production", {
- * description: "Production namespace",
- * meta: {
- * foo: "bar",
- * },
- * });
- * ```
- *
* ## Import
*
* `consul_namespace` can be imported. This is useful to manage attributes of the default namespace that is created automatically:
diff --git a/sdk/nodejs/networkArea.ts b/sdk/nodejs/networkArea.ts
index 71a9affe..47b93d4d 100644
--- a/sdk/nodejs/networkArea.ts
+++ b/sdk/nodejs/networkArea.ts
@@ -14,19 +14,6 @@ import * as utilities from "./utilities";
* communication, and relationships can be made between independent pairs of
* datacenters, so not all servers need to be fully connected. This allows for
* complex topologies among Consul datacenters like hub/spoke and more general trees.
- *
- * ## Example Usage
- *
- * ```typescript
- * import * as pulumi from "@pulumi/pulumi";
- * import * as consul from "@pulumi/consul";
- *
- * const dc2 = new consul.NetworkArea("dc2", {
- * peerDatacenter: "dc2",
- * retryJoins: ["1.2.3.4"],
- * useTls: true,
- * });
- * ```
*/
export class NetworkArea extends pulumi.CustomResource {
/**
diff --git a/sdk/nodejs/node.ts b/sdk/nodejs/node.ts
index 65534346..1f0b9696 100644
--- a/sdk/nodejs/node.ts
+++ b/sdk/nodejs/node.ts
@@ -8,15 +8,6 @@ import * as utilities from "./utilities";
* Provides access to Node data in Consul. This can be used to define a
* node. Currently, defining health checks is not supported.
*
- * ## Example Usage
- *
- * ```typescript
- * import * as pulumi from "@pulumi/pulumi";
- * import * as consul from "@pulumi/consul";
- *
- * const foobar = new consul.Node("foobar", {address: "192.168.10.10"});
- * ```
- *
* ## Import
*
* The `consul_node` resource can be imported:
diff --git a/sdk/nodejs/peering.ts b/sdk/nodejs/peering.ts
index eb8c34da..0cca6eb0 100644
--- a/sdk/nodejs/peering.ts
+++ b/sdk/nodejs/peering.ts
@@ -12,29 +12,6 @@ import * as utilities from "./utilities";
* > **Cluster peering is currently in technical preview:** Functionality associated with cluster peering is subject to change. You should never use the technical preview release in secure environments or production scenarios. Features in technical preview may have performance issues, scaling issues, and limited support.
*
* The functionality described here is available only in Consul version 1.13.0 and later.
- *
- * ## Example Usage
- *
- * ```typescript
- * import * as pulumi from "@pulumi/pulumi";
- * import * as consul from "@pulumi/consul";
- *
- * // Create a peering between the EU and US Consul clusters
- * const eu = new consul.Provider("eu", {address: "eu-cluster:8500"});
- * const us = new consul.Provider("us", {address: "us-cluster:8500"});
- * const eu_usPeeringToken = new consul.PeeringToken("eu-usPeeringToken", {peerName: "eu-cluster"}, {
- * provider: consul.us,
- * });
- * const eu_usPeering = new consul.Peering("eu-usPeering", {
- * peerName: "eu-cluster",
- * peeringToken: consul_peering_token.token.peering_token,
- * meta: {
- * hello: "world",
- * },
- * }, {
- * provider: consul.eu,
- * });
- * ```
*/
export class Peering extends pulumi.CustomResource {
/**
diff --git a/sdk/nodejs/peeringToken.ts b/sdk/nodejs/peeringToken.ts
index 71afa60c..72e19285 100644
--- a/sdk/nodejs/peeringToken.ts
+++ b/sdk/nodejs/peeringToken.ts
@@ -12,15 +12,6 @@ import * as utilities from "./utilities";
* > **Cluster peering is currently in technical preview:** Functionality associated with cluster peering is subject to change. You should never use the technical preview release in secure environments or production scenarios. Features in technical preview may have performance issues, scaling issues, and limited support.
*
* The functionality described here is available only in Consul version 1.13.0 and later.
- *
- * ## Example Usage
- *
- * ```typescript
- * import * as pulumi from "@pulumi/pulumi";
- * import * as consul from "@pulumi/consul";
- *
- * const token = new consul.PeeringToken("token", {peerName: "eu-cluster"});
- * ```
*/
export class PeeringToken extends pulumi.CustomResource {
/**
diff --git a/sdk/nodejs/preparedQuery.ts b/sdk/nodejs/preparedQuery.ts
index 07f541f9..571172f4 100644
--- a/sdk/nodejs/preparedQuery.ts
+++ b/sdk/nodejs/preparedQuery.ts
@@ -7,67 +7,6 @@ import * as outputs from "./types/output";
import * as utilities from "./utilities";
/**
- * ## Example Usage
- *
- * ```typescript
- * import * as pulumi from "@pulumi/pulumi";
- * import * as consul from "@pulumi/consul";
- *
- * // Creates a prepared query myquery.query.consul that finds the nearest
- * // healthy myapp.service.consul instance that has the active tag and not
- * // the standby tag.
- * const myapp_query = new consul.PreparedQuery("myapp-query", {
- * datacenter: "us-central1",
- * dns: {
- * ttl: "30s",
- * },
- * failover: {
- * datacenters: [
- * "us-west1",
- * "us-east-2",
- * "asia-east1",
- * ],
- * nearestN: 3,
- * },
- * near: "_agent",
- * onlyPassing: true,
- * service: "myapp",
- * storedToken: "wxyz",
- * tags: [
- * "active",
- * "!standby",
- * ],
- * token: "abcd",
- * });
- * // Creates a Prepared Query Template that matches *-near-self.query.consul
- * // and finds the nearest service that matches the glob character (e.g.
- * // foo-near-self.query.consul will find the nearest healthy foo.service.consul).
- * const service_near_self = new consul.PreparedQuery("service-near-self", {
- * connect: true,
- * datacenter: "nyc1",
- * dns: {
- * ttl: "5m",
- * },
- * failover: {
- * datacenters: [
- * "dc2",
- * "dc3",
- * "dc4",
- * ],
- * nearestN: 3,
- * },
- * near: "_agent",
- * onlyPassing: true,
- * service: "${match(1)}",
- * storedToken: "wxyz",
- * template: {
- * regexp: "^(.*)-near-self$",
- * type: "name_prefix_match",
- * },
- * token: "abcd",
- * });
- * ```
- *
* ## Import
*
* ```sh
diff --git a/sdk/python/pulumi_consul/_inputs.py b/sdk/python/pulumi_consul/_inputs.py
index 7f89da1f..f89bc481 100644
--- a/sdk/python/pulumi_consul/_inputs.py
+++ b/sdk/python/pulumi_consul/_inputs.py
@@ -56,9 +56,15 @@ def __init__(__self__, *,
@staticmethod
def _configure(
_setter: Callable[[Any, Any], None],
- bind_namespace: pulumi.Input[str],
+ bind_namespace: Optional[pulumi.Input[str]] = None,
selector: Optional[pulumi.Input[str]] = None,
- opts: Optional[pulumi.ResourceOptions]=None):
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+ if bind_namespace is None and 'bindNamespace' in kwargs:
+ bind_namespace = kwargs['bindNamespace']
+ if bind_namespace is None:
+ raise TypeError("Missing 'bind_namespace' argument")
+
_setter("bind_namespace", bind_namespace)
if selector is not None:
_setter("selector", selector)
@@ -108,9 +114,17 @@ def __init__(__self__, *,
@staticmethod
def _configure(
_setter: Callable[[Any, Any], None],
- datacenter: pulumi.Input[str],
- node_name: pulumi.Input[str],
- opts: Optional[pulumi.ResourceOptions]=None):
+ datacenter: Optional[pulumi.Input[str]] = None,
+ node_name: Optional[pulumi.Input[str]] = None,
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+ if datacenter is None:
+ raise TypeError("Missing 'datacenter' argument")
+ if node_name is None and 'nodeName' in kwargs:
+ node_name = kwargs['nodeName']
+ if node_name is None:
+ raise TypeError("Missing 'node_name' argument")
+
_setter("datacenter", datacenter)
_setter("node_name", node_name)
@@ -156,9 +170,15 @@ def __init__(__self__, *,
@staticmethod
def _configure(
_setter: Callable[[Any, Any], None],
- service_name: pulumi.Input[str],
+ service_name: Optional[pulumi.Input[str]] = None,
datacenters: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
- opts: Optional[pulumi.ResourceOptions]=None):
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+ if service_name is None and 'serviceName' in kwargs:
+ service_name = kwargs['serviceName']
+ if service_name is None:
+ raise TypeError("Missing 'service_name' argument")
+
_setter("service_name", service_name)
if datacenters is not None:
_setter("datacenters", datacenters)
@@ -205,9 +225,17 @@ def __init__(__self__, *,
@staticmethod
def _configure(
_setter: Callable[[Any, Any], None],
- datacenter: pulumi.Input[str],
- node_name: pulumi.Input[str],
- opts: Optional[pulumi.ResourceOptions]=None):
+ datacenter: Optional[pulumi.Input[str]] = None,
+ node_name: Optional[pulumi.Input[str]] = None,
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+ if datacenter is None:
+ raise TypeError("Missing 'datacenter' argument")
+ if node_name is None and 'nodeName' in kwargs:
+ node_name = kwargs['nodeName']
+ if node_name is None:
+ raise TypeError("Missing 'node_name' argument")
+
_setter("datacenter", datacenter)
_setter("node_name", node_name)
@@ -253,9 +281,15 @@ def __init__(__self__, *,
@staticmethod
def _configure(
_setter: Callable[[Any, Any], None],
- service_name: pulumi.Input[str],
+ service_name: Optional[pulumi.Input[str]] = None,
datacenters: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
- opts: Optional[pulumi.ResourceOptions]=None):
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+ if service_name is None and 'serviceName' in kwargs:
+ service_name = kwargs['serviceName']
+ if service_name is None:
+ raise TypeError("Missing 'service_name' argument")
+
_setter("service_name", service_name)
if datacenters is not None:
_setter("datacenters", datacenters)
@@ -313,12 +347,16 @@ def __init__(__self__, *,
@staticmethod
def _configure(
_setter: Callable[[Any, Any], None],
- name: pulumi.Input[str],
+ name: Optional[pulumi.Input[str]] = None,
address: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
port: Optional[pulumi.Input[int]] = None,
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
- opts: Optional[pulumi.ResourceOptions]=None):
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+ if name is None:
+ raise TypeError("Missing 'name' argument")
+
_setter("name", name)
if address is not None:
_setter("address", address)
@@ -414,10 +452,16 @@ def __init__(__self__, *,
@staticmethod
def _configure(
_setter: Callable[[Any, Any], None],
- path: pulumi.Input[str],
- value: pulumi.Input[str],
+ path: Optional[pulumi.Input[str]] = None,
+ value: Optional[pulumi.Input[str]] = None,
flags: Optional[pulumi.Input[int]] = None,
- opts: Optional[pulumi.ResourceOptions]=None):
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+ if path is None:
+ raise TypeError("Missing 'path' argument")
+ if value is None:
+ raise TypeError("Missing 'value' argument")
+
_setter("path", path)
_setter("value", value)
if flags is not None:
@@ -493,13 +537,17 @@ def __init__(__self__, *,
@staticmethod
def _configure(
_setter: Callable[[Any, Any], None],
- path: pulumi.Input[str],
+ path: Optional[pulumi.Input[str]] = None,
default: Optional[pulumi.Input[str]] = None,
delete: Optional[pulumi.Input[bool]] = None,
flags: Optional[pulumi.Input[int]] = None,
name: Optional[pulumi.Input[str]] = None,
value: Optional[pulumi.Input[str]] = None,
- opts: Optional[pulumi.ResourceOptions]=None):
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+ if path is None:
+ raise TypeError("Missing 'path' argument")
+
_setter("path", path)
if default is not None:
_setter("default", default)
@@ -604,7 +652,9 @@ def __init__(__self__, *,
def _configure(
_setter: Callable[[Any, Any], None],
ttl: Optional[pulumi.Input[str]] = None,
- opts: Optional[pulumi.ResourceOptions]=None):
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+
if ttl is not None:
_setter("ttl", ttl)
@@ -644,7 +694,11 @@ def _configure(
datacenters: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
nearest_n: Optional[pulumi.Input[int]] = None,
targets: Optional[pulumi.Input[Sequence[pulumi.Input['PreparedQueryFailoverTargetArgs']]]] = None,
- opts: Optional[pulumi.ResourceOptions]=None):
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+ if nearest_n is None and 'nearestN' in kwargs:
+ nearest_n = kwargs['nearestN']
+
if datacenters is not None:
_setter("datacenters", datacenters)
if nearest_n is not None:
@@ -708,7 +762,9 @@ def _configure(
_setter: Callable[[Any, Any], None],
datacenter: Optional[pulumi.Input[str]] = None,
peer: Optional[pulumi.Input[str]] = None,
- opts: Optional[pulumi.ResourceOptions]=None):
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+
if datacenter is not None:
_setter("datacenter", datacenter)
if peer is not None:
@@ -759,10 +815,18 @@ def __init__(__self__, *,
@staticmethod
def _configure(
_setter: Callable[[Any, Any], None],
- regexp: pulumi.Input[str],
- type: pulumi.Input[str],
+ regexp: Optional[pulumi.Input[str]] = None,
+ type: Optional[pulumi.Input[str]] = None,
remove_empty_tags: Optional[pulumi.Input[bool]] = None,
- opts: Optional[pulumi.ResourceOptions]=None):
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+ if regexp is None:
+ raise TypeError("Missing 'regexp' argument")
+ if type is None:
+ raise TypeError("Missing 'type' argument")
+ if remove_empty_tags is None and 'removeEmptyTags' in kwargs:
+ remove_empty_tags = kwargs['removeEmptyTags']
+
_setter("regexp", regexp)
_setter("type", type)
if remove_empty_tags is not None:
@@ -822,11 +886,21 @@ def __init__(__self__, *,
@staticmethod
def _configure(
_setter: Callable[[Any, Any], None],
- auth_method: pulumi.Input[str],
+ auth_method: Optional[pulumi.Input[str]] = None,
bearer_token: Optional[pulumi.Input[str]] = None,
meta: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
use_terraform_cloud_workload_identity: Optional[pulumi.Input[bool]] = None,
- opts: Optional[pulumi.ResourceOptions]=None):
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+ if auth_method is None and 'authMethod' in kwargs:
+ auth_method = kwargs['authMethod']
+ if auth_method is None:
+ raise TypeError("Missing 'auth_method' argument")
+ if bearer_token is None and 'bearerToken' in kwargs:
+ bearer_token = kwargs['bearerToken']
+ if use_terraform_cloud_workload_identity is None and 'useTerraformCloudWorkloadIdentity' in kwargs:
+ use_terraform_cloud_workload_identity = kwargs['useTerraformCloudWorkloadIdentity']
+
_setter("auth_method", auth_method)
if bearer_token is not None:
_setter("bearer_token", bearer_token)
@@ -885,9 +959,15 @@ def __init__(__self__, *,
@staticmethod
def _configure(
_setter: Callable[[Any, Any], None],
- name: pulumi.Input[str],
- value: pulumi.Input[str],
- opts: Optional[pulumi.ResourceOptions]=None):
+ name: Optional[pulumi.Input[str]] = None,
+ value: Optional[pulumi.Input[str]] = None,
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+ if name is None:
+ raise TypeError("Missing 'name' argument")
+ if value is None:
+ raise TypeError("Missing 'value' argument")
+
_setter("name", name)
_setter("value", value)
@@ -965,10 +1045,10 @@ def __init__(__self__, *,
@staticmethod
def _configure(
_setter: Callable[[Any, Any], None],
- check_id: pulumi.Input[str],
- interval: pulumi.Input[str],
- name: pulumi.Input[str],
- timeout: pulumi.Input[str],
+ check_id: Optional[pulumi.Input[str]] = None,
+ interval: Optional[pulumi.Input[str]] = None,
+ name: Optional[pulumi.Input[str]] = None,
+ timeout: Optional[pulumi.Input[str]] = None,
deregister_critical_service_after: Optional[pulumi.Input[str]] = None,
headers: Optional[pulumi.Input[Sequence[pulumi.Input['ServiceCheckHeaderArgs']]]] = None,
http: Optional[pulumi.Input[str]] = None,
@@ -977,7 +1057,23 @@ def _configure(
status: Optional[pulumi.Input[str]] = None,
tcp: Optional[pulumi.Input[str]] = None,
tls_skip_verify: Optional[pulumi.Input[bool]] = None,
- opts: Optional[pulumi.ResourceOptions]=None):
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+ if check_id is None and 'checkId' in kwargs:
+ check_id = kwargs['checkId']
+ if check_id is None:
+ raise TypeError("Missing 'check_id' argument")
+ if interval is None:
+ raise TypeError("Missing 'interval' argument")
+ if name is None:
+ raise TypeError("Missing 'name' argument")
+ if timeout is None:
+ raise TypeError("Missing 'timeout' argument")
+ if deregister_critical_service_after is None and 'deregisterCriticalServiceAfter' in kwargs:
+ deregister_critical_service_after = kwargs['deregisterCriticalServiceAfter']
+ if tls_skip_verify is None and 'tlsSkipVerify' in kwargs:
+ tls_skip_verify = kwargs['tlsSkipVerify']
+
_setter("check_id", check_id)
_setter("interval", interval)
_setter("name", name)
@@ -1169,9 +1265,15 @@ def __init__(__self__, *,
@staticmethod
def _configure(
_setter: Callable[[Any, Any], None],
- name: pulumi.Input[str],
- values: pulumi.Input[Sequence[pulumi.Input[str]]],
- opts: Optional[pulumi.ResourceOptions]=None):
+ name: Optional[pulumi.Input[str]] = None,
+ values: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+ if name is None:
+ raise TypeError("Missing 'name' argument")
+ if values is None:
+ raise TypeError("Missing 'values' argument")
+
_setter("name", name)
_setter("values", values)
@@ -1253,7 +1355,19 @@ def _configure(
token: Optional[str] = None,
wait_index: Optional[int] = None,
wait_time: Optional[str] = None,
- opts: Optional[pulumi.ResourceOptions]=None):
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+ if allow_stale is None and 'allowStale' in kwargs:
+ allow_stale = kwargs['allowStale']
+ if node_meta is None and 'nodeMeta' in kwargs:
+ node_meta = kwargs['nodeMeta']
+ if require_consistent is None and 'requireConsistent' in kwargs:
+ require_consistent = kwargs['requireConsistent']
+ if wait_index is None and 'waitIndex' in kwargs:
+ wait_index = kwargs['waitIndex']
+ if wait_time is None and 'waitTime' in kwargs:
+ wait_time = kwargs['waitTime']
+
if allow_stale is not None:
_setter("allow_stale", allow_stale)
if datacenter is not None:
@@ -1439,7 +1553,19 @@ def _configure(
token: Optional[str] = None,
wait_index: Optional[int] = None,
wait_time: Optional[str] = None,
- opts: Optional[pulumi.ResourceOptions]=None):
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+ if allow_stale is None and 'allowStale' in kwargs:
+ allow_stale = kwargs['allowStale']
+ if node_meta is None and 'nodeMeta' in kwargs:
+ node_meta = kwargs['nodeMeta']
+ if require_consistent is None and 'requireConsistent' in kwargs:
+ require_consistent = kwargs['requireConsistent']
+ if wait_index is None and 'waitIndex' in kwargs:
+ wait_index = kwargs['waitIndex']
+ if wait_time is None and 'waitTime' in kwargs:
+ wait_time = kwargs['waitTime']
+
if allow_stale is not None:
_setter("allow_stale", allow_stale)
if datacenter is not None:
@@ -1639,7 +1765,19 @@ def _configure(
token: Optional[str] = None,
wait_index: Optional[int] = None,
wait_time: Optional[str] = None,
- opts: Optional[pulumi.ResourceOptions]=None):
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+ if allow_stale is None and 'allowStale' in kwargs:
+ allow_stale = kwargs['allowStale']
+ if node_meta is None and 'nodeMeta' in kwargs:
+ node_meta = kwargs['nodeMeta']
+ if require_consistent is None and 'requireConsistent' in kwargs:
+ require_consistent = kwargs['requireConsistent']
+ if wait_index is None and 'waitIndex' in kwargs:
+ wait_index = kwargs['waitIndex']
+ if wait_time is None and 'waitTime' in kwargs:
+ wait_time = kwargs['waitTime']
+
if allow_stale is not None:
_setter("allow_stale", allow_stale)
if datacenter is not None:
@@ -1807,10 +1945,16 @@ def __init__(__self__, *,
@staticmethod
def _configure(
_setter: Callable[[Any, Any], None],
- name: str,
- path: str,
+ name: Optional[str] = None,
+ path: Optional[str] = None,
default: Optional[str] = None,
- opts: Optional[pulumi.ResourceOptions]=None):
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+ if name is None:
+ raise TypeError("Missing 'name' argument")
+ if path is None:
+ raise TypeError("Missing 'path' argument")
+
_setter("name", name)
_setter("path", path)
if default is not None:
@@ -1882,10 +2026,16 @@ def __init__(__self__, *,
@staticmethod
def _configure(
_setter: Callable[[Any, Any], None],
- name: str,
- path: str,
+ name: Optional[str] = None,
+ path: Optional[str] = None,
default: Optional[str] = None,
- opts: Optional[pulumi.ResourceOptions]=None):
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+ if name is None:
+ raise TypeError("Missing 'name' argument")
+ if path is None:
+ raise TypeError("Missing 'path' argument")
+
_setter("name", name)
_setter("path", path)
if default is not None:
@@ -1985,7 +2135,19 @@ def _configure(
token: Optional[str] = None,
wait_index: Optional[int] = None,
wait_time: Optional[str] = None,
- opts: Optional[pulumi.ResourceOptions]=None):
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+ if allow_stale is None and 'allowStale' in kwargs:
+ allow_stale = kwargs['allowStale']
+ if node_meta is None and 'nodeMeta' in kwargs:
+ node_meta = kwargs['nodeMeta']
+ if require_consistent is None and 'requireConsistent' in kwargs:
+ require_consistent = kwargs['requireConsistent']
+ if wait_index is None and 'waitIndex' in kwargs:
+ wait_index = kwargs['waitIndex']
+ if wait_time is None and 'waitTime' in kwargs:
+ wait_time = kwargs['waitTime']
+
if allow_stale is not None:
_setter("allow_stale", allow_stale)
if datacenter is not None:
@@ -2171,7 +2333,19 @@ def _configure(
token: Optional[str] = None,
wait_index: Optional[int] = None,
wait_time: Optional[str] = None,
- opts: Optional[pulumi.ResourceOptions]=None):
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+ if allow_stale is None and 'allowStale' in kwargs:
+ allow_stale = kwargs['allowStale']
+ if node_meta is None and 'nodeMeta' in kwargs:
+ node_meta = kwargs['nodeMeta']
+ if require_consistent is None and 'requireConsistent' in kwargs:
+ require_consistent = kwargs['requireConsistent']
+ if wait_index is None and 'waitIndex' in kwargs:
+ wait_index = kwargs['waitIndex']
+ if wait_time is None and 'waitTime' in kwargs:
+ wait_time = kwargs['waitTime']
+
if allow_stale is not None:
_setter("allow_stale", allow_stale)
if datacenter is not None:
@@ -2371,7 +2545,19 @@ def _configure(
token: Optional[str] = None,
wait_index: Optional[int] = None,
wait_time: Optional[str] = None,
- opts: Optional[pulumi.ResourceOptions]=None):
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+ if allow_stale is None and 'allowStale' in kwargs:
+ allow_stale = kwargs['allowStale']
+ if node_meta is None and 'nodeMeta' in kwargs:
+ node_meta = kwargs['nodeMeta']
+ if require_consistent is None and 'requireConsistent' in kwargs:
+ require_consistent = kwargs['requireConsistent']
+ if wait_index is None and 'waitIndex' in kwargs:
+ wait_index = kwargs['waitIndex']
+ if wait_time is None and 'waitTime' in kwargs:
+ wait_time = kwargs['waitTime']
+
if allow_stale is not None:
_setter("allow_stale", allow_stale)
if datacenter is not None:
diff --git a/sdk/python/pulumi_consul/_utilities.py b/sdk/python/pulumi_consul/_utilities.py
index 2d9a3c84..2936b65a 100644
--- a/sdk/python/pulumi_consul/_utilities.py
+++ b/sdk/python/pulumi_consul/_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_consul/acl_auth_method.py b/sdk/python/pulumi_consul/acl_auth_method.py
index 4a9e5ab3..3a81b985 100644
--- a/sdk/python/pulumi_consul/acl_auth_method.py
+++ b/sdk/python/pulumi_consul/acl_auth_method.py
@@ -64,7 +64,7 @@ def __init__(__self__, *,
@staticmethod
def _configure(
_setter: Callable[[Any, Any], None],
- type: pulumi.Input[str],
+ type: Optional[pulumi.Input[str]] = None,
config: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
config_json: Optional[pulumi.Input[str]] = None,
description: Optional[pulumi.Input[str]] = None,
@@ -75,7 +75,21 @@ def _configure(
namespace_rules: Optional[pulumi.Input[Sequence[pulumi.Input['AclAuthMethodNamespaceRuleArgs']]]] = None,
partition: Optional[pulumi.Input[str]] = None,
token_locality: Optional[pulumi.Input[str]] = None,
- opts: Optional[pulumi.ResourceOptions]=None):
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+ if type is None:
+ raise TypeError("Missing 'type' argument")
+ if config_json is None and 'configJson' in kwargs:
+ config_json = kwargs['configJson']
+ if display_name is None and 'displayName' in kwargs:
+ display_name = kwargs['displayName']
+ if max_token_ttl is None and 'maxTokenTtl' in kwargs:
+ max_token_ttl = kwargs['maxTokenTtl']
+ if namespace_rules is None and 'namespaceRules' in kwargs:
+ namespace_rules = kwargs['namespaceRules']
+ if token_locality is None and 'tokenLocality' in kwargs:
+ token_locality = kwargs['tokenLocality']
+
_setter("type", type)
if config is not None:
warnings.warn("""The config attribute is deprecated, please use config_json instead.""", DeprecationWarning)
@@ -305,7 +319,19 @@ def _configure(
partition: Optional[pulumi.Input[str]] = None,
token_locality: Optional[pulumi.Input[str]] = None,
type: Optional[pulumi.Input[str]] = None,
- opts: Optional[pulumi.ResourceOptions]=None):
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+ if config_json is None and 'configJson' in kwargs:
+ config_json = kwargs['configJson']
+ if display_name is None and 'displayName' in kwargs:
+ display_name = kwargs['displayName']
+ if max_token_ttl is None and 'maxTokenTtl' in kwargs:
+ max_token_ttl = kwargs['maxTokenTtl']
+ if namespace_rules is None and 'namespaceRules' in kwargs:
+ namespace_rules = kwargs['namespaceRules']
+ if token_locality is None and 'tokenLocality' in kwargs:
+ token_locality = kwargs['tokenLocality']
+
if config is not None:
warnings.warn("""The config attribute is deprecated, please use config_json instead.""", DeprecationWarning)
pulumi.log.warn("""config is deprecated: The config attribute is deprecated, please use config_json instead.""")
@@ -495,44 +521,6 @@ def __init__(__self__,
Starting with Consul 1.5.0, the AclAuthMethod resource can be used to
managed [Consul ACL auth methods](https://www.consul.io/docs/acl/auth-methods).
- ## Example Usage
-
- Define a `kubernetes` auth method:
- ```python
- import pulumi
- import json
- import pulumi_consul as consul
-
- minikube = consul.AclAuthMethod("minikube",
- type="kubernetes",
- description="dev minikube cluster",
- config_json=json.dumps({
- "Host": "https://192.0.2.42:8443",
- "CACert": \"\"\"-----BEGIN CERTIFICATE-----
- ...-----END CERTIFICATE-----
- \"\"\",
- "ServiceAccountJWT": "eyJhbGciOiJSUzI1NiIsImtpZCI6IiJ9...",
- }))
- ```
-
- Define a `jwt` auth method:
- ```python
- import pulumi
- import json
- import pulumi_consul as consul
-
- minikube = consul.AclAuthMethod("minikube",
- type="jwt",
- config_json=json.dumps({
- "JWKSURL": "https://example.com/identity/oidc/.well-known/keys",
- "JWTSupportedAlgs": "RS256",
- "BoundIssuer": "https://example.com",
- "ClaimMappings": {
- "subject": "subject",
- },
- }))
- ```
-
:param str resource_name: The name of the resource.
:param pulumi.ResourceOptions opts: Options for the resource.
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] config: The raw configuration for this ACL auth method. This
@@ -563,44 +551,6 @@ def __init__(__self__,
Starting with Consul 1.5.0, the AclAuthMethod resource can be used to
managed [Consul ACL auth methods](https://www.consul.io/docs/acl/auth-methods).
- ## Example Usage
-
- Define a `kubernetes` auth method:
- ```python
- import pulumi
- import json
- import pulumi_consul as consul
-
- minikube = consul.AclAuthMethod("minikube",
- type="kubernetes",
- description="dev minikube cluster",
- config_json=json.dumps({
- "Host": "https://192.0.2.42:8443",
- "CACert": \"\"\"-----BEGIN CERTIFICATE-----
- ...-----END CERTIFICATE-----
- \"\"\",
- "ServiceAccountJWT": "eyJhbGciOiJSUzI1NiIsImtpZCI6IiJ9...",
- }))
- ```
-
- Define a `jwt` auth method:
- ```python
- import pulumi
- import json
- import pulumi_consul as consul
-
- minikube = consul.AclAuthMethod("minikube",
- type="jwt",
- config_json=json.dumps({
- "JWKSURL": "https://example.com/identity/oidc/.well-known/keys",
- "JWTSupportedAlgs": "RS256",
- "BoundIssuer": "https://example.com",
- "ClaimMappings": {
- "subject": "subject",
- },
- }))
- ```
-
:param str resource_name: The name of the resource.
:param AclAuthMethodArgs args: The arguments to use to populate this resource's properties.
:param pulumi.ResourceOptions opts: Options for the resource.
diff --git a/sdk/python/pulumi_consul/acl_binding_rule.py b/sdk/python/pulumi_consul/acl_binding_rule.py
index 975e7bf7..c45b8da6 100644
--- a/sdk/python/pulumi_consul/acl_binding_rule.py
+++ b/sdk/python/pulumi_consul/acl_binding_rule.py
@@ -44,14 +44,28 @@ def __init__(__self__, *,
@staticmethod
def _configure(
_setter: Callable[[Any, Any], None],
- auth_method: pulumi.Input[str],
- bind_name: pulumi.Input[str],
- bind_type: pulumi.Input[str],
+ auth_method: Optional[pulumi.Input[str]] = None,
+ bind_name: Optional[pulumi.Input[str]] = None,
+ bind_type: Optional[pulumi.Input[str]] = None,
description: Optional[pulumi.Input[str]] = None,
namespace: Optional[pulumi.Input[str]] = None,
partition: Optional[pulumi.Input[str]] = None,
selector: Optional[pulumi.Input[str]] = None,
- opts: Optional[pulumi.ResourceOptions]=None):
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+ if auth_method is None and 'authMethod' in kwargs:
+ auth_method = kwargs['authMethod']
+ if auth_method is None:
+ raise TypeError("Missing 'auth_method' argument")
+ if bind_name is None and 'bindName' in kwargs:
+ bind_name = kwargs['bindName']
+ if bind_name is None:
+ raise TypeError("Missing 'bind_name' argument")
+ if bind_type is None and 'bindType' in kwargs:
+ bind_type = kwargs['bindType']
+ if bind_type is None:
+ raise TypeError("Missing 'bind_type' argument")
+
_setter("auth_method", auth_method)
_setter("bind_name", bind_name)
_setter("bind_type", bind_type)
@@ -189,7 +203,15 @@ def _configure(
namespace: Optional[pulumi.Input[str]] = None,
partition: Optional[pulumi.Input[str]] = None,
selector: Optional[pulumi.Input[str]] = None,
- opts: Optional[pulumi.ResourceOptions]=None):
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+ if auth_method is None and 'authMethod' in kwargs:
+ auth_method = kwargs['authMethod']
+ if bind_name is None and 'bindName' in kwargs:
+ bind_name = kwargs['bindName']
+ if bind_type is None and 'bindType' in kwargs:
+ bind_type = kwargs['bindType']
+
if auth_method is not None:
_setter("auth_method", auth_method)
if bind_name is not None:
@@ -307,31 +329,6 @@ def __init__(__self__,
Starting with Consul 1.5.0, the AclBindingRule resource can be used to
managed Consul ACL binding rules.
- ## Example Usage
-
- ```python
- import pulumi
- import pulumi_consul as consul
-
- minikube = consul.AclAuthMethod("minikube",
- config={
- "CACert": \"\"\"-----BEGIN CERTIFICATE-----
- ...-----END CERTIFICATE-----
-
- \"\"\",
- "Host": "https://192.0.2.42:8443",
- "ServiceAccountJWT": "eyJhbGciOiJSUzI1NiIsImtpZCI6IiJ9...",
- },
- description="dev minikube cluster",
- type="kubernetes")
- test = consul.AclBindingRule("test",
- auth_method=minikube.name,
- bind_name="minikube",
- bind_type="service",
- description="foobar",
- selector="serviceaccount.namespace==default")
- ```
-
:param str resource_name: The name of the resource.
:param pulumi.ResourceOptions opts: Options for the resource.
:param pulumi.Input[str] auth_method: The name of the ACL auth method this rule apply.
@@ -352,31 +349,6 @@ def __init__(__self__,
Starting with Consul 1.5.0, the AclBindingRule resource can be used to
managed Consul ACL binding rules.
- ## Example Usage
-
- ```python
- import pulumi
- import pulumi_consul as consul
-
- minikube = consul.AclAuthMethod("minikube",
- config={
- "CACert": \"\"\"-----BEGIN CERTIFICATE-----
- ...-----END CERTIFICATE-----
-
- \"\"\",
- "Host": "https://192.0.2.42:8443",
- "ServiceAccountJWT": "eyJhbGciOiJSUzI1NiIsImtpZCI6IiJ9...",
- },
- description="dev minikube cluster",
- type="kubernetes")
- test = consul.AclBindingRule("test",
- auth_method=minikube.name,
- bind_name="minikube",
- bind_type="service",
- description="foobar",
- selector="serviceaccount.namespace==default")
- ```
-
:param str resource_name: The name of the resource.
:param AclBindingRuleArgs args: The arguments to use to populate this resource's properties.
:param pulumi.ResourceOptions opts: Options for the resource.
diff --git a/sdk/python/pulumi_consul/acl_policy.py b/sdk/python/pulumi_consul/acl_policy.py
index 91a9bf8b..b98b34ae 100644
--- a/sdk/python/pulumi_consul/acl_policy.py
+++ b/sdk/python/pulumi_consul/acl_policy.py
@@ -41,13 +41,17 @@ def __init__(__self__, *,
@staticmethod
def _configure(
_setter: Callable[[Any, Any], None],
- rules: pulumi.Input[str],
+ rules: Optional[pulumi.Input[str]] = None,
datacenters: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
description: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
namespace: Optional[pulumi.Input[str]] = None,
partition: Optional[pulumi.Input[str]] = None,
- opts: Optional[pulumi.ResourceOptions]=None):
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+ if rules is None:
+ raise TypeError("Missing 'rules' argument")
+
_setter("rules", rules)
if datacenters is not None:
_setter("datacenters", datacenters)
@@ -169,7 +173,9 @@ def _configure(
namespace: Optional[pulumi.Input[str]] = None,
partition: Optional[pulumi.Input[str]] = None,
rules: Optional[pulumi.Input[str]] = None,
- opts: Optional[pulumi.ResourceOptions]=None):
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+
if datacenters is not None:
_setter("datacenters", datacenters)
if description is not None:
@@ -271,21 +277,6 @@ def __init__(__self__,
"""
Starting with Consul 1.4.0, the AclPolicy can be used to managed Consul ACL policies.
- ## Example Usage
-
- ```python
- import pulumi
- import pulumi_consul as consul
-
- test = consul.AclPolicy("test",
- datacenters=["dc1"],
- rules=\"\"\"node_prefix "" {
- policy = "read"
- }
-
- \"\"\")
- ```
-
## Import
`consul_acl_policy` can be imported:
@@ -312,21 +303,6 @@ def __init__(__self__,
"""
Starting with Consul 1.4.0, the AclPolicy can be used to managed Consul ACL policies.
- ## Example Usage
-
- ```python
- import pulumi
- import pulumi_consul as consul
-
- test = consul.AclPolicy("test",
- datacenters=["dc1"],
- rules=\"\"\"node_prefix "" {
- policy = "read"
- }
-
- \"\"\")
- ```
-
## Import
`consul_acl_policy` can be imported:
diff --git a/sdk/python/pulumi_consul/acl_role.py b/sdk/python/pulumi_consul/acl_role.py
index e78c86e9..437cb7db 100644
--- a/sdk/python/pulumi_consul/acl_role.py
+++ b/sdk/python/pulumi_consul/acl_role.py
@@ -53,7 +53,13 @@ def _configure(
partition: Optional[pulumi.Input[str]] = None,
policies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
service_identities: Optional[pulumi.Input[Sequence[pulumi.Input['AclRoleServiceIdentityArgs']]]] = None,
- opts: Optional[pulumi.ResourceOptions]=None):
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+ if node_identities is None and 'nodeIdentities' in kwargs:
+ node_identities = kwargs['nodeIdentities']
+ if service_identities is None and 'serviceIdentities' in kwargs:
+ service_identities = kwargs['serviceIdentities']
+
if description is not None:
_setter("description", description)
if name is not None:
@@ -194,7 +200,13 @@ def _configure(
partition: Optional[pulumi.Input[str]] = None,
policies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
service_identities: Optional[pulumi.Input[Sequence[pulumi.Input['AclRoleServiceIdentityArgs']]]] = None,
- opts: Optional[pulumi.ResourceOptions]=None):
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+ if node_identities is None and 'nodeIdentities' in kwargs:
+ node_identities = kwargs['nodeIdentities']
+ if service_identities is None and 'serviceIdentities' in kwargs:
+ service_identities = kwargs['serviceIdentities']
+
if description is not None:
_setter("description", description)
if name is not None:
@@ -311,23 +323,6 @@ def __init__(__self__,
"""
Starting with Consul 1.5.0, the AclRole can be used to managed Consul ACL roles.
- ## Example Usage
-
- ```python
- import pulumi
- import pulumi_consul as consul
-
- read_policy = consul.AclPolicy("read-policy",
- datacenters=["dc1"],
- rules="node \\"\\" { policy = \\"read\\" }")
- read = consul.AclRole("read",
- description="bar",
- policies=[read_policy.id],
- service_identities=[consul.AclRoleServiceIdentityArgs(
- service_name="foo",
- )])
- ```
-
## Import
`consul_acl_role` can be imported:
@@ -355,23 +350,6 @@ def __init__(__self__,
"""
Starting with Consul 1.5.0, the AclRole can be used to managed Consul ACL roles.
- ## Example Usage
-
- ```python
- import pulumi
- import pulumi_consul as consul
-
- read_policy = consul.AclPolicy("read-policy",
- datacenters=["dc1"],
- rules="node \\"\\" { policy = \\"read\\" }")
- read = consul.AclRole("read",
- description="bar",
- policies=[read_policy.id],
- service_identities=[consul.AclRoleServiceIdentityArgs(
- service_name="foo",
- )])
- ```
-
## Import
`consul_acl_role` can be imported:
diff --git a/sdk/python/pulumi_consul/acl_token.py b/sdk/python/pulumi_consul/acl_token.py
index f02fc145..17c79f21 100644
--- a/sdk/python/pulumi_consul/acl_token.py
+++ b/sdk/python/pulumi_consul/acl_token.py
@@ -66,7 +66,17 @@ def _configure(
policies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
roles: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
service_identities: Optional[pulumi.Input[Sequence[pulumi.Input['AclTokenServiceIdentityArgs']]]] = None,
- opts: Optional[pulumi.ResourceOptions]=None):
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+ if accessor_id is None and 'accessorId' in kwargs:
+ accessor_id = kwargs['accessorId']
+ if expiration_time is None and 'expirationTime' in kwargs:
+ expiration_time = kwargs['expirationTime']
+ if node_identities is None and 'nodeIdentities' in kwargs:
+ node_identities = kwargs['nodeIdentities']
+ if service_identities is None and 'serviceIdentities' in kwargs:
+ service_identities = kwargs['serviceIdentities']
+
if accessor_id is not None:
_setter("accessor_id", accessor_id)
if description is not None:
@@ -263,7 +273,17 @@ def _configure(
policies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
roles: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
service_identities: Optional[pulumi.Input[Sequence[pulumi.Input['AclTokenServiceIdentityArgs']]]] = None,
- opts: Optional[pulumi.ResourceOptions]=None):
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+ if accessor_id is None and 'accessorId' in kwargs:
+ accessor_id = kwargs['accessorId']
+ if expiration_time is None and 'expirationTime' in kwargs:
+ expiration_time = kwargs['expirationTime']
+ if node_identities is None and 'nodeIdentities' in kwargs:
+ node_identities = kwargs['nodeIdentities']
+ if service_identities is None and 'serviceIdentities' in kwargs:
+ service_identities = kwargs['serviceIdentities']
+
if accessor_id is not None:
_setter("accessor_id", accessor_id)
if description is not None:
@@ -427,22 +447,6 @@ def __init__(__self__,
The `AclToken` resource writes an ACL token into Consul.
## Example Usage
- ### Basic usage
-
- ```python
- import pulumi
- import pulumi_consul as consul
-
- agent = consul.AclPolicy("agent", rules=\"\"\"node_prefix "" {
- policy = "read"
- }
-
- \"\"\")
- test = consul.AclToken("test",
- description="my test token",
- local=True,
- policies=[agent.name])
- ```
## Import
@@ -480,22 +484,6 @@ def __init__(__self__,
The `AclToken` resource writes an ACL token into Consul.
## Example Usage
- ### Basic usage
-
- ```python
- import pulumi
- import pulumi_consul as consul
-
- agent = consul.AclPolicy("agent", rules=\"\"\"node_prefix "" {
- policy = "read"
- }
-
- \"\"\")
- test = consul.AclToken("test",
- description="my test token",
- local=True,
- policies=[agent.name])
- ```
## Import
diff --git a/sdk/python/pulumi_consul/acl_token_policy_attachment.py b/sdk/python/pulumi_consul/acl_token_policy_attachment.py
index 5ce5b79a..70251bac 100644
--- a/sdk/python/pulumi_consul/acl_token_policy_attachment.py
+++ b/sdk/python/pulumi_consul/acl_token_policy_attachment.py
@@ -29,9 +29,17 @@ def __init__(__self__, *,
@staticmethod
def _configure(
_setter: Callable[[Any, Any], None],
- policy: pulumi.Input[str],
- token_id: pulumi.Input[str],
- opts: Optional[pulumi.ResourceOptions]=None):
+ policy: Optional[pulumi.Input[str]] = None,
+ token_id: Optional[pulumi.Input[str]] = None,
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+ if policy is None:
+ raise TypeError("Missing 'policy' argument")
+ if token_id is None and 'tokenId' in kwargs:
+ token_id = kwargs['tokenId']
+ if token_id is None:
+ raise TypeError("Missing 'token_id' argument")
+
_setter("policy", policy)
_setter("token_id", token_id)
@@ -80,7 +88,11 @@ def _configure(
_setter: Callable[[Any, Any], None],
policy: Optional[pulumi.Input[str]] = None,
token_id: Optional[pulumi.Input[str]] = None,
- opts: Optional[pulumi.ResourceOptions]=None):
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+ if token_id is None and 'tokenId' in kwargs:
+ token_id = kwargs['tokenId']
+
if policy is not None:
_setter("policy", policy)
if token_id is not None:
diff --git a/sdk/python/pulumi_consul/acl_token_role_attachment.py b/sdk/python/pulumi_consul/acl_token_role_attachment.py
index 434c1fc5..4240a647 100644
--- a/sdk/python/pulumi_consul/acl_token_role_attachment.py
+++ b/sdk/python/pulumi_consul/acl_token_role_attachment.py
@@ -29,9 +29,17 @@ def __init__(__self__, *,
@staticmethod
def _configure(
_setter: Callable[[Any, Any], None],
- role: pulumi.Input[str],
- token_id: pulumi.Input[str],
- opts: Optional[pulumi.ResourceOptions]=None):
+ role: Optional[pulumi.Input[str]] = None,
+ token_id: Optional[pulumi.Input[str]] = None,
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+ if role is None:
+ raise TypeError("Missing 'role' argument")
+ if token_id is None and 'tokenId' in kwargs:
+ token_id = kwargs['tokenId']
+ if token_id is None:
+ raise TypeError("Missing 'token_id' argument")
+
_setter("role", role)
_setter("token_id", token_id)
@@ -80,7 +88,11 @@ def _configure(
_setter: Callable[[Any, Any], None],
role: Optional[pulumi.Input[str]] = None,
token_id: Optional[pulumi.Input[str]] = None,
- opts: Optional[pulumi.ResourceOptions]=None):
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+ if token_id is None and 'tokenId' in kwargs:
+ token_id = kwargs['tokenId']
+
if role is not None:
_setter("role", role)
if token_id is not None:
diff --git a/sdk/python/pulumi_consul/admin_partition.py b/sdk/python/pulumi_consul/admin_partition.py
index 119f8f6f..6a2deaf8 100644
--- a/sdk/python/pulumi_consul/admin_partition.py
+++ b/sdk/python/pulumi_consul/admin_partition.py
@@ -31,7 +31,9 @@ def _configure(
_setter: Callable[[Any, Any], None],
description: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
- opts: Optional[pulumi.ResourceOptions]=None):
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+
if description is not None:
_setter("description", description)
if name is not None:
@@ -82,7 +84,9 @@ def _configure(
_setter: Callable[[Any, Any], None],
description: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
- opts: Optional[pulumi.ResourceOptions]=None):
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+
if description is not None:
_setter("description", description)
if name is not None:
@@ -126,15 +130,6 @@ def __init__(__self__,
The `AdminPartition` resource manages [Consul Enterprise Admin Partitions](https://www.consul.io/docs/enterprise/admin-partitions).
- ## Example Usage
-
- ```python
- import pulumi
- import pulumi_consul as consul
-
- na_west = consul.AdminPartition("naWest", description="Partition for North America West")
- ```
-
## Import
`consul_admin_partition` can be imported:
@@ -159,15 +154,6 @@ def __init__(__self__,
The `AdminPartition` resource manages [Consul Enterprise Admin Partitions](https://www.consul.io/docs/enterprise/admin-partitions).
- ## Example Usage
-
- ```python
- import pulumi
- import pulumi_consul as consul
-
- na_west = consul.AdminPartition("naWest", description="Partition for North America West")
- ```
-
## Import
`consul_admin_partition` can be imported:
diff --git a/sdk/python/pulumi_consul/agent_service.py b/sdk/python/pulumi_consul/agent_service.py
index 2eea7a32..91748629 100644
--- a/sdk/python/pulumi_consul/agent_service.py
+++ b/sdk/python/pulumi_consul/agent_service.py
@@ -41,7 +41,9 @@ def _configure(
name: Optional[pulumi.Input[str]] = None,
port: Optional[pulumi.Input[int]] = None,
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
- opts: Optional[pulumi.ResourceOptions]=None):
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+
if address is not None:
_setter("address", address)
if name is not None:
@@ -132,7 +134,9 @@ def _configure(
name: Optional[pulumi.Input[str]] = None,
port: Optional[pulumi.Input[int]] = None,
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
- opts: Optional[pulumi.ResourceOptions]=None):
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+
if address is not None:
_setter("address", address)
if name is not None:
@@ -212,21 +216,6 @@ def __init__(__self__,
define a service associated with a particular agent. Currently, defining
health checks for an agent service is not supported.
- ## Example Usage
-
- ```python
- import pulumi
- import pulumi_consul as consul
-
- app = consul.AgentService("app",
- address="www.google.com",
- port=80,
- tags=[
- "tag0",
- "tag1",
- ])
- ```
-
:param str resource_name: The name of the resource.
:param pulumi.ResourceOptions opts: Options for the resource.
:param pulumi.Input[str] address: The address of the service. Defaults to the
@@ -251,21 +240,6 @@ def __init__(__self__,
define a service associated with a particular agent. Currently, defining
health checks for an agent service is not supported.
- ## Example Usage
-
- ```python
- import pulumi
- import pulumi_consul as consul
-
- app = consul.AgentService("app",
- address="www.google.com",
- port=80,
- tags=[
- "tag0",
- "tag1",
- ])
- ```
-
:param str resource_name: The name of the resource.
:param AgentServiceArgs args: The arguments to use to populate this resource's properties.
:param pulumi.ResourceOptions opts: Options for the resource.
diff --git a/sdk/python/pulumi_consul/autopilot_config.py b/sdk/python/pulumi_consul/autopilot_config.py
index 2c06af02..2d4286d3 100644
--- a/sdk/python/pulumi_consul/autopilot_config.py
+++ b/sdk/python/pulumi_consul/autopilot_config.py
@@ -65,7 +65,23 @@ def _configure(
redundancy_zone_tag: Optional[pulumi.Input[str]] = None,
server_stabilization_time: Optional[pulumi.Input[str]] = None,
upgrade_version_tag: Optional[pulumi.Input[str]] = None,
- opts: Optional[pulumi.ResourceOptions]=None):
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+ if cleanup_dead_servers is None and 'cleanupDeadServers' in kwargs:
+ cleanup_dead_servers = kwargs['cleanupDeadServers']
+ if disable_upgrade_migration is None and 'disableUpgradeMigration' in kwargs:
+ disable_upgrade_migration = kwargs['disableUpgradeMigration']
+ if last_contact_threshold is None and 'lastContactThreshold' in kwargs:
+ last_contact_threshold = kwargs['lastContactThreshold']
+ if max_trailing_logs is None and 'maxTrailingLogs' in kwargs:
+ max_trailing_logs = kwargs['maxTrailingLogs']
+ if redundancy_zone_tag is None and 'redundancyZoneTag' in kwargs:
+ redundancy_zone_tag = kwargs['redundancyZoneTag']
+ if server_stabilization_time is None and 'serverStabilizationTime' in kwargs:
+ server_stabilization_time = kwargs['serverStabilizationTime']
+ if upgrade_version_tag is None and 'upgradeVersionTag' in kwargs:
+ upgrade_version_tag = kwargs['upgradeVersionTag']
+
if cleanup_dead_servers is not None:
_setter("cleanup_dead_servers", cleanup_dead_servers)
if datacenter is not None:
@@ -244,7 +260,23 @@ def _configure(
redundancy_zone_tag: Optional[pulumi.Input[str]] = None,
server_stabilization_time: Optional[pulumi.Input[str]] = None,
upgrade_version_tag: Optional[pulumi.Input[str]] = None,
- opts: Optional[pulumi.ResourceOptions]=None):
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+ if cleanup_dead_servers is None and 'cleanupDeadServers' in kwargs:
+ cleanup_dead_servers = kwargs['cleanupDeadServers']
+ if disable_upgrade_migration is None and 'disableUpgradeMigration' in kwargs:
+ disable_upgrade_migration = kwargs['disableUpgradeMigration']
+ if last_contact_threshold is None and 'lastContactThreshold' in kwargs:
+ last_contact_threshold = kwargs['lastContactThreshold']
+ if max_trailing_logs is None and 'maxTrailingLogs' in kwargs:
+ max_trailing_logs = kwargs['maxTrailingLogs']
+ if redundancy_zone_tag is None and 'redundancyZoneTag' in kwargs:
+ redundancy_zone_tag = kwargs['redundancyZoneTag']
+ if server_stabilization_time is None and 'serverStabilizationTime' in kwargs:
+ server_stabilization_time = kwargs['serverStabilizationTime']
+ if upgrade_version_tag is None and 'upgradeVersionTag' in kwargs:
+ upgrade_version_tag = kwargs['upgradeVersionTag']
+
if cleanup_dead_servers is not None:
_setter("cleanup_dead_servers", cleanup_dead_servers)
if datacenter is not None:
@@ -390,18 +422,6 @@ def __init__(__self__,
It includes to automatically cleanup dead servers, monitor the status of the Raft
cluster and stable server introduction.
- ## Example Usage
-
- ```python
- import pulumi
- import pulumi_consul as consul
-
- config = consul.AutopilotConfig("config",
- cleanup_dead_servers=False,
- last_contact_threshold="1s",
- max_trailing_logs=500)
- ```
-
:param str resource_name: The name of the resource.
:param pulumi.ResourceOptions opts: Options for the resource.
:param pulumi.Input[bool] cleanup_dead_servers: Whether to remove failing servers when a
@@ -436,18 +456,6 @@ def __init__(__self__,
It includes to automatically cleanup dead servers, monitor the status of the Raft
cluster and stable server introduction.
- ## Example Usage
-
- ```python
- import pulumi
- import pulumi_consul as consul
-
- config = consul.AutopilotConfig("config",
- cleanup_dead_servers=False,
- last_contact_threshold="1s",
- max_trailing_logs=500)
- ```
-
:param str resource_name: The name of the resource.
:param AutopilotConfigArgs args: The arguments to use to populate this resource's properties.
:param pulumi.ResourceOptions opts: Options for the resource.
diff --git a/sdk/python/pulumi_consul/catalog_entry.py b/sdk/python/pulumi_consul/catalog_entry.py
index 456beae5..e68099d3 100644
--- a/sdk/python/pulumi_consul/catalog_entry.py
+++ b/sdk/python/pulumi_consul/catalog_entry.py
@@ -44,12 +44,18 @@ def __init__(__self__, *,
@staticmethod
def _configure(
_setter: Callable[[Any, Any], None],
- address: pulumi.Input[str],
- node: pulumi.Input[str],
+ address: Optional[pulumi.Input[str]] = None,
+ node: Optional[pulumi.Input[str]] = None,
datacenter: Optional[pulumi.Input[str]] = None,
services: Optional[pulumi.Input[Sequence[pulumi.Input['CatalogEntryServiceArgs']]]] = None,
token: Optional[pulumi.Input[str]] = None,
- opts: Optional[pulumi.ResourceOptions]=None):
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+ if address is None:
+ raise TypeError("Missing 'address' argument")
+ if node is None:
+ raise TypeError("Missing 'node' argument")
+
_setter("address", address)
_setter("node", node)
if datacenter is not None:
@@ -170,7 +176,9 @@ def _configure(
node: Optional[pulumi.Input[str]] = None,
services: Optional[pulumi.Input[Sequence[pulumi.Input['CatalogEntryServiceArgs']]]] = None,
token: Optional[pulumi.Input[str]] = None,
- opts: Optional[pulumi.ResourceOptions]=None):
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+
if address is not None:
_setter("address", address)
if datacenter is not None:
@@ -276,27 +284,6 @@ def __init__(__self__,
Registers a node or service with the [Consul Catalog](https://www.consul.io/docs/agent/http/catalog.html#catalog_register).
Currently, defining health checks is not supported.
- ## Example Usage
-
- ```python
- import pulumi
- import pulumi_consul as consul
-
- app = consul.CatalogEntry("app",
- address="192.168.10.10",
- node="foobar",
- services=[consul.CatalogEntryServiceArgs(
- address="127.0.0.1",
- id="redis1",
- name="redis",
- port=8000,
- tags=[
- "master",
- "v1",
- ],
- )])
- ```
-
:param str resource_name: The name of the resource.
:param pulumi.ResourceOptions opts: Options for the resource.
:param pulumi.Input[str] address: The address of the node being added to,
@@ -323,27 +310,6 @@ def __init__(__self__,
Registers a node or service with the [Consul Catalog](https://www.consul.io/docs/agent/http/catalog.html#catalog_register).
Currently, defining health checks is not supported.
- ## Example Usage
-
- ```python
- import pulumi
- import pulumi_consul as consul
-
- app = consul.CatalogEntry("app",
- address="192.168.10.10",
- node="foobar",
- services=[consul.CatalogEntryServiceArgs(
- address="127.0.0.1",
- id="redis1",
- name="redis",
- port=8000,
- tags=[
- "master",
- "v1",
- ],
- )])
- ```
-
:param str resource_name: The name of the resource.
:param CatalogEntryArgs args: The arguments to use to populate this resource's properties.
:param pulumi.ResourceOptions opts: Options for the resource.
diff --git a/sdk/python/pulumi_consul/certificate_authority.py b/sdk/python/pulumi_consul/certificate_authority.py
index 515f9eec..b959e131 100644
--- a/sdk/python/pulumi_consul/certificate_authority.py
+++ b/sdk/python/pulumi_consul/certificate_authority.py
@@ -32,10 +32,18 @@ def __init__(__self__, *,
@staticmethod
def _configure(
_setter: Callable[[Any, Any], None],
- connect_provider: pulumi.Input[str],
+ connect_provider: Optional[pulumi.Input[str]] = None,
config: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
config_json: Optional[pulumi.Input[str]] = None,
- opts: Optional[pulumi.ResourceOptions]=None):
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+ if connect_provider is None and 'connectProvider' in kwargs:
+ connect_provider = kwargs['connectProvider']
+ if connect_provider is None:
+ raise TypeError("Missing 'connect_provider' argument")
+ if config_json is None and 'configJson' in kwargs:
+ config_json = kwargs['configJson']
+
_setter("connect_provider", connect_provider)
if config is not None:
warnings.warn("""The config attribute is deprecated, please use config_json instead.""", DeprecationWarning)
@@ -109,7 +117,13 @@ def _configure(
config: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
config_json: Optional[pulumi.Input[str]] = None,
connect_provider: Optional[pulumi.Input[str]] = None,
- opts: Optional[pulumi.ResourceOptions]=None):
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+ if config_json is None and 'configJson' in kwargs:
+ config_json = kwargs['configJson']
+ if connect_provider is None and 'connectProvider' in kwargs:
+ connect_provider = kwargs['connectProvider']
+
if config is not None:
warnings.warn("""The config attribute is deprecated, please use config_json instead.""", DeprecationWarning)
pulumi.log.warn("""config is deprecated: The config attribute is deprecated, please use config_json instead.""")
diff --git a/sdk/python/pulumi_consul/config/outputs.py b/sdk/python/pulumi_consul/config/outputs.py
index ca5f7091..74052a85 100644
--- a/sdk/python/pulumi_consul/config/outputs.py
+++ b/sdk/python/pulumi_consul/config/outputs.py
@@ -31,11 +31,21 @@ def __init__(__self__, *,
@staticmethod
def _configure(
_setter: Callable[[Any, Any], None],
- auth_method: str,
+ auth_method: Optional[str] = None,
bearer_token: Optional[str] = None,
meta: Optional[Mapping[str, str]] = None,
use_terraform_cloud_workload_identity: Optional[bool] = None,
- opts: Optional[pulumi.ResourceOptions]=None):
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+ if auth_method is None and 'authMethod' in kwargs:
+ auth_method = kwargs['authMethod']
+ if auth_method is None:
+ raise TypeError("Missing 'auth_method' argument")
+ if bearer_token is None and 'bearerToken' in kwargs:
+ bearer_token = kwargs['bearerToken']
+ if use_terraform_cloud_workload_identity is None and 'useTerraformCloudWorkloadIdentity' in kwargs:
+ use_terraform_cloud_workload_identity = kwargs['useTerraformCloudWorkloadIdentity']
+
_setter("auth_method", auth_method)
if bearer_token is not None:
_setter("bearer_token", bearer_token)
@@ -78,9 +88,15 @@ def __init__(__self__, *,
@staticmethod
def _configure(
_setter: Callable[[Any, Any], None],
- name: str,
- value: str,
- opts: Optional[pulumi.ResourceOptions]=None):
+ name: Optional[str] = None,
+ value: Optional[str] = None,
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+ if name is None:
+ raise TypeError("Missing 'name' argument")
+ if value is None:
+ raise TypeError("Missing 'value' argument")
+
_setter("name", name)
_setter("value", value)
diff --git a/sdk/python/pulumi_consul/config_entry.py b/sdk/python/pulumi_consul/config_entry.py
index 7365dbd6..f3e0b476 100644
--- a/sdk/python/pulumi_consul/config_entry.py
+++ b/sdk/python/pulumi_consul/config_entry.py
@@ -38,12 +38,18 @@ def __init__(__self__, *,
@staticmethod
def _configure(
_setter: Callable[[Any, Any], None],
- kind: pulumi.Input[str],
+ kind: Optional[pulumi.Input[str]] = None,
config_json: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
namespace: Optional[pulumi.Input[str]] = None,
partition: Optional[pulumi.Input[str]] = None,
- opts: Optional[pulumi.ResourceOptions]=None):
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+ if kind is None:
+ raise TypeError("Missing 'kind' argument")
+ if config_json is None and 'configJson' in kwargs:
+ config_json = kwargs['configJson']
+
_setter("kind", kind)
if config_json is not None:
_setter("config_json", config_json)
@@ -147,7 +153,11 @@ def _configure(
name: Optional[pulumi.Input[str]] = None,
namespace: Optional[pulumi.Input[str]] = None,
partition: Optional[pulumi.Input[str]] = None,
- opts: Optional[pulumi.ResourceOptions]=None):
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+ if config_json is None and 'configJson' in kwargs:
+ config_json = kwargs['configJson']
+
if config_json is not None:
_setter("config_json", config_json)
if kind is not None:
@@ -232,250 +242,6 @@ def __init__(__self__,
partition: Optional[pulumi.Input[str]] = None,
__props__=None):
"""
- ## Example Usage
-
- ```python
- import pulumi
- import json
- import pulumi_consul as consul
-
- proxy_defaults = consul.ConfigEntry("proxyDefaults",
- kind="proxy-defaults",
- config_json=json.dumps({
- "Config": {
- "local_connect_timeout_ms": 1000,
- "handshake_timeout_ms": 10000,
- },
- }))
- web = consul.ConfigEntry("web",
- kind="service-defaults",
- config_json=json.dumps({
- "Protocol": "http",
- }))
- admin = consul.ConfigEntry("admin",
- kind="service-defaults",
- config_json=json.dumps({
- "Protocol": "http",
- }))
- service_resolver = consul.ConfigEntry("serviceResolver",
- kind="service-resolver",
- config_json=json.dumps({
- "DefaultSubset": "v1",
- "Subsets": {
- "v1": {
- "Filter": "Service.Meta.version == v1",
- },
- "v2": {
- "Filter": "Service.Meta.version == v2",
- },
- },
- }))
- service_splitter = consul.ConfigEntry("serviceSplitter",
- kind="service-splitter",
- config_json=json.dumps({
- "Splits": [
- {
- "Weight": 90,
- "ServiceSubset": "v1",
- },
- {
- "Weight": 10,
- "ServiceSubset": "v2",
- },
- ],
- }))
- service_router = consul.ConfigEntry("serviceRouter",
- kind="service-router",
- config_json=json.dumps({
- "Routes": [{
- "Match": {
- "HTTP": {
- "PathPrefix": "/admin",
- },
- },
- "Destination": {
- "Service": "admin",
- },
- }],
- }))
- ingress_gateway = consul.ConfigEntry("ingressGateway",
- kind="ingress-gateway",
- config_json=json.dumps({
- "TLS": {
- "Enabled": True,
- },
- "Listeners": [{
- "Port": 8000,
- "Protocol": "http",
- "Services": [{
- "Name": "*",
- }],
- }],
- }))
- terminating_gateway = consul.ConfigEntry("terminatingGateway",
- kind="terminating-gateway",
- config_json=json.dumps({
- "Services": [{
- "Name": "billing",
- }],
- }))
- ```
- ### `service-intentions` config entry
-
- ```python
- import pulumi
- import json
- import pulumi_consul as consul
-
- service_intentions = consul.ConfigEntry("serviceIntentions",
- kind="service-intentions",
- config_json=json.dumps({
- "Sources": [
- {
- "Action": "allow",
- "Name": "frontend-webapp",
- "Precedence": 9,
- "Type": "consul",
- },
- {
- "Action": "allow",
- "Name": "nightly-cronjob",
- "Precedence": 9,
- "Type": "consul",
- },
- ],
- }))
- ```
-
- ```python
- import pulumi
- import json
- import pulumi_consul as consul
-
- sd = consul.ConfigEntry("sd",
- kind="service-defaults",
- config_json=json.dumps({
- "Protocol": "http",
- }))
- jwt_provider = consul.ConfigEntry("jwtProvider",
- kind="jwt-provider",
- config_json=json.dumps({
- "Issuer": "test-issuer",
- "JSONWebKeySet": {
- "Remote": {
- "URI": "https://127.0.0.1:9091",
- "FetchAsynchronously": True,
- },
- },
- "Forwarding": {
- "HeaderName": "test-token",
- },
- }))
- service_intentions = consul.ConfigEntry("serviceIntentions",
- kind="service-intentions",
- config_json=jwt_provider.name.apply(lambda name: json.dumps({
- "Sources": [
- {
- "Name": "contractor-webapp",
- "Permissions": [{
- "Action": "allow",
- "HTTP": {
- "Methods": [
- "GET",
- "HEAD",
- ],
- "PathExact": "/healtz",
- },
- "JWT": {
- "Providers": [{
- "Name": name,
- }],
- },
- }],
- "Precedence": 9,
- "Type": "consul",
- },
- {
- "Name": "admin-dashboard-webapp",
- "Permissions": [
- {
- "Action": "deny",
- "HTTP": {
- "PathPrefix": "/debugz",
- },
- },
- {
- "Action": "allow",
- "HTTP": {
- "PathPrefix": "/",
- },
- },
- ],
- "Precedence": 9,
- "Type": "consul",
- },
- ],
- })))
- ```
- ### `exported-services` config entry
-
- ```python
- import pulumi
- import json
- import pulumi_consul as consul
-
- exported_services = consul.ConfigEntry("exportedServices",
- kind="exported-services",
- config_json=json.dumps({
- "Services": [{
- "Name": "test",
- "Namespace": "default",
- "Consumers": [{
- "Partition": "default",
- }],
- }],
- }))
- ```
- ### `mesh` config entry
-
- ```python
- import pulumi
- import json
- import pulumi_consul as consul
-
- mesh = consul.ConfigEntry("mesh",
- kind="mesh",
- partition="default",
- config_json=json.dumps({
- "TransparentProxy": {
- "MeshDestinationsOnly": True,
- },
- }))
- ```
- ### `jwt-provider` config entry
-
- ```python
- import pulumi
- import json
- import pulumi_consul as consul
-
- jwt_provider = consul.ConfigEntry("jwtProvider",
- kind="jwt-provider",
- config_json=json.dumps({
- "Issuer": "https://your.issuer.com",
- "JSONWebKeySet": {
- "Remote": {
- "URI": "https://your-remote.jwks.com",
- "FetchAsynchronously": True,
- "CacheDuration": "10s",
- },
- },
- "Forwarding": {
- "HeaderName": "test-token",
- },
- }))
- ```
-
## Import
`consul_config_entry` can be imported using the syntax `/` if the config entry is in the default partition and default namespace, or `///` for config entries in a non-default partition or namespace:
@@ -499,250 +265,6 @@ def __init__(__self__,
args: ConfigEntryArgs,
opts: Optional[pulumi.ResourceOptions] = None):
"""
- ## Example Usage
-
- ```python
- import pulumi
- import json
- import pulumi_consul as consul
-
- proxy_defaults = consul.ConfigEntry("proxyDefaults",
- kind="proxy-defaults",
- config_json=json.dumps({
- "Config": {
- "local_connect_timeout_ms": 1000,
- "handshake_timeout_ms": 10000,
- },
- }))
- web = consul.ConfigEntry("web",
- kind="service-defaults",
- config_json=json.dumps({
- "Protocol": "http",
- }))
- admin = consul.ConfigEntry("admin",
- kind="service-defaults",
- config_json=json.dumps({
- "Protocol": "http",
- }))
- service_resolver = consul.ConfigEntry("serviceResolver",
- kind="service-resolver",
- config_json=json.dumps({
- "DefaultSubset": "v1",
- "Subsets": {
- "v1": {
- "Filter": "Service.Meta.version == v1",
- },
- "v2": {
- "Filter": "Service.Meta.version == v2",
- },
- },
- }))
- service_splitter = consul.ConfigEntry("serviceSplitter",
- kind="service-splitter",
- config_json=json.dumps({
- "Splits": [
- {
- "Weight": 90,
- "ServiceSubset": "v1",
- },
- {
- "Weight": 10,
- "ServiceSubset": "v2",
- },
- ],
- }))
- service_router = consul.ConfigEntry("serviceRouter",
- kind="service-router",
- config_json=json.dumps({
- "Routes": [{
- "Match": {
- "HTTP": {
- "PathPrefix": "/admin",
- },
- },
- "Destination": {
- "Service": "admin",
- },
- }],
- }))
- ingress_gateway = consul.ConfigEntry("ingressGateway",
- kind="ingress-gateway",
- config_json=json.dumps({
- "TLS": {
- "Enabled": True,
- },
- "Listeners": [{
- "Port": 8000,
- "Protocol": "http",
- "Services": [{
- "Name": "*",
- }],
- }],
- }))
- terminating_gateway = consul.ConfigEntry("terminatingGateway",
- kind="terminating-gateway",
- config_json=json.dumps({
- "Services": [{
- "Name": "billing",
- }],
- }))
- ```
- ### `service-intentions` config entry
-
- ```python
- import pulumi
- import json
- import pulumi_consul as consul
-
- service_intentions = consul.ConfigEntry("serviceIntentions",
- kind="service-intentions",
- config_json=json.dumps({
- "Sources": [
- {
- "Action": "allow",
- "Name": "frontend-webapp",
- "Precedence": 9,
- "Type": "consul",
- },
- {
- "Action": "allow",
- "Name": "nightly-cronjob",
- "Precedence": 9,
- "Type": "consul",
- },
- ],
- }))
- ```
-
- ```python
- import pulumi
- import json
- import pulumi_consul as consul
-
- sd = consul.ConfigEntry("sd",
- kind="service-defaults",
- config_json=json.dumps({
- "Protocol": "http",
- }))
- jwt_provider = consul.ConfigEntry("jwtProvider",
- kind="jwt-provider",
- config_json=json.dumps({
- "Issuer": "test-issuer",
- "JSONWebKeySet": {
- "Remote": {
- "URI": "https://127.0.0.1:9091",
- "FetchAsynchronously": True,
- },
- },
- "Forwarding": {
- "HeaderName": "test-token",
- },
- }))
- service_intentions = consul.ConfigEntry("serviceIntentions",
- kind="service-intentions",
- config_json=jwt_provider.name.apply(lambda name: json.dumps({
- "Sources": [
- {
- "Name": "contractor-webapp",
- "Permissions": [{
- "Action": "allow",
- "HTTP": {
- "Methods": [
- "GET",
- "HEAD",
- ],
- "PathExact": "/healtz",
- },
- "JWT": {
- "Providers": [{
- "Name": name,
- }],
- },
- }],
- "Precedence": 9,
- "Type": "consul",
- },
- {
- "Name": "admin-dashboard-webapp",
- "Permissions": [
- {
- "Action": "deny",
- "HTTP": {
- "PathPrefix": "/debugz",
- },
- },
- {
- "Action": "allow",
- "HTTP": {
- "PathPrefix": "/",
- },
- },
- ],
- "Precedence": 9,
- "Type": "consul",
- },
- ],
- })))
- ```
- ### `exported-services` config entry
-
- ```python
- import pulumi
- import json
- import pulumi_consul as consul
-
- exported_services = consul.ConfigEntry("exportedServices",
- kind="exported-services",
- config_json=json.dumps({
- "Services": [{
- "Name": "test",
- "Namespace": "default",
- "Consumers": [{
- "Partition": "default",
- }],
- }],
- }))
- ```
- ### `mesh` config entry
-
- ```python
- import pulumi
- import json
- import pulumi_consul as consul
-
- mesh = consul.ConfigEntry("mesh",
- kind="mesh",
- partition="default",
- config_json=json.dumps({
- "TransparentProxy": {
- "MeshDestinationsOnly": True,
- },
- }))
- ```
- ### `jwt-provider` config entry
-
- ```python
- import pulumi
- import json
- import pulumi_consul as consul
-
- jwt_provider = consul.ConfigEntry("jwtProvider",
- kind="jwt-provider",
- config_json=json.dumps({
- "Issuer": "https://your.issuer.com",
- "JSONWebKeySet": {
- "Remote": {
- "URI": "https://your-remote.jwks.com",
- "FetchAsynchronously": True,
- "CacheDuration": "10s",
- },
- },
- "Forwarding": {
- "HeaderName": "test-token",
- },
- }))
- ```
-
## Import
`consul_config_entry` can be imported using the syntax `/` if the config entry is in the default partition and default namespace, or `///` for config entries in a non-default partition or namespace:
diff --git a/sdk/python/pulumi_consul/get_acl_auth_method.py b/sdk/python/pulumi_consul/get_acl_auth_method.py
index c166bd66..20502b4e 100644
--- a/sdk/python/pulumi_consul/get_acl_auth_method.py
+++ b/sdk/python/pulumi_consul/get_acl_auth_method.py
@@ -185,16 +185,6 @@ def get_acl_auth_method(name: Optional[str] = None,
The `AclAuthMethod` data source returns the information related to a
[Consul Auth Method](https://www.consul.io/docs/acl/acl-auth-methods.html).
- ## Example Usage
-
- ```python
- import pulumi
- import pulumi_consul as consul
-
- test = consul.get_acl_auth_method(name="minikube")
- pulumi.export("consulAclAuthMethod", test.config)
- ```
-
:param str name: The name of the ACL Auth Method.
:param str namespace: The namespace to lookup the auth method.
@@ -231,16 +221,6 @@ def get_acl_auth_method_output(name: Optional[pulumi.Input[str]] = None,
The `AclAuthMethod` data source returns the information related to a
[Consul Auth Method](https://www.consul.io/docs/acl/acl-auth-methods.html).
- ## Example Usage
-
- ```python
- import pulumi
- import pulumi_consul as consul
-
- test = consul.get_acl_auth_method(name="minikube")
- pulumi.export("consulAclAuthMethod", test.config)
- ```
-
:param str name: The name of the ACL Auth Method.
:param str namespace: The namespace to lookup the auth method.
diff --git a/sdk/python/pulumi_consul/get_acl_policy.py b/sdk/python/pulumi_consul/get_acl_policy.py
index 19ebc396..42f77a1d 100644
--- a/sdk/python/pulumi_consul/get_acl_policy.py
+++ b/sdk/python/pulumi_consul/get_acl_policy.py
@@ -115,16 +115,6 @@ def get_acl_policy(name: Optional[str] = None,
The `AclPolicy` data source returns the information related to a
[Consul ACL Policy](https://www.consul.io/docs/acl/acl-system.html#acl-policies).
- ## Example Usage
-
- ```python
- import pulumi
- import pulumi_consul as consul
-
- agent = consul.get_acl_policy(name="agent")
- pulumi.export("consulAclPolicy", agent.rules)
- ```
-
:param str name: The name of the ACL Policy.
:param str namespace: The namespace to lookup the policy.
@@ -156,16 +146,6 @@ def get_acl_policy_output(name: Optional[pulumi.Input[str]] = None,
The `AclPolicy` data source returns the information related to a
[Consul ACL Policy](https://www.consul.io/docs/acl/acl-system.html#acl-policies).
- ## Example Usage
-
- ```python
- import pulumi
- import pulumi_consul as consul
-
- agent = consul.get_acl_policy(name="agent")
- pulumi.export("consulAclPolicy", agent.rules)
- ```
-
:param str name: The name of the ACL Policy.
:param str namespace: The namespace to lookup the policy.
diff --git a/sdk/python/pulumi_consul/get_acl_role.py b/sdk/python/pulumi_consul/get_acl_role.py
index 88932c38..187dcfb1 100644
--- a/sdk/python/pulumi_consul/get_acl_role.py
+++ b/sdk/python/pulumi_consul/get_acl_role.py
@@ -134,16 +134,6 @@ def get_acl_role(name: Optional[str] = None,
The `AclRole` data source returns the information related to a
[Consul ACL Role](https://www.consul.io/api/acl/roles.html).
- ## Example Usage
-
- ```python
- import pulumi
- import pulumi_consul as consul
-
- test = consul.get_acl_role(name="example-role")
- pulumi.export("consulAclRole", test.id)
- ```
-
:param str name: The name of the ACL Role.
:param str namespace: The namespace to lookup the role.
@@ -176,16 +166,6 @@ def get_acl_role_output(name: Optional[pulumi.Input[str]] = None,
The `AclRole` data source returns the information related to a
[Consul ACL Role](https://www.consul.io/api/acl/roles.html).
- ## Example Usage
-
- ```python
- import pulumi
- import pulumi_consul as consul
-
- test = consul.get_acl_role(name="example-role")
- pulumi.export("consulAclRole", test.id)
- ```
-
:param str name: The name of the ACL Role.
:param str namespace: The namespace to lookup the role.
diff --git a/sdk/python/pulumi_consul/get_acl_token.py b/sdk/python/pulumi_consul/get_acl_token.py
index 13800da6..dcd5b5d9 100644
--- a/sdk/python/pulumi_consul/get_acl_token.py
+++ b/sdk/python/pulumi_consul/get_acl_token.py
@@ -167,16 +167,6 @@ def get_acl_token(accessor_id: Optional[str] = None,
If you want to get the secret ID associated with a token, use the
[`get_acl_token_secret_id` data source](https://www.terraform.io/docs/providers/consul/d/acl_token_secret_id.html).
- ## Example Usage
-
- ```python
- import pulumi
- import pulumi_consul as consul
-
- test = consul.get_acl_token(accessor_id="00000000-0000-0000-0000-000000000002")
- pulumi.export("consulAclPolicies", test.policies)
- ```
-
:param str accessor_id: The accessor ID of the ACL token.
:param str namespace: The namespace to lookup the ACL token.
@@ -215,16 +205,6 @@ def get_acl_token_output(accessor_id: Optional[pulumi.Input[str]] = None,
If you want to get the secret ID associated with a token, use the
[`get_acl_token_secret_id` data source](https://www.terraform.io/docs/providers/consul/d/acl_token_secret_id.html).
- ## Example Usage
-
- ```python
- import pulumi
- import pulumi_consul as consul
-
- test = consul.get_acl_token(accessor_id="00000000-0000-0000-0000-000000000002")
- pulumi.export("consulAclPolicies", test.policies)
- ```
-
:param str accessor_id: The accessor ID of the ACL token.
:param str namespace: The namespace to lookup the ACL token.
diff --git a/sdk/python/pulumi_consul/get_acl_token_secret_id.py b/sdk/python/pulumi_consul/get_acl_token_secret_id.py
index a96816de..23cb8a52 100644
--- a/sdk/python/pulumi_consul/get_acl_token_secret_id.py
+++ b/sdk/python/pulumi_consul/get_acl_token_secret_id.py
@@ -107,24 +107,7 @@ def get_acl_token_secret_id(accessor_id: Optional[str] = None,
pgp_key: Optional[str] = None,
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAclTokenSecretIdResult:
"""
- ## Example Usage
-
- ```python
- import pulumi
- import pulumi_consul as consul
-
- test_acl_policy = consul.AclPolicy("testAclPolicy",
- rules="node \\"\\" { policy = \\"read\\" }",
- datacenters=["dc1"])
- test_acl_token = consul.AclToken("testAclToken",
- description="test",
- policies=[test_acl_policy.name],
- local=True)
- read = consul.get_acl_token_secret_id_output(accessor_id=test_acl_token.id,
- pgp_key="keybase:my_username")
- pulumi.export("consulAclTokenSecretId", read.encrypted_secret_id)
- ```
-
+ Use this data source to access information about an existing resource.
:param str accessor_id: The accessor ID of the ACL token.
:param str namespace: The namespace to lookup the token.
@@ -155,24 +138,7 @@ def get_acl_token_secret_id_output(accessor_id: Optional[pulumi.Input[str]] = No
pgp_key: Optional[pulumi.Input[Optional[str]]] = None,
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAclTokenSecretIdResult]:
"""
- ## Example Usage
-
- ```python
- import pulumi
- import pulumi_consul as consul
-
- test_acl_policy = consul.AclPolicy("testAclPolicy",
- rules="node \\"\\" { policy = \\"read\\" }",
- datacenters=["dc1"])
- test_acl_token = consul.AclToken("testAclToken",
- description="test",
- policies=[test_acl_policy.name],
- local=True)
- read = consul.get_acl_token_secret_id_output(accessor_id=test_acl_token.id,
- pgp_key="keybase:my_username")
- pulumi.export("consulAclTokenSecretId", read.encrypted_secret_id)
- ```
-
+ Use this data source to access information about an existing resource.
:param str accessor_id: The accessor ID of the ACL token.
:param str namespace: The namespace to lookup the token.
diff --git a/sdk/python/pulumi_consul/get_agent_config.py b/sdk/python/pulumi_consul/get_agent_config.py
index b71606da..7a020ec6 100644
--- a/sdk/python/pulumi_consul/get_agent_config.py
+++ b/sdk/python/pulumi_consul/get_agent_config.py
@@ -125,16 +125,6 @@ def get_agent_config(opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGe
The `get_agent_config` data source returns
[configuration data](https://www.consul.io/api/agent.html#read-configuration)
from the agent specified in the `provider`.
-
- ## Example Usage
-
- ```python
- import pulumi
- import pulumi_consul as consul
-
- remote_agent = consul.get_agent_config()
- pulumi.export("consulVersion", remote_agent.version)
- ```
"""
__args__ = dict()
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
@@ -160,15 +150,5 @@ def get_agent_config_output(opts: Optional[pulumi.InvokeOptions] = None) -> pulu
The `get_agent_config` data source returns
[configuration data](https://www.consul.io/api/agent.html#read-configuration)
from the agent specified in the `provider`.
-
- ## Example Usage
-
- ```python
- import pulumi
- import pulumi_consul as consul
-
- remote_agent = consul.get_agent_config()
- pulumi.export("consulVersion", remote_agent.version)
- ```
"""
...
diff --git a/sdk/python/pulumi_consul/get_autopilot_health.py b/sdk/python/pulumi_consul/get_autopilot_health.py
index 58f33e5b..b54370f8 100644
--- a/sdk/python/pulumi_consul/get_autopilot_health.py
+++ b/sdk/python/pulumi_consul/get_autopilot_health.py
@@ -100,16 +100,6 @@ def get_autopilot_health(datacenter: Optional[str] = None,
[autopilot health information](https://www.consul.io/api/operator/autopilot.html#read-health)
about the current Consul cluster.
- ## Example Usage
-
- ```python
- import pulumi
- import pulumi_consul as consul
-
- read = consul.get_autopilot_health()
- pulumi.export("health", read.healthy)
- ```
-
:param str datacenter: The datacenter to use. This overrides the agent's
default datacenter and the datacenter in the provider setup.
@@ -135,16 +125,6 @@ def get_autopilot_health_output(datacenter: Optional[pulumi.Input[Optional[str]]
[autopilot health information](https://www.consul.io/api/operator/autopilot.html#read-health)
about the current Consul cluster.
- ## Example Usage
-
- ```python
- import pulumi
- import pulumi_consul as consul
-
- read = consul.get_autopilot_health()
- pulumi.export("health", read.healthy)
- ```
-
:param str datacenter: The datacenter to use. This overrides the agent's
default datacenter and the datacenter in the provider setup.
diff --git a/sdk/python/pulumi_consul/get_key_prefix.py b/sdk/python/pulumi_consul/get_key_prefix.py
index 21efa2fe..b9cef47d 100644
--- a/sdk/python/pulumi_consul/get_key_prefix.py
+++ b/sdk/python/pulumi_consul/get_key_prefix.py
@@ -143,37 +143,7 @@ def get_key_prefix(datacenter: Optional[str] = None,
token: Optional[str] = None,
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetKeyPrefixResult:
"""
- ## Example Usage
-
- ```python
- import pulumi
- import pulumi_aws as aws
- import pulumi_consul as consul
-
- app_key_prefix = consul.get_key_prefix(datacenter="nyc1",
- path_prefix="myapp/config/",
- subkey_collection=[consul.GetKeyPrefixSubkeyCollectionArgs(
- default="ami-1234",
- name="ami",
- path="app/launch_ami",
- )],
- token="abcd")
- # Start our instance with the dynamic ami value
- app_instance = aws.ec2.Instance("appInstance", ami=app_key_prefix.var["ami"])
- ```
-
- ```python
- import pulumi
- import pulumi_aws as aws
- import pulumi_consul as consul
-
- web_key_prefix = consul.get_key_prefix(datacenter="nyc1",
- path_prefix="myapp/config/",
- token="efgh")
- # Start our instance with the dynamic ami value
- web_instance = aws.ec2.Instance("webInstance", ami=web_key_prefix.subkeys["app/launch_ami"])
- ```
-
+ Use this data source to access information about an existing resource.
:param str datacenter: The datacenter to use. This overrides the
agent's default datacenter and the datacenter in the provider setup.
@@ -218,37 +188,7 @@ def get_key_prefix_output(datacenter: Optional[pulumi.Input[Optional[str]]] = No
token: Optional[pulumi.Input[Optional[str]]] = None,
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetKeyPrefixResult]:
"""
- ## Example Usage
-
- ```python
- import pulumi
- import pulumi_aws as aws
- import pulumi_consul as consul
-
- app_key_prefix = consul.get_key_prefix(datacenter="nyc1",
- path_prefix="myapp/config/",
- subkey_collection=[consul.GetKeyPrefixSubkeyCollectionArgs(
- default="ami-1234",
- name="ami",
- path="app/launch_ami",
- )],
- token="abcd")
- # Start our instance with the dynamic ami value
- app_instance = aws.ec2.Instance("appInstance", ami=app_key_prefix.var["ami"])
- ```
-
- ```python
- import pulumi
- import pulumi_aws as aws
- import pulumi_consul as consul
-
- web_key_prefix = consul.get_key_prefix(datacenter="nyc1",
- path_prefix="myapp/config/",
- token="efgh")
- # Start our instance with the dynamic ami value
- web_instance = aws.ec2.Instance("webInstance", ami=web_key_prefix.subkeys["app/launch_ami"])
- ```
-
+ Use this data source to access information about an existing resource.
:param str datacenter: The datacenter to use. This overrides the
agent's default datacenter and the datacenter in the provider setup.
diff --git a/sdk/python/pulumi_consul/get_keys.py b/sdk/python/pulumi_consul/get_keys.py
index cbe7e842..fb5e2325 100644
--- a/sdk/python/pulumi_consul/get_keys.py
+++ b/sdk/python/pulumi_consul/get_keys.py
@@ -120,24 +120,6 @@ def get_keys(datacenter: Optional[str] = None,
The `Keys` resource reads values from the Consul key/value store.
This is a powerful way dynamically set values in templates.
- ## Example Usage
-
- ```python
- import pulumi
- import pulumi_aws as aws
- import pulumi_consul as consul
-
- app_keys = consul.get_keys(datacenter="nyc1",
- keys=[consul.GetKeysKeyArgs(
- default="ami-1234",
- name="ami",
- path="service/app/launch_ami",
- )],
- token="abcd")
- # Start our instance with the dynamic ami value
- app_instance = aws.ec2.Instance("appInstance", ami=app_keys.var["ami"])
- ```
-
:param str datacenter: The datacenter to use. This overrides the
agent's default datacenter and the datacenter in the provider setup.
@@ -178,24 +160,6 @@ def get_keys_output(datacenter: Optional[pulumi.Input[Optional[str]]] = None,
The `Keys` resource reads values from the Consul key/value store.
This is a powerful way dynamically set values in templates.
- ## Example Usage
-
- ```python
- import pulumi
- import pulumi_aws as aws
- import pulumi_consul as consul
-
- app_keys = consul.get_keys(datacenter="nyc1",
- keys=[consul.GetKeysKeyArgs(
- default="ami-1234",
- name="ami",
- path="service/app/launch_ami",
- )],
- token="abcd")
- # Start our instance with the dynamic ami value
- app_instance = aws.ec2.Instance("appInstance", ami=app_keys.var["ami"])
- ```
-
:param str datacenter: The datacenter to use. This overrides the
agent's default datacenter and the datacenter in the provider setup.
diff --git a/sdk/python/pulumi_consul/get_network_area_members.py b/sdk/python/pulumi_consul/get_network_area_members.py
index 8595fe16..01f4caae 100644
--- a/sdk/python/pulumi_consul/get_network_area_members.py
+++ b/sdk/python/pulumi_consul/get_network_area_members.py
@@ -105,20 +105,6 @@ def get_network_area_members(datacenter: Optional[str] = None,
The `get_network_area_members` data source provides a list of the Consul
servers present in a specific network area.
- ## Example Usage
-
- ```python
- import pulumi
- import pulumi_consul as consul
-
- dc2_network_area = consul.NetworkArea("dc2NetworkArea",
- peer_datacenter="dc2",
- retry_joins=["1.2.3.4"],
- use_tls=True)
- dc2_network_area_members = consul.get_network_area_members_output(uuid=dc2_network_area.id)
- pulumi.export("members", dc2_network_area_members.members)
- ```
-
:param str datacenter: The datacenter to use. This overrides the
agent's default datacenter and the datacenter in the provider setup.
@@ -152,20 +138,6 @@ def get_network_area_members_output(datacenter: Optional[pulumi.Input[Optional[s
The `get_network_area_members` data source provides a list of the Consul
servers present in a specific network area.
- ## Example Usage
-
- ```python
- import pulumi
- import pulumi_consul as consul
-
- dc2_network_area = consul.NetworkArea("dc2NetworkArea",
- peer_datacenter="dc2",
- retry_joins=["1.2.3.4"],
- use_tls=True)
- dc2_network_area_members = consul.get_network_area_members_output(uuid=dc2_network_area.id)
- pulumi.export("members", dc2_network_area_members.members)
- ```
-
:param str datacenter: The datacenter to use. This overrides the
agent's default datacenter and the datacenter in the provider setup.
diff --git a/sdk/python/pulumi_consul/get_network_segments.py b/sdk/python/pulumi_consul/get_network_segments.py
index 25360530..ac2e0043 100644
--- a/sdk/python/pulumi_consul/get_network_segments.py
+++ b/sdk/python/pulumi_consul/get_network_segments.py
@@ -91,16 +91,6 @@ def get_network_segments(datacenter: Optional[str] = None,
The `consul_network_segment` data source can be used to retrieve the network
segments defined in the configuration.
- ## Example Usage
-
- ```python
- import pulumi
- import pulumi_consul as consul
-
- segments_network_segments = consul.get_network_segments()
- pulumi.export("segments", segments_network_segments.segments)
- ```
-
:param str datacenter: The datacenter to use. This overrides the
agent's default datacenter and the datacenter in the provider setup.
@@ -130,16 +120,6 @@ def get_network_segments_output(datacenter: Optional[pulumi.Input[Optional[str]]
The `consul_network_segment` data source can be used to retrieve the network
segments defined in the configuration.
- ## Example Usage
-
- ```python
- import pulumi
- import pulumi_consul as consul
-
- segments_network_segments = consul.get_network_segments()
- pulumi.export("segments", segments_network_segments.segments)
- ```
-
:param str datacenter: The datacenter to use. This overrides the
agent's default datacenter and the datacenter in the provider setup.
diff --git a/sdk/python/pulumi_consul/get_peering.py b/sdk/python/pulumi_consul/get_peering.py
index c0496889..2d824f5a 100644
--- a/sdk/python/pulumi_consul/get_peering.py
+++ b/sdk/python/pulumi_consul/get_peering.py
@@ -129,14 +129,7 @@ def get_peering(partition: Optional[str] = None,
peer_name: Optional[str] = None,
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetPeeringResult:
"""
- ## Example Usage
-
- ```python
- import pulumi
- import pulumi_consul as consul
-
- basic = consul.get_peering(peer_name="peered-cluster")
- ```
+ Use this data source to access information about an existing resource.
"""
__args__ = dict()
__args__['partition'] = partition
@@ -162,13 +155,6 @@ def get_peering_output(partition: Optional[pulumi.Input[Optional[str]]] = None,
peer_name: Optional[pulumi.Input[str]] = None,
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetPeeringResult]:
"""
- ## Example Usage
-
- ```python
- import pulumi
- import pulumi_consul as consul
-
- basic = consul.get_peering(peer_name="peered-cluster")
- ```
+ Use this data source to access information about an existing resource.
"""
...
diff --git a/sdk/python/pulumi_consul/get_peerings.py b/sdk/python/pulumi_consul/get_peerings.py
index 8e6be261..10be5cab 100644
--- a/sdk/python/pulumi_consul/get_peerings.py
+++ b/sdk/python/pulumi_consul/get_peerings.py
@@ -66,14 +66,7 @@ def __await__(self):
def get_peerings(partition: Optional[str] = None,
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetPeeringsResult:
"""
- ## Example Usage
-
- ```python
- import pulumi
- import pulumi_consul as consul
-
- peers = consul.get_peerings()
- ```
+ Use this data source to access information about an existing resource.
"""
__args__ = dict()
__args__['partition'] = partition
@@ -90,13 +83,6 @@ def get_peerings(partition: Optional[str] = None,
def get_peerings_output(partition: Optional[pulumi.Input[Optional[str]]] = None,
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetPeeringsResult]:
"""
- ## Example Usage
-
- ```python
- import pulumi
- import pulumi_consul as consul
-
- peers = consul.get_peerings()
- ```
+ Use this data source to access information about an existing resource.
"""
...
diff --git a/sdk/python/pulumi_consul/intention.py b/sdk/python/pulumi_consul/intention.py
index abbc24f0..7c95710e 100644
--- a/sdk/python/pulumi_consul/intention.py
+++ b/sdk/python/pulumi_consul/intention.py
@@ -54,15 +54,31 @@ def __init__(__self__, *,
@staticmethod
def _configure(
_setter: Callable[[Any, Any], None],
- action: pulumi.Input[str],
- destination_name: pulumi.Input[str],
- source_name: pulumi.Input[str],
+ action: Optional[pulumi.Input[str]] = None,
+ destination_name: Optional[pulumi.Input[str]] = None,
+ source_name: Optional[pulumi.Input[str]] = None,
datacenter: Optional[pulumi.Input[str]] = None,
description: Optional[pulumi.Input[str]] = None,
destination_namespace: Optional[pulumi.Input[str]] = None,
meta: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
source_namespace: Optional[pulumi.Input[str]] = None,
- opts: Optional[pulumi.ResourceOptions]=None):
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+ if action is None:
+ raise TypeError("Missing 'action' argument")
+ if destination_name is None and 'destinationName' in kwargs:
+ destination_name = kwargs['destinationName']
+ if destination_name is None:
+ raise TypeError("Missing 'destination_name' argument")
+ if source_name is None and 'sourceName' in kwargs:
+ source_name = kwargs['sourceName']
+ if source_name is None:
+ raise TypeError("Missing 'source_name' argument")
+ if destination_namespace is None and 'destinationNamespace' in kwargs:
+ destination_namespace = kwargs['destinationNamespace']
+ if source_namespace is None and 'sourceNamespace' in kwargs:
+ source_namespace = kwargs['sourceNamespace']
+
_setter("action", action)
_setter("destination_name", destination_name)
_setter("source_name", source_name)
@@ -232,7 +248,17 @@ def _configure(
meta: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
source_name: Optional[pulumi.Input[str]] = None,
source_namespace: Optional[pulumi.Input[str]] = None,
- opts: Optional[pulumi.ResourceOptions]=None):
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+ if destination_name is None and 'destinationName' in kwargs:
+ destination_name = kwargs['destinationName']
+ if destination_namespace is None and 'destinationNamespace' in kwargs:
+ destination_namespace = kwargs['destinationNamespace']
+ if source_name is None and 'sourceName' in kwargs:
+ source_name = kwargs['sourceName']
+ if source_namespace is None and 'sourceNamespace' in kwargs:
+ source_namespace = kwargs['sourceNamespace']
+
if action is not None:
_setter("action", action)
if datacenter is not None:
@@ -383,33 +409,6 @@ def __init__(__self__,
in conjunction with the `Service` datasource when referencing services
registered on nodes that have a running Consul agent.
- ## Example Usage
-
- Create a simplest intention with static service names:
-
- ```python
- import pulumi
- import pulumi_consul as consul
-
- database = consul.Intention("database",
- action="allow",
- destination_name="db",
- source_name="api")
- ```
-
- Referencing a known service via a datasource:
-
- ```python
- import pulumi
- import pulumi_consul as consul
-
- database = consul.Intention("database",
- action="allow",
- destination_name=consul_service["pg"]["name"],
- source_name="api")
- pg = consul.get_service(name="postgresql")
- ```
-
## Import
`consul_intention` can be imported:
@@ -457,33 +456,6 @@ def __init__(__self__,
in conjunction with the `Service` datasource when referencing services
registered on nodes that have a running Consul agent.
- ## Example Usage
-
- Create a simplest intention with static service names:
-
- ```python
- import pulumi
- import pulumi_consul as consul
-
- database = consul.Intention("database",
- action="allow",
- destination_name="db",
- source_name="api")
- ```
-
- Referencing a known service via a datasource:
-
- ```python
- import pulumi
- import pulumi_consul as consul
-
- database = consul.Intention("database",
- action="allow",
- destination_name=consul_service["pg"]["name"],
- source_name="api")
- pg = consul.get_service(name="postgresql")
- ```
-
## Import
`consul_intention` can be imported:
diff --git a/sdk/python/pulumi_consul/key_prefix.py b/sdk/python/pulumi_consul/key_prefix.py
index 0b9c066c..2db9c343 100644
--- a/sdk/python/pulumi_consul/key_prefix.py
+++ b/sdk/python/pulumi_consul/key_prefix.py
@@ -54,14 +54,22 @@ def __init__(__self__, *,
@staticmethod
def _configure(
_setter: Callable[[Any, Any], None],
- path_prefix: pulumi.Input[str],
+ path_prefix: Optional[pulumi.Input[str]] = None,
datacenter: Optional[pulumi.Input[str]] = None,
namespace: Optional[pulumi.Input[str]] = None,
partition: Optional[pulumi.Input[str]] = None,
subkey_collection: Optional[pulumi.Input[Sequence[pulumi.Input['KeyPrefixSubkeyCollectionArgs']]]] = None,
subkeys: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
token: Optional[pulumi.Input[str]] = None,
- opts: Optional[pulumi.ResourceOptions]=None):
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+ if path_prefix is None and 'pathPrefix' in kwargs:
+ path_prefix = kwargs['pathPrefix']
+ if path_prefix is None:
+ raise TypeError("Missing 'path_prefix' argument")
+ if subkey_collection is None and 'subkeyCollection' in kwargs:
+ subkey_collection = kwargs['subkeyCollection']
+
_setter("path_prefix", path_prefix)
if datacenter is not None:
_setter("datacenter", datacenter)
@@ -227,7 +235,13 @@ def _configure(
subkey_collection: Optional[pulumi.Input[Sequence[pulumi.Input['KeyPrefixSubkeyCollectionArgs']]]] = None,
subkeys: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
token: Optional[pulumi.Input[str]] = None,
- opts: Optional[pulumi.ResourceOptions]=None):
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+ if path_prefix is None and 'pathPrefix' in kwargs:
+ path_prefix = kwargs['pathPrefix']
+ if subkey_collection is None and 'subkeyCollection' in kwargs:
+ subkey_collection = kwargs['subkeyCollection']
+
if datacenter is not None:
_setter("datacenter", datacenter)
if namespace is not None:
@@ -360,31 +374,6 @@ def __init__(__self__,
token: Optional[pulumi.Input[str]] = None,
__props__=None):
"""
- ## Example Usage
-
- ```python
- import pulumi
- import pulumi_consul as consul
-
- myapp_config = consul.KeyPrefix("myappConfig",
- datacenter="nyc1",
- path_prefix="myapp/config/",
- subkey_collection=[consul.KeyPrefixSubkeyCollectionArgs(
- flags=2,
- path="database/password",
- value=aws_db_instance["app"]["password"],
- )],
- subkeys={
- "database/hostname": aws_db_instance["app"]["address"],
- "database/name": aws_db_instance["app"]["name"],
- "database/port": aws_db_instance["app"]["port"],
- "database/username": aws_db_instance["app"]["username"],
- "elb_cname": aws_elb["app"]["dns_name"],
- "s3_bucket_name": aws_s3_bucket["app"]["bucket"],
- },
- token="abcd")
- ```
-
## Import
`consul_key_prefix` can be imported. This is useful when the path already exists and you know all keys in path should be managed by Terraform.
@@ -418,31 +407,6 @@ def __init__(__self__,
args: KeyPrefixArgs,
opts: Optional[pulumi.ResourceOptions] = None):
"""
- ## Example Usage
-
- ```python
- import pulumi
- import pulumi_consul as consul
-
- myapp_config = consul.KeyPrefix("myappConfig",
- datacenter="nyc1",
- path_prefix="myapp/config/",
- subkey_collection=[consul.KeyPrefixSubkeyCollectionArgs(
- flags=2,
- path="database/password",
- value=aws_db_instance["app"]["password"],
- )],
- subkeys={
- "database/hostname": aws_db_instance["app"]["address"],
- "database/name": aws_db_instance["app"]["name"],
- "database/port": aws_db_instance["app"]["port"],
- "database/username": aws_db_instance["app"]["username"],
- "elb_cname": aws_elb["app"]["dns_name"],
- "s3_bucket_name": aws_s3_bucket["app"]["bucket"],
- },
- token="abcd")
- ```
-
## Import
`consul_key_prefix` can be imported. This is useful when the path already exists and you know all keys in path should be managed by Terraform.
diff --git a/sdk/python/pulumi_consul/keys.py b/sdk/python/pulumi_consul/keys.py
index b79d7940..5e213da3 100644
--- a/sdk/python/pulumi_consul/keys.py
+++ b/sdk/python/pulumi_consul/keys.py
@@ -48,7 +48,9 @@ def _configure(
namespace: Optional[pulumi.Input[str]] = None,
partition: Optional[pulumi.Input[str]] = None,
token: Optional[pulumi.Input[str]] = None,
- opts: Optional[pulumi.ResourceOptions]=None):
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+
if datacenter is not None:
_setter("datacenter", datacenter)
if keys is not None:
@@ -172,7 +174,9 @@ def _configure(
partition: Optional[pulumi.Input[str]] = None,
token: Optional[pulumi.Input[str]] = None,
var: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
- opts: Optional[pulumi.ResourceOptions]=None):
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+
if datacenter is not None:
_setter("datacenter", datacenter)
if keys is not None:
@@ -281,21 +285,7 @@ def __init__(__self__,
token: Optional[pulumi.Input[str]] = None,
__props__=None):
"""
- ## Example Usage
-
- ```python
- import pulumi
- import pulumi_consul as consul
-
- app = consul.Keys("app",
- datacenter="nyc1",
- keys=[consul.KeysKeyArgs(
- path="service/app/elb_address",
- value=aws_elb["app"]["dns_name"],
- )],
- token="abcd")
- ```
-
+ Create a Keys resource with the given unique name, props, and options.
:param str resource_name: The name of the resource.
:param pulumi.ResourceOptions opts: Options for the resource.
:param pulumi.Input[str] datacenter: The datacenter to use. This overrides the
@@ -314,21 +304,7 @@ def __init__(__self__,
args: Optional[KeysArgs] = None,
opts: Optional[pulumi.ResourceOptions] = None):
"""
- ## Example Usage
-
- ```python
- import pulumi
- import pulumi_consul as consul
-
- app = consul.Keys("app",
- datacenter="nyc1",
- keys=[consul.KeysKeyArgs(
- path="service/app/elb_address",
- value=aws_elb["app"]["dns_name"],
- )],
- token="abcd")
- ```
-
+ Create a Keys resource with the given unique name, props, and options.
:param str resource_name: The name of the resource.
:param KeysArgs args: The arguments to use to populate this resource's properties.
:param pulumi.ResourceOptions opts: Options for the resource.
diff --git a/sdk/python/pulumi_consul/license.py b/sdk/python/pulumi_consul/license.py
index d717234e..7cd6d63f 100644
--- a/sdk/python/pulumi_consul/license.py
+++ b/sdk/python/pulumi_consul/license.py
@@ -30,9 +30,13 @@ def __init__(__self__, *,
@staticmethod
def _configure(
_setter: Callable[[Any, Any], None],
- license: pulumi.Input[str],
+ license: Optional[pulumi.Input[str]] = None,
datacenter: Optional[pulumi.Input[str]] = None,
- opts: Optional[pulumi.ResourceOptions]=None):
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+ if license is None:
+ raise TypeError("Missing 'license' argument")
+
_setter("license", license)
if datacenter is not None:
_setter("datacenter", datacenter)
@@ -124,7 +128,21 @@ def _configure(
start_time: Optional[pulumi.Input[str]] = None,
valid: Optional[pulumi.Input[bool]] = None,
warnings: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
- opts: Optional[pulumi.ResourceOptions]=None):
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+ if customer_id is None and 'customerId' in kwargs:
+ customer_id = kwargs['customerId']
+ if expiration_time is None and 'expirationTime' in kwargs:
+ expiration_time = kwargs['expirationTime']
+ if installation_id is None and 'installationId' in kwargs:
+ installation_id = kwargs['installationId']
+ if issue_time is None and 'issueTime' in kwargs:
+ issue_time = kwargs['issueTime']
+ if license_id is None and 'licenseId' in kwargs:
+ license_id = kwargs['licenseId']
+ if start_time is None and 'startTime' in kwargs:
+ start_time = kwargs['startTime']
+
if customer_id is not None:
_setter("customer_id", customer_id)
if datacenter is not None:
@@ -311,15 +329,6 @@ def __init__(__self__,
the Consul Enterprise license. If ACLs are enabled then a token with operator
privileges may be required in order to use this command.
- ## Example Usage
-
- ```python
- import pulumi
- import pulumi_consul as consul
-
- license = consul.License("license", license=(lambda path: open(path).read())("license.hclic"))
- ```
-
:param str resource_name: The name of the resource.
:param pulumi.ResourceOptions opts: Options for the resource.
:param pulumi.Input[str] datacenter: The datacenter to use. This overrides the
@@ -339,15 +348,6 @@ def __init__(__self__,
the Consul Enterprise license. If ACLs are enabled then a token with operator
privileges may be required in order to use this command.
- ## Example Usage
-
- ```python
- import pulumi
- import pulumi_consul as consul
-
- license = consul.License("license", license=(lambda path: open(path).read())("license.hclic"))
- ```
-
:param str resource_name: The name of the resource.
:param LicenseArgs args: The arguments to use to populate this resource's properties.
:param pulumi.ResourceOptions opts: Options for the resource.
diff --git a/sdk/python/pulumi_consul/namespace.py b/sdk/python/pulumi_consul/namespace.py
index 18496b58..2a7bee96 100644
--- a/sdk/python/pulumi_consul/namespace.py
+++ b/sdk/python/pulumi_consul/namespace.py
@@ -47,7 +47,13 @@ def _configure(
partition: Optional[pulumi.Input[str]] = None,
policy_defaults: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
role_defaults: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
- opts: Optional[pulumi.ResourceOptions]=None):
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+ if policy_defaults is None and 'policyDefaults' in kwargs:
+ policy_defaults = kwargs['policyDefaults']
+ if role_defaults is None and 'roleDefaults' in kwargs:
+ role_defaults = kwargs['roleDefaults']
+
if description is not None:
_setter("description", description)
if meta is not None:
@@ -170,7 +176,13 @@ def _configure(
partition: Optional[pulumi.Input[str]] = None,
policy_defaults: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
role_defaults: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
- opts: Optional[pulumi.ResourceOptions]=None):
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+ if policy_defaults is None and 'policyDefaults' in kwargs:
+ policy_defaults = kwargs['policyDefaults']
+ if role_defaults is None and 'roleDefaults' in kwargs:
+ role_defaults = kwargs['roleDefaults']
+
if description is not None:
_setter("description", description)
if meta is not None:
@@ -274,19 +286,6 @@ def __init__(__self__,
The `Namespace` resource provides isolated [Consul Enterprise Namespaces](https://www.consul.io/docs/enterprise/namespaces/index.html).
- ## Example Usage
-
- ```python
- import pulumi
- import pulumi_consul as consul
-
- production = consul.Namespace("production",
- description="Production namespace",
- meta={
- "foo": "bar",
- })
- ```
-
## Import
`consul_namespace` can be imported. This is useful to manage attributes of the default namespace that is created automatically:
@@ -315,19 +314,6 @@ def __init__(__self__,
The `Namespace` resource provides isolated [Consul Enterprise Namespaces](https://www.consul.io/docs/enterprise/namespaces/index.html).
- ## Example Usage
-
- ```python
- import pulumi
- import pulumi_consul as consul
-
- production = consul.Namespace("production",
- description="Production namespace",
- meta={
- "foo": "bar",
- })
- ```
-
## Import
`consul_namespace` can be imported. This is useful to manage attributes of the default namespace that is created automatically:
diff --git a/sdk/python/pulumi_consul/namespace_policy_attachment.py b/sdk/python/pulumi_consul/namespace_policy_attachment.py
index 71519bd2..270f1906 100644
--- a/sdk/python/pulumi_consul/namespace_policy_attachment.py
+++ b/sdk/python/pulumi_consul/namespace_policy_attachment.py
@@ -29,9 +29,15 @@ def __init__(__self__, *,
@staticmethod
def _configure(
_setter: Callable[[Any, Any], None],
- namespace: pulumi.Input[str],
- policy: pulumi.Input[str],
- opts: Optional[pulumi.ResourceOptions]=None):
+ namespace: Optional[pulumi.Input[str]] = None,
+ policy: Optional[pulumi.Input[str]] = None,
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+ if namespace is None:
+ raise TypeError("Missing 'namespace' argument")
+ if policy is None:
+ raise TypeError("Missing 'policy' argument")
+
_setter("namespace", namespace)
_setter("policy", policy)
@@ -80,7 +86,9 @@ def _configure(
_setter: Callable[[Any, Any], None],
namespace: Optional[pulumi.Input[str]] = None,
policy: Optional[pulumi.Input[str]] = None,
- opts: Optional[pulumi.ResourceOptions]=None):
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+
if namespace is not None:
_setter("namespace", namespace)
if policy is not None:
diff --git a/sdk/python/pulumi_consul/namespace_role_attachment.py b/sdk/python/pulumi_consul/namespace_role_attachment.py
index 5944ce99..4d3aa443 100644
--- a/sdk/python/pulumi_consul/namespace_role_attachment.py
+++ b/sdk/python/pulumi_consul/namespace_role_attachment.py
@@ -29,9 +29,15 @@ def __init__(__self__, *,
@staticmethod
def _configure(
_setter: Callable[[Any, Any], None],
- namespace: pulumi.Input[str],
- role: pulumi.Input[str],
- opts: Optional[pulumi.ResourceOptions]=None):
+ namespace: Optional[pulumi.Input[str]] = None,
+ role: Optional[pulumi.Input[str]] = None,
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+ if namespace is None:
+ raise TypeError("Missing 'namespace' argument")
+ if role is None:
+ raise TypeError("Missing 'role' argument")
+
_setter("namespace", namespace)
_setter("role", role)
@@ -80,7 +86,9 @@ def _configure(
_setter: Callable[[Any, Any], None],
namespace: Optional[pulumi.Input[str]] = None,
role: Optional[pulumi.Input[str]] = None,
- opts: Optional[pulumi.ResourceOptions]=None):
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+
if namespace is not None:
_setter("namespace", namespace)
if role is not None:
diff --git a/sdk/python/pulumi_consul/network_area.py b/sdk/python/pulumi_consul/network_area.py
index 741a6804..c4031483 100644
--- a/sdk/python/pulumi_consul/network_area.py
+++ b/sdk/python/pulumi_consul/network_area.py
@@ -43,12 +43,22 @@ def __init__(__self__, *,
@staticmethod
def _configure(
_setter: Callable[[Any, Any], None],
- peer_datacenter: pulumi.Input[str],
+ peer_datacenter: Optional[pulumi.Input[str]] = None,
datacenter: Optional[pulumi.Input[str]] = None,
retry_joins: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
token: Optional[pulumi.Input[str]] = None,
use_tls: Optional[pulumi.Input[bool]] = None,
- opts: Optional[pulumi.ResourceOptions]=None):
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+ if peer_datacenter is None and 'peerDatacenter' in kwargs:
+ peer_datacenter = kwargs['peerDatacenter']
+ if peer_datacenter is None:
+ raise TypeError("Missing 'peer_datacenter' argument")
+ if retry_joins is None and 'retryJoins' in kwargs:
+ retry_joins = kwargs['retryJoins']
+ if use_tls is None and 'useTls' in kwargs:
+ use_tls = kwargs['useTls']
+
_setter("peer_datacenter", peer_datacenter)
if datacenter is not None:
_setter("datacenter", datacenter)
@@ -172,7 +182,15 @@ def _configure(
retry_joins: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
token: Optional[pulumi.Input[str]] = None,
use_tls: Optional[pulumi.Input[bool]] = None,
- opts: Optional[pulumi.ResourceOptions]=None):
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+ if peer_datacenter is None and 'peerDatacenter' in kwargs:
+ peer_datacenter = kwargs['peerDatacenter']
+ if retry_joins is None and 'retryJoins' in kwargs:
+ retry_joins = kwargs['retryJoins']
+ if use_tls is None and 'useTls' in kwargs:
+ use_tls = kwargs['useTls']
+
if datacenter is not None:
_setter("datacenter", datacenter)
if peer_datacenter is not None:
@@ -282,18 +300,6 @@ def __init__(__self__,
datacenters, so not all servers need to be fully connected. This allows for
complex topologies among Consul datacenters like hub/spoke and more general trees.
- ## Example Usage
-
- ```python
- import pulumi
- import pulumi_consul as consul
-
- dc2 = consul.NetworkArea("dc2",
- peer_datacenter="dc2",
- retry_joins=["1.2.3.4"],
- use_tls=True)
- ```
-
:param str resource_name: The name of the resource.
:param pulumi.ResourceOptions opts: Options for the resource.
:param pulumi.Input[str] datacenter: The datacenter to use. This overrides the
@@ -324,18 +330,6 @@ def __init__(__self__,
datacenters, so not all servers need to be fully connected. This allows for
complex topologies among Consul datacenters like hub/spoke and more general trees.
- ## Example Usage
-
- ```python
- import pulumi
- import pulumi_consul as consul
-
- dc2 = consul.NetworkArea("dc2",
- peer_datacenter="dc2",
- retry_joins=["1.2.3.4"],
- use_tls=True)
- ```
-
:param str resource_name: The name of the resource.
:param NetworkAreaArgs args: The arguments to use to populate this resource's properties.
:param pulumi.ResourceOptions opts: Options for the resource.
diff --git a/sdk/python/pulumi_consul/node.py b/sdk/python/pulumi_consul/node.py
index 877bcd9e..f3aa20a2 100644
--- a/sdk/python/pulumi_consul/node.py
+++ b/sdk/python/pulumi_consul/node.py
@@ -40,13 +40,17 @@ def __init__(__self__, *,
@staticmethod
def _configure(
_setter: Callable[[Any, Any], None],
- address: pulumi.Input[str],
+ address: Optional[pulumi.Input[str]] = None,
datacenter: Optional[pulumi.Input[str]] = None,
meta: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
name: Optional[pulumi.Input[str]] = None,
partition: Optional[pulumi.Input[str]] = None,
token: Optional[pulumi.Input[str]] = None,
- opts: Optional[pulumi.ResourceOptions]=None):
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+ if address is None:
+ raise TypeError("Missing 'address' argument")
+
_setter("address", address)
if datacenter is not None:
_setter("datacenter", datacenter)
@@ -174,7 +178,9 @@ def _configure(
name: Optional[pulumi.Input[str]] = None,
partition: Optional[pulumi.Input[str]] = None,
token: Optional[pulumi.Input[str]] = None,
- opts: Optional[pulumi.ResourceOptions]=None):
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+
if address is not None:
_setter("address", address)
if datacenter is not None:
@@ -284,15 +290,6 @@ def __init__(__self__,
Provides access to Node data in Consul. This can be used to define a
node. Currently, defining health checks is not supported.
- ## Example Usage
-
- ```python
- import pulumi
- import pulumi_consul as consul
-
- foobar = consul.Node("foobar", address="192.168.10.10")
- ```
-
## Import
The `consul_node` resource can be imported:
@@ -319,15 +316,6 @@ def __init__(__self__,
Provides access to Node data in Consul. This can be used to define a
node. Currently, defining health checks is not supported.
- ## Example Usage
-
- ```python
- import pulumi
- import pulumi_consul as consul
-
- foobar = consul.Node("foobar", address="192.168.10.10")
- ```
-
## Import
The `consul_node` resource can be imported:
diff --git a/sdk/python/pulumi_consul/outputs.py b/sdk/python/pulumi_consul/outputs.py
index 81466ed3..a0ebe52e 100644
--- a/sdk/python/pulumi_consul/outputs.py
+++ b/sdk/python/pulumi_consul/outputs.py
@@ -91,9 +91,15 @@ def __init__(__self__, *,
@staticmethod
def _configure(
_setter: Callable[[Any, Any], None],
- bind_namespace: str,
+ bind_namespace: Optional[str] = None,
selector: Optional[str] = None,
- opts: Optional[pulumi.ResourceOptions]=None):
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+ if bind_namespace is None and 'bindNamespace' in kwargs:
+ bind_namespace = kwargs['bindNamespace']
+ if bind_namespace is None:
+ raise TypeError("Missing 'bind_namespace' argument")
+
_setter("bind_namespace", bind_namespace)
if selector is not None:
_setter("selector", selector)
@@ -152,9 +158,17 @@ def __init__(__self__, *,
@staticmethod
def _configure(
_setter: Callable[[Any, Any], None],
- datacenter: str,
- node_name: str,
- opts: Optional[pulumi.ResourceOptions]=None):
+ datacenter: Optional[str] = None,
+ node_name: Optional[str] = None,
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+ if datacenter is None:
+ raise TypeError("Missing 'datacenter' argument")
+ if node_name is None and 'nodeName' in kwargs:
+ node_name = kwargs['nodeName']
+ if node_name is None:
+ raise TypeError("Missing 'node_name' argument")
+
_setter("datacenter", datacenter)
_setter("node_name", node_name)
@@ -209,9 +223,15 @@ def __init__(__self__, *,
@staticmethod
def _configure(
_setter: Callable[[Any, Any], None],
- service_name: str,
+ service_name: Optional[str] = None,
datacenters: Optional[Sequence[str]] = None,
- opts: Optional[pulumi.ResourceOptions]=None):
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+ if service_name is None and 'serviceName' in kwargs:
+ service_name = kwargs['serviceName']
+ if service_name is None:
+ raise TypeError("Missing 'service_name' argument")
+
_setter("service_name", service_name)
if datacenters is not None:
_setter("datacenters", datacenters)
@@ -267,9 +287,17 @@ def __init__(__self__, *,
@staticmethod
def _configure(
_setter: Callable[[Any, Any], None],
- datacenter: str,
- node_name: str,
- opts: Optional[pulumi.ResourceOptions]=None):
+ datacenter: Optional[str] = None,
+ node_name: Optional[str] = None,
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+ if datacenter is None:
+ raise TypeError("Missing 'datacenter' argument")
+ if node_name is None and 'nodeName' in kwargs:
+ node_name = kwargs['nodeName']
+ if node_name is None:
+ raise TypeError("Missing 'node_name' argument")
+
_setter("datacenter", datacenter)
_setter("node_name", node_name)
@@ -324,9 +352,15 @@ def __init__(__self__, *,
@staticmethod
def _configure(
_setter: Callable[[Any, Any], None],
- service_name: str,
+ service_name: Optional[str] = None,
datacenters: Optional[Sequence[str]] = None,
- opts: Optional[pulumi.ResourceOptions]=None):
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+ if service_name is None and 'serviceName' in kwargs:
+ service_name = kwargs['serviceName']
+ if service_name is None:
+ raise TypeError("Missing 'service_name' argument")
+
_setter("service_name", service_name)
if datacenters is not None:
_setter("datacenters", datacenters)
@@ -376,12 +410,16 @@ def __init__(__self__, *,
@staticmethod
def _configure(
_setter: Callable[[Any, Any], None],
- name: str,
+ name: Optional[str] = None,
address: Optional[str] = None,
id: Optional[str] = None,
port: Optional[int] = None,
tags: Optional[Sequence[str]] = None,
- opts: Optional[pulumi.ResourceOptions]=None):
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+ if name is None:
+ raise TypeError("Missing 'name' argument")
+
_setter("name", name)
if address is not None:
_setter("address", address)
@@ -457,10 +495,16 @@ def __init__(__self__, *,
@staticmethod
def _configure(
_setter: Callable[[Any, Any], None],
- path: str,
- value: str,
+ path: Optional[str] = None,
+ value: Optional[str] = None,
flags: Optional[int] = None,
- opts: Optional[pulumi.ResourceOptions]=None):
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+ if path is None:
+ raise TypeError("Missing 'path' argument")
+ if value is None:
+ raise TypeError("Missing 'value' argument")
+
_setter("path", path)
_setter("value", value)
if flags is not None:
@@ -524,13 +568,17 @@ def __init__(__self__, *,
@staticmethod
def _configure(
_setter: Callable[[Any, Any], None],
- path: str,
+ path: Optional[str] = None,
default: Optional[str] = None,
delete: Optional[bool] = None,
flags: Optional[int] = None,
name: Optional[str] = None,
value: Optional[str] = None,
- opts: Optional[pulumi.ResourceOptions]=None):
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+ if path is None:
+ raise TypeError("Missing 'path' argument")
+
_setter("path", path)
if default is not None:
_setter("default", default)
@@ -608,7 +656,9 @@ def __init__(__self__, *,
def _configure(
_setter: Callable[[Any, Any], None],
ttl: Optional[str] = None,
- opts: Optional[pulumi.ResourceOptions]=None):
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+
if ttl is not None:
_setter("ttl", ttl)
@@ -661,7 +711,11 @@ def _configure(
datacenters: Optional[Sequence[str]] = None,
nearest_n: Optional[int] = None,
targets: Optional[Sequence['outputs.PreparedQueryFailoverTarget']] = None,
- opts: Optional[pulumi.ResourceOptions]=None):
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+ if nearest_n is None and 'nearestN' in kwargs:
+ nearest_n = kwargs['nearestN']
+
if datacenters is not None:
_setter("datacenters", datacenters)
if nearest_n is not None:
@@ -713,7 +767,9 @@ def _configure(
_setter: Callable[[Any, Any], None],
datacenter: Optional[str] = None,
peer: Optional[str] = None,
- opts: Optional[pulumi.ResourceOptions]=None):
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+
if datacenter is not None:
_setter("datacenter", datacenter)
if peer is not None:
@@ -773,10 +829,18 @@ def __init__(__self__, *,
@staticmethod
def _configure(
_setter: Callable[[Any, Any], None],
- regexp: str,
- type: str,
+ regexp: Optional[str] = None,
+ type: Optional[str] = None,
remove_empty_tags: Optional[bool] = None,
- opts: Optional[pulumi.ResourceOptions]=None):
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+ if regexp is None:
+ raise TypeError("Missing 'regexp' argument")
+ if type is None:
+ raise TypeError("Missing 'type' argument")
+ if remove_empty_tags is None and 'removeEmptyTags' in kwargs:
+ remove_empty_tags = kwargs['removeEmptyTags']
+
_setter("regexp", regexp)
_setter("type", type)
if remove_empty_tags is not None:
@@ -883,10 +947,10 @@ def __init__(__self__, *,
@staticmethod
def _configure(
_setter: Callable[[Any, Any], None],
- check_id: str,
- interval: str,
- name: str,
- timeout: str,
+ check_id: Optional[str] = None,
+ interval: Optional[str] = None,
+ name: Optional[str] = None,
+ timeout: Optional[str] = None,
deregister_critical_service_after: Optional[str] = None,
headers: Optional[Sequence['outputs.ServiceCheckHeader']] = None,
http: Optional[str] = None,
@@ -895,7 +959,23 @@ def _configure(
status: Optional[str] = None,
tcp: Optional[str] = None,
tls_skip_verify: Optional[bool] = None,
- opts: Optional[pulumi.ResourceOptions]=None):
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+ if check_id is None and 'checkId' in kwargs:
+ check_id = kwargs['checkId']
+ if check_id is None:
+ raise TypeError("Missing 'check_id' argument")
+ if interval is None:
+ raise TypeError("Missing 'interval' argument")
+ if name is None:
+ raise TypeError("Missing 'name' argument")
+ if timeout is None:
+ raise TypeError("Missing 'timeout' argument")
+ if deregister_critical_service_after is None and 'deregisterCriticalServiceAfter' in kwargs:
+ deregister_critical_service_after = kwargs['deregisterCriticalServiceAfter']
+ if tls_skip_verify is None and 'tlsSkipVerify' in kwargs:
+ tls_skip_verify = kwargs['tlsSkipVerify']
+
_setter("check_id", check_id)
_setter("interval", interval)
_setter("name", name)
@@ -1039,9 +1119,15 @@ def __init__(__self__, *,
@staticmethod
def _configure(
_setter: Callable[[Any, Any], None],
- name: str,
- values: Sequence[str],
- opts: Optional[pulumi.ResourceOptions]=None):
+ name: Optional[str] = None,
+ values: Optional[Sequence[str]] = None,
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+ if name is None:
+ raise TypeError("Missing 'name' argument")
+ if values is None:
+ raise TypeError("Missing 'values' argument")
+
_setter("name", name)
_setter("values", values)
@@ -1075,9 +1161,17 @@ def __init__(__self__, *,
@staticmethod
def _configure(
_setter: Callable[[Any, Any], None],
- bind_namespace: str,
- selector: str,
- opts: Optional[pulumi.ResourceOptions]=None):
+ bind_namespace: Optional[str] = None,
+ selector: Optional[str] = None,
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+ if bind_namespace is None and 'bindNamespace' in kwargs:
+ bind_namespace = kwargs['bindNamespace']
+ if bind_namespace is None:
+ raise TypeError("Missing 'bind_namespace' argument")
+ if selector is None:
+ raise TypeError("Missing 'selector' argument")
+
_setter("bind_namespace", bind_namespace)
_setter("selector", selector)
@@ -1105,9 +1199,17 @@ def __init__(__self__, *,
@staticmethod
def _configure(
_setter: Callable[[Any, Any], None],
- datacenter: str,
- node_name: str,
- opts: Optional[pulumi.ResourceOptions]=None):
+ datacenter: Optional[str] = None,
+ node_name: Optional[str] = None,
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+ if datacenter is None:
+ raise TypeError("Missing 'datacenter' argument")
+ if node_name is None and 'nodeName' in kwargs:
+ node_name = kwargs['nodeName']
+ if node_name is None:
+ raise TypeError("Missing 'node_name' argument")
+
_setter("datacenter", datacenter)
_setter("node_name", node_name)
@@ -1138,9 +1240,15 @@ def __init__(__self__, *,
@staticmethod
def _configure(
_setter: Callable[[Any, Any], None],
- id: str,
- name: str,
- opts: Optional[pulumi.ResourceOptions]=None):
+ id: Optional[str] = None,
+ name: Optional[str] = None,
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+ if id is None:
+ raise TypeError("Missing 'id' argument")
+ if name is None:
+ raise TypeError("Missing 'name' argument")
+
_setter("id", id)
_setter("name", name)
@@ -1173,7 +1281,11 @@ def _configure(
_setter: Callable[[Any, Any], None],
datacenters: Optional[Sequence[str]] = None,
service_name: Optional[str] = None,
- opts: Optional[pulumi.ResourceOptions]=None):
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+ if service_name is None and 'serviceName' in kwargs:
+ service_name = kwargs['serviceName']
+
if datacenters is not None:
_setter("datacenters", datacenters)
if service_name is not None:
@@ -1203,9 +1315,17 @@ def __init__(__self__, *,
@staticmethod
def _configure(
_setter: Callable[[Any, Any], None],
- datacenter: str,
- node_name: str,
- opts: Optional[pulumi.ResourceOptions]=None):
+ datacenter: Optional[str] = None,
+ node_name: Optional[str] = None,
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+ if datacenter is None:
+ raise TypeError("Missing 'datacenter' argument")
+ if node_name is None and 'nodeName' in kwargs:
+ node_name = kwargs['nodeName']
+ if node_name is None:
+ raise TypeError("Missing 'node_name' argument")
+
_setter("datacenter", datacenter)
_setter("node_name", node_name)
@@ -1233,9 +1353,15 @@ def __init__(__self__, *,
@staticmethod
def _configure(
_setter: Callable[[Any, Any], None],
- id: str,
- name: str,
- opts: Optional[pulumi.ResourceOptions]=None):
+ id: Optional[str] = None,
+ name: Optional[str] = None,
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+ if id is None:
+ raise TypeError("Missing 'id' argument")
+ if name is None:
+ raise TypeError("Missing 'name' argument")
+
_setter("id", id)
_setter("name", name)
@@ -1263,9 +1389,15 @@ def __init__(__self__, *,
@staticmethod
def _configure(
_setter: Callable[[Any, Any], None],
- id: str,
- name: str,
- opts: Optional[pulumi.ResourceOptions]=None):
+ id: Optional[str] = None,
+ name: Optional[str] = None,
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+ if id is None:
+ raise TypeError("Missing 'id' argument")
+ if name is None:
+ raise TypeError("Missing 'name' argument")
+
_setter("id", id)
_setter("name", name)
@@ -1293,9 +1425,17 @@ def __init__(__self__, *,
@staticmethod
def _configure(
_setter: Callable[[Any, Any], None],
- datacenters: Sequence[str],
- service_name: str,
- opts: Optional[pulumi.ResourceOptions]=None):
+ datacenters: Optional[Sequence[str]] = None,
+ service_name: Optional[str] = None,
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+ if datacenters is None:
+ raise TypeError("Missing 'datacenters' argument")
+ if service_name is None and 'serviceName' in kwargs:
+ service_name = kwargs['serviceName']
+ if service_name is None:
+ raise TypeError("Missing 'service_name' argument")
+
_setter("datacenters", datacenters)
_setter("service_name", service_name)
@@ -1360,19 +1500,55 @@ def __init__(__self__, *,
@staticmethod
def _configure(
_setter: Callable[[Any, Any], None],
- address: str,
- healthy: bool,
- id: str,
- last_contact: str,
- last_index: int,
- last_term: int,
- leader: bool,
- name: str,
- serf_status: str,
- stable_since: str,
- version: str,
- voter: bool,
- opts: Optional[pulumi.ResourceOptions]=None):
+ address: Optional[str] = None,
+ healthy: Optional[bool] = None,
+ id: Optional[str] = None,
+ last_contact: Optional[str] = None,
+ last_index: Optional[int] = None,
+ last_term: Optional[int] = None,
+ leader: Optional[bool] = None,
+ name: Optional[str] = None,
+ serf_status: Optional[str] = None,
+ stable_since: Optional[str] = None,
+ version: Optional[str] = None,
+ voter: Optional[bool] = None,
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+ if address is None:
+ raise TypeError("Missing 'address' argument")
+ if healthy is None:
+ raise TypeError("Missing 'healthy' argument")
+ if id is None:
+ raise TypeError("Missing 'id' argument")
+ if last_contact is None and 'lastContact' in kwargs:
+ last_contact = kwargs['lastContact']
+ if last_contact is None:
+ raise TypeError("Missing 'last_contact' argument")
+ if last_index is None and 'lastIndex' in kwargs:
+ last_index = kwargs['lastIndex']
+ if last_index is None:
+ raise TypeError("Missing 'last_index' argument")
+ if last_term is None and 'lastTerm' in kwargs:
+ last_term = kwargs['lastTerm']
+ if last_term is None:
+ raise TypeError("Missing 'last_term' argument")
+ if leader is None:
+ raise TypeError("Missing 'leader' argument")
+ if name is None:
+ raise TypeError("Missing 'name' argument")
+ if serf_status is None and 'serfStatus' in kwargs:
+ serf_status = kwargs['serfStatus']
+ if serf_status is None:
+ raise TypeError("Missing 'serf_status' argument")
+ if stable_since is None and 'stableSince' in kwargs:
+ stable_since = kwargs['stableSince']
+ if stable_since is None:
+ raise TypeError("Missing 'stable_since' argument")
+ if version is None:
+ raise TypeError("Missing 'version' argument")
+ if voter is None:
+ raise TypeError("Missing 'voter' argument")
+
_setter("address", address)
_setter("healthy", healthy)
_setter("id", id)
@@ -1516,12 +1692,26 @@ def __init__(__self__, *,
@staticmethod
def _configure(
_setter: Callable[[Any, Any], None],
- address: str,
- id: str,
- meta: Mapping[str, str],
- name: str,
- tagged_addresses: Mapping[str, str],
- opts: Optional[pulumi.ResourceOptions]=None):
+ address: Optional[str] = None,
+ id: Optional[str] = None,
+ meta: Optional[Mapping[str, str]] = None,
+ name: Optional[str] = None,
+ tagged_addresses: Optional[Mapping[str, str]] = None,
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+ if address is None:
+ raise TypeError("Missing 'address' argument")
+ if id is None:
+ raise TypeError("Missing 'id' argument")
+ if meta is None:
+ raise TypeError("Missing 'meta' argument")
+ if name is None:
+ raise TypeError("Missing 'name' argument")
+ if tagged_addresses is None and 'taggedAddresses' in kwargs:
+ tagged_addresses = kwargs['taggedAddresses']
+ if tagged_addresses is None:
+ raise TypeError("Missing 'tagged_addresses' argument")
+
_setter("address", address)
_setter("id", id)
_setter("meta", meta)
@@ -1618,7 +1808,19 @@ def _configure(
token: Optional[str] = None,
wait_index: Optional[int] = None,
wait_time: Optional[str] = None,
- opts: Optional[pulumi.ResourceOptions]=None):
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+ if allow_stale is None and 'allowStale' in kwargs:
+ allow_stale = kwargs['allowStale']
+ if node_meta is None and 'nodeMeta' in kwargs:
+ node_meta = kwargs['nodeMeta']
+ if require_consistent is None and 'requireConsistent' in kwargs:
+ require_consistent = kwargs['requireConsistent']
+ if wait_index is None and 'waitIndex' in kwargs:
+ wait_index = kwargs['waitIndex']
+ if wait_time is None and 'waitTime' in kwargs:
+ wait_time = kwargs['waitTime']
+
if allow_stale is not None:
_setter("allow_stale", allow_stale)
if datacenter is not None:
@@ -1768,7 +1970,19 @@ def _configure(
token: Optional[str] = None,
wait_index: Optional[int] = None,
wait_time: Optional[str] = None,
- opts: Optional[pulumi.ResourceOptions]=None):
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+ if allow_stale is None and 'allowStale' in kwargs:
+ allow_stale = kwargs['allowStale']
+ if node_meta is None and 'nodeMeta' in kwargs:
+ node_meta = kwargs['nodeMeta']
+ if require_consistent is None and 'requireConsistent' in kwargs:
+ require_consistent = kwargs['requireConsistent']
+ if wait_index is None and 'waitIndex' in kwargs:
+ wait_index = kwargs['waitIndex']
+ if wait_time is None and 'waitTime' in kwargs:
+ wait_time = kwargs['waitTime']
+
if allow_stale is not None:
_setter("allow_stale", allow_stale)
if datacenter is not None:
@@ -1934,21 +2148,67 @@ def __init__(__self__, *,
@staticmethod
def _configure(
_setter: Callable[[Any, Any], None],
- address: str,
- create_index: str,
- enable_tag_override: str,
- id: str,
- meta: Mapping[str, str],
- modify_index: str,
- name: str,
- node_address: str,
- node_id: str,
- node_meta: Mapping[str, str],
- node_name: str,
- port: str,
- tagged_addresses: Mapping[str, str],
- tags: Sequence[str],
- opts: Optional[pulumi.ResourceOptions]=None):
+ address: Optional[str] = None,
+ create_index: Optional[str] = None,
+ enable_tag_override: Optional[str] = None,
+ id: Optional[str] = None,
+ meta: Optional[Mapping[str, str]] = None,
+ modify_index: Optional[str] = None,
+ name: Optional[str] = None,
+ node_address: Optional[str] = None,
+ node_id: Optional[str] = None,
+ node_meta: Optional[Mapping[str, str]] = None,
+ node_name: Optional[str] = None,
+ port: Optional[str] = None,
+ tagged_addresses: Optional[Mapping[str, str]] = None,
+ tags: Optional[Sequence[str]] = None,
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+ if address is None:
+ raise TypeError("Missing 'address' argument")
+ if create_index is None and 'createIndex' in kwargs:
+ create_index = kwargs['createIndex']
+ if create_index is None:
+ raise TypeError("Missing 'create_index' argument")
+ if enable_tag_override is None and 'enableTagOverride' in kwargs:
+ enable_tag_override = kwargs['enableTagOverride']
+ if enable_tag_override is None:
+ raise TypeError("Missing 'enable_tag_override' argument")
+ if id is None:
+ raise TypeError("Missing 'id' argument")
+ if meta is None:
+ raise TypeError("Missing 'meta' argument")
+ if modify_index is None and 'modifyIndex' in kwargs:
+ modify_index = kwargs['modifyIndex']
+ if modify_index is None:
+ raise TypeError("Missing 'modify_index' argument")
+ if name is None:
+ raise TypeError("Missing 'name' argument")
+ if node_address is None and 'nodeAddress' in kwargs:
+ node_address = kwargs['nodeAddress']
+ if node_address is None:
+ raise TypeError("Missing 'node_address' argument")
+ if node_id is None and 'nodeId' in kwargs:
+ node_id = kwargs['nodeId']
+ if node_id is None:
+ raise TypeError("Missing 'node_id' argument")
+ if node_meta is None and 'nodeMeta' in kwargs:
+ node_meta = kwargs['nodeMeta']
+ if node_meta is None:
+ raise TypeError("Missing 'node_meta' argument")
+ if node_name is None and 'nodeName' in kwargs:
+ node_name = kwargs['nodeName']
+ if node_name is None:
+ raise TypeError("Missing 'node_name' argument")
+ if port is None:
+ raise TypeError("Missing 'port' argument")
+ if tagged_addresses is None and 'taggedAddresses' in kwargs:
+ tagged_addresses = kwargs['taggedAddresses']
+ if tagged_addresses is None:
+ raise TypeError("Missing 'tagged_addresses' argument")
+ if tags is None:
+ raise TypeError("Missing 'tags' argument")
+
_setter("address", address)
_setter("create_index", create_index)
_setter("enable_tag_override", enable_tag_override)
@@ -2120,7 +2380,19 @@ def _configure(
token: Optional[str] = None,
wait_index: Optional[int] = None,
wait_time: Optional[str] = None,
- opts: Optional[pulumi.ResourceOptions]=None):
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+ if allow_stale is None and 'allowStale' in kwargs:
+ allow_stale = kwargs['allowStale']
+ if node_meta is None and 'nodeMeta' in kwargs:
+ node_meta = kwargs['nodeMeta']
+ if require_consistent is None and 'requireConsistent' in kwargs:
+ require_consistent = kwargs['requireConsistent']
+ if wait_index is None and 'waitIndex' in kwargs:
+ wait_index = kwargs['waitIndex']
+ if wait_time is None and 'waitTime' in kwargs:
+ wait_time = kwargs['waitTime']
+
if allow_stale is not None:
_setter("allow_stale", allow_stale)
if datacenter is not None:
@@ -2248,10 +2520,16 @@ def __init__(__self__, *,
@staticmethod
def _configure(
_setter: Callable[[Any, Any], None],
- name: str,
- path: str,
+ name: Optional[str] = None,
+ path: Optional[str] = None,
default: Optional[str] = None,
- opts: Optional[pulumi.ResourceOptions]=None):
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+ if name is None:
+ raise TypeError("Missing 'name' argument")
+ if path is None:
+ raise TypeError("Missing 'path' argument")
+
_setter("name", name)
_setter("path", path)
if default is not None:
@@ -2311,10 +2589,16 @@ def __init__(__self__, *,
@staticmethod
def _configure(
_setter: Callable[[Any, Any], None],
- name: str,
- path: str,
+ name: Optional[str] = None,
+ path: Optional[str] = None,
default: Optional[str] = None,
- opts: Optional[pulumi.ResourceOptions]=None):
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+ if name is None:
+ raise TypeError("Missing 'name' argument")
+ if path is None:
+ raise TypeError("Missing 'path' argument")
+
_setter("name", name)
_setter("path", path)
if default is not None:
@@ -2397,17 +2681,39 @@ def __init__(__self__, *,
@staticmethod
def _configure(
_setter: Callable[[Any, Any], None],
- address: str,
- build: str,
- datacenter: str,
- id: str,
- name: str,
- port: int,
- protocol: int,
- role: str,
- rtt: int,
- status: str,
- opts: Optional[pulumi.ResourceOptions]=None):
+ address: Optional[str] = None,
+ build: Optional[str] = None,
+ datacenter: Optional[str] = None,
+ id: Optional[str] = None,
+ name: Optional[str] = None,
+ port: Optional[int] = None,
+ protocol: Optional[int] = None,
+ role: Optional[str] = None,
+ rtt: Optional[int] = None,
+ status: Optional[str] = None,
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+ if address is None:
+ raise TypeError("Missing 'address' argument")
+ if build is None:
+ raise TypeError("Missing 'build' argument")
+ if datacenter is None:
+ raise TypeError("Missing 'datacenter' argument")
+ if id is None:
+ raise TypeError("Missing 'id' argument")
+ if name is None:
+ raise TypeError("Missing 'name' argument")
+ if port is None:
+ raise TypeError("Missing 'port' argument")
+ if protocol is None:
+ raise TypeError("Missing 'protocol' argument")
+ if role is None:
+ raise TypeError("Missing 'role' argument")
+ if rtt is None:
+ raise TypeError("Missing 'rtt' argument")
+ if status is None:
+ raise TypeError("Missing 'status' argument")
+
_setter("address", address)
_setter("build", build)
_setter("datacenter", datacenter)
@@ -2537,12 +2843,26 @@ def __init__(__self__, *,
@staticmethod
def _configure(
_setter: Callable[[Any, Any], None],
- address: str,
- id: str,
- meta: Mapping[str, str],
- name: str,
- tagged_addresses: Mapping[str, str],
- opts: Optional[pulumi.ResourceOptions]=None):
+ address: Optional[str] = None,
+ id: Optional[str] = None,
+ meta: Optional[Mapping[str, str]] = None,
+ name: Optional[str] = None,
+ tagged_addresses: Optional[Mapping[str, str]] = None,
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+ if address is None:
+ raise TypeError("Missing 'address' argument")
+ if id is None:
+ raise TypeError("Missing 'id' argument")
+ if meta is None:
+ raise TypeError("Missing 'meta' argument")
+ if name is None:
+ raise TypeError("Missing 'name' argument")
+ if tagged_addresses is None and 'taggedAddresses' in kwargs:
+ tagged_addresses = kwargs['taggedAddresses']
+ if tagged_addresses is None:
+ raise TypeError("Missing 'tagged_addresses' argument")
+
_setter("address", address)
_setter("id", id)
_setter("meta", meta)
@@ -2639,7 +2959,19 @@ def _configure(
token: Optional[str] = None,
wait_index: Optional[int] = None,
wait_time: Optional[str] = None,
- opts: Optional[pulumi.ResourceOptions]=None):
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+ if allow_stale is None and 'allowStale' in kwargs:
+ allow_stale = kwargs['allowStale']
+ if node_meta is None and 'nodeMeta' in kwargs:
+ node_meta = kwargs['nodeMeta']
+ if require_consistent is None and 'requireConsistent' in kwargs:
+ require_consistent = kwargs['requireConsistent']
+ if wait_index is None and 'waitIndex' in kwargs:
+ wait_index = kwargs['waitIndex']
+ if wait_time is None and 'waitTime' in kwargs:
+ wait_time = kwargs['waitTime']
+
if allow_stale is not None:
_setter("allow_stale", allow_stale)
if datacenter is not None:
@@ -2761,17 +3093,49 @@ def __init__(__self__, *,
@staticmethod
def _configure(
_setter: Callable[[Any, Any], None],
- deleted_at: str,
- id: str,
- meta: Mapping[str, str],
- name: str,
- partition: str,
- peer_ca_pems: Sequence[str],
- peer_id: str,
- peer_server_addresses: Sequence[str],
- peer_server_name: str,
- state: str,
- opts: Optional[pulumi.ResourceOptions]=None):
+ deleted_at: Optional[str] = None,
+ id: Optional[str] = None,
+ meta: Optional[Mapping[str, str]] = None,
+ name: Optional[str] = None,
+ partition: Optional[str] = None,
+ peer_ca_pems: Optional[Sequence[str]] = None,
+ peer_id: Optional[str] = None,
+ peer_server_addresses: Optional[Sequence[str]] = None,
+ peer_server_name: Optional[str] = None,
+ state: Optional[str] = None,
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+ if deleted_at is None and 'deletedAt' in kwargs:
+ deleted_at = kwargs['deletedAt']
+ if deleted_at is None:
+ raise TypeError("Missing 'deleted_at' argument")
+ if id is None:
+ raise TypeError("Missing 'id' argument")
+ if meta is None:
+ raise TypeError("Missing 'meta' argument")
+ if name is None:
+ raise TypeError("Missing 'name' argument")
+ if partition is None:
+ raise TypeError("Missing 'partition' argument")
+ if peer_ca_pems is None and 'peerCaPems' in kwargs:
+ peer_ca_pems = kwargs['peerCaPems']
+ if peer_ca_pems is None:
+ raise TypeError("Missing 'peer_ca_pems' argument")
+ if peer_id is None and 'peerId' in kwargs:
+ peer_id = kwargs['peerId']
+ if peer_id is None:
+ raise TypeError("Missing 'peer_id' argument")
+ if peer_server_addresses is None and 'peerServerAddresses' in kwargs:
+ peer_server_addresses = kwargs['peerServerAddresses']
+ if peer_server_addresses is None:
+ raise TypeError("Missing 'peer_server_addresses' argument")
+ if peer_server_name is None and 'peerServerName' in kwargs:
+ peer_server_name = kwargs['peerServerName']
+ if peer_server_name is None:
+ raise TypeError("Missing 'peer_server_name' argument")
+ if state is None:
+ raise TypeError("Missing 'state' argument")
+
_setter("deleted_at", deleted_at)
_setter("id", id)
_setter("meta", meta)
@@ -2852,10 +3216,18 @@ def __init__(__self__, *,
@staticmethod
def _configure(
_setter: Callable[[Any, Any], None],
- checks: Sequence['outputs.GetServiceHealthResultCheckResult'],
- nodes: Sequence['outputs.GetServiceHealthResultNodeResult'],
- services: Sequence['outputs.GetServiceHealthResultServiceResult'],
- opts: Optional[pulumi.ResourceOptions]=None):
+ checks: Optional[Sequence['outputs.GetServiceHealthResultCheckResult']] = None,
+ nodes: Optional[Sequence['outputs.GetServiceHealthResultNodeResult']] = None,
+ services: Optional[Sequence['outputs.GetServiceHealthResultServiceResult']] = None,
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+ if checks is None:
+ raise TypeError("Missing 'checks' argument")
+ if nodes is None:
+ raise TypeError("Missing 'nodes' argument")
+ if services is None:
+ raise TypeError("Missing 'services' argument")
+
_setter("checks", checks)
_setter("nodes", nodes)
_setter("services", services)
@@ -2917,16 +3289,42 @@ def __init__(__self__, *,
@staticmethod
def _configure(
_setter: Callable[[Any, Any], None],
- id: str,
- name: str,
- node: str,
- notes: str,
- output: str,
- service_id: str,
- service_name: str,
- service_tags: Sequence[str],
- status: str,
- opts: Optional[pulumi.ResourceOptions]=None):
+ id: Optional[str] = None,
+ name: Optional[str] = None,
+ node: Optional[str] = None,
+ notes: Optional[str] = None,
+ output: Optional[str] = None,
+ service_id: Optional[str] = None,
+ service_name: Optional[str] = None,
+ service_tags: Optional[Sequence[str]] = None,
+ status: Optional[str] = None,
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+ if id is None:
+ raise TypeError("Missing 'id' argument")
+ if name is None:
+ raise TypeError("Missing 'name' argument")
+ if node is None:
+ raise TypeError("Missing 'node' argument")
+ if notes is None:
+ raise TypeError("Missing 'notes' argument")
+ if output is None:
+ raise TypeError("Missing 'output' argument")
+ if service_id is None and 'serviceId' in kwargs:
+ service_id = kwargs['serviceId']
+ if service_id is None:
+ raise TypeError("Missing 'service_id' argument")
+ if service_name is None and 'serviceName' in kwargs:
+ service_name = kwargs['serviceName']
+ if service_name is None:
+ raise TypeError("Missing 'service_name' argument")
+ if service_tags is None and 'serviceTags' in kwargs:
+ service_tags = kwargs['serviceTags']
+ if service_tags is None:
+ raise TypeError("Missing 'service_tags' argument")
+ if status is None:
+ raise TypeError("Missing 'status' argument")
+
_setter("id", id)
_setter("name", name)
_setter("node", node)
@@ -3038,13 +3436,29 @@ def __init__(__self__, *,
@staticmethod
def _configure(
_setter: Callable[[Any, Any], None],
- address: str,
- datacenter: str,
- id: str,
- meta: Mapping[str, str],
- name: str,
- tagged_addresses: Mapping[str, str],
- opts: Optional[pulumi.ResourceOptions]=None):
+ address: Optional[str] = None,
+ datacenter: Optional[str] = None,
+ id: Optional[str] = None,
+ meta: Optional[Mapping[str, str]] = None,
+ name: Optional[str] = None,
+ tagged_addresses: Optional[Mapping[str, str]] = None,
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+ if address is None:
+ raise TypeError("Missing 'address' argument")
+ if datacenter is None:
+ raise TypeError("Missing 'datacenter' argument")
+ if id is None:
+ raise TypeError("Missing 'id' argument")
+ if meta is None:
+ raise TypeError("Missing 'meta' argument")
+ if name is None:
+ raise TypeError("Missing 'name' argument")
+ if tagged_addresses is None and 'taggedAddresses' in kwargs:
+ tagged_addresses = kwargs['taggedAddresses']
+ if tagged_addresses is None:
+ raise TypeError("Missing 'tagged_addresses' argument")
+
_setter("address", address)
_setter("datacenter", datacenter)
_setter("id", id)
@@ -3127,13 +3541,27 @@ def __init__(__self__, *,
@staticmethod
def _configure(
_setter: Callable[[Any, Any], None],
- address: str,
- id: str,
- meta: Mapping[str, str],
- name: str,
- port: int,
- tags: Sequence[str],
- opts: Optional[pulumi.ResourceOptions]=None):
+ address: Optional[str] = None,
+ id: Optional[str] = None,
+ meta: Optional[Mapping[str, str]] = None,
+ name: Optional[str] = None,
+ port: Optional[int] = None,
+ tags: Optional[Sequence[str]] = None,
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+ if address is None:
+ raise TypeError("Missing 'address' argument")
+ if id is None:
+ raise TypeError("Missing 'id' argument")
+ if meta is None:
+ raise TypeError("Missing 'meta' argument")
+ if name is None:
+ raise TypeError("Missing 'name' argument")
+ if port is None:
+ raise TypeError("Missing 'port' argument")
+ if tags is None:
+ raise TypeError("Missing 'tags' argument")
+
_setter("address", address)
_setter("id", id)
_setter("meta", meta)
@@ -3247,7 +3675,19 @@ def _configure(
token: Optional[str] = None,
wait_index: Optional[int] = None,
wait_time: Optional[str] = None,
- opts: Optional[pulumi.ResourceOptions]=None):
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+ if allow_stale is None and 'allowStale' in kwargs:
+ allow_stale = kwargs['allowStale']
+ if node_meta is None and 'nodeMeta' in kwargs:
+ node_meta = kwargs['nodeMeta']
+ if require_consistent is None and 'requireConsistent' in kwargs:
+ require_consistent = kwargs['requireConsistent']
+ if wait_index is None and 'waitIndex' in kwargs:
+ wait_index = kwargs['waitIndex']
+ if wait_time is None and 'waitTime' in kwargs:
+ wait_time = kwargs['waitTime']
+
if allow_stale is not None:
_setter("allow_stale", allow_stale)
if datacenter is not None:
@@ -3413,21 +3853,67 @@ def __init__(__self__, *,
@staticmethod
def _configure(
_setter: Callable[[Any, Any], None],
- address: str,
- create_index: str,
- enable_tag_override: str,
- id: str,
- meta: Mapping[str, str],
- modify_index: str,
- name: str,
- node_address: str,
- node_id: str,
- node_meta: Mapping[str, str],
- node_name: str,
- port: str,
- tagged_addresses: Mapping[str, str],
- tags: Sequence[str],
- opts: Optional[pulumi.ResourceOptions]=None):
+ address: Optional[str] = None,
+ create_index: Optional[str] = None,
+ enable_tag_override: Optional[str] = None,
+ id: Optional[str] = None,
+ meta: Optional[Mapping[str, str]] = None,
+ modify_index: Optional[str] = None,
+ name: Optional[str] = None,
+ node_address: Optional[str] = None,
+ node_id: Optional[str] = None,
+ node_meta: Optional[Mapping[str, str]] = None,
+ node_name: Optional[str] = None,
+ port: Optional[str] = None,
+ tagged_addresses: Optional[Mapping[str, str]] = None,
+ tags: Optional[Sequence[str]] = None,
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+ if address is None:
+ raise TypeError("Missing 'address' argument")
+ if create_index is None and 'createIndex' in kwargs:
+ create_index = kwargs['createIndex']
+ if create_index is None:
+ raise TypeError("Missing 'create_index' argument")
+ if enable_tag_override is None and 'enableTagOverride' in kwargs:
+ enable_tag_override = kwargs['enableTagOverride']
+ if enable_tag_override is None:
+ raise TypeError("Missing 'enable_tag_override' argument")
+ if id is None:
+ raise TypeError("Missing 'id' argument")
+ if meta is None:
+ raise TypeError("Missing 'meta' argument")
+ if modify_index is None and 'modifyIndex' in kwargs:
+ modify_index = kwargs['modifyIndex']
+ if modify_index is None:
+ raise TypeError("Missing 'modify_index' argument")
+ if name is None:
+ raise TypeError("Missing 'name' argument")
+ if node_address is None and 'nodeAddress' in kwargs:
+ node_address = kwargs['nodeAddress']
+ if node_address is None:
+ raise TypeError("Missing 'node_address' argument")
+ if node_id is None and 'nodeId' in kwargs:
+ node_id = kwargs['nodeId']
+ if node_id is None:
+ raise TypeError("Missing 'node_id' argument")
+ if node_meta is None and 'nodeMeta' in kwargs:
+ node_meta = kwargs['nodeMeta']
+ if node_meta is None:
+ raise TypeError("Missing 'node_meta' argument")
+ if node_name is None and 'nodeName' in kwargs:
+ node_name = kwargs['nodeName']
+ if node_name is None:
+ raise TypeError("Missing 'node_name' argument")
+ if port is None:
+ raise TypeError("Missing 'port' argument")
+ if tagged_addresses is None and 'taggedAddresses' in kwargs:
+ tagged_addresses = kwargs['taggedAddresses']
+ if tagged_addresses is None:
+ raise TypeError("Missing 'tagged_addresses' argument")
+ if tags is None:
+ raise TypeError("Missing 'tags' argument")
+
_setter("address", address)
_setter("create_index", create_index)
_setter("enable_tag_override", enable_tag_override)
@@ -3599,7 +4085,19 @@ def _configure(
token: Optional[str] = None,
wait_index: Optional[int] = None,
wait_time: Optional[str] = None,
- opts: Optional[pulumi.ResourceOptions]=None):
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+ if allow_stale is None and 'allowStale' in kwargs:
+ allow_stale = kwargs['allowStale']
+ if node_meta is None and 'nodeMeta' in kwargs:
+ node_meta = kwargs['nodeMeta']
+ if require_consistent is None and 'requireConsistent' in kwargs:
+ require_consistent = kwargs['requireConsistent']
+ if wait_index is None and 'waitIndex' in kwargs:
+ wait_index = kwargs['waitIndex']
+ if wait_time is None and 'waitTime' in kwargs:
+ wait_time = kwargs['waitTime']
+
if allow_stale is not None:
_setter("allow_stale", allow_stale)
if datacenter is not None:
diff --git a/sdk/python/pulumi_consul/peering.py b/sdk/python/pulumi_consul/peering.py
index ac8c61a7..848e144c 100644
--- a/sdk/python/pulumi_consul/peering.py
+++ b/sdk/python/pulumi_consul/peering.py
@@ -34,11 +34,21 @@ def __init__(__self__, *,
@staticmethod
def _configure(
_setter: Callable[[Any, Any], None],
- peer_name: pulumi.Input[str],
- peering_token: pulumi.Input[str],
+ peer_name: Optional[pulumi.Input[str]] = None,
+ peering_token: Optional[pulumi.Input[str]] = None,
meta: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
partition: Optional[pulumi.Input[str]] = None,
- opts: Optional[pulumi.ResourceOptions]=None):
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+ if peer_name is None and 'peerName' in kwargs:
+ peer_name = kwargs['peerName']
+ if peer_name is None:
+ raise TypeError("Missing 'peer_name' argument")
+ if peering_token is None and 'peeringToken' in kwargs:
+ peering_token = kwargs['peeringToken']
+ if peering_token is None:
+ raise TypeError("Missing 'peering_token' argument")
+
_setter("peer_name", peer_name)
_setter("peering_token", peering_token)
if meta is not None:
@@ -137,7 +147,23 @@ def _configure(
peer_server_name: Optional[pulumi.Input[str]] = None,
peering_token: Optional[pulumi.Input[str]] = None,
state: Optional[pulumi.Input[str]] = None,
- opts: Optional[pulumi.ResourceOptions]=None):
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+ if deleted_at is None and 'deletedAt' in kwargs:
+ deleted_at = kwargs['deletedAt']
+ if peer_ca_pems is None and 'peerCaPems' in kwargs:
+ peer_ca_pems = kwargs['peerCaPems']
+ if peer_id is None and 'peerId' in kwargs:
+ peer_id = kwargs['peerId']
+ if peer_name is None and 'peerName' in kwargs:
+ peer_name = kwargs['peerName']
+ if peer_server_addresses is None and 'peerServerAddresses' in kwargs:
+ peer_server_addresses = kwargs['peerServerAddresses']
+ if peer_server_name is None and 'peerServerName' in kwargs:
+ peer_server_name = kwargs['peerServerName']
+ if peering_token is None and 'peeringToken' in kwargs:
+ peering_token = kwargs['peeringToken']
+
if deleted_at is not None:
_setter("deleted_at", deleted_at)
if meta is not None:
@@ -278,26 +304,6 @@ def __init__(__self__,
The functionality described here is available only in Consul version 1.13.0 and later.
- ## Example Usage
-
- ```python
- import pulumi
- import pulumi_consul as consul
-
- # Create a peering between the EU and US Consul clusters
- eu = consul.Provider("eu", address="eu-cluster:8500")
- us = consul.Provider("us", address="us-cluster:8500")
- eu_us_peering_token = consul.PeeringToken("eu-usPeeringToken", peer_name="eu-cluster",
- opts=pulumi.ResourceOptions(provider=consul["us"]))
- eu_us_peering = consul.Peering("eu-usPeering",
- peer_name="eu-cluster",
- peering_token=consul_peering_token["token"]["peering_token"],
- meta={
- "hello": "world",
- },
- opts=pulumi.ResourceOptions(provider=consul["eu"]))
- ```
-
:param str resource_name: The name of the resource.
:param pulumi.ResourceOptions opts: Options for the resource.
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] meta: Specifies KV metadata to associate with the peering. This parameter is not required and does not directly impact the cluster peering process.
@@ -319,26 +325,6 @@ def __init__(__self__,
The functionality described here is available only in Consul version 1.13.0 and later.
- ## Example Usage
-
- ```python
- import pulumi
- import pulumi_consul as consul
-
- # Create a peering between the EU and US Consul clusters
- eu = consul.Provider("eu", address="eu-cluster:8500")
- us = consul.Provider("us", address="us-cluster:8500")
- eu_us_peering_token = consul.PeeringToken("eu-usPeeringToken", peer_name="eu-cluster",
- opts=pulumi.ResourceOptions(provider=consul["us"]))
- eu_us_peering = consul.Peering("eu-usPeering",
- peer_name="eu-cluster",
- peering_token=consul_peering_token["token"]["peering_token"],
- meta={
- "hello": "world",
- },
- opts=pulumi.ResourceOptions(provider=consul["eu"]))
- ```
-
:param str resource_name: The name of the resource.
:param PeeringArgs args: The arguments to use to populate this resource's properties.
:param pulumi.ResourceOptions opts: Options for the resource.
diff --git a/sdk/python/pulumi_consul/peering_token.py b/sdk/python/pulumi_consul/peering_token.py
index 20b5ad16..87f1ccd7 100644
--- a/sdk/python/pulumi_consul/peering_token.py
+++ b/sdk/python/pulumi_consul/peering_token.py
@@ -31,10 +31,16 @@ def __init__(__self__, *,
@staticmethod
def _configure(
_setter: Callable[[Any, Any], None],
- peer_name: pulumi.Input[str],
+ peer_name: Optional[pulumi.Input[str]] = None,
meta: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
partition: Optional[pulumi.Input[str]] = None,
- opts: Optional[pulumi.ResourceOptions]=None):
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+ if peer_name is None and 'peerName' in kwargs:
+ peer_name = kwargs['peerName']
+ if peer_name is None:
+ raise TypeError("Missing 'peer_name' argument")
+
_setter("peer_name", peer_name)
if meta is not None:
_setter("meta", meta)
@@ -102,7 +108,13 @@ def _configure(
partition: Optional[pulumi.Input[str]] = None,
peer_name: Optional[pulumi.Input[str]] = None,
peering_token: Optional[pulumi.Input[str]] = None,
- opts: Optional[pulumi.ResourceOptions]=None):
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+ if peer_name is None and 'peerName' in kwargs:
+ peer_name = kwargs['peerName']
+ if peering_token is None and 'peeringToken' in kwargs:
+ peering_token = kwargs['peeringToken']
+
if meta is not None:
_setter("meta", meta)
if partition is not None:
@@ -176,15 +188,6 @@ def __init__(__self__,
The functionality described here is available only in Consul version 1.13.0 and later.
- ## Example Usage
-
- ```python
- import pulumi
- import pulumi_consul as consul
-
- token = consul.PeeringToken("token", peer_name="eu-cluster")
- ```
-
:param str resource_name: The name of the resource.
:param pulumi.ResourceOptions opts: Options for the resource.
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] meta: Specifies KV metadata to associate with the peering. This parameter is not required and does not directly impact the cluster peering process.
@@ -205,15 +208,6 @@ def __init__(__self__,
The functionality described here is available only in Consul version 1.13.0 and later.
- ## Example Usage
-
- ```python
- import pulumi
- import pulumi_consul as consul
-
- token = consul.PeeringToken("token", peer_name="eu-cluster")
- ```
-
:param str resource_name: The name of the resource.
:param PeeringTokenArgs args: The arguments to use to populate this resource's properties.
:param pulumi.ResourceOptions opts: Options for the resource.
diff --git a/sdk/python/pulumi_consul/prepared_query.py b/sdk/python/pulumi_consul/prepared_query.py
index fd7712a7..f72bf42a 100644
--- a/sdk/python/pulumi_consul/prepared_query.py
+++ b/sdk/python/pulumi_consul/prepared_query.py
@@ -73,7 +73,7 @@ def __init__(__self__, *,
@staticmethod
def _configure(
_setter: Callable[[Any, Any], None],
- service: pulumi.Input[str],
+ service: Optional[pulumi.Input[str]] = None,
connect: Optional[pulumi.Input[bool]] = None,
datacenter: Optional[pulumi.Input[str]] = None,
dns: Optional[pulumi.Input['PreparedQueryDnsArgs']] = None,
@@ -89,7 +89,21 @@ def _configure(
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
template: Optional[pulumi.Input['PreparedQueryTemplateArgs']] = None,
token: Optional[pulumi.Input[str]] = None,
- opts: Optional[pulumi.ResourceOptions]=None):
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+ if service is None:
+ raise TypeError("Missing 'service' argument")
+ if ignore_check_ids is None and 'ignoreCheckIds' in kwargs:
+ ignore_check_ids = kwargs['ignoreCheckIds']
+ if node_meta is None and 'nodeMeta' in kwargs:
+ node_meta = kwargs['nodeMeta']
+ if only_passing is None and 'onlyPassing' in kwargs:
+ only_passing = kwargs['onlyPassing']
+ if service_meta is None and 'serviceMeta' in kwargs:
+ service_meta = kwargs['serviceMeta']
+ if stored_token is None and 'storedToken' in kwargs:
+ stored_token = kwargs['storedToken']
+
_setter("service", service)
if connect is not None:
_setter("connect", connect)
@@ -401,7 +415,19 @@ def _configure(
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
template: Optional[pulumi.Input['PreparedQueryTemplateArgs']] = None,
token: Optional[pulumi.Input[str]] = None,
- opts: Optional[pulumi.ResourceOptions]=None):
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+ if ignore_check_ids is None and 'ignoreCheckIds' in kwargs:
+ ignore_check_ids = kwargs['ignoreCheckIds']
+ if node_meta is None and 'nodeMeta' in kwargs:
+ node_meta = kwargs['nodeMeta']
+ if only_passing is None and 'onlyPassing' in kwargs:
+ only_passing = kwargs['onlyPassing']
+ if service_meta is None and 'serviceMeta' in kwargs:
+ service_meta = kwargs['serviceMeta']
+ if stored_token is None and 'storedToken' in kwargs:
+ stored_token = kwargs['storedToken']
+
if connect is not None:
_setter("connect", connect)
if datacenter is not None:
@@ -661,65 +687,6 @@ def __init__(__self__,
token: Optional[pulumi.Input[str]] = None,
__props__=None):
"""
- ## Example Usage
-
- ```python
- import pulumi
- import pulumi_consul as consul
-
- # Creates a prepared query myquery.query.consul that finds the nearest
- # healthy myapp.service.consul instance that has the active tag and not
- # the standby tag.
- myapp_query = consul.PreparedQuery("myapp-query",
- datacenter="us-central1",
- dns=consul.PreparedQueryDnsArgs(
- ttl="30s",
- ),
- failover=consul.PreparedQueryFailoverArgs(
- datacenters=[
- "us-west1",
- "us-east-2",
- "asia-east1",
- ],
- nearest_n=3,
- ),
- near="_agent",
- only_passing=True,
- service="myapp",
- stored_token="wxyz",
- tags=[
- "active",
- "!standby",
- ],
- token="abcd")
- # Creates a Prepared Query Template that matches *-near-self.query.consul
- # and finds the nearest service that matches the glob character (e.g.
- # foo-near-self.query.consul will find the nearest healthy foo.service.consul).
- service_near_self = consul.PreparedQuery("service-near-self",
- connect=True,
- datacenter="nyc1",
- dns=consul.PreparedQueryDnsArgs(
- ttl="5m",
- ),
- failover=consul.PreparedQueryFailoverArgs(
- datacenters=[
- "dc2",
- "dc3",
- "dc4",
- ],
- nearest_n=3,
- ),
- near="_agent",
- only_passing=True,
- service="${match(1)}",
- stored_token="wxyz",
- template=consul.PreparedQueryTemplateArgs(
- regexp="^(.*)-near-self$",
- type="name_prefix_match",
- ),
- token="abcd")
- ```
-
## Import
```sh
@@ -752,65 +719,6 @@ def __init__(__self__,
args: PreparedQueryArgs,
opts: Optional[pulumi.ResourceOptions] = None):
"""
- ## Example Usage
-
- ```python
- import pulumi
- import pulumi_consul as consul
-
- # Creates a prepared query myquery.query.consul that finds the nearest
- # healthy myapp.service.consul instance that has the active tag and not
- # the standby tag.
- myapp_query = consul.PreparedQuery("myapp-query",
- datacenter="us-central1",
- dns=consul.PreparedQueryDnsArgs(
- ttl="30s",
- ),
- failover=consul.PreparedQueryFailoverArgs(
- datacenters=[
- "us-west1",
- "us-east-2",
- "asia-east1",
- ],
- nearest_n=3,
- ),
- near="_agent",
- only_passing=True,
- service="myapp",
- stored_token="wxyz",
- tags=[
- "active",
- "!standby",
- ],
- token="abcd")
- # Creates a Prepared Query Template that matches *-near-self.query.consul
- # and finds the nearest service that matches the glob character (e.g.
- # foo-near-self.query.consul will find the nearest healthy foo.service.consul).
- service_near_self = consul.PreparedQuery("service-near-self",
- connect=True,
- datacenter="nyc1",
- dns=consul.PreparedQueryDnsArgs(
- ttl="5m",
- ),
- failover=consul.PreparedQueryFailoverArgs(
- datacenters=[
- "dc2",
- "dc3",
- "dc4",
- ],
- nearest_n=3,
- ),
- near="_agent",
- only_passing=True,
- service="${match(1)}",
- stored_token="wxyz",
- template=consul.PreparedQueryTemplateArgs(
- regexp="^(.*)-near-self$",
- type="name_prefix_match",
- ),
- token="abcd")
- ```
-
## Import
```sh
@@ -863,17 +771,9 @@ def _internal_init(__self__,
__props__.__dict__["connect"] = connect
__props__.__dict__["datacenter"] = datacenter
- if dns is not None and not isinstance(dns, PreparedQueryDnsArgs):
- dns = dns or {}
- def _setter(key, value):
- dns[key] = value
- PreparedQueryDnsArgs._configure(_setter, **dns)
+ dns = _utilities.configure(dns, PreparedQueryDnsArgs, True)
__props__.__dict__["dns"] = dns
- if failover is not None and not isinstance(failover, PreparedQueryFailoverArgs):
- failover = failover or {}
- def _setter(key, value):
- failover[key] = value
- PreparedQueryFailoverArgs._configure(_setter, **failover)
+ failover = _utilities.configure(failover, PreparedQueryFailoverArgs, True)
__props__.__dict__["failover"] = failover
__props__.__dict__["ignore_check_ids"] = ignore_check_ids
__props__.__dict__["name"] = name
@@ -887,11 +787,7 @@ def _setter(key, value):
__props__.__dict__["session"] = session
__props__.__dict__["stored_token"] = stored_token
__props__.__dict__["tags"] = tags
- if template is not None and not isinstance(template, PreparedQueryTemplateArgs):
- template = template or {}
- def _setter(key, value):
- template[key] = value
- PreparedQueryTemplateArgs._configure(_setter, **template)
+ template = _utilities.configure(template, PreparedQueryTemplateArgs, True)
__props__.__dict__["template"] = template
__props__.__dict__["token"] = None if token is None else pulumi.Output.secret(token)
secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["token"])
diff --git a/sdk/python/pulumi_consul/provider.py b/sdk/python/pulumi_consul/provider.py
index 2cb87d8e..68a9767a 100644
--- a/sdk/python/pulumi_consul/provider.py
+++ b/sdk/python/pulumi_consul/provider.py
@@ -92,7 +92,29 @@ def _configure(
namespace: Optional[pulumi.Input[str]] = None,
scheme: Optional[pulumi.Input[str]] = None,
token: Optional[pulumi.Input[str]] = None,
- opts: Optional[pulumi.ResourceOptions]=None):
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+ if auth_jwt is None and 'authJwt' in kwargs:
+ auth_jwt = kwargs['authJwt']
+ if ca_file is None and 'caFile' in kwargs:
+ ca_file = kwargs['caFile']
+ if ca_path is None and 'caPath' in kwargs:
+ ca_path = kwargs['caPath']
+ if ca_pem is None and 'caPem' in kwargs:
+ ca_pem = kwargs['caPem']
+ if cert_file is None and 'certFile' in kwargs:
+ cert_file = kwargs['certFile']
+ if cert_pem is None and 'certPem' in kwargs:
+ cert_pem = kwargs['certPem']
+ if http_auth is None and 'httpAuth' in kwargs:
+ http_auth = kwargs['httpAuth']
+ if insecure_https is None and 'insecureHttps' in kwargs:
+ insecure_https = kwargs['insecureHttps']
+ if key_file is None and 'keyFile' in kwargs:
+ key_file = kwargs['keyFile']
+ if key_pem is None and 'keyPem' in kwargs:
+ key_pem = kwargs['keyPem']
+
if address is not None:
_setter("address", address)
if auth_jwt is not None:
@@ -429,11 +451,7 @@ def _internal_init(__self__,
__props__ = ProviderArgs.__new__(ProviderArgs)
__props__.__dict__["address"] = address
- if auth_jwt is not None and not isinstance(auth_jwt, ProviderAuthJwtArgs):
- auth_jwt = auth_jwt or {}
- def _setter(key, value):
- auth_jwt[key] = value
- ProviderAuthJwtArgs._configure(_setter, **auth_jwt)
+ auth_jwt = _utilities.configure(auth_jwt, ProviderAuthJwtArgs, True)
__props__.__dict__["auth_jwt"] = pulumi.Output.from_input(auth_jwt).apply(pulumi.runtime.to_json) if auth_jwt is not None else None
__props__.__dict__["ca_file"] = ca_file
__props__.__dict__["ca_path"] = ca_path
diff --git a/sdk/python/pulumi_consul/service.py b/sdk/python/pulumi_consul/service.py
index 4e5dd5ef..fe0ec635 100644
--- a/sdk/python/pulumi_consul/service.py
+++ b/sdk/python/pulumi_consul/service.py
@@ -70,7 +70,7 @@ def __init__(__self__, *,
@staticmethod
def _configure(
_setter: Callable[[Any, Any], None],
- node: pulumi.Input[str],
+ node: Optional[pulumi.Input[str]] = None,
address: Optional[pulumi.Input[str]] = None,
checks: Optional[pulumi.Input[Sequence[pulumi.Input['ServiceCheckArgs']]]] = None,
datacenter: Optional[pulumi.Input[str]] = None,
@@ -83,7 +83,15 @@ def _configure(
port: Optional[pulumi.Input[int]] = None,
service_id: Optional[pulumi.Input[str]] = None,
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
- opts: Optional[pulumi.ResourceOptions]=None):
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+ if node is None:
+ raise TypeError("Missing 'node' argument")
+ if enable_tag_override is None and 'enableTagOverride' in kwargs:
+ enable_tag_override = kwargs['enableTagOverride']
+ if service_id is None and 'serviceId' in kwargs:
+ service_id = kwargs['serviceId']
+
_setter("node", node)
if address is not None:
_setter("address", address)
@@ -345,7 +353,13 @@ def _configure(
port: Optional[pulumi.Input[int]] = None,
service_id: Optional[pulumi.Input[str]] = None,
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
- opts: Optional[pulumi.ResourceOptions]=None):
+ opts: Optional[pulumi.ResourceOptions] = None,
+ **kwargs):
+ if enable_tag_override is None and 'enableTagOverride' in kwargs:
+ enable_tag_override = kwargs['enableTagOverride']
+ if service_id is None and 'serviceId' in kwargs:
+ service_id = kwargs['serviceId']
+
if address is not None:
_setter("address", address)
if checks is not None: