Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade terraform-provider to v1.3.0 #30

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ ENV PATH=$PATH:/usr/local/go/bin

# Install go linter
RUN mkdir -p $GOPATH/bin && \
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $GOPATH/bin v1.46.2
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $GOPATH/bin v1.59.1

ENV PATH=$PATH:$GOPATH/bin

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v4
with:
args: -p 3 release --rm-dist
args: -p 3 release --clean
version: latest
strategy:
fail-fast: true
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,4 @@ provider/**/schema-embed.json
**/version.txt
**/nuget
**/dist
pnpm-lock.yaml
24 changes: 17 additions & 7 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,34 @@
linters:
enable:
- deadcode
- unused
- errcheck
- goconst
- gofmt
- golint
- revive
- gosec
- govet
- ineffassign
- interfacer
- lll
- megacheck
- misspell
- nakedret
- structcheck

- unconvert
- varcheck

enable-all: false
run:
skip-files:
issues:
exclude-files:
- schema.go
- pulumiManifest.go
run:

timeout: 20m
linters-settings:
lll:
# Max line length, lines longer will be reported.
# '\t' is counted as 1 character by default, and can be changed with the tab-width option.
# Default: 120.
line-length: 150
# Tab width in spaces.
# Default: 1
tab-width: 1
3 changes: 2 additions & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
version: 2
archives:
- id: archive
name_template: '{{ .Binary }}-{{ .Tag }}-{{ .Os }}-{{ .Arch }}'
Expand All @@ -20,7 +21,7 @@ builds:
- -X github.com/pulumiverse/pulumi-zitadel/provider/pkg/version.Version={{.Tag }}
main: ./cmd/pulumi-resource-zitadel/
changelog:
skip: true
disable: true
release:
disable: false
prerelease: auto
Expand Down
1,712 changes: 1,444 additions & 268 deletions provider/cmd/pulumi-resource-zitadel/schema.json

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions provider/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ replace github.com/hashicorp/terraform-plugin-sdk/v2 => github.com/pulumi/terraf
require (
github.com/pulumi/pulumi-terraform-bridge/v3 v3.62.0
github.com/pulumi/pulumi/sdk/v3 v3.89.0
github.com/zitadel/terraform-provider-zitadel v1.1.1
github.com/zitadel/terraform-provider-zitadel v1.3.0
)

require (
Expand Down Expand Up @@ -240,14 +240,14 @@ 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.18.0 // indirect
golang.org/x/crypto v0.21.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.20.0 // indirect
golang.org/x/net v0.23.0 // indirect
golang.org/x/oauth2 v0.16.0 // indirect
golang.org/x/sync v0.5.0 // indirect
golang.org/x/sys v0.16.0 // indirect
golang.org/x/term v0.16.0 // indirect
golang.org/x/sys v0.18.0 // indirect
golang.org/x/term v0.18.0 // indirect
golang.org/x/text v0.14.0 // indirect
golang.org/x/time v0.3.0 // indirect
golang.org/x/tools v0.14.0 // indirect
Expand All @@ -258,7 +258,7 @@ require (
google.golang.org/genproto/googleapis/api v0.0.0-20240125205218-1f4bbc51befe // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240125205218-1f4bbc51befe // indirect
google.golang.org/grpc v1.61.0 // indirect
google.golang.org/protobuf v1.32.0 // indirect
google.golang.org/protobuf v1.33.0 // indirect
gopkg.in/square/go-jose.v2 v2.6.0 // indirect
gopkg.in/warnings.v0 v0.1.2 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
Expand Down
24 changes: 12 additions & 12 deletions provider/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -2446,8 +2446,8 @@ github.com/zeebo/xxh3 v1.0.2/go.mod h1:5NWz9Sef7zIDm2JHfFlcQvNekmcEl9ekUZQQKCYaD
github.com/zenazn/goji v0.9.0/go.mod h1:7S9M489iMyHBNxwZnk9/EHS098H4/F6TATF2mIxtB1Q=
github.com/zitadel/oidc v1.13.5 h1:7jhh68NGZitLqwLiVU9Dtwa4IraJPFF1vS+4UupO93U=
github.com/zitadel/oidc v1.13.5/go.mod h1:rHs1DhU3Sv3tnI6bQRVlFa3u0lCwtR7S21WHY+yXgPA=
github.com/zitadel/terraform-provider-zitadel v1.1.1 h1:Ys0jBN9NcJtBkAEFxLDakDuLH5Z002/+Yeu75+ixvhs=
github.com/zitadel/terraform-provider-zitadel v1.1.1/go.mod h1:3hq2uZ1n6/z9M9sLo0ShBPOPQuzwrZKCU7MS9ytiyOk=
github.com/zitadel/terraform-provider-zitadel v1.3.0 h1:M86kZ6Ny4LPdRpvNUSyA438m1fbfi7E45LlsUkw1K5A=
github.com/zitadel/terraform-provider-zitadel v1.3.0/go.mod h1:rzoOhFgdh0e/Jgu7o0yqTWf/9u7ikJoETlIsUPS4RDM=
github.com/zitadel/zitadel-go/v2 v2.1.8 h1:b+1SoltzphLq0ixYwSuROQBEdBXFAs/5xMGVsQ52Waw=
github.com/zitadel/zitadel-go/v2 v2.1.8/go.mod h1:uHnf22GMpkAdRyFtJ/xUwaqEI5gxRbu4FnKEqpzuclA=
go.etcd.io/bbolt v1.3.2/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU=
Expand Down Expand Up @@ -2605,8 +2605,8 @@ golang.org/x/crypto v0.7.0/go.mod h1:pYwdfH91IfpZVANVyUOhSIPZaFoJGxTFbZhFTx+dXZU
golang.org/x/crypto v0.8.0/go.mod h1:mRqEX+O9/h5TFCrQhkgjo2yKi0yYA+9ecGkdQoHrywE=
golang.org/x/crypto v0.11.0/go.mod h1:xgJhtzW8F9jGdVFWZESrid1U1bjeNy4zgy5cRr/CIio=
golang.org/x/crypto v0.13.0/go.mod h1:y6Z2r+Rw4iayiXXAIxJIDAJ1zMW4yaTpebo8fPOliYc=
golang.org/x/crypto v0.18.0 h1:PGVlW0xEltQnzFZ55hkuX5+KLyrMYhHld1YHO4AKcdc=
golang.org/x/crypto v0.18.0/go.mod h1:R0j02AL6hcrfOiy9T4ZYp/rcWeMxM3L6QYxlOuEG1mg=
golang.org/x/crypto v0.21.0 h1:X31++rzVUdKhX5sWmSOFZxx8UW/ldWx55cbf08iNAMA=
golang.org/x/crypto v0.21.0/go.mod h1:0BP7YvVV9gBbVKyeTG0Gyn+gZm94bibOW5BjDEYAOMs=
golang.org/x/exp v0.0.0-20180321215751-8460e604b9de/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
golang.org/x/exp v0.0.0-20180807140117-3d87b88a115f/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
Expand Down Expand Up @@ -2767,8 +2767,8 @@ golang.org/x/net v0.9.0/go.mod h1:d48xBJpPfHeWQsugry2m+kC02ZBRGRgulfHnEXEuWns=
golang.org/x/net v0.10.0/go.mod h1:0qNGK6F8kojg2nk9dLZ2mShWaEBan6FAoqfSigmmuDg=
golang.org/x/net v0.12.0/go.mod h1:zEVYFnQC7m/vmpQFELhcD1EWkZlX69l4oqgmer6hfKA=
golang.org/x/net v0.13.0/go.mod h1:zEVYFnQC7m/vmpQFELhcD1EWkZlX69l4oqgmer6hfKA=
golang.org/x/net v0.20.0 h1:aCL9BSgETF1k+blQaYUBx9hJ9LOGP3gAVemcZlf1Kpo=
golang.org/x/net v0.20.0/go.mod h1:z8BVo6PvndSri0LbOE3hAn0apkU+1YvI6E70E9jsnvY=
golang.org/x/net v0.23.0 h1:7EYJ93RZ9vYSZAIb2x3lnuvqO5zneoD6IvWjuhfxjTs=
golang.org/x/net v0.23.0/go.mod h1:JKghWKKOSdJwpW2GEx0Ja7fmaKnMsbu+MWVZTokSYmg=
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=
Expand Down Expand Up @@ -2984,8 +2984,8 @@ golang.org/x/sys v0.7.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.10.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.12.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.16.0 h1:xWw16ngr6ZMtmxDyKyIgsE93KNKz5HKmMa3b8ALHidU=
golang.org/x/sys v0.16.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/sys v0.18.0 h1:DBdB3niSjOA/O0blCZBqDefyWNYveAYMNF1Wum0DYQ4=
golang.org/x/sys v0.18.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
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=
Expand All @@ -3002,8 +3002,8 @@ golang.org/x/term v0.7.0/go.mod h1:P32HKFT3hSsZrRxla30E9HqToFYAQPCMs/zFMBUFqPY=
golang.org/x/term v0.8.0/go.mod h1:xPskH00ivmX89bAKVGSKKtLOWNx2+17Eiy94tnKShWo=
golang.org/x/term v0.10.0/go.mod h1:lpqdcUyK/oCiQxvxVrppt5ggO2KCZ5QblwqPnfZ6d5o=
golang.org/x/term v0.12.0/go.mod h1:owVbMEjm3cBLCHdkQu9b1opXd4ETQWc3BhuQGKgXgvU=
golang.org/x/term v0.16.0 h1:m+B6fahuftsE9qjo0VWp2FW0mB3MTJvR0BaMQrq0pmE=
golang.org/x/term v0.16.0/go.mod h1:yn7UURbUtPyrVJPGPq404EukNFxcm/foM+bV/bfcDsY=
golang.org/x/term v0.18.0 h1:FcHjZXDMxI8mM3nwhX9HlKop4C0YQvCVCdwYl2wOtE8=
golang.org/x/term v0.18.0/go.mod h1:ILwASektA3OnRv7amZ1xhE/KTR+u50pbXfZ03+6Nx58=
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=
Expand Down Expand Up @@ -3465,8 +3465,8 @@ google.golang.org/protobuf v1.28.2-0.20230222093303-bc1253ad3743/go.mod h1:HV8QO
google.golang.org/protobuf v1.29.1/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I=
google.golang.org/protobuf v1.30.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I=
google.golang.org/protobuf v1.31.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I=
google.golang.org/protobuf v1.32.0 h1:pPC6BG5ex8PDFnkbrGU3EixyhKcQ2aDuBS36lqK/C7I=
google.golang.org/protobuf v1.32.0/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=
google.golang.org/protobuf v1.33.0 h1:uNO2rsAINq/JlFpSdYEKIZ0uKD/R9cpdv0T+yoGwGmI=
google.golang.org/protobuf v1.33.0/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=
gopkg.in/airbrake/gobrake.v2 v2.0.9/go.mod h1:/h5ZAUhDkGaJfjzjKLSjv6zCL6O0LLBxU4K+aSYdM/U=
gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
Expand Down
14 changes: 13 additions & 1 deletion provider/resources.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const (
// It should validate that the provider can be configured, and provide actionable errors in the case
// it cannot be. Configuration variables can be read from `vars` using the `stringValue` function -
// for example `stringValue(vars, "accessKey")`.
func preConfigureCallback(vars resource.PropertyMap, c shim.ResourceConfig) error {
func preConfigureCallback(_ resource.PropertyMap, _ shim.ResourceConfig) error {
return nil
}

Expand Down Expand Up @@ -146,6 +146,13 @@ func Provider() tfbridge.ProviderInfo {
"zitadel_org_idp_azure_ad": {Tok: tfbridge.MakeResource(mainPkg, mainMod, "OrgIdpAzureAd")},
"zitadel_org_idp_ldap": {Tok: tfbridge.MakeResource(mainPkg, mainMod, "OrgIdpLdap")},
"zitadel_application_saml": {Tok: tfbridge.MakeResource(mainPkg, mainMod, "ApplicationSaml")},

"zitadel_idp_oauth": {Tok: tfbridge.MakeResource(mainPkg, mainMod, "IdpOauth")},
"zitadel_idp_saml": {Tok: tfbridge.MakeResource(mainPkg, mainMod, "IdpSaml")},
"zitadel_org_idp_oauth": {Tok: tfbridge.MakeResource(mainPkg, mainMod, "OrgIdpOauth")},
"zitadel_org_idp_saml": {Tok: tfbridge.MakeResource(mainPkg, mainMod, "OrgIdpSaml")},
"zitadel_org_metadata": {Tok: tfbridge.MakeResource(mainPkg, mainMod, "OrgMetadata")},
"zitadel_user_metadata": {Tok: tfbridge.MakeResource(mainPkg, mainMod, "UserMetadata")},
},
DataSources: map[string]*tfbridge.DataSourceInfo{
"zitadel_org": {Tok: tfbridge.MakeDataSource(mainPkg, mainMod, "getOrg")},
Expand Down Expand Up @@ -181,6 +188,11 @@ func Provider() tfbridge.ProviderInfo {
"zitadel_machine_users": {Tok: tfbridge.MakeDataSource(mainPkg, mainMod, "getMachineUsers")},
"zitadel_projects": {Tok: tfbridge.MakeDataSource(mainPkg, mainMod, "getProjects")},
"zitadel_application_apis": {Tok: tfbridge.MakeDataSource(mainPkg, mainMod, "getApplicationApis")},

"zitadel_idp_oauth": {Tok: tfbridge.MakeDataSource(mainPkg, mainMod, "getIdpOauth")},
"zitadel_idp_saml": {Tok: tfbridge.MakeDataSource(mainPkg, mainMod, "getIdpSaml")},
"zitadel_org_idp_oauth": {Tok: tfbridge.MakeDataSource(mainPkg, mainMod, "getOrgIdpOauth")},
"zitadel_org_idp_saml": {Tok: tfbridge.MakeDataSource(mainPkg, mainMod, "getOrgIdpSaml")},
},
JavaScript: &tfbridge.JavaScriptInfo{
PackageName: "@pulumiverse/zitadel",
Expand Down
2 changes: 1 addition & 1 deletion sdk/dotnet/Action.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ namespace Pulumiverse.Zitadel
///
/// ## Import
///
/// terraform The resource can be imported using the ID format `<id[:org_id]>`, e.g.
/// bash The resource can be imported using the ID format `<id[:org_id]>`, e.g.
///
/// ```sh
/// $ pulumi import zitadel:index/action:Action imported '123456789012345678:123456789012345678'
Expand Down
2 changes: 1 addition & 1 deletion sdk/dotnet/ApplicationApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ namespace Pulumiverse.Zitadel
///
/// ## Import
///
/// terraform The resource can be imported using the ID format `<id:project_id[:org_id][:client_id][:client_secret]>`, e.g.
/// bash The resource can be imported using the ID format `<id:project_id[:org_id][:client_id][:client_secret]>`, e.g.
///
/// ```sh
/// $ pulumi import zitadel:index/applicationApi:ApplicationApi imported '123456789012345678:123456789012345678:123456789012345678:123456789012345678@zitadel:JuaDFFeOak5DGE655KCYPSAclSkbMVEJXXuX1lEMBT14eLMSs0A0qhafKX5SA2Df'
Expand Down
2 changes: 1 addition & 1 deletion sdk/dotnet/ApplicationKey.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ namespace Pulumiverse.Zitadel
///
/// ## Import
///
/// terraform The resource can be imported using the ID format `<id:project_id:app_id[:org_id][:key_details]>`. You can use __SEMICOLON__ to escape :, e.g.
/// bash The resource can be imported using the ID format `<id:project_id:app_id[:org_id][:key_details]>`. You can use __SEMICOLON__ to escape :, e.g.
///
/// ```sh
/// $ pulumi import zitadel:index/applicationKey:ApplicationKey imported "123456789012345678:123456789012345678:123456789012345678:123456789012345678:$(cat ~/Downloads/123456789012345678.json | sed -e 's/:/__SEMICOLON__/g')"
Expand Down
2 changes: 1 addition & 1 deletion sdk/dotnet/ApplicationOidc.cs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ namespace Pulumiverse.Zitadel
///
/// ## Import
///
/// terraform The resource can be imported using the ID format `<id:project_id[:org_id][:client_id][:client_secret]>`, e.g.
/// bash The resource can be imported using the ID format `<id:project_id[:org_id][:client_id][:client_secret]>`, e.g.
///
/// ```sh
/// $ pulumi import zitadel:index/applicationOidc:ApplicationOidc imported '123456789012345678:123456789012345678:123456789012345678:123456789012345678@zitadel:JuaDFFeOak5DGE655KCYPSAclSkbMVEJXXuX1lEMBT14eLMSs0A0qhafKX5SA2Df'
Expand Down
2 changes: 1 addition & 1 deletion sdk/dotnet/ApplicationSaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ namespace Pulumiverse.Zitadel
///
/// ## Import
///
/// terraform The resource can be imported using the ID format `<id:project_id[:org_id]>`, e.g.
/// bash The resource can be imported using the ID format `<id:project_id[:org_id]>`, e.g.
///
/// ```sh
/// $ pulumi import zitadel:index/applicationSaml:ApplicationSaml imported '123456789012345678:123456789012345678:123456789012345678'
Expand Down
2 changes: 1 addition & 1 deletion sdk/dotnet/DefaultDomainPolicy.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ namespace Pulumiverse.Zitadel
///
/// ## Import
///
/// terraform The resource can be imported using the ID format `<>`, e.g.
/// bash The resource can be imported using the ID format `<>`, e.g.
///
/// ```sh
/// $ pulumi import zitadel:index/defaultDomainPolicy:DefaultDomainPolicy imported ''
Expand Down
20 changes: 19 additions & 1 deletion sdk/dotnet/DefaultLabelPolicy.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ namespace Pulumiverse.Zitadel
///
/// ## Import
///
/// terraform The resource can be imported using the ID format `<>`, e.g.
/// bash The resource can be imported using the ID format `<>`, e.g.
///
/// ```sh
/// $ pulumi import zitadel:index/defaultLabelPolicy:DefaultLabelPolicy imported ''
Expand Down Expand Up @@ -123,6 +123,12 @@ public partial class DefaultLabelPolicy : global::Pulumi.CustomResource
[Output("setActive")]
public Output<bool?> SetActive { get; private set; } = null!;

/// <summary>
/// theme mode, supported values: THEME*MODE*UNSPECIFIED, THEME*MODE*AUTO, THEME*MODE*DARK, THEME*MODE*LIGHT
/// </summary>
[Output("themeMode")]
public Output<string?> ThemeMode { get; private set; } = null!;

/// <summary>
/// hex value for warn color
/// </summary>
Expand Down Expand Up @@ -266,6 +272,12 @@ public sealed class DefaultLabelPolicyArgs : global::Pulumi.ResourceArgs
[Input("setActive")]
public Input<bool>? SetActive { get; set; }

/// <summary>
/// theme mode, supported values: THEME*MODE*UNSPECIFIED, THEME*MODE*AUTO, THEME*MODE*DARK, THEME*MODE*LIGHT
/// </summary>
[Input("themeMode")]
public Input<string>? ThemeMode { get; set; }

/// <summary>
/// hex value for warn color
/// </summary>
Expand Down Expand Up @@ -385,6 +397,12 @@ public sealed class DefaultLabelPolicyState : global::Pulumi.ResourceArgs
[Input("setActive")]
public Input<bool>? SetActive { get; set; }

/// <summary>
/// theme mode, supported values: THEME*MODE*UNSPECIFIED, THEME*MODE*AUTO, THEME*MODE*DARK, THEME*MODE*LIGHT
/// </summary>
[Input("themeMode")]
public Input<string>? ThemeMode { get; set; }

/// <summary>
/// hex value for warn color
/// </summary>
Expand Down
2 changes: 1 addition & 1 deletion sdk/dotnet/DefaultLockoutPolicy.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ namespace Pulumiverse.Zitadel
///
/// ## Import
///
/// terraform The resource can be imported using the ID format `&lt;&gt;`, e.g.
/// bash The resource can be imported using the ID format `&lt;&gt;`, e.g.
///
/// ```sh
/// $ pulumi import zitadel:index/defaultLockoutPolicy:DefaultLockoutPolicy imported ''
Expand Down
2 changes: 1 addition & 1 deletion sdk/dotnet/DefaultLoginPolicy.cs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ namespace Pulumiverse.Zitadel
///
/// ## Import
///
/// terraform The resource can be imported using the ID format `&lt;&gt;`, e.g.
/// bash The resource can be imported using the ID format `&lt;&gt;`, e.g.
///
/// ```sh
/// $ pulumi import zitadel:index/defaultLoginPolicy:DefaultLoginPolicy imported ''
Expand Down
2 changes: 1 addition & 1 deletion sdk/dotnet/DefaultNotificationPolicy.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ namespace Pulumiverse.Zitadel
///
/// ## Import
///
/// terraform The resource can be imported using the ID format `&lt;&gt;`, e.g.
/// bash The resource can be imported using the ID format `&lt;&gt;`, e.g.
///
/// ```sh
/// $ pulumi import zitadel:index/defaultNotificationPolicy:DefaultNotificationPolicy imported ''
Expand Down
2 changes: 1 addition & 1 deletion sdk/dotnet/DefaultPasswordComplexityPolicy.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ namespace Pulumiverse.Zitadel
///
/// ## Import
///
/// terraform The resource can be imported using the ID format `&lt;&gt;`, e.g.
/// bash The resource can be imported using the ID format `&lt;&gt;`, e.g.
///
/// ```sh
/// $ pulumi import zitadel:index/defaultPasswordComplexityPolicy:DefaultPasswordComplexityPolicy imported ''
Expand Down
2 changes: 1 addition & 1 deletion sdk/dotnet/DefaultPrivacyPolicy.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ namespace Pulumiverse.Zitadel
///
/// ## Import
///
/// terraform The resource can be imported using the ID format `&lt;&gt;`, e.g.
/// bash The resource can be imported using the ID format `&lt;&gt;`, e.g.
///
/// ```sh
/// $ pulumi import zitadel:index/defaultPrivacyPolicy:DefaultPrivacyPolicy imported ''
Expand Down
2 changes: 1 addition & 1 deletion sdk/dotnet/Domain.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ namespace Pulumiverse.Zitadel
///
/// ## Import
///
/// terraform The resource can be imported using the ID format `name[:org_id]`, e.g.
/// bash The resource can be imported using the ID format `name[:org_id]`, e.g.
///
/// ```sh
/// $ pulumi import zitadel:index/domain:Domain imported 'example.com:123456789012345678'
Expand Down
2 changes: 1 addition & 1 deletion sdk/dotnet/DomainPolicy.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ namespace Pulumiverse.Zitadel
///
/// ## Import
///
/// terraform The resource can be imported using the ID format `&lt;[org_id]&gt;`, e.g.
/// bash The resource can be imported using the ID format `&lt;[org_id]&gt;`, e.g.
///
/// ```sh
/// $ pulumi import zitadel:index/domainPolicy:DomainPolicy imported '123456789012345678'
Expand Down
Loading