Skip to content

Commit

Permalink
Upgrade terraform-provider-github to v5.30.0 (#385)
Browse files Browse the repository at this point in the history
* make tfgen

* make build_sdks

---------

Co-authored-by: pulumi-bot <runner@fv-az221-564.cpa1awuyh2ke1jn3kczxrbwhha.jx.internal.cloudapp.net>
  • Loading branch information
pulumi-bot and pulumi-bot committed Jul 6, 2023
1 parent 4ba1161 commit 9ef0368
Show file tree
Hide file tree
Showing 77 changed files with 603 additions and 431 deletions.
32 changes: 20 additions & 12 deletions provider/cmd/pulumi-resource-github/schema.json

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions provider/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ go 1.19

require (
github.com/hashicorp/terraform-plugin-sdk v1.17.2
github.com/integrations/terraform-provider-github/v5 v5.29.0
github.com/pulumi/pulumi-terraform-bridge/v3 v3.51.0
github.com/pulumi/pulumi/sdk/v3 v3.72.2
github.com/integrations/terraform-provider-github/v5 v5.30.0
github.com/pulumi/pulumi-terraform-bridge/v3 v3.53.0
github.com/pulumi/pulumi/sdk/v3 v3.73.1-0.20230623071431-db579129f4c9
)

require (
Expand Down Expand Up @@ -159,9 +159,9 @@ require (
github.com/pulumi/pulumi-java/pkg v0.9.4 // indirect
github.com/pulumi/pulumi-terraform-bridge/x/muxer v0.0.4 // indirect
github.com/pulumi/pulumi-yaml v1.1.1 // indirect
github.com/pulumi/pulumi/pkg/v3 v3.72.2 // indirect
github.com/pulumi/pulumi/pkg/v3 v3.73.1-0.20230623071431-db579129f4c9 // indirect
github.com/pulumi/schema-tools v0.2.2 // indirect
github.com/pulumi/terraform-diff-reader v0.0.1 // 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.10.0 // indirect
github.com/russross/blackfriday/v2 v2.1.0 // indirect
Expand Down
20 changes: 10 additions & 10 deletions provider/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -1511,8 +1511,8 @@ github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANyt
github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8=
github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw=
github.com/influxdata/influxdb1-client v0.0.0-20200827194710-b269163b24ab/go.mod h1:qj24IKcXYK6Iy9ceXlo3Tc+vtHo9lIhSX5JddghvEPo=
github.com/integrations/terraform-provider-github/v5 v5.29.0 h1:4SkZPoGxi7ARdUSsCcmu0QfRs1+HjhDqaOUbpJfDFzw=
github.com/integrations/terraform-provider-github/v5 v5.29.0/go.mod h1:dpm/QaM6qI7GMgBuOrnxxSBPytAb++f4o78eAINPc8A=
github.com/integrations/terraform-provider-github/v5 v5.30.0 h1:9jgd1bQ9Sb/fMJAq5wIvOOHOMYgYTKoYu5OsO9YkkDU=
github.com/integrations/terraform-provider-github/v5 v5.30.0/go.mod h1:KVkSMEri8wSzEiCHyjCHDCVVjgprxUGfVmYAmr1vAhI=
github.com/intel/goresctrl v0.2.0/go.mod h1:+CZdzouYFn5EsxgqAQTEzMfwKwuc0fVdMrT9FCCAVRQ=
github.com/ionos-cloud/sdk-go/v6 v6.1.3/go.mod h1:Ox3W0iiEz0GHnfY9e5LmAxwklsxguuNFEUSu0gVRTME=
github.com/j-keck/arping v0.0.0-20160618110441-2cf9dc699c56/go.mod h1:ymszkNOg6tORTn+6F6j+Jc8TOr5osrynvN6ivFWZ2GA=
Expand Down Expand Up @@ -1974,20 +1974,20 @@ github.com/prometheus/tsdb v0.7.1/go.mod h1:qhTCs0VvXwvX/y3TZrWD7rabWM+ijKTux40T
github.com/pulumi/pulumi-java/pkg v0.9.4 h1:gIQZmlUI1o9ye8CL2XFqtmAX6Lwr9uj/+HzjboiSmK4=
github.com/pulumi/pulumi-java/pkg v0.9.4/go.mod h1:c6rSw/+q4O0IImgJ9axxoC6QesbPYWBaG5gimbHouUQ=
github.com/pulumi/pulumi-terraform-bridge/testing v0.0.1 h1:SCg1gjfY9N4yn8U8peIUYATifjoDABkyR7H9lmefsfc=
github.com/pulumi/pulumi-terraform-bridge/v3 v3.51.0 h1:8ofaNPTN0Zhx1qdwKNpzR6fV/lvskmXhx+JtXiOBBT4=
github.com/pulumi/pulumi-terraform-bridge/v3 v3.51.0/go.mod h1:egk8TtYfFb1VqnBk8iXcn9G5gl8XN4ZrhSBx/iGsRPc=
github.com/pulumi/pulumi-terraform-bridge/v3 v3.53.0 h1:XP754+36CpyiT5tEzqd43U8gYGqDML9hkiWMaoV0WG0=
github.com/pulumi/pulumi-terraform-bridge/v3 v3.53.0/go.mod h1:Bm1kuEs0xouFxEG2Lv/I3OhnME+VId9DbkRClnwFqsI=
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.1.1 h1:8pyBNIU8+ym0wYpjhsCqN+cutygfK1XbhY2YEeNfyXY=
github.com/pulumi/pulumi-yaml v1.1.1/go.mod h1:GhpdS6rFpwqvUtKdA+fQy8P28iNvncng39IXh5q68vE=
github.com/pulumi/pulumi/pkg/v3 v3.72.2 h1:H9DU5/D73a4UIWEeCrb7N3P1ZrZ/M7r2VYmOlpFbjFg=
github.com/pulumi/pulumi/pkg/v3 v3.72.2/go.mod h1:roPEZwkXjJ7SgTizApJjJoxFlmvS9Uc6PPhXnA4WuGU=
github.com/pulumi/pulumi/sdk/v3 v3.72.2 h1:hw/iiPW2JfeCAR38kRZl/XdyFEvSPPrB5HaU/DmsIDs=
github.com/pulumi/pulumi/sdk/v3 v3.72.2/go.mod h1:BUUBfQZsH0FPuznRfFHkR+b96VlXELnn+DgidFj4XSQ=
github.com/pulumi/pulumi/pkg/v3 v3.73.1-0.20230623071431-db579129f4c9 h1:kZqHt7gZIhBxzE2N+WuyI6Z9nN/YnR6x1mNie3Wldvw=
github.com/pulumi/pulumi/pkg/v3 v3.73.1-0.20230623071431-db579129f4c9/go.mod h1:uioQQOTP9OUSIDga3MuDVnR3OThhWjByoe1M38VxhwI=
github.com/pulumi/pulumi/sdk/v3 v3.73.1-0.20230623071431-db579129f4c9 h1:w/8QHBnDZz8d+aHhBSjyuH7G67LkFgY3xVtAkbE2OII=
github.com/pulumi/pulumi/sdk/v3 v3.73.1-0.20230623071431-db579129f4c9/go.mod h1:BUUBfQZsH0FPuznRfFHkR+b96VlXELnn+DgidFj4XSQ=
github.com/pulumi/schema-tools v0.2.2 h1:KiH/OP/mFF5XjXcOtrPOZ2Z5Sjtb0mLAaHgjJMcjMi4=
github.com/pulumi/schema-tools v0.2.2/go.mod h1:62lgj52Tzq11eqWTIaKd+EVyYAu5dEcDJxMhTjvMO/k=
github.com/pulumi/terraform-diff-reader v0.0.1 h1:d42TUgaQewDVt9bG3GksVZMoUlEEqF171ak66OZVMjE=
github.com/pulumi/terraform-diff-reader v0.0.1/go.mod h1:sZ9FUzGO+yM41hsQHs/yIcj/Y993qMdBxBU5mpDmAfQ=
github.com/pulumi/terraform-diff-reader v0.0.2 h1:kTE4nEXU3/SYXESvAIem+wyHMI3abqkI3OhJ0G04LLI=
github.com/pulumi/terraform-diff-reader v0.0.2/go.mod h1:sZ9FUzGO+yM41hsQHs/yIcj/Y993qMdBxBU5mpDmAfQ=
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.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc=
Expand Down
10 changes: 10 additions & 0 deletions sdk/dotnet/ActionsSecret.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,16 @@ namespace Pulumi.Github
///
/// });
/// ```
///
/// ## Import
///
/// This resource can be imported using an ID made up of the `repository` and `secret_name`
///
/// ```sh
/// $ pulumi import github:index/actionsSecret:ActionsSecret example_secret &lt;repository&gt;/&lt;secret_name&gt;
/// ```
///
/// NOTEthe implementation is limited in that it won't fetch the value of the `plaintext_value` or `encrypted_value` fields when importing. You may need to ignore changes for these as a workaround.
/// </summary>
[GithubResourceType("github:index/actionsSecret:ActionsSecret")]
public partial class ActionsSecret : global::Pulumi.CustomResource
Expand Down
18 changes: 14 additions & 4 deletions sdk/dotnet/CodespacesSecret.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,22 @@ namespace Pulumi.Github
///
/// });
/// ```
///
/// ## Import
///
/// This resource can be imported using an ID made up of the `repository` and `secret_name`
///
/// ```sh
/// $ pulumi import github:index/codespacesSecret:CodespacesSecret example_secret &lt;repository&gt;/&lt;secret_name&gt;
/// ```
///
/// NOTEthe implementation is limited in that it won't fetch the value of the `plaintext_value` or `encrypted_value` fields when importing. You may need to ignore changes for these as a workaround.
/// </summary>
[GithubResourceType("github:index/codespacesSecret:CodespacesSecret")]
public partial class CodespacesSecret : global::Pulumi.CustomResource
{
/// <summary>
/// Date of actions_secret creation.
/// Date of codespaces_secret creation.
/// </summary>
[Output("createdAt")]
public Output<string> CreatedAt { get; private set; } = null!;
Expand Down Expand Up @@ -76,7 +86,7 @@ public partial class CodespacesSecret : global::Pulumi.CustomResource
public Output<string> SecretName { get; private set; } = null!;

/// <summary>
/// Date of actions_secret update.
/// Date of codespaces_secret update.
/// </summary>
[Output("updatedAt")]
public Output<string> UpdatedAt { get; private set; } = null!;
Expand Down Expand Up @@ -185,7 +195,7 @@ public CodespacesSecretArgs()
public sealed class CodespacesSecretState : global::Pulumi.ResourceArgs
{
/// <summary>
/// Date of actions_secret creation.
/// Date of codespaces_secret creation.
/// </summary>
[Input("createdAt")]
public Input<string>? CreatedAt { get; set; }
Expand Down Expand Up @@ -235,7 +245,7 @@ public sealed class CodespacesSecretState : global::Pulumi.ResourceArgs
public Input<string>? SecretName { get; set; }

/// <summary>
/// Date of actions_secret update.
/// Date of codespaces_secret update.
/// </summary>
[Input("updatedAt")]
public Input<string>? UpdatedAt { get; set; }
Expand Down
12 changes: 12 additions & 0 deletions sdk/go/github/actionsSecret.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

28 changes: 20 additions & 8 deletions sdk/go/github/codespacesSecret.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions sdk/java/src/main/java/com/pulumi/github/ActionsSecret.java
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,16 @@
* }
* ```
*
* ## Import
*
* This resource can be imported using an ID made up of the `repository` and `secret_name`
*
* ```sh
* $ pulumi import github:index/actionsSecret:ActionsSecret example_secret &lt;repository&gt;/&lt;secret_name&gt;
* ```
*
* NOTEthe implementation is limited in that it won&#39;t fetch the value of the `plaintext_value` or `encrypted_value` fields when importing. You may need to ignore changes for these as a workaround.
*
*/
@ResourceType(type="github:index/actionsSecret:ActionsSecret")
public class ActionsSecret extends com.pulumi.resources.CustomResource {
Expand Down
18 changes: 14 additions & 4 deletions sdk/java/src/main/java/com/pulumi/github/CodespacesSecret.java
Original file line number Diff line number Diff line change
Expand Up @@ -60,18 +60,28 @@
* }
* ```
*
* ## Import
*
* This resource can be imported using an ID made up of the `repository` and `secret_name`
*
* ```sh
* $ pulumi import github:index/codespacesSecret:CodespacesSecret example_secret &lt;repository&gt;/&lt;secret_name&gt;
* ```
*
* NOTEthe implementation is limited in that it won&#39;t fetch the value of the `plaintext_value` or `encrypted_value` fields when importing. You may need to ignore changes for these as a workaround.
*
*/
@ResourceType(type="github:index/codespacesSecret:CodespacesSecret")
public class CodespacesSecret extends com.pulumi.resources.CustomResource {
/**
* Date of actions_secret creation.
* Date of codespaces_secret creation.
*
*/
@Export(name="createdAt", type=String.class, parameters={})
private Output<String> createdAt;

/**
* @return Date of actions_secret creation.
* @return Date of codespaces_secret creation.
*
*/
public Output<String> createdAt() {
Expand Down Expand Up @@ -134,14 +144,14 @@ public Output<String> secretName() {
return this.secretName;
}
/**
* Date of actions_secret update.
* Date of codespaces_secret update.
*
*/
@Export(name="updatedAt", type=String.class, parameters={})
private Output<String> updatedAt;

/**
* @return Date of actions_secret update.
* @return Date of codespaces_secret update.
*
*/
public Output<String> updatedAt() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ public final class CodespacesSecretState extends com.pulumi.resources.ResourceAr
public static final CodespacesSecretState Empty = new CodespacesSecretState();

/**
* Date of actions_secret creation.
* Date of codespaces_secret creation.
*
*/
@Import(name="createdAt")
private @Nullable Output<String> createdAt;

/**
* @return Date of actions_secret creation.
* @return Date of codespaces_secret creation.
*
*/
public Optional<Output<String>> createdAt() {
Expand Down Expand Up @@ -91,14 +91,14 @@ public Optional<Output<String>> secretName() {
}

/**
* Date of actions_secret update.
* Date of codespaces_secret update.
*
*/
@Import(name="updatedAt")
private @Nullable Output<String> updatedAt;

/**
* @return Date of actions_secret update.
* @return Date of codespaces_secret update.
*
*/
public Optional<Output<String>> updatedAt() {
Expand Down Expand Up @@ -135,7 +135,7 @@ public Builder(CodespacesSecretState defaults) {
}

/**
* @param createdAt Date of actions_secret creation.
* @param createdAt Date of codespaces_secret creation.
*
* @return builder
*
Expand All @@ -146,7 +146,7 @@ public Builder createdAt(@Nullable Output<String> createdAt) {
}

/**
* @param createdAt Date of actions_secret creation.
* @param createdAt Date of codespaces_secret creation.
*
* @return builder
*
Expand Down Expand Up @@ -240,7 +240,7 @@ public Builder secretName(String secretName) {
}

/**
* @param updatedAt Date of actions_secret update.
* @param updatedAt Date of codespaces_secret update.
*
* @return builder
*
Expand All @@ -251,7 +251,7 @@ public Builder updatedAt(@Nullable Output<String> updatedAt) {
}

/**
* @param updatedAt Date of actions_secret update.
* @param updatedAt Date of codespaces_secret update.
*
* @return builder
*
Expand Down
10 changes: 10 additions & 0 deletions sdk/nodejs/actionsSecret.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,16 @@ import * as utilities from "./utilities";
* encryptedValue: _var.some_encrypted_secret_string,
* });
* ```
*
* ## Import
*
* This resource can be imported using an ID made up of the `repository` and `secret_name`
*
* ```sh
* $ pulumi import github:index/actionsSecret:ActionsSecret example_secret <repository>/<secret_name>
* ```
*
* NOTEthe implementation is limited in that it won't fetch the value of the `plaintext_value` or `encrypted_value` fields when importing. You may need to ignore changes for these as a workaround.
*/
export class ActionsSecret extends pulumi.CustomResource {
/**
Expand Down
Loading

0 comments on commit 9ef0368

Please sign in to comment.