Skip to content

Commit 776a009

Browse files
authored
Upgrade terraform-provider-github to v5.16.0 (#295)
* Upgrade terraform-provider-github to v5.16.0 * Regenerate SDKs
1 parent 5b9ca75 commit 776a009

File tree

133 files changed

+8581
-436
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

133 files changed

+8581
-436
lines changed

provider/cmd/pulumi-resource-github/schema.json

Lines changed: 441 additions & 25 deletions
Large diffs are not rendered by default.

provider/go.mod

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ go 1.19
44

55
require (
66
github.com/hashicorp/terraform-plugin-sdk v1.17.2
7-
github.com/integrations/terraform-provider-github/v5 v5.12.0
8-
github.com/pulumi/pulumi-terraform-bridge/v3 v3.37.0
7+
github.com/integrations/terraform-provider-github/v5 v5.16.0
8+
github.com/pulumi/pulumi-terraform-bridge/v3 v3.38.1
99
github.com/pulumi/pulumi/sdk/v3 v3.51.0
1010
)
1111

@@ -93,7 +93,7 @@ require (
9393
github.com/golang/protobuf v1.5.2 // indirect
9494
github.com/golang/snappy v0.0.4 // indirect
9595
github.com/google/go-cmp v0.5.9 // indirect
96-
github.com/google/go-github/v48 v48.1.0 // indirect
96+
github.com/google/go-github/v49 v49.1.0 // indirect
9797
github.com/google/go-querystring v1.1.0 // indirect
9898
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 // indirect
9999
github.com/google/uuid v1.3.0 // indirect
@@ -207,14 +207,14 @@ require (
207207
go.uber.org/atomic v1.10.0 // indirect
208208
gocloud.dev v0.27.0 // indirect
209209
gocloud.dev/secrets/hashivault v0.27.0 // indirect
210-
golang.org/x/crypto v0.3.0 // indirect
210+
golang.org/x/crypto v0.5.0 // indirect
211211
golang.org/x/mod v0.7.0 // indirect
212-
golang.org/x/net v0.2.0 // indirect
212+
golang.org/x/net v0.5.0 // indirect
213213
golang.org/x/oauth2 v0.2.0 // indirect
214214
golang.org/x/sync v0.1.0 // indirect
215-
golang.org/x/sys v0.2.0 // indirect
216-
golang.org/x/term v0.2.0 // indirect
217-
golang.org/x/text v0.4.0 // indirect
215+
golang.org/x/sys v0.4.0 // indirect
216+
golang.org/x/term v0.4.0 // indirect
217+
golang.org/x/text v0.6.0 // indirect
218218
golang.org/x/time v0.0.0-20220722155302-e5dcc9cfc0b9 // indirect
219219
golang.org/x/tools v0.3.0 // indirect
220220
golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect

provider/go.sum

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -846,8 +846,8 @@ github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeN
846846
github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38=
847847
github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
848848
github.com/google/go-containerregistry v0.5.1/go.mod h1:Ct15B4yir3PLOP5jsy0GNeYVaIZs/MK/Jz5any1wFW0=
849-
github.com/google/go-github/v48 v48.1.0 h1:nqPqq+0oRY2AMR/SRskGrrP4nnewPB7e/m2+kbT/UvM=
850-
github.com/google/go-github/v48 v48.1.0/go.mod h1:dDlehKBDo850ZPvCTK0sEqTCVWcrGl2LcDiajkYi89Y=
849+
github.com/google/go-github/v49 v49.1.0 h1:LFkMgawGQ8dfzWLH/rNE0b3u1D3n6/dw7ZmrN3b+YFY=
850+
github.com/google/go-github/v49 v49.1.0/go.mod h1:MUUzHPrhGniB6vUKa27y37likpipzG+BXXJbG04J334=
851851
github.com/google/go-querystring v1.0.0/go.mod h1:odCYkC5MyYFN7vkCjXpyrEuKhc/BUO6wN/zVPAxq5ck=
852852
github.com/google/go-querystring v1.1.0 h1:AnCroh3fv4ZBgVIf1Iwtovgjaw/GiKJo8M8yD/fhyJ8=
853853
github.com/google/go-querystring v1.1.0/go.mod h1:Kcdr2DB4koayq7X8pmAG4sNG59So17icRSOU623lUBU=
@@ -1124,8 +1124,8 @@ github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANyt
11241124
github.com/inconshreveable/mousetrap v1.0.1 h1:U3uMjPSQEBMNp1lFxmllqCPM6P5u/Xq7Pgzkat/bFNc=
11251125
github.com/inconshreveable/mousetrap v1.0.1/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw=
11261126
github.com/influxdata/influxdb1-client v0.0.0-20191209144304-8bf82d3c094d/go.mod h1:qj24IKcXYK6Iy9ceXlo3Tc+vtHo9lIhSX5JddghvEPo=
1127-
github.com/integrations/terraform-provider-github/v5 v5.12.0 h1:4aYKJVNoztue9O9zRBZA07emK7YOgqmA5XA0sXsW0iA=
1128-
github.com/integrations/terraform-provider-github/v5 v5.12.0/go.mod h1:pT3phXDO2WvlU6NDzzomKdlI2ZEWYvwU63GT5clOo2s=
1127+
github.com/integrations/terraform-provider-github/v5 v5.16.0 h1:oOstMrPOszsSRIGG3YOztbgmK6c9ugBxAm/B2FETx28=
1128+
github.com/integrations/terraform-provider-github/v5 v5.16.0/go.mod h1:/VM+2IlUZ2rGmuqtsdtTggRV1rT+jNXLEAIpDITLgV4=
11291129
github.com/intel/goresctrl v0.2.0/go.mod h1:+CZdzouYFn5EsxgqAQTEzMfwKwuc0fVdMrT9FCCAVRQ=
11301130
github.com/ionos-cloud/sdk-go/v6 v6.1.0/go.mod h1:Ox3W0iiEz0GHnfY9e5LmAxwklsxguuNFEUSu0gVRTME=
11311131
github.com/j-keck/arping v0.0.0-20160618110441-2cf9dc699c56/go.mod h1:ymszkNOg6tORTn+6F6j+Jc8TOr5osrynvN6ivFWZ2GA=
@@ -1561,8 +1561,8 @@ github.com/prometheus/prometheus v0.37.0/go.mod h1:egARUgz+K93zwqsVIAneFlLZefyGO
15611561
github.com/prometheus/tsdb v0.7.1/go.mod h1:qhTCs0VvXwvX/y3TZrWD7rabWM+ijKTux40TwIPHuXU=
15621562
github.com/pulumi/pulumi-java/pkg v0.7.1 h1:3tl36+I5BRYVXbq10mqDeh3X5kdJBaNDYiATOfEfgSY=
15631563
github.com/pulumi/pulumi-java/pkg v0.7.1/go.mod h1:XdN2jYNlcQewr0MFecZfBnY3gnGcvV+WoPTzQqH48k4=
1564-
github.com/pulumi/pulumi-terraform-bridge/v3 v3.37.0 h1:57iznat7A7G5ySfOlZxWOhhCaG59G5lrQdbh7KNeLbQ=
1565-
github.com/pulumi/pulumi-terraform-bridge/v3 v3.37.0/go.mod h1:RC9XOYwRU6c+1TtZKwwzpojz6POHz8Mbtx9qZcU+lPA=
1564+
github.com/pulumi/pulumi-terraform-bridge/v3 v3.38.1 h1:LhpJzV5b+7SpEVpYhS6IVYCKk+jO0WPY6yEfm7vJUYE=
1565+
github.com/pulumi/pulumi-terraform-bridge/v3 v3.38.1/go.mod h1:RC9XOYwRU6c+1TtZKwwzpojz6POHz8Mbtx9qZcU+lPA=
15661566
github.com/pulumi/pulumi-yaml v1.0.4 h1:p+989rW3AqkkxbzxtxccHKAN4xCJi3K2cRpvA2K84tw=
15671567
github.com/pulumi/pulumi-yaml v1.0.4/go.mod h1:Szj8ud4Vqyq3oO1n3kzIUfaP3AiCjYZM4FYjOVWwJn8=
15681568
github.com/pulumi/pulumi/pkg/v3 v3.51.0 h1:FAgWGex4SIMvu3wCIoANjhI4uEUXk4IgHM/HMVZnZ0M=
@@ -1931,8 +1931,8 @@ golang.org/x/crypto v0.0.0-20220214200702-86341886e292/go.mod h1:IxCIyHEi3zRg3s0
19311931
golang.org/x/crypto v0.0.0-20220511200225-c6db032c6c88/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4=
19321932
golang.org/x/crypto v0.0.0-20220622213112-05595931fe9d/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4=
19331933
golang.org/x/crypto v0.0.0-20220722155217-630584e8d5aa/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4=
1934-
golang.org/x/crypto v0.3.0 h1:a06MkbcxBrEFc0w0QIZWXrH/9cCX6KJyWbBOIwAn+7A=
1935-
golang.org/x/crypto v0.3.0/go.mod h1:hebNnKkNXi2UzZN1eVRvBB7co0a+JxK6XbPiWVs/3J4=
1934+
golang.org/x/crypto v0.5.0 h1:U/0M97KRkSFvyD/3FSmdP5W5swImpNgle/EHFhOsQPE=
1935+
golang.org/x/crypto v0.5.0/go.mod h1:NK/OQwhpMQP3MwtdjgLlYHnH9ebylxKWv3e0fK+mkQU=
19361936
golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
19371937
golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
19381938
golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8=
@@ -2057,8 +2057,8 @@ golang.org/x/net v0.0.0-20220624214902-1bab6f366d9e/go.mod h1:XRhObCWvk6IyKnWLug
20572057
golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c=
20582058
golang.org/x/net v0.0.0-20220802222814-0bcc04d9c69b/go.mod h1:YDH+HFinaLZZlnHAfSS6ZXJJ9M9t4Dl22yv3iI2vPwk=
20592059
golang.org/x/net v0.1.0/go.mod h1:Cx3nUiGt4eDBEyega/BKRp+/AlGL8hYe7U9odMt2Cco=
2060-
golang.org/x/net v0.2.0 h1:sZfSu1wtKLGlWI4ZZayP0ck9Y73K1ynO6gqzTdBVdPU=
2061-
golang.org/x/net v0.2.0/go.mod h1:KqCZLdyyvdV855qA2rE3GC2aiw5xGR5TEjj8smXukLY=
2060+
golang.org/x/net v0.5.0 h1:GyT4nK/YDHSqa1c4753ouYCDajOYKTja9Xb/OHtgvSw=
2061+
golang.org/x/net v0.5.0/go.mod h1:DivGGAXEgPSlEBzxGzZI+ZLohi+xUj054jfeKui00ws=
20622062
golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
20632063
golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
20642064
golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
@@ -2254,16 +2254,16 @@ golang.org/x/sys v0.0.0-20220728004956-3c1f35247d10/go.mod h1:oPkhp1MJrh7nUepCBc
22542254
golang.org/x/sys v0.0.0-20220731174439-a90be440212d/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
22552255
golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
22562256
golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
2257-
golang.org/x/sys v0.2.0 h1:ljd4t30dBnAvMZaQCevtY0xLLD0A+bRZXbgLMLU1F/A=
2258-
golang.org/x/sys v0.2.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
2257+
golang.org/x/sys v0.4.0 h1:Zr2JFtRQNX3BCZ8YtxRE9hNJYC8J6I1MVbMg6owUp18=
2258+
golang.org/x/sys v0.4.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
22592259
golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw=
22602260
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
22612261
golang.org/x/term v0.0.0-20210220032956-6a3ed077a48d/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
22622262
golang.org/x/term v0.0.0-20210615171337-6886f2dfbf5b/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8=
22632263
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8=
22642264
golang.org/x/term v0.1.0/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8=
2265-
golang.org/x/term v0.2.0 h1:z85xZCsEl7bi/KwbNADeBYoOP0++7W1ipu+aGnpwzRM=
2266-
golang.org/x/term v0.2.0/go.mod h1:TVmDHMZPmdnySmBfhjOoOdhjzdE1h4u1VwSiw2l1Nuc=
2265+
golang.org/x/term v0.4.0 h1:O7UWfv5+A2qiuulQk30kVinPoMtoIPeVaKLEgLpVkvg=
2266+
golang.org/x/term v0.4.0/go.mod h1:9P2UbLfCdcvo3p/nzKvsmas4TnlujnuoV9hGgYzW1lQ=
22672267
golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
22682268
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
22692269
golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
@@ -2273,8 +2273,9 @@ golang.org/x/text v0.3.4/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
22732273
golang.org/x/text v0.3.5/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
22742274
golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
22752275
golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ=
2276-
golang.org/x/text v0.4.0 h1:BrVqGRd7+k1DiOgtnFvAkoQEWQvBc25ouMJM6429SFg=
22772276
golang.org/x/text v0.4.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8=
2277+
golang.org/x/text v0.6.0 h1:3XmdazWV+ubf7QgHSTWeykHOci5oeekaGJBLkrkaw4k=
2278+
golang.org/x/text v0.6.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8=
22782279
golang.org/x/time v0.0.0-20180412165947-fbb02b2291d2/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
22792280
golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
22802281
golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=

provider/resources.go

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ import (
2525
"github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfbridge"
2626
shimv1 "github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfshim/sdk-v1"
2727
"github.com/pulumi/pulumi/sdk/v3/go/common/tokens"
28+
"github.com/pulumi/pulumi/sdk/v3/go/common/util/contract"
2829
)
2930

3031
// all of the token components used below.
@@ -57,8 +58,8 @@ func makeDataSource(mod string, res string) tokens.ModuleMember {
5758
// automatically uses the main package and names the file by simply lower casing the resource's
5859
// first character.
5960
func makeResource(mod string, res string) tokens.Type {
60-
fn := string(unicode.ToLower(rune(res[0]))) + res[1:]
61-
return makeType(mod+"/"+fn, res)
61+
lower := string(unicode.ToLower(rune(res[0]))) + res[1:]
62+
return makeType(mod+"/"+lower, res)
6263
}
6364

6465
// Provider returns additional overlaid schema and metadata associated with the provider..
@@ -248,6 +249,14 @@ func Provider() tfbridge.ProviderInfo {
248249
},
249250
}
250251

252+
err := prov.ComputeDefaults(tfbridge.TokensSingleModule("github_", mainMod,
253+
func(module, name string) (string, error) {
254+
return string(makeResource(module, name)), nil
255+
}))
256+
contract.AssertNoError(err)
257+
258+
// Since SetAutonaming mutates the set of resources in prov.Resources, it must be
259+
// called after defaults have been computed.
251260
prov.SetAutonaming(255, "-")
252261

253262
return prov

sdk/dotnet/ActionsEnvironmentSecret.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ public partial class ActionsEnvironmentSecret : global::Pulumi.CustomResource
7979
public Output<string> CreatedAt { get; private set; } = null!;
8080

8181
/// <summary>
82-
/// Encrypted value of the secret using the Github public key in Base64 format.
82+
/// Encrypted value of the secret using the GitHub public key in Base64 format.
8383
/// </summary>
8484
[Output("encryptedValue")]
8585
public Output<string?> EncryptedValue { get; private set; } = null!;
@@ -169,7 +169,7 @@ public sealed class ActionsEnvironmentSecretArgs : global::Pulumi.ResourceArgs
169169
private Input<string>? _encryptedValue;
170170

171171
/// <summary>
172-
/// Encrypted value of the secret using the Github public key in Base64 format.
172+
/// Encrypted value of the secret using the GitHub public key in Base64 format.
173173
/// </summary>
174174
public Input<string>? EncryptedValue
175175
{
@@ -233,7 +233,7 @@ public sealed class ActionsEnvironmentSecretState : global::Pulumi.ResourceArgs
233233
private Input<string>? _encryptedValue;
234234

235235
/// <summary>
236-
/// Encrypted value of the secret using the Github public key in Base64 format.
236+
/// Encrypted value of the secret using the GitHub public key in Base64 format.
237237
/// </summary>
238238
public Input<string>? EncryptedValue
239239
{
Lines changed: 141 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,141 @@
1+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
2+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
3+
4+
using System;
5+
using System.Collections.Generic;
6+
using System.Collections.Immutable;
7+
using System.Threading.Tasks;
8+
using Pulumi.Serialization;
9+
10+
namespace Pulumi.Github
11+
{
12+
/// <summary>
13+
/// This resource allows you to create and manage an OpenID Connect subject claim customization template within a GitHub
14+
/// organization.
15+
///
16+
/// More information on integrating GitHub with cloud providers using OpenID Connect and a list of available claims is
17+
/// available in the [Actions documentation](https://docs.github.com/en/actions/deployment/security-hardening-your-deployments/about-security-hardening-with-openid-connect).
18+
///
19+
/// ## Example Usage
20+
///
21+
/// ```csharp
22+
/// using System.Collections.Generic;
23+
/// using Pulumi;
24+
/// using Github = Pulumi.Github;
25+
///
26+
/// return await Deployment.RunAsync(() =&gt;
27+
/// {
28+
/// var exampleTemplate = new Github.ActionsOrganizationOidcSubjectClaimCustomizationTemplate("exampleTemplate", new()
29+
/// {
30+
/// IncludeClaimKeys = new[]
31+
/// {
32+
/// "actor",
33+
/// "context",
34+
/// "repository_owner",
35+
/// },
36+
/// });
37+
///
38+
/// });
39+
/// ```
40+
///
41+
/// ## Import
42+
///
43+
/// This resource can be imported using the organization's name.
44+
///
45+
/// ```sh
46+
/// $ pulumi import github:index/actionsOrganizationOidcSubjectClaimCustomizationTemplate:ActionsOrganizationOidcSubjectClaimCustomizationTemplate test example_organization
47+
/// ```
48+
/// </summary>
49+
[GithubResourceType("github:index/actionsOrganizationOidcSubjectClaimCustomizationTemplate:ActionsOrganizationOidcSubjectClaimCustomizationTemplate")]
50+
public partial class ActionsOrganizationOidcSubjectClaimCustomizationTemplate : global::Pulumi.CustomResource
51+
{
52+
/// <summary>
53+
/// A list of OpenID Connect claims.
54+
/// </summary>
55+
[Output("includeClaimKeys")]
56+
public Output<ImmutableArray<string>> IncludeClaimKeys { get; private set; } = null!;
57+
58+
59+
/// <summary>
60+
/// Create a ActionsOrganizationOidcSubjectClaimCustomizationTemplate resource with the given unique name, arguments, and options.
61+
/// </summary>
62+
///
63+
/// <param name="name">The unique name of the resource</param>
64+
/// <param name="args">The arguments used to populate this resource's properties</param>
65+
/// <param name="options">A bag of options that control this resource's behavior</param>
66+
public ActionsOrganizationOidcSubjectClaimCustomizationTemplate(string name, ActionsOrganizationOidcSubjectClaimCustomizationTemplateArgs args, CustomResourceOptions? options = null)
67+
: base("github:index/actionsOrganizationOidcSubjectClaimCustomizationTemplate:ActionsOrganizationOidcSubjectClaimCustomizationTemplate", name, args ?? new ActionsOrganizationOidcSubjectClaimCustomizationTemplateArgs(), MakeResourceOptions(options, ""))
68+
{
69+
}
70+
71+
private ActionsOrganizationOidcSubjectClaimCustomizationTemplate(string name, Input<string> id, ActionsOrganizationOidcSubjectClaimCustomizationTemplateState? state = null, CustomResourceOptions? options = null)
72+
: base("github:index/actionsOrganizationOidcSubjectClaimCustomizationTemplate:ActionsOrganizationOidcSubjectClaimCustomizationTemplate", name, state, MakeResourceOptions(options, id))
73+
{
74+
}
75+
76+
private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input<string>? id)
77+
{
78+
var defaultOptions = new CustomResourceOptions
79+
{
80+
Version = Utilities.Version,
81+
};
82+
var merged = CustomResourceOptions.Merge(defaultOptions, options);
83+
// Override the ID if one was specified for consistency with other language SDKs.
84+
merged.Id = id ?? merged.Id;
85+
return merged;
86+
}
87+
/// <summary>
88+
/// Get an existing ActionsOrganizationOidcSubjectClaimCustomizationTemplate resource's state with the given name, ID, and optional extra
89+
/// properties used to qualify the lookup.
90+
/// </summary>
91+
///
92+
/// <param name="name">The unique name of the resulting resource.</param>
93+
/// <param name="id">The unique provider ID of the resource to lookup.</param>
94+
/// <param name="state">Any extra arguments used during the lookup.</param>
95+
/// <param name="options">A bag of options that control this resource's behavior</param>
96+
public static ActionsOrganizationOidcSubjectClaimCustomizationTemplate Get(string name, Input<string> id, ActionsOrganizationOidcSubjectClaimCustomizationTemplateState? state = null, CustomResourceOptions? options = null)
97+
{
98+
return new ActionsOrganizationOidcSubjectClaimCustomizationTemplate(name, id, state, options);
99+
}
100+
}
101+
102+
public sealed class ActionsOrganizationOidcSubjectClaimCustomizationTemplateArgs : global::Pulumi.ResourceArgs
103+
{
104+
[Input("includeClaimKeys", required: true)]
105+
private InputList<string>? _includeClaimKeys;
106+
107+
/// <summary>
108+
/// A list of OpenID Connect claims.
109+
/// </summary>
110+
public InputList<string> IncludeClaimKeys
111+
{
112+
get => _includeClaimKeys ?? (_includeClaimKeys = new InputList<string>());
113+
set => _includeClaimKeys = value;
114+
}
115+
116+
public ActionsOrganizationOidcSubjectClaimCustomizationTemplateArgs()
117+
{
118+
}
119+
public static new ActionsOrganizationOidcSubjectClaimCustomizationTemplateArgs Empty => new ActionsOrganizationOidcSubjectClaimCustomizationTemplateArgs();
120+
}
121+
122+
public sealed class ActionsOrganizationOidcSubjectClaimCustomizationTemplateState : global::Pulumi.ResourceArgs
123+
{
124+
[Input("includeClaimKeys")]
125+
private InputList<string>? _includeClaimKeys;
126+
127+
/// <summary>
128+
/// A list of OpenID Connect claims.
129+
/// </summary>
130+
public InputList<string> IncludeClaimKeys
131+
{
132+
get => _includeClaimKeys ?? (_includeClaimKeys = new InputList<string>());
133+
set => _includeClaimKeys = value;
134+
}
135+
136+
public ActionsOrganizationOidcSubjectClaimCustomizationTemplateState()
137+
{
138+
}
139+
public static new ActionsOrganizationOidcSubjectClaimCustomizationTemplateState Empty => new ActionsOrganizationOidcSubjectClaimCustomizationTemplateState();
140+
}
141+
}

0 commit comments

Comments
 (0)