Skip to content

Commit 723c20c

Browse files
authored
Merge pull request #314 from pulumi/upgrade-terraform-provider-github-to-v5.18.0
Upgrade terraform-provider-github to v5.18.0
2 parents 2127239 + b771b96 commit 723c20c

File tree

68 files changed

+2032
-199
lines changed

Some content is hidden

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

68 files changed

+2032
-199
lines changed

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

Lines changed: 97 additions & 41 deletions
Large diffs are not rendered by default.

provider/go.mod

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ 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.17.0
7+
github.com/integrations/terraform-provider-github/v5 v5.18.0
88
github.com/pulumi/pulumi-terraform-bridge/v3 v3.40.0
99
github.com/pulumi/pulumi/sdk/v3 v3.53.1
1010
)
@@ -105,7 +105,7 @@ require (
105105
github.com/hashicorp/errwrap v1.1.0 // indirect
106106
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
107107
github.com/hashicorp/go-cty v1.4.1-0.20200414143053-d3edf31b6320 // indirect
108-
github.com/hashicorp/go-getter v1.6.2 // indirect
108+
github.com/hashicorp/go-getter v1.7.0 // indirect
109109
github.com/hashicorp/go-hclog v1.3.1 // indirect
110110
github.com/hashicorp/go-immutable-radix v1.3.1 // indirect
111111
github.com/hashicorp/go-multierror v1.1.1 // indirect
@@ -208,14 +208,14 @@ require (
208208
go.uber.org/atomic v1.10.0 // indirect
209209
gocloud.dev v0.27.0 // indirect
210210
gocloud.dev/secrets/hashivault v0.27.0 // indirect
211-
golang.org/x/crypto v0.5.0 // indirect
211+
golang.org/x/crypto v0.6.0 // indirect
212212
golang.org/x/mod v0.7.0 // indirect
213-
golang.org/x/net v0.5.0 // indirect
213+
golang.org/x/net v0.7.0 // indirect
214214
golang.org/x/oauth2 v0.2.0 // indirect
215215
golang.org/x/sync v0.1.0 // indirect
216-
golang.org/x/sys v0.4.0 // indirect
217-
golang.org/x/term v0.4.0 // indirect
218-
golang.org/x/text v0.6.0 // indirect
216+
golang.org/x/sys v0.5.0 // indirect
217+
golang.org/x/term v0.5.0 // indirect
218+
golang.org/x/text v0.7.0 // indirect
219219
golang.org/x/time v0.0.0-20220722155302-e5dcc9cfc0b9 // indirect
220220
golang.org/x/tools v0.3.0 // indirect
221221
golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect

provider/go.sum

Lines changed: 174 additions & 15 deletions
Large diffs are not rendered by default.

sdk/dotnet/ActionsRepositoryOidcSubjectClaimCustomizationTemplate.cs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,9 @@ public partial class ActionsRepositoryOidcSubjectClaimCustomizationTemplate : gl
6767
[Output("includeClaimKeys")]
6868
public Output<ImmutableArray<string>> IncludeClaimKeys { get; private set; } = null!;
6969

70+
/// <summary>
71+
/// The name of the repository.
72+
/// </summary>
7073
[Output("repository")]
7174
public Output<string> Repository { get; private set; } = null!;
7275

@@ -135,6 +138,9 @@ public InputList<string> IncludeClaimKeys
135138
set => _includeClaimKeys = value;
136139
}
137140

141+
/// <summary>
142+
/// The name of the repository.
143+
/// </summary>
138144
[Input("repository", required: true)]
139145
public Input<string> Repository { get; set; } = null!;
140146

@@ -165,6 +171,9 @@ public InputList<string> IncludeClaimKeys
165171
set => _includeClaimKeys = value;
166172
}
167173

174+
/// <summary>
175+
/// The name of the repository.
176+
/// </summary>
168177
[Input("repository")]
169178
public Input<string>? Repository { get; set; }
170179

sdk/dotnet/DependabotOrganizationSecret.cs

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,24 +12,46 @@ namespace Pulumi.Github
1212
[GithubResourceType("github:index/dependabotOrganizationSecret:DependabotOrganizationSecret")]
1313
public partial class DependabotOrganizationSecret : global::Pulumi.CustomResource
1414
{
15+
/// <summary>
16+
/// Date of 'dependabot_secret' creation.
17+
/// </summary>
1518
[Output("createdAt")]
1619
public Output<string> CreatedAt { get; private set; } = null!;
1720

21+
/// <summary>
22+
/// Encrypted value of the secret using the GitHub public key in Base64 format.
23+
/// </summary>
1824
[Output("encryptedValue")]
1925
public Output<string?> EncryptedValue { get; private set; } = null!;
2026

27+
/// <summary>
28+
/// Plaintext value of the secret to be encrypted.
29+
/// </summary>
2130
[Output("plaintextValue")]
2231
public Output<string?> PlaintextValue { get; private set; } = null!;
2332

33+
/// <summary>
34+
/// Name of the secret.
35+
/// </summary>
2436
[Output("secretName")]
2537
public Output<string> SecretName { get; private set; } = null!;
2638

39+
/// <summary>
40+
/// An array of repository ids that can access the organization secret.
41+
/// </summary>
2742
[Output("selectedRepositoryIds")]
2843
public Output<ImmutableArray<int>> SelectedRepositoryIds { get; private set; } = null!;
2944

45+
/// <summary>
46+
/// Date of 'dependabot_secret' update.
47+
/// </summary>
3048
[Output("updatedAt")]
3149
public Output<string> UpdatedAt { get; private set; } = null!;
3250

51+
/// <summary>
52+
/// Configures the access that repositories have to the organization secret. Must be one of 'all', 'private' or 'selected'.
53+
/// 'selected_repository_ids' is required if set to 'selected'.
54+
/// </summary>
3355
[Output("visibility")]
3456
public Output<string> Visibility { get; private set; } = null!;
3557

@@ -86,6 +108,10 @@ public sealed class DependabotOrganizationSecretArgs : global::Pulumi.ResourceAr
86108
{
87109
[Input("encryptedValue")]
88110
private Input<string>? _encryptedValue;
111+
112+
/// <summary>
113+
/// Encrypted value of the secret using the GitHub public key in Base64 format.
114+
/// </summary>
89115
public Input<string>? EncryptedValue
90116
{
91117
get => _encryptedValue;
@@ -98,6 +124,10 @@ public Input<string>? EncryptedValue
98124

99125
[Input("plaintextValue")]
100126
private Input<string>? _plaintextValue;
127+
128+
/// <summary>
129+
/// Plaintext value of the secret to be encrypted.
130+
/// </summary>
101131
public Input<string>? PlaintextValue
102132
{
103133
get => _plaintextValue;
@@ -108,17 +138,28 @@ public Input<string>? PlaintextValue
108138
}
109139
}
110140

141+
/// <summary>
142+
/// Name of the secret.
143+
/// </summary>
111144
[Input("secretName", required: true)]
112145
public Input<string> SecretName { get; set; } = null!;
113146

114147
[Input("selectedRepositoryIds")]
115148
private InputList<int>? _selectedRepositoryIds;
149+
150+
/// <summary>
151+
/// An array of repository ids that can access the organization secret.
152+
/// </summary>
116153
public InputList<int> SelectedRepositoryIds
117154
{
118155
get => _selectedRepositoryIds ?? (_selectedRepositoryIds = new InputList<int>());
119156
set => _selectedRepositoryIds = value;
120157
}
121158

159+
/// <summary>
160+
/// Configures the access that repositories have to the organization secret. Must be one of 'all', 'private' or 'selected'.
161+
/// 'selected_repository_ids' is required if set to 'selected'.
162+
/// </summary>
122163
[Input("visibility", required: true)]
123164
public Input<string> Visibility { get; set; } = null!;
124165

@@ -130,11 +171,18 @@ public DependabotOrganizationSecretArgs()
130171

131172
public sealed class DependabotOrganizationSecretState : global::Pulumi.ResourceArgs
132173
{
174+
/// <summary>
175+
/// Date of 'dependabot_secret' creation.
176+
/// </summary>
133177
[Input("createdAt")]
134178
public Input<string>? CreatedAt { get; set; }
135179

136180
[Input("encryptedValue")]
137181
private Input<string>? _encryptedValue;
182+
183+
/// <summary>
184+
/// Encrypted value of the secret using the GitHub public key in Base64 format.
185+
/// </summary>
138186
public Input<string>? EncryptedValue
139187
{
140188
get => _encryptedValue;
@@ -147,6 +195,10 @@ public Input<string>? EncryptedValue
147195

148196
[Input("plaintextValue")]
149197
private Input<string>? _plaintextValue;
198+
199+
/// <summary>
200+
/// Plaintext value of the secret to be encrypted.
201+
/// </summary>
150202
public Input<string>? PlaintextValue
151203
{
152204
get => _plaintextValue;
@@ -157,20 +209,34 @@ public Input<string>? PlaintextValue
157209
}
158210
}
159211

212+
/// <summary>
213+
/// Name of the secret.
214+
/// </summary>
160215
[Input("secretName")]
161216
public Input<string>? SecretName { get; set; }
162217

163218
[Input("selectedRepositoryIds")]
164219
private InputList<int>? _selectedRepositoryIds;
220+
221+
/// <summary>
222+
/// An array of repository ids that can access the organization secret.
223+
/// </summary>
165224
public InputList<int> SelectedRepositoryIds
166225
{
167226
get => _selectedRepositoryIds ?? (_selectedRepositoryIds = new InputList<int>());
168227
set => _selectedRepositoryIds = value;
169228
}
170229

230+
/// <summary>
231+
/// Date of 'dependabot_secret' update.
232+
/// </summary>
171233
[Input("updatedAt")]
172234
public Input<string>? UpdatedAt { get; set; }
173235

236+
/// <summary>
237+
/// Configures the access that repositories have to the organization secret. Must be one of 'all', 'private' or 'selected'.
238+
/// 'selected_repository_ids' is required if set to 'selected'.
239+
/// </summary>
174240
[Input("visibility")]
175241
public Input<string>? Visibility { get; set; }
176242

sdk/dotnet/DependabotOrganizationSecretRepositories.cs

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,15 @@ namespace Pulumi.Github
1212
[GithubResourceType("github:index/dependabotOrganizationSecretRepositories:DependabotOrganizationSecretRepositories")]
1313
public partial class DependabotOrganizationSecretRepositories : global::Pulumi.CustomResource
1414
{
15+
/// <summary>
16+
/// Name of the existing secret.
17+
/// </summary>
1518
[Output("secretName")]
1619
public Output<string> SecretName { get; private set; } = null!;
1720

21+
/// <summary>
22+
/// An array of repository ids that can access the organization secret.
23+
/// </summary>
1824
[Output("selectedRepositoryIds")]
1925
public Output<ImmutableArray<int>> SelectedRepositoryIds { get; private set; } = null!;
2026

@@ -64,11 +70,18 @@ public static DependabotOrganizationSecretRepositories Get(string name, Input<st
6470

6571
public sealed class DependabotOrganizationSecretRepositoriesArgs : global::Pulumi.ResourceArgs
6672
{
73+
/// <summary>
74+
/// Name of the existing secret.
75+
/// </summary>
6776
[Input("secretName", required: true)]
6877
public Input<string> SecretName { get; set; } = null!;
6978

7079
[Input("selectedRepositoryIds", required: true)]
7180
private InputList<int>? _selectedRepositoryIds;
81+
82+
/// <summary>
83+
/// An array of repository ids that can access the organization secret.
84+
/// </summary>
7285
public InputList<int> SelectedRepositoryIds
7386
{
7487
get => _selectedRepositoryIds ?? (_selectedRepositoryIds = new InputList<int>());
@@ -83,11 +96,18 @@ public DependabotOrganizationSecretRepositoriesArgs()
8396

8497
public sealed class DependabotOrganizationSecretRepositoriesState : global::Pulumi.ResourceArgs
8598
{
99+
/// <summary>
100+
/// Name of the existing secret.
101+
/// </summary>
86102
[Input("secretName")]
87103
public Input<string>? SecretName { get; set; }
88104

89105
[Input("selectedRepositoryIds")]
90106
private InputList<int>? _selectedRepositoryIds;
107+
108+
/// <summary>
109+
/// An array of repository ids that can access the organization secret.
110+
/// </summary>
91111
public InputList<int> SelectedRepositoryIds
92112
{
93113
get => _selectedRepositoryIds ?? (_selectedRepositoryIds = new InputList<int>());

0 commit comments

Comments
 (0)