Skip to content

Commit

Permalink
Upgrade pulumi-terraform-bridge to v3.63.1 (#479)
Browse files Browse the repository at this point in the history
This PR was generated via `$ upgrade-provider pulumi/pulumi-github
--kind=bridge --target-bridge-version=v3.63.1 --pr-reviewers=t0yv0
--pr-description=`.

---

- Upgrading pulumi-terraform-bridge from v3.63.0 to v3.63.1.
  • Loading branch information
pulumi-bot committed Oct 25, 2023
1 parent cca29c6 commit 6b462ba
Show file tree
Hide file tree
Showing 470 changed files with 15,138 additions and 3 deletions.
2 changes: 1 addition & 1 deletion provider/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ go 1.21
require (
github.com/hashicorp/terraform-plugin-sdk v1.17.2
github.com/integrations/terraform-provider-github/v5 v5.40.0
github.com/pulumi/pulumi-terraform-bridge/v3 v3.63.0
github.com/pulumi/pulumi-terraform-bridge/v3 v3.63.1
github.com/pulumi/pulumi/sdk/v3 v3.90.1
)

Expand Down
4 changes: 2 additions & 2 deletions provider/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -1991,8 +1991,8 @@ github.com/pulumi/pulumi-java/pkg v0.9.8 h1:c8mYsalnRXA2Ibgvv6scefOn6mW1Vb0UT0mc
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.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/v3 v3.63.1 h1:hBgediyT2LdS5yfD5AMiCmBJ/TYP94Xxv6a4TcAfV0g=
github.com/pulumi/pulumi-terraform-bridge/v3 v3.63.1/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=
Expand Down
57 changes: 57 additions & 0 deletions sdk/dotnet/ActionsEnvironmentSecret.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,63 @@
namespace Pulumi.Github
{
/// <summary>
/// ## Example Usage
///
/// ```csharp
/// using System.Collections.Generic;
/// using System.Linq;
/// using Pulumi;
/// using Github = Pulumi.Github;
///
/// return await Deployment.RunAsync(() =&gt;
/// {
/// var exampleSecretActionsEnvironmentSecret = new Github.ActionsEnvironmentSecret("exampleSecretActionsEnvironmentSecret", new()
/// {
/// Environment = "example_environment",
/// SecretName = "example_secret_name",
/// PlaintextValue = @var.Some_secret_string,
/// });
///
/// var exampleSecretIndex_actionsEnvironmentSecretActionsEnvironmentSecret = new Github.ActionsEnvironmentSecret("exampleSecretIndex/actionsEnvironmentSecretActionsEnvironmentSecret", new()
/// {
/// Environment = "example_environment",
/// SecretName = "example_secret_name",
/// EncryptedValue = @var.Some_encrypted_secret_string,
/// });
///
/// });
/// ```
///
/// ```csharp
/// using System.Collections.Generic;
/// using System.Linq;
/// using Pulumi;
/// using Github = Pulumi.Github;
///
/// return await Deployment.RunAsync(() =&gt;
/// {
/// var repo = Github.GetRepository.Invoke(new()
/// {
/// FullName = "my-org/repo",
/// });
///
/// var repoEnvironment = new Github.RepositoryEnvironment("repoEnvironment", new()
/// {
/// Repository = repo.Apply(getRepositoryResult =&gt; getRepositoryResult.Name),
/// Environment = "example_environment",
/// });
///
/// var testSecret = new Github.ActionsEnvironmentSecret("testSecret", new()
/// {
/// Repository = repo.Apply(getRepositoryResult =&gt; getRepositoryResult.Name),
/// Environment = repoEnvironment.Environment,
/// SecretName = "test_secret_name",
/// PlaintextValue = "%s",
/// });
///
/// });
/// ```
///
/// ## Import
///
/// This resource does not support importing. If you'd like to help contribute it, please visit our [GitHub page](https://github.com/integrations/terraform-provider-github)!
Expand Down
50 changes: 50 additions & 0 deletions sdk/dotnet/ActionsEnvironmentVariable.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,56 @@ namespace Pulumi.Github
/// This resource allows you to create and manage GitHub Actions variables within your GitHub repository environments.
/// You must have write access to a repository to use this resource.
///
/// ## Example Usage
///
/// ```csharp
/// using System.Collections.Generic;
/// using System.Linq;
/// using Pulumi;
/// using Github = Pulumi.Github;
///
/// return await Deployment.RunAsync(() =&gt;
/// {
/// var exampleVariable = new Github.ActionsEnvironmentVariable("exampleVariable", new()
/// {
/// Environment = "example_environment",
/// Value = "example_variable_value",
/// VariableName = "example_variable_name",
/// });
///
/// });
/// ```
///
/// ```csharp
/// using System.Collections.Generic;
/// using System.Linq;
/// using Pulumi;
/// using Github = Pulumi.Github;
///
/// return await Deployment.RunAsync(() =&gt;
/// {
/// var repo = Github.GetRepository.Invoke(new()
/// {
/// FullName = "my-org/repo",
/// });
///
/// var repoEnvironment = new Github.RepositoryEnvironment("repoEnvironment", new()
/// {
/// Repository = repo.Apply(getRepositoryResult =&gt; getRepositoryResult.Name),
/// Environment = "example_environment",
/// });
///
/// var exampleVariable = new Github.ActionsEnvironmentVariable("exampleVariable", new()
/// {
/// Repository = repo.Apply(getRepositoryResult =&gt; getRepositoryResult.Name),
/// Environment = repoEnvironment.Environment,
/// VariableName = "example_variable_name",
/// Value = "example_variable_value",
/// });
///
/// });
/// ```
///
/// ## Import
///
/// This resource can be imported using an ID made up of the repository name, environment name, and variable name:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,29 @@ namespace Pulumi.Github
/// More information on integrating GitHub with cloud providers using OpenID Connect and a list of available claims is
/// available in the [Actions documentation](https://docs.github.com/en/actions/deployment/security-hardening-your-deployments/about-security-hardening-with-openid-connect).
///
/// ## Example Usage
///
/// ```csharp
/// using System.Collections.Generic;
/// using System.Linq;
/// using Pulumi;
/// using Github = Pulumi.Github;
///
/// return await Deployment.RunAsync(() =&gt;
/// {
/// var exampleTemplate = new Github.ActionsOrganizationOidcSubjectClaimCustomizationTemplate("exampleTemplate", new()
/// {
/// IncludeClaimKeys = new[]
/// {
/// "actor",
/// "context",
/// "repository_owner",
/// },
/// });
///
/// });
/// ```
///
/// ## Import
///
/// This resource can be imported using the organization's name.
Expand Down
38 changes: 38 additions & 0 deletions sdk/dotnet/ActionsOrganizationPermissions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,44 @@ namespace Pulumi.Github
/// This resource allows you to create and manage GitHub Actions permissions within your GitHub enterprise organizations.
/// You must have admin access to an organization to use this resource.
///
/// ## Example Usage
///
/// ```csharp
/// using System.Collections.Generic;
/// using System.Linq;
/// using Pulumi;
/// using Github = Pulumi.Github;
///
/// return await Deployment.RunAsync(() =&gt;
/// {
/// var example = new Github.Repository("example");
///
/// var test = new Github.ActionsOrganizationPermissions("test", new()
/// {
/// AllowedActions = "selected",
/// EnabledRepositories = "selected",
/// AllowedActionsConfig = new Github.Inputs.ActionsOrganizationPermissionsAllowedActionsConfigArgs
/// {
/// GithubOwnedAllowed = true,
/// PatternsAlloweds = new[]
/// {
/// "actions/cache@*",
/// "actions/checkout@*",
/// },
/// VerifiedAllowed = true,
/// },
/// EnabledRepositoriesConfig = new Github.Inputs.ActionsOrganizationPermissionsEnabledRepositoriesConfigArgs
/// {
/// RepositoryIds = new[]
/// {
/// example.RepoId,
/// },
/// },
/// });
///
/// });
/// ```
///
/// ## Import
///
/// This resource can be imported using the ID of the GitHub organization:
Expand Down
65 changes: 65 additions & 0 deletions sdk/dotnet/ActionsOrganizationSecret.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,71 @@
namespace Pulumi.Github
{
/// <summary>
/// ## Example Usage
///
/// ```csharp
/// using System.Collections.Generic;
/// using System.Linq;
/// using Pulumi;
/// using Github = Pulumi.Github;
///
/// return await Deployment.RunAsync(() =&gt;
/// {
/// var exampleSecretActionsOrganizationSecret = new Github.ActionsOrganizationSecret("exampleSecretActionsOrganizationSecret", new()
/// {
/// SecretName = "example_secret_name",
/// Visibility = "private",
/// PlaintextValue = @var.Some_secret_string,
/// });
///
/// var exampleSecretIndex_actionsOrganizationSecretActionsOrganizationSecret = new Github.ActionsOrganizationSecret("exampleSecretIndex/actionsOrganizationSecretActionsOrganizationSecret", new()
/// {
/// SecretName = "example_secret_name",
/// Visibility = "private",
/// EncryptedValue = @var.Some_encrypted_secret_string,
/// });
///
/// });
/// ```
///
/// ```csharp
/// using System.Collections.Generic;
/// using System.Linq;
/// using Pulumi;
/// using Github = Pulumi.Github;
///
/// return await Deployment.RunAsync(() =&gt;
/// {
/// var repo = Github.GetRepository.Invoke(new()
/// {
/// FullName = "my-org/repo",
/// });
///
/// var exampleSecretActionsOrganizationSecret = new Github.ActionsOrganizationSecret("exampleSecretActionsOrganizationSecret", new()
/// {
/// SecretName = "example_secret_name",
/// Visibility = "selected",
/// PlaintextValue = @var.Some_secret_string,
/// SelectedRepositoryIds = new[]
/// {
/// repo.Apply(getRepositoryResult =&gt; getRepositoryResult.RepoId),
/// },
/// });
///
/// var exampleSecretIndex_actionsOrganizationSecretActionsOrganizationSecret = new Github.ActionsOrganizationSecret("exampleSecretIndex/actionsOrganizationSecretActionsOrganizationSecret", new()
/// {
/// SecretName = "example_secret_name",
/// Visibility = "selected",
/// EncryptedValue = @var.Some_encrypted_secret_string,
/// SelectedRepositoryIds = new[]
/// {
/// repo.Apply(getRepositoryResult =&gt; getRepositoryResult.RepoId),
/// },
/// });
///
/// });
/// ```
///
/// ## Import
///
/// This resource can be imported using an ID made up of the secret name:
Expand Down
27 changes: 27 additions & 0 deletions sdk/dotnet/ActionsOrganizationSecretRepositories.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,33 @@ namespace Pulumi.Github
///
/// This resource is only applicable when `visibility` of the existing organization secret has been set to `selected`.
///
/// ## Example Usage
///
/// ```csharp
/// using System.Collections.Generic;
/// using System.Linq;
/// using Pulumi;
/// using Github = Pulumi.Github;
///
/// return await Deployment.RunAsync(() =&gt;
/// {
/// var repo = Github.GetRepository.Invoke(new()
/// {
/// FullName = "my-org/repo",
/// });
///
/// var orgSecretRepos = new Github.ActionsOrganizationSecretRepositories("orgSecretRepos", new()
/// {
/// SecretName = "existing_secret_name",
/// SelectedRepositoryIds = new[]
/// {
/// repo.Apply(getRepositoryResult =&gt; getRepositoryResult.RepoId),
/// },
/// });
///
/// });
/// ```
///
/// ## Import
///
/// This resource can be imported using an ID made up of the secret name:
Expand Down
47 changes: 47 additions & 0 deletions sdk/dotnet/ActionsOrganizationVariable.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,53 @@ namespace Pulumi.Github
/// This resource allows you to create and manage GitHub Actions variables within your GitHub organization.
/// You must have write access to a repository to use this resource.
///
/// ## Example Usage
///
/// ```csharp
/// using System.Collections.Generic;
/// using System.Linq;
/// using Pulumi;
/// using Github = Pulumi.Github;
///
/// return await Deployment.RunAsync(() =&gt;
/// {
/// var exampleVariable = new Github.ActionsOrganizationVariable("exampleVariable", new()
/// {
/// Value = "example_variable_value",
/// VariableName = "example_variable_name",
/// Visibility = "private",
/// });
///
/// });
/// ```
///
/// ```csharp
/// using System.Collections.Generic;
/// using System.Linq;
/// using Pulumi;
/// using Github = Pulumi.Github;
///
/// return await Deployment.RunAsync(() =&gt;
/// {
/// var repo = Github.GetRepository.Invoke(new()
/// {
/// FullName = "my-org/repo",
/// });
///
/// var exampleVariable = new Github.ActionsOrganizationVariable("exampleVariable", new()
/// {
/// VariableName = "example_variable_name",
/// Visibility = "selected",
/// Value = "example_variable_value",
/// SelectedRepositoryIds = new[]
/// {
/// repo.Apply(getRepositoryResult =&gt; getRepositoryResult.RepoId),
/// },
/// });
///
/// });
/// ```
///
/// ## Import
///
/// This resource can be imported using an ID made up of the variable name:
Expand Down
Loading

0 comments on commit 6b462ba

Please sign in to comment.