@pulumi/github 5.22.0-alpha.1698126165 → 5.22.0-alpha.1698198281
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/actionsEnvironmentSecret.d.ts +0 -37
- package/actionsEnvironmentSecret.js +0 -37
- package/actionsEnvironmentSecret.js.map +1 -1
- package/actionsEnvironmentVariable.d.ts +0 -32
- package/actionsEnvironmentVariable.js +0 -32
- package/actionsEnvironmentVariable.js.map +1 -1
- package/actionsOrganizationOidcSubjectClaimCustomizationTemplate.d.ts +0 -13
- package/actionsOrganizationOidcSubjectClaimCustomizationTemplate.js +0 -13
- package/actionsOrganizationOidcSubjectClaimCustomizationTemplate.js.map +1 -1
- package/actionsOrganizationPermissions.d.ts +0 -24
- package/actionsOrganizationPermissions.js +0 -24
- package/actionsOrganizationPermissions.js.map +1 -1
- package/actionsOrganizationSecret.d.ts +0 -39
- package/actionsOrganizationSecret.js +0 -39
- package/actionsOrganizationSecret.js.map +1 -1
- package/actionsOrganizationSecretRepositories.d.ts +0 -15
- package/actionsOrganizationSecretRepositories.js +0 -15
- package/actionsOrganizationSecretRepositories.js.map +1 -1
- package/actionsOrganizationVariable.d.ts +0 -28
- package/actionsOrganizationVariable.js +0 -28
- package/actionsOrganizationVariable.js.map +1 -1
- package/actionsRepositoryAccessLevel.d.ts +0 -13
- package/actionsRepositoryAccessLevel.js +0 -13
- package/actionsRepositoryAccessLevel.js.map +1 -1
- package/actionsRepositoryOidcSubjectClaimCustomizationTemplate.d.ts +0 -18
- package/actionsRepositoryOidcSubjectClaimCustomizationTemplate.js +0 -18
- package/actionsRepositoryOidcSubjectClaimCustomizationTemplate.js.map +1 -1
- package/actionsRepositoryPermissions.d.ts +0 -21
- package/actionsRepositoryPermissions.js +0 -21
- package/actionsRepositoryPermissions.js.map +1 -1
- package/actionsRunnerGroup.d.ts +0 -13
- package/actionsRunnerGroup.js +0 -13
- package/actionsRunnerGroup.js.map +1 -1
- package/actionsSecret.d.ts +0 -21
- package/actionsSecret.js +0 -21
- package/actionsSecret.js.map +1 -1
- package/actionsVariable.d.ts +0 -13
- package/actionsVariable.js +0 -13
- package/actionsVariable.js.map +1 -1
- package/appInstallationRepository.d.ts +0 -14
- package/appInstallationRepository.js +0 -14
- package/appInstallationRepository.js.map +1 -1
- package/branch.d.ts +0 -12
- package/branch.js +0 -12
- package/branch.js.map +1 -1
- package/branchDefault.d.ts +0 -39
- package/branchDefault.js +0 -39
- package/branchDefault.js.map +1 -1
- package/branchProtection.d.ts +0 -51
- package/branchProtection.js +0 -51
- package/branchProtection.js.map +1 -1
- package/branchProtectionV3.d.ts +0 -56
- package/branchProtectionV3.js +0 -56
- package/branchProtectionV3.js.map +1 -1
- package/codespacesOrganizationSecret.d.ts +0 -39
- package/codespacesOrganizationSecret.js +0 -39
- package/codespacesOrganizationSecret.js.map +1 -1
- package/codespacesOrganizationSecretRepositories.d.ts +0 -15
- package/codespacesOrganizationSecretRepositories.js +0 -15
- package/codespacesOrganizationSecretRepositories.js.map +1 -1
- package/codespacesSecret.d.ts +0 -21
- package/codespacesSecret.js +0 -21
- package/codespacesSecret.js.map +1 -1
- package/codespacesUserSecret.d.ts +0 -21
- package/codespacesUserSecret.js +0 -21
- package/codespacesUserSecret.js.map +1 -1
- package/emuGroupMapping.d.ts +0 -13
- package/emuGroupMapping.js +0 -13
- package/emuGroupMapping.js.map +1 -1
- package/enterpriseOrganization.d.ts +0 -15
- package/enterpriseOrganization.js +0 -15
- package/enterpriseOrganization.js.map +1 -1
- package/getActionsEnvironmentSecrets.d.ts +0 -24
- package/getActionsEnvironmentSecrets.js +0 -24
- package/getActionsEnvironmentSecrets.js.map +1 -1
- package/getActionsEnvironmentVariables.d.ts +0 -24
- package/getActionsEnvironmentVariables.js +0 -24
- package/getActionsEnvironmentVariables.js.map +1 -1
- package/getActionsOrganizationOidcSubjectClaimCustomizationTemplate.d.ts +0 -18
- package/getActionsOrganizationOidcSubjectClaimCustomizationTemplate.js +0 -18
- package/getActionsOrganizationOidcSubjectClaimCustomizationTemplate.js.map +1 -1
- package/getActionsOrganizationPublicKey.d.ts +0 -18
- package/getActionsOrganizationPublicKey.js +0 -18
- package/getActionsOrganizationPublicKey.js.map +1 -1
- package/getActionsOrganizationRegistrationToken.d.ts +0 -18
- package/getActionsOrganizationRegistrationToken.js +0 -18
- package/getActionsOrganizationRegistrationToken.js.map +1 -1
- package/getActionsOrganizationSecrets.d.ts +0 -18
- package/getActionsOrganizationSecrets.js +0 -18
- package/getActionsOrganizationSecrets.js.map +1 -1
- package/getActionsOrganizationVariables.d.ts +0 -18
- package/getActionsOrganizationVariables.js +0 -18
- package/getActionsOrganizationVariables.js.map +1 -1
- package/getActionsPublicKey.d.ts +0 -22
- package/getActionsPublicKey.js +0 -22
- package/getActionsPublicKey.js.map +1 -1
- package/getActionsRegistrationToken.d.ts +0 -22
- package/getActionsRegistrationToken.js +0 -22
- package/getActionsRegistrationToken.js.map +1 -1
- package/getActionsRepositoryOidcSubjectClaimCustomizationTemplate.d.ts +0 -22
- package/getActionsRepositoryOidcSubjectClaimCustomizationTemplate.js +0 -22
- package/getActionsRepositoryOidcSubjectClaimCustomizationTemplate.js.map +1 -1
- package/getActionsSecrets.d.ts +0 -22
- package/getActionsSecrets.js +0 -22
- package/getActionsSecrets.js.map +1 -1
- package/getActionsVariables.d.ts +0 -22
- package/getActionsVariables.js +0 -22
- package/getActionsVariables.js.map +1 -1
- package/getAppToken.d.ts +0 -28
- package/getAppToken.js +0 -28
- package/getAppToken.js.map +1 -1
- package/getBranch.d.ts +0 -24
- package/getBranch.js +0 -24
- package/getBranch.js.map +1 -1
- package/getBranchProtectionRules.d.ts +0 -22
- package/getBranchProtectionRules.js +0 -22
- package/getBranchProtectionRules.js.map +1 -1
- package/getCodespacesOrganizationPublicKey.d.ts +0 -18
- package/getCodespacesOrganizationPublicKey.js +0 -18
- package/getCodespacesOrganizationPublicKey.js.map +1 -1
- package/getCodespacesOrganizationSecrets.d.ts +0 -18
- package/getCodespacesOrganizationSecrets.js +0 -18
- package/getCodespacesOrganizationSecrets.js.map +1 -1
- package/getCodespacesPublicKey.d.ts +0 -22
- package/getCodespacesPublicKey.js +0 -22
- package/getCodespacesPublicKey.js.map +1 -1
- package/getCodespacesSecrets.d.ts +0 -28
- package/getCodespacesSecrets.js +0 -28
- package/getCodespacesSecrets.js.map +1 -1
- package/getCodespacesUserPublicKey.d.ts +0 -18
- package/getCodespacesUserPublicKey.js +0 -18
- package/getCodespacesUserPublicKey.js.map +1 -1
- package/getCodespacesUserSecrets.d.ts +0 -18
- package/getCodespacesUserSecrets.js +0 -18
- package/getCodespacesUserSecrets.js.map +1 -1
- package/getCollaborators.d.ts +0 -24
- package/getCollaborators.js +0 -24
- package/getCollaborators.js.map +1 -1
- package/getDependabotOrganizationPublicKey.d.ts +0 -18
- package/getDependabotOrganizationPublicKey.js +0 -18
- package/getDependabotOrganizationPublicKey.js.map +1 -1
- package/getDependabotOrganizationSecrets.d.ts +0 -18
- package/getDependabotOrganizationSecrets.js +0 -18
- package/getDependabotOrganizationSecrets.js.map +1 -1
- package/getDependabotSecrets.d.ts +0 -22
- package/getDependabotSecrets.js +0 -22
- package/getDependabotSecrets.js.map +1 -1
- package/getEnterprise.d.ts +0 -22
- package/getEnterprise.js +0 -22
- package/getEnterprise.js.map +1 -1
- package/getExternalGroups.d.ts +0 -22
- package/getExternalGroups.js +0 -22
- package/getExternalGroups.js.map +1 -1
- package/getGithubApp.d.ts +0 -22
- package/getGithubApp.js +0 -22
- package/getGithubApp.js.map +1 -1
- package/getIpRanges.d.ts +0 -18
- package/getIpRanges.js +0 -18
- package/getIpRanges.js.map +1 -1
- package/getMembership.d.ts +0 -22
- package/getMembership.js +0 -22
- package/getMembership.js.map +1 -1
- package/getOrganization.d.ts +0 -22
- package/getOrganization.js +0 -22
- package/getOrganization.js.map +1 -1
- package/getOrganizationCustomRole.d.ts +0 -22
- package/getOrganizationCustomRole.js +0 -22
- package/getOrganizationCustomRole.js.map +1 -1
- package/getOrganizationExternalIdentities.d.ts +0 -18
- package/getOrganizationExternalIdentities.js +0 -18
- package/getOrganizationExternalIdentities.js.map +1 -1
- package/getOrganizationIpAllowList.d.ts +0 -18
- package/getOrganizationIpAllowList.js +0 -18
- package/getOrganizationIpAllowList.js.map +1 -1
- package/getOrganizationTeamSyncGroups.d.ts +0 -18
- package/getOrganizationTeamSyncGroups.js +0 -18
- package/getOrganizationTeamSyncGroups.js.map +1 -1
- package/getOrganizationTeams.d.ts +0 -44
- package/getOrganizationTeams.js +0 -44
- package/getOrganizationTeams.js.map +1 -1
- package/getOrganizationWebhooks.d.ts +0 -22
- package/getOrganizationWebhooks.js +0 -22
- package/getOrganizationWebhooks.js.map +1 -1
- package/getRef.d.ts +0 -26
- package/getRef.js +0 -26
- package/getRef.js.map +1 -1
- package/getRepositories.d.ts +0 -24
- package/getRepositories.js +0 -24
- package/getRepositories.js.map +1 -1
- package/getRepository.d.ts +0 -22
- package/getRepository.js +0 -22
- package/getRepository.js.map +1 -1
- package/getRepositoryAutolinkReferences.d.ts +0 -22
- package/getRepositoryAutolinkReferences.js +0 -22
- package/getRepositoryAutolinkReferences.js.map +1 -1
- package/getRepositoryBranches.d.ts +0 -22
- package/getRepositoryBranches.js +0 -22
- package/getRepositoryBranches.js.map +1 -1
- package/getRepositoryDeployKeys.d.ts +0 -22
- package/getRepositoryDeployKeys.js +0 -22
- package/getRepositoryDeployKeys.js.map +1 -1
- package/getRepositoryDeploymentBranchPolicies.d.ts +0 -24
- package/getRepositoryDeploymentBranchPolicies.js +0 -24
- package/getRepositoryDeploymentBranchPolicies.js.map +1 -1
- package/getRepositoryEnvironments.d.ts +0 -22
- package/getRepositoryEnvironments.js +0 -22
- package/getRepositoryEnvironments.js.map +1 -1
- package/getRepositoryFile.d.ts +0 -26
- package/getRepositoryFile.js +0 -26
- package/getRepositoryFile.js.map +1 -1
- package/getRepositoryMilestone.d.ts +0 -26
- package/getRepositoryMilestone.js +0 -26
- package/getRepositoryMilestone.js.map +1 -1
- package/getRepositoryPullRequest.d.ts +0 -24
- package/getRepositoryPullRequest.js +0 -24
- package/getRepositoryPullRequest.js.map +1 -1
- package/getRepositoryPullRequests.d.ts +0 -30
- package/getRepositoryPullRequests.js +0 -30
- package/getRepositoryPullRequests.js.map +1 -1
- package/getRepositoryTeams.d.ts +0 -22
- package/getRepositoryTeams.js +0 -22
- package/getRepositoryTeams.js.map +1 -1
- package/getRepositoryWebhooks.d.ts +0 -26
- package/getRepositoryWebhooks.js +0 -26
- package/getRepositoryWebhooks.js.map +1 -1
- package/getRestApi.d.ts +0 -22
- package/getRestApi.js +0 -22
- package/getRestApi.js.map +1 -1
- package/getSshKeys.d.ts +0 -18
- package/getSshKeys.js +0 -18
- package/getSshKeys.js.map +1 -1
- package/getTeam.d.ts +0 -22
- package/getTeam.js +0 -22
- package/getTeam.js.map +1 -1
- package/getTree.d.ts +0 -42
- package/getTree.js +0 -42
- package/getTree.js.map +1 -1
- package/getUser.d.ts +0 -30
- package/getUser.js +0 -30
- package/getUser.js.map +1 -1
- package/getUserExternalIdentity.d.ts +0 -22
- package/getUserExternalIdentity.js +0 -22
- package/getUserExternalIdentity.js.map +1 -1
- package/getUsers.d.ts +0 -34
- package/getUsers.js +0 -34
- package/getUsers.js.map +1 -1
- package/issue.d.ts +0 -49
- package/issue.js +0 -49
- package/issue.js.map +1 -1
- package/issueLabel.d.ts +0 -13
- package/issueLabel.js +0 -13
- package/issueLabel.js.map +1 -1
- package/membership.d.ts +0 -13
- package/membership.js +0 -13
- package/membership.js.map +1 -1
- package/organizationBlock.d.ts +0 -9
- package/organizationBlock.js +0 -9
- package/organizationBlock.js.map +1 -1
- package/organizationCustomRole.d.ts +0 -33
- package/organizationCustomRole.js +0 -33
- package/organizationCustomRole.js.map +1 -1
- package/organizationProject.d.ts +0 -9
- package/organizationProject.js +0 -9
- package/organizationProject.js.map +1 -1
- package/organizationSecurityManager.d.ts +0 -10
- package/organizationSecurityManager.js +0 -10
- package/organizationSecurityManager.js.map +1 -1
- package/organizationSettings.d.ts +0 -35
- package/organizationSettings.js +0 -35
- package/organizationSettings.js.map +1 -1
- package/organizationWebhook.d.ts +0 -17
- package/organizationWebhook.js +0 -17
- package/organizationWebhook.js.map +1 -1
- package/package.json +1 -1
- package/projectCard.d.ts +0 -40
- package/projectCard.js +0 -40
- package/projectCard.js.map +1 -1
- package/projectColumn.d.ts +0 -10
- package/projectColumn.js +0 -10
- package/projectColumn.js.map +1 -1
- package/release.d.ts +0 -36
- package/release.js +0 -36
- package/release.js.map +1 -1
- package/repository.d.ts +0 -34
- package/repository.js +0 -34
- package/repository.js.map +1 -1
- package/repositoryAutolinkReference.d.ts +0 -17
- package/repositoryAutolinkReference.js +0 -17
- package/repositoryAutolinkReference.js.map +1 -1
- package/repositoryCollaborator.d.ts +0 -14
- package/repositoryCollaborator.js +0 -14
- package/repositoryCollaborator.js.map +1 -1
- package/repositoryCollaborators.d.ts +0 -22
- package/repositoryCollaborators.js +0 -22
- package/repositoryCollaborators.js.map +1 -1
- package/repositoryDeployKey.d.ts +0 -15
- package/repositoryDeployKey.js +0 -15
- package/repositoryDeployKey.js.map +1 -1
- package/repositoryDeploymentBranchPolicy.d.ts +0 -22
- package/repositoryDeploymentBranchPolicy.js +0 -22
- package/repositoryDeploymentBranchPolicy.js.map +1 -1
- package/repositoryEnvironment.d.ts +0 -23
- package/repositoryEnvironment.js +0 -23
- package/repositoryEnvironment.js.map +1 -1
- package/repositoryEnvironmentDeploymentPolicy.d.ts +0 -29
- package/repositoryEnvironmentDeploymentPolicy.js +0 -29
- package/repositoryEnvironmentDeploymentPolicy.js.map +1 -1
- package/repositoryFile.d.ts +0 -19
- package/repositoryFile.js +0 -19
- package/repositoryFile.js.map +1 -1
- package/repositoryMilestone.d.ts +0 -14
- package/repositoryMilestone.js +0 -14
- package/repositoryMilestone.js.map +1 -1
- package/repositoryProject.d.ts +0 -16
- package/repositoryProject.js +0 -16
- package/repositoryProject.js.map +1 -1
- package/repositoryPullRequest.d.ts +0 -15
- package/repositoryPullRequest.js +0 -15
- package/repositoryPullRequest.js.map +1 -1
- package/repositoryRuleset.d.ts +0 -35
- package/repositoryRuleset.js +0 -35
- package/repositoryRuleset.js.map +1 -1
- package/repositoryTagProtection.d.ts +0 -12
- package/repositoryTagProtection.js +0 -12
- package/repositoryTagProtection.js.map +1 -1
- package/repositoryTopics.d.ts +0 -18
- package/repositoryTopics.js +0 -18
- package/repositoryTopics.js.map +1 -1
- package/repositoryWebhook.d.ts +0 -23
- package/repositoryWebhook.js +0 -23
- package/repositoryWebhook.js.map +1 -1
- package/team.d.ts +0 -13
- package/team.js +0 -13
- package/team.js.map +1 -1
- package/teamMembers.d.ts +0 -31
- package/teamMembers.js +0 -31
- package/teamMembers.js.map +1 -1
- package/teamMembership.d.ts +0 -19
- package/teamMembership.js +0 -19
- package/teamMembership.js.map +1 -1
- package/teamRepository.d.ts +0 -16
- package/teamRepository.js +0 -16
- package/teamRepository.js.map +1 -1
- package/teamSettings.d.ts +0 -18
- package/teamSettings.js +0 -18
- package/teamSettings.js.map +1 -1
- package/userGpgKey.d.ts +0 -12
- package/userGpgKey.js +0 -12
- package/userGpgKey.js.map +1 -1
- package/userSshKey.d.ts +0 -13
- package/userSshKey.js +0 -13
- package/userSshKey.js.map +1 -1
|
@@ -1,42 +1,5 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
* ## Example Usage
|
|
4
|
-
*
|
|
5
|
-
* ```typescript
|
|
6
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
7
|
-
* import * as github from "@pulumi/github";
|
|
8
|
-
*
|
|
9
|
-
* const exampleSecretActionsEnvironmentSecret = new github.ActionsEnvironmentSecret("exampleSecretActionsEnvironmentSecret", {
|
|
10
|
-
* environment: "example_environment",
|
|
11
|
-
* secretName: "example_secret_name",
|
|
12
|
-
* plaintextValue: _var.some_secret_string,
|
|
13
|
-
* });
|
|
14
|
-
* const exampleSecretIndex_actionsEnvironmentSecretActionsEnvironmentSecret = new github.ActionsEnvironmentSecret("exampleSecretIndex/actionsEnvironmentSecretActionsEnvironmentSecret", {
|
|
15
|
-
* environment: "example_environment",
|
|
16
|
-
* secretName: "example_secret_name",
|
|
17
|
-
* encryptedValue: _var.some_encrypted_secret_string,
|
|
18
|
-
* });
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* ```typescript
|
|
22
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
23
|
-
* import * as github from "@pulumi/github";
|
|
24
|
-
*
|
|
25
|
-
* const repo = github.getRepository({
|
|
26
|
-
* fullName: "my-org/repo",
|
|
27
|
-
* });
|
|
28
|
-
* const repoEnvironment = new github.RepositoryEnvironment("repoEnvironment", {
|
|
29
|
-
* repository: repo.then(repo => repo.name),
|
|
30
|
-
* environment: "example_environment",
|
|
31
|
-
* });
|
|
32
|
-
* const testSecret = new github.ActionsEnvironmentSecret("testSecret", {
|
|
33
|
-
* repository: repo.then(repo => repo.name),
|
|
34
|
-
* environment: repoEnvironment.environment,
|
|
35
|
-
* secretName: "test_secret_name",
|
|
36
|
-
* plaintextValue: "%s",
|
|
37
|
-
* });
|
|
38
|
-
* ```
|
|
39
|
-
*
|
|
40
3
|
* ## Import
|
|
41
4
|
*
|
|
42
5
|
* 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)!
|
|
@@ -6,43 +6,6 @@ exports.ActionsEnvironmentSecret = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* ## Example Usage
|
|
10
|
-
*
|
|
11
|
-
* ```typescript
|
|
12
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
-
* import * as github from "@pulumi/github";
|
|
14
|
-
*
|
|
15
|
-
* const exampleSecretActionsEnvironmentSecret = new github.ActionsEnvironmentSecret("exampleSecretActionsEnvironmentSecret", {
|
|
16
|
-
* environment: "example_environment",
|
|
17
|
-
* secretName: "example_secret_name",
|
|
18
|
-
* plaintextValue: _var.some_secret_string,
|
|
19
|
-
* });
|
|
20
|
-
* const exampleSecretIndex_actionsEnvironmentSecretActionsEnvironmentSecret = new github.ActionsEnvironmentSecret("exampleSecretIndex/actionsEnvironmentSecretActionsEnvironmentSecret", {
|
|
21
|
-
* environment: "example_environment",
|
|
22
|
-
* secretName: "example_secret_name",
|
|
23
|
-
* encryptedValue: _var.some_encrypted_secret_string,
|
|
24
|
-
* });
|
|
25
|
-
* ```
|
|
26
|
-
*
|
|
27
|
-
* ```typescript
|
|
28
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
29
|
-
* import * as github from "@pulumi/github";
|
|
30
|
-
*
|
|
31
|
-
* const repo = github.getRepository({
|
|
32
|
-
* fullName: "my-org/repo",
|
|
33
|
-
* });
|
|
34
|
-
* const repoEnvironment = new github.RepositoryEnvironment("repoEnvironment", {
|
|
35
|
-
* repository: repo.then(repo => repo.name),
|
|
36
|
-
* environment: "example_environment",
|
|
37
|
-
* });
|
|
38
|
-
* const testSecret = new github.ActionsEnvironmentSecret("testSecret", {
|
|
39
|
-
* repository: repo.then(repo => repo.name),
|
|
40
|
-
* environment: repoEnvironment.environment,
|
|
41
|
-
* secretName: "test_secret_name",
|
|
42
|
-
* plaintextValue: "%s",
|
|
43
|
-
* });
|
|
44
|
-
* ```
|
|
45
|
-
*
|
|
46
9
|
* ## Import
|
|
47
10
|
*
|
|
48
11
|
* 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)!
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actionsEnvironmentSecret.js","sourceRoot":"","sources":["../actionsEnvironmentSecret.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"actionsEnvironmentSecret.js","sourceR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I,uBAAJ,IAAI,CAAE,cAAc,EAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;YACzG,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACnD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,gBAAgB,EAAE,gBAAgB,CAAC,EAAE,CAAC;QACrF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,wBAAwB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7E,CAAC;;AApGL,4DAqGC;AAvFG,gBAAgB;AACO,qCAAY,GAAG,gEAAgE,CAAC"}
|
|
@@ -3,38 +3,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
3
3
|
* This resource allows you to create and manage GitHub Actions variables within your GitHub repository environments.
|
|
4
4
|
* You must have write access to a repository to use this resource.
|
|
5
5
|
*
|
|
6
|
-
* ## Example Usage
|
|
7
|
-
*
|
|
8
|
-
* ```typescript
|
|
9
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
-
* import * as github from "@pulumi/github";
|
|
11
|
-
*
|
|
12
|
-
* const exampleVariable = new github.ActionsEnvironmentVariable("exampleVariable", {
|
|
13
|
-
* environment: "example_environment",
|
|
14
|
-
* value: "example_variable_value",
|
|
15
|
-
* variableName: "example_variable_name",
|
|
16
|
-
* });
|
|
17
|
-
* ```
|
|
18
|
-
*
|
|
19
|
-
* ```typescript
|
|
20
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
21
|
-
* import * as github from "@pulumi/github";
|
|
22
|
-
*
|
|
23
|
-
* const repo = github.getRepository({
|
|
24
|
-
* fullName: "my-org/repo",
|
|
25
|
-
* });
|
|
26
|
-
* const repoEnvironment = new github.RepositoryEnvironment("repoEnvironment", {
|
|
27
|
-
* repository: repo.then(repo => repo.name),
|
|
28
|
-
* environment: "example_environment",
|
|
29
|
-
* });
|
|
30
|
-
* const exampleVariable = new github.ActionsEnvironmentVariable("exampleVariable", {
|
|
31
|
-
* repository: repo.then(repo => repo.name),
|
|
32
|
-
* environment: repoEnvironment.environment,
|
|
33
|
-
* variableName: "example_variable_name",
|
|
34
|
-
* value: "example_variable_value",
|
|
35
|
-
* });
|
|
36
|
-
* ```
|
|
37
|
-
*
|
|
38
6
|
* ## Import
|
|
39
7
|
*
|
|
40
8
|
* This resource can be imported using an ID made up of the repository name, environment name, and variable name:
|
|
@@ -9,38 +9,6 @@ const utilities = require("./utilities");
|
|
|
9
9
|
* This resource allows you to create and manage GitHub Actions variables within your GitHub repository environments.
|
|
10
10
|
* You must have write access to a repository to use this resource.
|
|
11
11
|
*
|
|
12
|
-
* ## Example Usage
|
|
13
|
-
*
|
|
14
|
-
* ```typescript
|
|
15
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
16
|
-
* import * as github from "@pulumi/github";
|
|
17
|
-
*
|
|
18
|
-
* const exampleVariable = new github.ActionsEnvironmentVariable("exampleVariable", {
|
|
19
|
-
* environment: "example_environment",
|
|
20
|
-
* value: "example_variable_value",
|
|
21
|
-
* variableName: "example_variable_name",
|
|
22
|
-
* });
|
|
23
|
-
* ```
|
|
24
|
-
*
|
|
25
|
-
* ```typescript
|
|
26
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
27
|
-
* import * as github from "@pulumi/github";
|
|
28
|
-
*
|
|
29
|
-
* const repo = github.getRepository({
|
|
30
|
-
* fullName: "my-org/repo",
|
|
31
|
-
* });
|
|
32
|
-
* const repoEnvironment = new github.RepositoryEnvironment("repoEnvironment", {
|
|
33
|
-
* repository: repo.then(repo => repo.name),
|
|
34
|
-
* environment: "example_environment",
|
|
35
|
-
* });
|
|
36
|
-
* const exampleVariable = new github.ActionsEnvironmentVariable("exampleVariable", {
|
|
37
|
-
* repository: repo.then(repo => repo.name),
|
|
38
|
-
* environment: repoEnvironment.environment,
|
|
39
|
-
* variableName: "example_variable_name",
|
|
40
|
-
* value: "example_variable_value",
|
|
41
|
-
* });
|
|
42
|
-
* ```
|
|
43
|
-
*
|
|
44
12
|
* ## Import
|
|
45
13
|
*
|
|
46
14
|
* This resource can be imported using an ID made up of the repository name, environment name, and variable name:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actionsEnvironmentVariable.js","sourceRoot":"","sources":["../actionsEnvironmentVariable.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"actionsEnvironmentVariable.js","sourceRoot":"","sources":["../actionsEnvironmentVariable.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;GAWG;AACH,MAAa,0BAA2B,SAAQ,MAAM,CAAC,cAAc;IACjE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAuC,EAAE,IAAmC;QACrI,OAAO,IAAI,0BAA0B,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACjF,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,C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IAAI,CAAC,CAAC;IAC/E,CAAC;;AA/FL,gEAgGC;AAlFG,gBAAgB;AACO,uCAAY,GAAG,oEAAoE,CAAC"}
|
|
@@ -6,19 +6,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
6
6
|
* More information on integrating GitHub with cloud providers using OpenID Connect and a list of available claims is
|
|
7
7
|
* available in the [Actions documentation](https://docs.github.com/en/actions/deployment/security-hardening-your-deployments/about-security-hardening-with-openid-connect).
|
|
8
8
|
*
|
|
9
|
-
* ## Example Usage
|
|
10
|
-
*
|
|
11
|
-
* ```typescript
|
|
12
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
-
* import * as github from "@pulumi/github";
|
|
14
|
-
*
|
|
15
|
-
* const exampleTemplate = new github.ActionsOrganizationOidcSubjectClaimCustomizationTemplate("exampleTemplate", {includeClaimKeys: [
|
|
16
|
-
* "actor",
|
|
17
|
-
* "context",
|
|
18
|
-
* "repository_owner",
|
|
19
|
-
* ]});
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
9
|
* ## Import
|
|
23
10
|
*
|
|
24
11
|
* This resource can be imported using the organization's name.
|
|
@@ -12,19 +12,6 @@ const utilities = require("./utilities");
|
|
|
12
12
|
* More information on integrating GitHub with cloud providers using OpenID Connect and a list of available claims is
|
|
13
13
|
* available in the [Actions documentation](https://docs.github.com/en/actions/deployment/security-hardening-your-deployments/about-security-hardening-with-openid-connect).
|
|
14
14
|
*
|
|
15
|
-
* ## Example Usage
|
|
16
|
-
*
|
|
17
|
-
* ```typescript
|
|
18
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
19
|
-
* import * as github from "@pulumi/github";
|
|
20
|
-
*
|
|
21
|
-
* const exampleTemplate = new github.ActionsOrganizationOidcSubjectClaimCustomizationTemplate("exampleTemplate", {includeClaimKeys: [
|
|
22
|
-
* "actor",
|
|
23
|
-
* "context",
|
|
24
|
-
* "repository_owner",
|
|
25
|
-
* ]});
|
|
26
|
-
* ```
|
|
27
|
-
*
|
|
28
15
|
* ## Import
|
|
29
16
|
*
|
|
30
17
|
* This resource can be imported using the organization's name.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actionsOrganizationOidcSubjectClaimCustomizationTemplate.js","sourceRoot":"","sources":["../actionsOrganizationOidcSubjectClaimCustomizationTemplate.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"actionsOrganizationOidcSubjectClaimCustomizationTemplate.js","sourceRoot":"","sources":["../actionsOrganizationOidcSubjectClaimCustomizationTemplate.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;GAcG;AACH,MAAa,wDAAyD,SAAQ,MAAM,CAAC,cAAc;IAC/F;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqE,EAAE,IAAmC;QACnK,OAAO,IAAI,wDAAwD,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC/G,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,wDAAwD,CAAC,YAAY,CAAC;IACzG,CAAC;IAeD,YAAY,IAAY,EAAE,WAA0I,EAAE,IAAmC;QACrM,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAwF,CAAC;YACvG,cAAc,CAAC,kBAAkB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAAS,CAAC;SACnF;aAAM;YACH,MAAM,IAAI,GAAG,WAAuF,CAAC;YACrG,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,gBAAgB,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC7D,MAAM,IAAI,KAAK,CAAC,8CAA8C,CAAC,CAAC;aACnE;YACD,cAAc,CAAC,kBAAkB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAAS,CAAC;SACjF;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,wDAAwD,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7G,CAAC;;AAxDL,4HAyDC;AA3CG,gBAAgB;AACO,qEAAY,GAAG,gIAAgI,CAAC"}
|
|
@@ -5,30 +5,6 @@ import * as outputs from "./types/output";
|
|
|
5
5
|
* This resource allows you to create and manage GitHub Actions permissions within your GitHub enterprise organizations.
|
|
6
6
|
* You must have admin access to an organization to use this resource.
|
|
7
7
|
*
|
|
8
|
-
* ## Example Usage
|
|
9
|
-
*
|
|
10
|
-
* ```typescript
|
|
11
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
12
|
-
* import * as github from "@pulumi/github";
|
|
13
|
-
*
|
|
14
|
-
* const example = new github.Repository("example", {});
|
|
15
|
-
* const test = new github.ActionsOrganizationPermissions("test", {
|
|
16
|
-
* allowedActions: "selected",
|
|
17
|
-
* enabledRepositories: "selected",
|
|
18
|
-
* allowedActionsConfig: {
|
|
19
|
-
* githubOwnedAllowed: true,
|
|
20
|
-
* patternsAlloweds: [
|
|
21
|
-
* "actions/cache@*",
|
|
22
|
-
* "actions/checkout@*",
|
|
23
|
-
* ],
|
|
24
|
-
* verifiedAllowed: true,
|
|
25
|
-
* },
|
|
26
|
-
* enabledRepositoriesConfig: {
|
|
27
|
-
* repositoryIds: [example.repoId],
|
|
28
|
-
* },
|
|
29
|
-
* });
|
|
30
|
-
* ```
|
|
31
|
-
*
|
|
32
8
|
* ## Import
|
|
33
9
|
*
|
|
34
10
|
* This resource can be imported using the ID of the GitHub organization:
|
|
@@ -9,30 +9,6 @@ const utilities = require("./utilities");
|
|
|
9
9
|
* This resource allows you to create and manage GitHub Actions permissions within your GitHub enterprise organizations.
|
|
10
10
|
* You must have admin access to an organization to use this resource.
|
|
11
11
|
*
|
|
12
|
-
* ## Example Usage
|
|
13
|
-
*
|
|
14
|
-
* ```typescript
|
|
15
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
16
|
-
* import * as github from "@pulumi/github";
|
|
17
|
-
*
|
|
18
|
-
* const example = new github.Repository("example", {});
|
|
19
|
-
* const test = new github.ActionsOrganizationPermissions("test", {
|
|
20
|
-
* allowedActions: "selected",
|
|
21
|
-
* enabledRepositories: "selected",
|
|
22
|
-
* allowedActionsConfig: {
|
|
23
|
-
* githubOwnedAllowed: true,
|
|
24
|
-
* patternsAlloweds: [
|
|
25
|
-
* "actions/cache@*",
|
|
26
|
-
* "actions/checkout@*",
|
|
27
|
-
* ],
|
|
28
|
-
* verifiedAllowed: true,
|
|
29
|
-
* },
|
|
30
|
-
* enabledRepositoriesConfig: {
|
|
31
|
-
* repositoryIds: [example.repoId],
|
|
32
|
-
* },
|
|
33
|
-
* });
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
12
|
* ## Import
|
|
37
13
|
*
|
|
38
14
|
* This resource can be imported using the ID of the GitHub organization:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actionsOrganizationPermissions.js","sourceRoot":"","sources":["../actionsOrganizationPermissions.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
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CAAC,CAAC,CAAC,KAAK,CAAC,yBAAyB,CAAC,CAAC,CAAC,SAAS,CAAC;SACrG;aAAM;YACH,MAAM,IAAI,GAAG,WAA6D,CAAC;YAC3E,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,mBAAmB,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAChE,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;aACtE;YACD,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1E,cAAc,CAAC,sBAAsB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,oBAAoB,CAAC,CAAC,CAAC,SAAS,CAAC;YACtF,cAAc,CAAC,qBAAqB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,CAAC,SAAS,CAAC;YACpF,cAAc,CAAC,2BAA2B,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,yBAAyB,CAAC,CAAC,CAAC,SAAS,CAAC;SACnG;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,8BAA8B,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACnF,CAAC;;AA1EL,wEA2EC;AA7DG,gBAAgB;AACO,2CAAY,GAAG,4EAA4E,CAAC"}
|
|
@@ -1,44 +1,5 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
* ## Example Usage
|
|
4
|
-
*
|
|
5
|
-
* ```typescript
|
|
6
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
7
|
-
* import * as github from "@pulumi/github";
|
|
8
|
-
*
|
|
9
|
-
* const exampleSecretActionsOrganizationSecret = new github.ActionsOrganizationSecret("exampleSecretActionsOrganizationSecret", {
|
|
10
|
-
* secretName: "example_secret_name",
|
|
11
|
-
* visibility: "private",
|
|
12
|
-
* plaintextValue: _var.some_secret_string,
|
|
13
|
-
* });
|
|
14
|
-
* const exampleSecretIndex_actionsOrganizationSecretActionsOrganizationSecret = new github.ActionsOrganizationSecret("exampleSecretIndex/actionsOrganizationSecretActionsOrganizationSecret", {
|
|
15
|
-
* secretName: "example_secret_name",
|
|
16
|
-
* visibility: "private",
|
|
17
|
-
* encryptedValue: _var.some_encrypted_secret_string,
|
|
18
|
-
* });
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* ```typescript
|
|
22
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
23
|
-
* import * as github from "@pulumi/github";
|
|
24
|
-
*
|
|
25
|
-
* const repo = github.getRepository({
|
|
26
|
-
* fullName: "my-org/repo",
|
|
27
|
-
* });
|
|
28
|
-
* const exampleSecretActionsOrganizationSecret = new github.ActionsOrganizationSecret("exampleSecretActionsOrganizationSecret", {
|
|
29
|
-
* secretName: "example_secret_name",
|
|
30
|
-
* visibility: "selected",
|
|
31
|
-
* plaintextValue: _var.some_secret_string,
|
|
32
|
-
* selectedRepositoryIds: [repo.then(repo => repo.repoId)],
|
|
33
|
-
* });
|
|
34
|
-
* const exampleSecretIndex_actionsOrganizationSecretActionsOrganizationSecret = new github.ActionsOrganizationSecret("exampleSecretIndex/actionsOrganizationSecretActionsOrganizationSecret", {
|
|
35
|
-
* secretName: "example_secret_name",
|
|
36
|
-
* visibility: "selected",
|
|
37
|
-
* encryptedValue: _var.some_encrypted_secret_string,
|
|
38
|
-
* selectedRepositoryIds: [repo.then(repo => repo.repoId)],
|
|
39
|
-
* });
|
|
40
|
-
* ```
|
|
41
|
-
*
|
|
42
3
|
* ## Import
|
|
43
4
|
*
|
|
44
5
|
* This resource can be imported using an ID made up of the secret name:
|
|
@@ -6,45 +6,6 @@ exports.ActionsOrganizationSecret = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* ## Example Usage
|
|
10
|
-
*
|
|
11
|
-
* ```typescript
|
|
12
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
-
* import * as github from "@pulumi/github";
|
|
14
|
-
*
|
|
15
|
-
* const exampleSecretActionsOrganizationSecret = new github.ActionsOrganizationSecret("exampleSecretActionsOrganizationSecret", {
|
|
16
|
-
* secretName: "example_secret_name",
|
|
17
|
-
* visibility: "private",
|
|
18
|
-
* plaintextValue: _var.some_secret_string,
|
|
19
|
-
* });
|
|
20
|
-
* const exampleSecretIndex_actionsOrganizationSecretActionsOrganizationSecret = new github.ActionsOrganizationSecret("exampleSecretIndex/actionsOrganizationSecretActionsOrganizationSecret", {
|
|
21
|
-
* secretName: "example_secret_name",
|
|
22
|
-
* visibility: "private",
|
|
23
|
-
* encryptedValue: _var.some_encrypted_secret_string,
|
|
24
|
-
* });
|
|
25
|
-
* ```
|
|
26
|
-
*
|
|
27
|
-
* ```typescript
|
|
28
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
29
|
-
* import * as github from "@pulumi/github";
|
|
30
|
-
*
|
|
31
|
-
* const repo = github.getRepository({
|
|
32
|
-
* fullName: "my-org/repo",
|
|
33
|
-
* });
|
|
34
|
-
* const exampleSecretActionsOrganizationSecret = new github.ActionsOrganizationSecret("exampleSecretActionsOrganizationSecret", {
|
|
35
|
-
* secretName: "example_secret_name",
|
|
36
|
-
* visibility: "selected",
|
|
37
|
-
* plaintextValue: _var.some_secret_string,
|
|
38
|
-
* selectedRepositoryIds: [repo.then(repo => repo.repoId)],
|
|
39
|
-
* });
|
|
40
|
-
* const exampleSecretIndex_actionsOrganizationSecretActionsOrganizationSecret = new github.ActionsOrganizationSecret("exampleSecretIndex/actionsOrganizationSecretActionsOrganizationSecret", {
|
|
41
|
-
* secretName: "example_secret_name",
|
|
42
|
-
* visibility: "selected",
|
|
43
|
-
* encryptedValue: _var.some_encrypted_secret_string,
|
|
44
|
-
* selectedRepositoryIds: [repo.then(repo => repo.repoId)],
|
|
45
|
-
* });
|
|
46
|
-
* ```
|
|
47
|
-
*
|
|
48
9
|
* ## Import
|
|
49
10
|
*
|
|
50
11
|
* This resource can be imported using an ID made up of the secret name:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actionsOrganizationSecret.js","sourceRoot":"","sources":["../actionsOrganizationSecret.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"actionsOrganizationSecret.js","sourceRoot":"","sources":["../actionsOrganizationSecret.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;GASG;AACH,MAAa,yBAA0B,SAAQ,MAAM,CAAC,cAAc;IAChE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAsC,EAAE,IAAmC;QACpI,OAAO,IAAI,yBAAyB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAChF,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,yBAAyB,CAAC,YAAY,CAAC;IAC1E,CAAC;IAwCD,YAAY,IAAY,EAAE,WAA4E,EAAE,IAAmC;QACvI,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,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umi from "@pulumi/pulumi";
|
|
|
5
5
|
*
|
|
6
6
|
* This resource is only applicable when `visibility` of the existing organization secret has been set to `selected`.
|
|
7
7
|
*
|
|
8
|
-
* ## Example Usage
|
|
9
|
-
*
|
|
10
|
-
* ```typescript
|
|
11
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
12
|
-
* import * as github from "@pulumi/github";
|
|
13
|
-
*
|
|
14
|
-
* const repo = github.getRepository({
|
|
15
|
-
* fullName: "my-org/repo",
|
|
16
|
-
* });
|
|
17
|
-
* const orgSecretRepos = new github.ActionsOrganizationSecretRepositories("orgSecretRepos", {
|
|
18
|
-
* secretName: "existing_secret_name",
|
|
19
|
-
* selectedRepositoryIds: [repo.then(repo => repo.repoId)],
|
|
20
|
-
* });
|
|
21
|
-
* ```
|
|
22
|
-
*
|
|
23
8
|
* ## Import
|
|
24
9
|
*
|
|
25
10
|
* This resource can be imported using an ID made up of the secret name:
|
|
@@ -11,21 +11,6 @@ const utilities = require("./utilities");
|
|
|
11
11
|
*
|
|
12
12
|
* This resource is only applicable when `visibility` of the existing organization secret has been set to `selected`.
|
|
13
13
|
*
|
|
14
|
-
* ## Example Usage
|
|
15
|
-
*
|
|
16
|
-
* ```typescript
|
|
17
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
18
|
-
* import * as github from "@pulumi/github";
|
|
19
|
-
*
|
|
20
|
-
* const repo = github.getRepository({
|
|
21
|
-
* fullName: "my-org/repo",
|
|
22
|
-
* });
|
|
23
|
-
* const orgSecretRepos = new github.ActionsOrganizationSecretRepositories("orgSecretRepos", {
|
|
24
|
-
* secretName: "existing_secret_name",
|
|
25
|
-
* selectedRepositoryIds: [repo.then(repo => repo.repoId)],
|
|
26
|
-
* });
|
|
27
|
-
* ```
|
|
28
|
-
*
|
|
29
14
|
* ## Import
|
|
30
15
|
*
|
|
31
16
|
* This resource can be imported using an ID made up of the secret name:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actionsOrganizationSecretRepositories.js","sourceRoot":"","sources":["../actionsOrganizationSecretRepositories.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"actionsOrganizationSecretRepositories.js","sourceRoot":"","sources":["../actionsOrganizationSecretRepositories.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;GAaG;AACH,MAAa,qCAAsC,SAAQ,MAAM,CAAC,cAAc;IAC5E;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAkD,EAAE,IAAmC;QAChJ,OAAO,IAAI,qCAAqC,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC5F,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,qCAAqC,CAAC,YAAY,CAAC;IACtF,CAAC;IAmBD,YAAY,IAAY,EAAE,WAAoG,EAAE,IAAmC;QAC/J,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAqE,CAAC;YACpF,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,uBAAuB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAAC,CAAC,SAAS,CAAC;SAC7F;aAAM;YACH,MAAM,IAAI,GAAG,WAAoE,CAAC;YAClF,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,UAAU,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACvD,MAAM,IAAI,KAAK,CAAC,wCAAwC,CAAC,CAAC;aAC7D;YACD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,qBAAqB,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAClE,MAAM,IAAI,KAAK,CAAC,mDAAmD,CAAC,CAAC;aACxE;YACD,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,uBAAuB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,qBAAqB,CAAC,CAAC,CAAC,SAAS,CAAC;SAC3F;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,qCAAqC,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC1F,CAAC;;AAjEL,sFAkEC;AApDG,gBAAgB;AACO,kDAAY,GAAG,0FAA0F,CAAC"}
|
|
@@ -3,34 +3,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
3
3
|
* This resource allows you to create and manage GitHub Actions variables within your GitHub organization.
|
|
4
4
|
* You must have write access to a repository to use this resource.
|
|
5
5
|
*
|
|
6
|
-
* ## Example Usage
|
|
7
|
-
*
|
|
8
|
-
* ```typescript
|
|
9
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
-
* import * as github from "@pulumi/github";
|
|
11
|
-
*
|
|
12
|
-
* const exampleVariable = new github.ActionsOrganizationVariable("exampleVariable", {
|
|
13
|
-
* value: "example_variable_value",
|
|
14
|
-
* variableName: "example_variable_name",
|
|
15
|
-
* visibility: "private",
|
|
16
|
-
* });
|
|
17
|
-
* ```
|
|
18
|
-
*
|
|
19
|
-
* ```typescript
|
|
20
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
21
|
-
* import * as github from "@pulumi/github";
|
|
22
|
-
*
|
|
23
|
-
* const repo = github.getRepository({
|
|
24
|
-
* fullName: "my-org/repo",
|
|
25
|
-
* });
|
|
26
|
-
* const exampleVariable = new github.ActionsOrganizationVariable("exampleVariable", {
|
|
27
|
-
* variableName: "example_variable_name",
|
|
28
|
-
* visibility: "selected",
|
|
29
|
-
* value: "example_variable_value",
|
|
30
|
-
* selectedRepositoryIds: [repo.then(repo => repo.repoId)],
|
|
31
|
-
* });
|
|
32
|
-
* ```
|
|
33
|
-
*
|
|
34
6
|
* ## Import
|
|
35
7
|
*
|
|
36
8
|
* This resource can be imported using an ID made up of the variable name:
|
|
@@ -9,34 +9,6 @@ const utilities = require("./utilities");
|
|
|
9
9
|
* This resource allows you to create and manage GitHub Actions variables within your GitHub organization.
|
|
10
10
|
* You must have write access to a repository to use this resource.
|
|
11
11
|
*
|
|
12
|
-
* ## Example Usage
|
|
13
|
-
*
|
|
14
|
-
* ```typescript
|
|
15
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
16
|
-
* import * as github from "@pulumi/github";
|
|
17
|
-
*
|
|
18
|
-
* const exampleVariable = new github.ActionsOrganizationVariable("exampleVariable", {
|
|
19
|
-
* value: "example_variable_value",
|
|
20
|
-
* variableName: "example_variable_name",
|
|
21
|
-
* visibility: "private",
|
|
22
|
-
* });
|
|
23
|
-
* ```
|
|
24
|
-
*
|
|
25
|
-
* ```typescript
|
|
26
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
27
|
-
* import * as github from "@pulumi/github";
|
|
28
|
-
*
|
|
29
|
-
* const repo = github.getRepository({
|
|
30
|
-
* fullName: "my-org/repo",
|
|
31
|
-
* });
|
|
32
|
-
* const exampleVariable = new github.ActionsOrganizationVariable("exampleVariable", {
|
|
33
|
-
* variableName: "example_variable_name",
|
|
34
|
-
* visibility: "selected",
|
|
35
|
-
* value: "example_variable_value",
|
|
36
|
-
* selectedRepositoryIds: [repo.then(repo => repo.repoId)],
|
|
37
|
-
* });
|
|
38
|
-
* ```
|
|
39
|
-
*
|
|
40
12
|
* ## Import
|
|
41
13
|
*
|
|
42
14
|
* This resource can be imported using an ID made up of the variable name:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actionsOrganizationVariable.js","sourceRoot":"","sources":["../actionsOrganizationVariable.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"actionsOrganizationVariable.js","sourceRoot":"","sources":["../actionsOrganizationVariable.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;GAWG;AACH,MAAa,2BAA4B,SAAQ,MAAM,CAAC,cAAc;IAClE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwC,EAAE,IAAmC;QACtI,OAAO,IAAI,2BAA2B,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAClF,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,2BAA2B,CAAC,YAAY,CAAC;IAC5E,CAAC;IAoCD,YAAY,IAAY,EAAE,WAAgF,EAAE,IAAmC;QAC3I,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI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CAAC,wCAAwC,CAAC,CAAC;aAC7D;YACD,cAAc,CAAC,uBAAuB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,qBAAqB,CAAC,CAAC,CAAC,SAAS,CAAC;YACxF,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACnD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,2BAA2B,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChF,CAAC;;AA7FL,kEA8FC;AAhFG,gBAAgB;AACO,wCAAY,GAAG,sEAAsE,CAAC"}
|
|
@@ -3,19 +3,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
3
3
|
* This resource allows you to set the access level of a non-public repositories actions and reusable workflows for use in other repositories.
|
|
4
4
|
* You must have admin access to a repository to use this resource.
|
|
5
5
|
*
|
|
6
|
-
* ## Example Usage
|
|
7
|
-
*
|
|
8
|
-
* ```typescript
|
|
9
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
-
* import * as github from "@pulumi/github";
|
|
11
|
-
*
|
|
12
|
-
* const example = new github.Repository("example", {visibility: "private"});
|
|
13
|
-
* const test = new github.ActionsRepositoryAccessLevel("test", {
|
|
14
|
-
* accessLevel: "user",
|
|
15
|
-
* repository: example.name,
|
|
16
|
-
* });
|
|
17
|
-
* ```
|
|
18
|
-
*
|
|
19
6
|
* ## Import
|
|
20
7
|
*
|
|
21
8
|
* This resource can be imported using the name of the GitHub repository:
|
|
@@ -9,19 +9,6 @@ const utilities = require("./utilities");
|
|
|
9
9
|
* This resource allows you to set the access level of a non-public repositories actions and reusable workflows for use in other repositories.
|
|
10
10
|
* You must have admin access to a repository to use this resource.
|
|
11
11
|
*
|
|
12
|
-
* ## Example Usage
|
|
13
|
-
*
|
|
14
|
-
* ```typescript
|
|
15
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
16
|
-
* import * as github from "@pulumi/github";
|
|
17
|
-
*
|
|
18
|
-
* const example = new github.Repository("example", {visibility: "private"});
|
|
19
|
-
* const test = new github.ActionsRepositoryAccessLevel("test", {
|
|
20
|
-
* accessLevel: "user",
|
|
21
|
-
* repository: example.name,
|
|
22
|
-
* });
|
|
23
|
-
* ```
|
|
24
|
-
*
|
|
25
12
|
* ## Import
|
|
26
13
|
*
|
|
27
14
|
* This resource can be imported using the name of the GitHub repository:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actionsRepositoryAccessLevel.js","sourceRoot":"","sources":["../actionsRepositoryAccessLevel.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"actionsRepositoryAccessLevel.js","sourceRoot":"","sources":["../actionsRepositoryAccessLevel.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;GAWG;AACH,MAAa,4BAA6B,SAAQ,MAAM,CAAC,cAAc;IACnE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyC,EAAE,IAAmC;QACvI,OA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