@pulumi/github 6.15.0-alpha.1786702465 → 6.15.0
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 +49 -11
- package/actionsEnvironmentSecret.d.ts.map +1 -1
- package/actionsEnvironmentSecret.js +49 -11
- package/actionsEnvironmentSecret.js.map +1 -1
- package/actionsEnvironmentVariable.d.ts +5 -2
- package/actionsEnvironmentVariable.d.ts.map +1 -1
- package/actionsEnvironmentVariable.js +5 -2
- package/actionsEnvironmentVariable.js.map +1 -1
- package/actionsHostedRunner.d.ts +8 -9
- package/actionsHostedRunner.d.ts.map +1 -1
- package/actionsHostedRunner.js +8 -9
- package/actionsHostedRunner.js.map +1 -1
- package/actionsOrganizationOidcSubjectClaimCustomizationTemplate.d.ts +2 -4
- package/actionsOrganizationOidcSubjectClaimCustomizationTemplate.d.ts.map +1 -1
- package/actionsOrganizationOidcSubjectClaimCustomizationTemplate.js +2 -4
- package/actionsOrganizationOidcSubjectClaimCustomizationTemplate.js.map +1 -1
- package/actionsOrganizationPermissions.d.ts +1 -2
- package/actionsOrganizationPermissions.d.ts.map +1 -1
- package/actionsOrganizationPermissions.js +1 -2
- package/actionsOrganizationPermissions.js.map +1 -1
- package/actionsOrganizationSecret.d.ts +12 -14
- package/actionsOrganizationSecret.d.ts.map +1 -1
- package/actionsOrganizationSecret.js +12 -14
- package/actionsOrganizationSecret.js.map +1 -1
- package/actionsOrganizationSecretRepositories.d.ts +6 -3
- package/actionsOrganizationSecretRepositories.d.ts.map +1 -1
- package/actionsOrganizationSecretRepositories.js +6 -3
- package/actionsOrganizationSecretRepositories.js.map +1 -1
- package/actionsOrganizationSecretRepository.d.ts +6 -3
- package/actionsOrganizationSecretRepository.d.ts.map +1 -1
- package/actionsOrganizationSecretRepository.js +6 -3
- package/actionsOrganizationSecretRepository.js.map +1 -1
- package/actionsOrganizationVariable.d.ts +5 -2
- package/actionsOrganizationVariable.d.ts.map +1 -1
- package/actionsOrganizationVariable.js +5 -2
- package/actionsOrganizationVariable.js.map +1 -1
- package/actionsOrganizationVariableRepositories.d.ts +6 -3
- package/actionsOrganizationVariableRepositories.d.ts.map +1 -1
- package/actionsOrganizationVariableRepositories.js +6 -3
- package/actionsOrganizationVariableRepositories.js.map +1 -1
- package/actionsOrganizationVariableRepository.d.ts +6 -3
- package/actionsOrganizationVariableRepository.d.ts.map +1 -1
- package/actionsOrganizationVariableRepository.js +6 -3
- package/actionsOrganizationVariableRepository.js.map +1 -1
- package/actionsOrganizationWorkflowPermissions.d.ts +2 -2
- package/actionsOrganizationWorkflowPermissions.js +2 -2
- package/actionsRepositoryAccessLevel.d.ts +1 -2
- package/actionsRepositoryAccessLevel.d.ts.map +1 -1
- package/actionsRepositoryAccessLevel.js +1 -2
- package/actionsRepositoryAccessLevel.js.map +1 -1
- package/actionsRepositoryOidcSubjectClaimCustomizationTemplate.d.ts +5 -10
- package/actionsRepositoryOidcSubjectClaimCustomizationTemplate.d.ts.map +1 -1
- package/actionsRepositoryOidcSubjectClaimCustomizationTemplate.js +2 -4
- package/actionsRepositoryOidcSubjectClaimCustomizationTemplate.js.map +1 -1
- package/actionsRepositoryPermissions.d.ts +1 -2
- package/actionsRepositoryPermissions.d.ts.map +1 -1
- package/actionsRepositoryPermissions.js +1 -2
- package/actionsRepositoryPermissions.js.map +1 -1
- package/actionsRunnerGroup.d.ts +1 -2
- package/actionsRunnerGroup.d.ts.map +1 -1
- package/actionsRunnerGroup.js +1 -2
- package/actionsRunnerGroup.js.map +1 -1
- package/actionsSecret.d.ts +10 -12
- package/actionsSecret.d.ts.map +1 -1
- package/actionsSecret.js +10 -12
- package/actionsSecret.js.map +1 -1
- package/actionsVariable.d.ts +5 -2
- package/actionsVariable.d.ts.map +1 -1
- package/actionsVariable.js +5 -2
- package/actionsVariable.js.map +1 -1
- package/appInstallationRepositories.d.ts +21 -8
- package/appInstallationRepositories.d.ts.map +1 -1
- package/appInstallationRepositories.js +21 -8
- package/appInstallationRepositories.js.map +1 -1
- package/appInstallationRepository.d.ts +3 -8
- package/appInstallationRepository.d.ts.map +1 -1
- package/appInstallationRepository.js +3 -8
- package/appInstallationRepository.js.map +1 -1
- package/branch.d.ts +2 -4
- package/branch.d.ts.map +1 -1
- package/branch.js +2 -4
- package/branch.js.map +1 -1
- package/branchDefault.d.ts +43 -18
- package/branchDefault.d.ts.map +1 -1
- package/branchDefault.js +9 -9
- package/branchDefault.js.map +1 -1
- package/codespacesOrganizationSecret.d.ts +6 -26
- package/codespacesOrganizationSecret.d.ts.map +1 -1
- package/codespacesOrganizationSecret.js +3 -20
- package/codespacesOrganizationSecret.js.map +1 -1
- package/codespacesSecret.d.ts +4 -11
- package/codespacesSecret.d.ts.map +1 -1
- package/codespacesSecret.js +4 -11
- package/codespacesSecret.js.map +1 -1
- package/codespacesUserSecret.d.ts +3 -20
- package/codespacesUserSecret.d.ts.map +1 -1
- package/codespacesUserSecret.js +3 -20
- package/codespacesUserSecret.js.map +1 -1
- package/config/vars.d.ts +21 -13
- package/config/vars.d.ts.map +1 -1
- package/config/vars.js +12 -0
- package/config/vars.js.map +1 -1
- package/dependabotOrganizationSecret.d.ts +32 -13
- package/dependabotOrganizationSecret.d.ts.map +1 -1
- package/dependabotOrganizationSecret.js +32 -13
- package/dependabotOrganizationSecret.js.map +1 -1
- package/dependabotOrganizationSecretRepositories.d.ts +6 -3
- package/dependabotOrganizationSecretRepositories.d.ts.map +1 -1
- package/dependabotOrganizationSecretRepositories.js +6 -3
- package/dependabotOrganizationSecretRepositories.js.map +1 -1
- package/dependabotOrganizationSecretRepository.d.ts +6 -3
- package/dependabotOrganizationSecretRepository.d.ts.map +1 -1
- package/dependabotOrganizationSecretRepository.js +6 -3
- package/dependabotOrganizationSecretRepository.js.map +1 -1
- package/dependabotSecret.d.ts +10 -12
- package/dependabotSecret.d.ts.map +1 -1
- package/dependabotSecret.js +10 -12
- package/dependabotSecret.js.map +1 -1
- package/enterpriseActionsPermissions.d.ts +1 -2
- package/enterpriseActionsPermissions.d.ts.map +1 -1
- package/enterpriseActionsPermissions.js +1 -2
- package/enterpriseActionsPermissions.js.map +1 -1
- package/enterpriseActionsRunnerGroup.d.ts +1 -2
- package/enterpriseActionsRunnerGroup.d.ts.map +1 -1
- package/enterpriseActionsRunnerGroup.js +1 -2
- package/enterpriseActionsRunnerGroup.js.map +1 -1
- package/enterpriseActionsWorkflowPermissions.d.ts +1 -8
- package/enterpriseActionsWorkflowPermissions.d.ts.map +1 -1
- package/enterpriseActionsWorkflowPermissions.js +1 -8
- package/enterpriseActionsWorkflowPermissions.js.map +1 -1
- package/enterpriseSecurityAnalysisSettings.d.ts +0 -8
- package/enterpriseSecurityAnalysisSettings.d.ts.map +1 -1
- package/enterpriseSecurityAnalysisSettings.js +0 -8
- package/enterpriseSecurityAnalysisSettings.js.map +1 -1
- package/getActionsEnvironmentPublicKey.d.ts +2 -4
- package/getActionsEnvironmentPublicKey.d.ts.map +1 -1
- package/getActionsEnvironmentPublicKey.js +2 -4
- package/getActionsEnvironmentPublicKey.js.map +1 -1
- package/getActionsOrganizationPublicKey.d.ts +2 -4
- package/getActionsOrganizationPublicKey.d.ts.map +1 -1
- package/getActionsOrganizationPublicKey.js +2 -4
- package/getActionsOrganizationPublicKey.js.map +1 -1
- package/getActionsPublicKey.d.ts +2 -4
- package/getActionsPublicKey.d.ts.map +1 -1
- package/getActionsPublicKey.js +2 -4
- package/getActionsPublicKey.js.map +1 -1
- package/getAppToken.d.ts +10 -10
- package/getAppToken.js +10 -10
- package/getCodespacesOrganizationPublicKey.d.ts +2 -4
- package/getCodespacesOrganizationPublicKey.d.ts.map +1 -1
- package/getCodespacesOrganizationPublicKey.js +2 -4
- package/getCodespacesOrganizationPublicKey.js.map +1 -1
- package/getCodespacesPublicKey.d.ts +2 -4
- package/getCodespacesPublicKey.d.ts.map +1 -1
- package/getCodespacesPublicKey.js +2 -4
- package/getCodespacesPublicKey.js.map +1 -1
- package/getCodespacesUserPublicKey.d.ts +2 -4
- package/getCodespacesUserPublicKey.d.ts.map +1 -1
- package/getCodespacesUserPublicKey.js +2 -4
- package/getCodespacesUserPublicKey.js.map +1 -1
- package/getCollaborators.d.ts +5 -5
- package/getDependabotOrganizationPublicKey.d.ts +2 -4
- package/getDependabotOrganizationPublicKey.d.ts.map +1 -1
- package/getDependabotOrganizationPublicKey.js +2 -4
- package/getDependabotOrganizationPublicKey.js.map +1 -1
- package/getDependabotPublicKey.d.ts +2 -4
- package/getDependabotPublicKey.d.ts.map +1 -1
- package/getDependabotPublicKey.js +2 -4
- package/getDependabotPublicKey.js.map +1 -1
- package/getGithubApp.d.ts +6 -3
- package/getGithubApp.d.ts.map +1 -1
- package/getGithubApp.js +2 -2
- package/getGithubApp.js.map +1 -1
- package/getMembership.d.ts +3 -9
- package/getMembership.d.ts.map +1 -1
- package/getMembership.js +2 -8
- package/getMembership.js.map +1 -1
- package/getOrganizationExternalIdentities.d.ts +2 -4
- package/getOrganizationExternalIdentities.d.ts.map +1 -1
- package/getOrganizationExternalIdentities.js +2 -4
- package/getOrganizationExternalIdentities.js.map +1 -1
- package/getOrganizationIpAllowList.d.ts +2 -7
- package/getOrganizationIpAllowList.d.ts.map +1 -1
- package/getOrganizationIpAllowList.js +2 -6
- package/getOrganizationIpAllowList.js.map +1 -1
- package/getOrganizationSecurityManagers.d.ts +1 -1
- package/getOrganizationTeamSyncGroups.d.ts +1 -1
- package/getOrganizationTeams.d.ts +3 -3
- package/getOrganizationTeams.js +2 -2
- package/getOrganizationWebhooks.d.ts +3 -4
- package/getOrganizationWebhooks.d.ts.map +1 -1
- package/getOrganizationWebhooks.js +2 -2
- package/getOrganizationWebhooks.js.map +1 -1
- package/getReleaseAsset.d.ts +2 -4
- package/getReleaseAsset.d.ts.map +1 -1
- package/getReleaseAsset.js +2 -4
- package/getReleaseAsset.js.map +1 -1
- package/getRepositories.d.ts +2 -4
- package/getRepositories.d.ts.map +1 -1
- package/getRepositories.js +2 -4
- package/getRepositories.js.map +1 -1
- package/getRepositoryDeploymentBranchPolicies.d.ts +2 -2
- package/getRepositoryEnvironments.d.ts +4 -0
- package/getRepositoryEnvironments.d.ts.map +1 -1
- package/getRepositoryEnvironments.js +4 -0
- package/getRepositoryEnvironments.js.map +1 -1
- package/getRepositoryFile.d.ts +2 -4
- package/getRepositoryFile.d.ts.map +1 -1
- package/getRepositoryFile.js +2 -4
- package/getRepositoryFile.js.map +1 -1
- package/getRepositoryWebhooks.d.ts +1 -2
- package/getRepositoryWebhooks.d.ts.map +1 -1
- package/getRepositoryWebhooks.js.map +1 -1
- package/getTeam.d.ts +4 -4
- package/getUserExternalIdentity.d.ts +4 -8
- package/getUserExternalIdentity.d.ts.map +1 -1
- package/getUserExternalIdentity.js +2 -4
- package/getUserExternalIdentity.js.map +1 -1
- package/issue.d.ts +3 -4
- package/issue.d.ts.map +1 -1
- package/issue.js +3 -4
- package/issue.js.map +1 -1
- package/issueLabel.d.ts +4 -9
- package/issueLabel.d.ts.map +1 -1
- package/issueLabel.js +4 -9
- package/issueLabel.js.map +1 -1
- package/issueLabels.d.ts +1 -2
- package/issueLabels.d.ts.map +1 -1
- package/issueLabels.js +1 -2
- package/issueLabels.js.map +1 -1
- package/membership.d.ts +7 -24
- package/membership.d.ts.map +1 -1
- package/membership.js +1 -3
- package/membership.js.map +1 -1
- package/organizationCustomProperties.d.ts +0 -8
- package/organizationCustomProperties.d.ts.map +1 -1
- package/organizationCustomProperties.js +0 -8
- package/organizationCustomProperties.js.map +1 -1
- package/organizationCustomRole.d.ts +1 -2
- package/organizationCustomRole.d.ts.map +1 -1
- package/organizationCustomRole.js +1 -2
- package/organizationCustomRole.js.map +1 -1
- package/organizationRoleTeamAssignment.d.ts +6 -4
- package/organizationRoleTeamAssignment.d.ts.map +1 -1
- package/organizationRoleTeamAssignment.js +6 -4
- package/organizationRoleTeamAssignment.js.map +1 -1
- package/organizationRuleset.d.ts +0 -38
- package/organizationRuleset.d.ts.map +1 -1
- package/organizationRuleset.js +0 -38
- package/organizationRuleset.js.map +1 -1
- package/organizationSecurityManager.d.ts +4 -0
- package/organizationSecurityManager.d.ts.map +1 -1
- package/organizationSecurityManager.js +4 -0
- package/organizationSecurityManager.js.map +1 -1
- package/organizationSettings.d.ts +1 -2
- package/organizationSettings.d.ts.map +1 -1
- package/organizationSettings.js +1 -2
- package/organizationSettings.js.map +1 -1
- package/organizationWebhook.d.ts +1 -2
- package/organizationWebhook.d.ts.map +1 -1
- package/organizationWebhook.js +1 -2
- package/organizationWebhook.js.map +1 -1
- package/package.json +2 -2
- package/projectCard.d.ts +3 -6
- package/projectCard.d.ts.map +1 -1
- package/projectCard.js.map +1 -1
- package/provider.d.ts +33 -19
- package/provider.d.ts.map +1 -1
- package/provider.js +2 -0
- package/provider.js.map +1 -1
- package/release.d.ts +1 -2
- package/release.d.ts.map +1 -1
- package/release.js +1 -2
- package/release.js.map +1 -1
- package/repository.d.ts +13 -29
- package/repository.d.ts.map +1 -1
- package/repository.js +1 -2
- package/repository.js.map +1 -1
- package/repositoryCollaborator.d.ts +15 -30
- package/repositoryCollaborator.d.ts.map +1 -1
- package/repositoryCollaborator.js +4 -13
- package/repositoryCollaborator.js.map +1 -1
- package/repositoryCollaborators.d.ts +51 -32
- package/repositoryCollaborators.d.ts.map +1 -1
- package/repositoryCollaborators.js +31 -16
- package/repositoryCollaborators.js.map +1 -1
- package/repositoryCustomProperty.d.ts +26 -18
- package/repositoryCustomProperty.d.ts.map +1 -1
- package/repositoryCustomProperty.js +8 -6
- package/repositoryCustomProperty.js.map +1 -1
- package/repositoryDependabotSecurityUpdates.d.ts +1 -3
- package/repositoryDependabotSecurityUpdates.d.ts.map +1 -1
- package/repositoryDependabotSecurityUpdates.js +1 -3
- package/repositoryDependabotSecurityUpdates.js.map +1 -1
- package/repositoryDeployKey.d.ts +3 -5
- package/repositoryDeployKey.d.ts.map +1 -1
- package/repositoryDeployKey.js +3 -5
- package/repositoryDeployKey.js.map +1 -1
- package/repositoryDeploymentBranchPolicy.d.ts +4 -0
- package/repositoryDeploymentBranchPolicy.d.ts.map +1 -1
- package/repositoryDeploymentBranchPolicy.js +4 -0
- package/repositoryDeploymentBranchPolicy.js.map +1 -1
- package/repositoryEnvironment.d.ts +6 -0
- package/repositoryEnvironment.d.ts.map +1 -1
- package/repositoryEnvironment.js +6 -0
- package/repositoryEnvironment.js.map +1 -1
- package/repositoryEnvironmentDeploymentPolicy.d.ts +4 -0
- package/repositoryEnvironmentDeploymentPolicy.d.ts.map +1 -1
- package/repositoryEnvironmentDeploymentPolicy.js +4 -0
- package/repositoryEnvironmentDeploymentPolicy.js.map +1 -1
- package/repositoryFile.d.ts +13 -14
- package/repositoryFile.d.ts.map +1 -1
- package/repositoryFile.js +10 -8
- package/repositoryFile.js.map +1 -1
- package/repositoryPages.d.ts +1 -3
- package/repositoryPages.d.ts.map +1 -1
- package/repositoryPages.js +1 -3
- package/repositoryPages.js.map +1 -1
- package/repositoryTopics.d.ts +1 -2
- package/repositoryTopics.d.ts.map +1 -1
- package/repositoryTopics.js +1 -2
- package/repositoryTopics.js.map +1 -1
- package/repositoryVulnerabilityAlerts.d.ts +1 -3
- package/repositoryVulnerabilityAlerts.d.ts.map +1 -1
- package/repositoryVulnerabilityAlerts.js +1 -3
- package/repositoryVulnerabilityAlerts.js.map +1 -1
- package/repositoryWebhook.d.ts +4 -6
- package/repositoryWebhook.d.ts.map +1 -1
- package/repositoryWebhook.js +2 -4
- package/repositoryWebhook.js.map +1 -1
- package/team.d.ts +9 -14
- package/team.d.ts.map +1 -1
- package/team.js +1 -2
- package/team.js.map +1 -1
- package/teamMembers.d.ts +32 -39
- package/teamMembers.d.ts.map +1 -1
- package/teamMembers.js +12 -32
- package/teamMembers.js.map +1 -1
- package/teamMembership.d.ts +4 -10
- package/teamMembership.d.ts.map +1 -1
- package/teamMembership.js +1 -4
- package/teamMembership.js.map +1 -1
- package/teamRepository.d.ts +8 -17
- package/teamRepository.d.ts.map +1 -1
- package/teamRepository.js +5 -11
- package/teamRepository.js.map +1 -1
- package/teamSettings.d.ts +6 -7
- package/teamSettings.d.ts.map +1 -1
- package/teamSettings.js +6 -7
- package/teamSettings.js.map +1 -1
- package/teamSyncGroupMapping.d.ts +5 -16
- package/teamSyncGroupMapping.d.ts.map +1 -1
- package/teamSyncGroupMapping.js +2 -4
- package/teamSyncGroupMapping.js.map +1 -1
- package/types/input.d.ts +23 -39
- package/types/input.d.ts.map +1 -1
- package/types/output.d.ts +26 -44
- package/types/output.d.ts.map +1 -1
- package/userGpgKey.d.ts +4 -8
- package/userGpgKey.d.ts.map +1 -1
- package/userGpgKey.js +1 -2
- package/userGpgKey.js.map +1 -1
- package/userInvitationAccepter.d.ts +2 -4
- package/userInvitationAccepter.d.ts.map +1 -1
- package/userInvitationAccepter.js +2 -4
- package/userInvitationAccepter.js.map +1 -1
- package/userSshKey.d.ts +1 -1
- package/userSshKey.js +1 -1
- package/workflowRepositoryPermissions.d.ts +1 -2
- package/workflowRepositoryPermissions.d.ts.map +1 -1
- package/workflowRepositoryPermissions.js +1 -2
- package/workflowRepositoryPermissions.js.map +1 -1
|
@@ -29,17 +29,11 @@ exports.ActionsOrganizationSecret = void 0;
|
|
|
29
29
|
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
30
|
const utilities = __importStar(require("./utilities"));
|
|
31
31
|
/**
|
|
32
|
-
* This resource allows you to create and manage GitHub Actions secrets within your GitHub organization.
|
|
33
|
-
* You must have write access to a repository to use this resource.
|
|
32
|
+
* This resource allows you to create and manage GitHub Actions secrets within your GitHub organization. You must have write access to a repository to use this resource.
|
|
34
33
|
*
|
|
35
|
-
* Secret values are encrypted using the [Go '/crypto/box' module](https://godoc.org/golang.org/x/crypto/nacl/box) which is
|
|
36
|
-
* interoperable with [libsodium](https://libsodium.gitbook.io/doc/). Libsodium is used by GitHub to decrypt secret values.
|
|
34
|
+
* Secret values are encrypted using the [Go '/crypto/box' module](https://godoc.org/golang.org/x/crypto/nacl/box) which is interoperable with [libsodium](https://libsodium.gitbook.io/doc/). Libsodium is used by GitHub to decrypt secret values.
|
|
37
35
|
*
|
|
38
|
-
* For the purposes of security, the contents of the `value` field have been marked as `sensitive` to Terraform,
|
|
39
|
-
* but it is important to note that **this does not hide it from state files**. You should treat state as sensitive always.
|
|
40
|
-
* It is also advised that you do not store plaintext values in your code but rather populate the `valueEncrypted`
|
|
41
|
-
* using fields from a resource, data source or variable as, while encrypted in state, these will be easily accessible
|
|
42
|
-
* in your code. See below for an example of this abstraction.
|
|
36
|
+
* For the purposes of security, the contents of the `value` field have been marked as `sensitive` to Terraform, but it is important to note that **this does not hide it from state files**. You should treat state as sensitive always. It is also advised that you do not store plaintext values in your code but rather populate the `valueEncrypted` using fields from a resource, data source or variable as, while encrypted in state, these will be easily accessible in your code. See below for an example of this abstraction.
|
|
43
37
|
*
|
|
44
38
|
* ## Example Usage
|
|
45
39
|
*
|
|
@@ -50,12 +44,12 @@ const utilities = __importStar(require("./utilities"));
|
|
|
50
44
|
* const examplePlaintext = new github.ActionsOrganizationSecret("example_plaintext", {
|
|
51
45
|
* secretName: "example_secret_name",
|
|
52
46
|
* visibility: "all",
|
|
53
|
-
*
|
|
47
|
+
* plaintextValue: someSecretString,
|
|
54
48
|
* });
|
|
55
49
|
* const exampleEncrypted = new github.ActionsOrganizationSecret("example_encrypted", {
|
|
56
50
|
* secretName: "example_secret_name",
|
|
57
51
|
* visibility: "all",
|
|
58
|
-
*
|
|
52
|
+
* encryptedValue: someEncryptedSecretString,
|
|
59
53
|
* });
|
|
60
54
|
* ```
|
|
61
55
|
*
|
|
@@ -69,13 +63,13 @@ const utilities = __importStar(require("./utilities"));
|
|
|
69
63
|
* const exampleEncrypted = new github.ActionsOrganizationSecret("example_encrypted", {
|
|
70
64
|
* secretName: "example_secret_name",
|
|
71
65
|
* visibility: "selected",
|
|
72
|
-
*
|
|
66
|
+
* plaintextValue: someSecretString,
|
|
73
67
|
* selectedRepositoryIds: [repo.then(repo => repo.repoId)],
|
|
74
68
|
* });
|
|
75
69
|
* const exampleSecret = new github.ActionsOrganizationSecret("example_secret", {
|
|
76
70
|
* secretName: "example_secret_name",
|
|
77
71
|
* visibility: "selected",
|
|
78
|
-
*
|
|
72
|
+
* encryptedValue: someEncryptedSecretString,
|
|
79
73
|
* selectedRepositoryIds: [repo.then(repo => repo.repoId)],
|
|
80
74
|
* });
|
|
81
75
|
* ```
|
|
@@ -91,7 +85,7 @@ const utilities = __importStar(require("./utilities"));
|
|
|
91
85
|
* const exampleAllowDrift = new github.ActionsOrganizationSecret("example_allow_drift", {
|
|
92
86
|
* secretName: "example_secret_name",
|
|
93
87
|
* visibility: "all",
|
|
94
|
-
*
|
|
88
|
+
* plaintextValue: "placeholder",
|
|
95
89
|
* });
|
|
96
90
|
* ```
|
|
97
91
|
*
|
|
@@ -101,6 +95,10 @@ const utilities = __importStar(require("./utilities"));
|
|
|
101
95
|
*
|
|
102
96
|
* > **Note**: When importing secrets, the `value`, `valueEncrypted`, `encryptedValue`, or `plaintextValue` fields will not be populated in the state. You may need to ignore changes for these as a workaround if you're not planning on updating the secret through Terraform.
|
|
103
97
|
*
|
|
98
|
+
* ### Import Block
|
|
99
|
+
*
|
|
100
|
+
* The following import imports a GitHub actions organization secret named `mysecret` to a `github.ActionsOrganizationSecret` resource named `example`.
|
|
101
|
+
*
|
|
104
102
|
* ### Import Command
|
|
105
103
|
*
|
|
106
104
|
* The following command imports a GitHub actions organization secret named `mysecret` to a `github.ActionsOrganizationSecret` resource named `example`.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actionsOrganizationSecret.js","sourceRoot":"","sources":["../actionsOrganizationSecret.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"actionsOrganizationSecret.js","sourceRoot":"","sources":["../actionsOrganizationSecret.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE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AAU,CAAC;YAChD,cAAc,CAAC,uBAAuB,CAAC,GAAG,IAAI,EAAE,qBAAqB,CAAC;YACtE,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,EAAE,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9E,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,EAAE,cAAc,CAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;YACzG,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,iBAAiB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACtD,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,EAAE,OAAO,EAAE,gBAAgB,CAAC,EAAE,CAAC;QAChH,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,yBAAyB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC9E,CAAC;;AAzIL,8DA0IC"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
* This resource allows you to manage the repositories allowed to access an actions secret within your GitHub organization.
|
|
4
|
-
* You must have write access to an organization secret to use this resource.
|
|
3
|
+
* This resource allows you to manage the repositories allowed to access an actions secret within your GitHub organization. You must have write access to an organization secret to use this resource.
|
|
5
4
|
*
|
|
6
5
|
* This resource is only applicable when `visibility` of the existing organization secret has been set to `selected`.
|
|
7
6
|
*
|
|
@@ -13,7 +12,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
13
12
|
*
|
|
14
13
|
* const example = new github.ActionsOrganizationSecret("example", {
|
|
15
14
|
* secretName: "mysecret",
|
|
16
|
-
*
|
|
15
|
+
* plaintextValue: "foo",
|
|
17
16
|
* visibility: "selected",
|
|
18
17
|
* });
|
|
19
18
|
* const exampleRepository = new github.Repository("example", {
|
|
@@ -30,6 +29,10 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
30
29
|
*
|
|
31
30
|
* This resource can be imported using the secret name as the ID.
|
|
32
31
|
*
|
|
32
|
+
* ### Import Block
|
|
33
|
+
*
|
|
34
|
+
* The following import block imports the repositories able to access the actions organization secret named `mysecret` to a `github.ActionsOrganizationSecretRepositories` resource named `example`.
|
|
35
|
+
*
|
|
33
36
|
* ### Import Command
|
|
34
37
|
*
|
|
35
38
|
* The following command imports the repositories able to access the actions organization secret named `mysecret` to a `github.ActionsOrganizationSecretRepositories` resource named `example`.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actionsOrganizationSecretRepositories.d.ts","sourceRoot":"","sources":["../actionsOrganizationSecretRepositories.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC
|
|
1
|
+
{"version":3,"file":"actionsOrganizationSecretRepositories.d.ts","sourceRoot":"","sources":["../actionsOrganizationSecretRepositories.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,qBAAa,qCAAsC,SAAQ,MAAM,CAAC,cAAc;IAC5E;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,0CAA0C,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,qCAAqC;IAO5L;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,qCAAqC;IAOhF;;OAEG;IACH,SAAwB,UAAU,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAC1D;;OAEG;IACH,SAAwB,qBAAqB,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,CAAC,CAAC;IAEvE;;;;;;OAMG;gBACS,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,yCAAyC,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB;CAsBjH;AAED;;GAEG;AACH,MAAM,WAAW,0CAA0C;IACvD;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC9C;;OAEG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,GAAG,SAAS,CAAC,CAAC;CAC5E;AAED;;GAEG;AACH,MAAM,WAAW,yCAAyC;IACtD;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACjC;;OAEG;IACH,qBAAqB,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;CAC/D"}
|
|
@@ -29,8 +29,7 @@ exports.ActionsOrganizationSecretRepositories = void 0;
|
|
|
29
29
|
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
30
|
const utilities = __importStar(require("./utilities"));
|
|
31
31
|
/**
|
|
32
|
-
* This resource allows you to manage the repositories allowed to access an actions secret within your GitHub organization.
|
|
33
|
-
* You must have write access to an organization secret to use this resource.
|
|
32
|
+
* This resource allows you to manage the repositories allowed to access an actions secret within your GitHub organization. You must have write access to an organization secret to use this resource.
|
|
34
33
|
*
|
|
35
34
|
* This resource is only applicable when `visibility` of the existing organization secret has been set to `selected`.
|
|
36
35
|
*
|
|
@@ -42,7 +41,7 @@ const utilities = __importStar(require("./utilities"));
|
|
|
42
41
|
*
|
|
43
42
|
* const example = new github.ActionsOrganizationSecret("example", {
|
|
44
43
|
* secretName: "mysecret",
|
|
45
|
-
*
|
|
44
|
+
* plaintextValue: "foo",
|
|
46
45
|
* visibility: "selected",
|
|
47
46
|
* });
|
|
48
47
|
* const exampleRepository = new github.Repository("example", {
|
|
@@ -59,6 +58,10 @@ const utilities = __importStar(require("./utilities"));
|
|
|
59
58
|
*
|
|
60
59
|
* This resource can be imported using the secret name as the ID.
|
|
61
60
|
*
|
|
61
|
+
* ### Import Block
|
|
62
|
+
*
|
|
63
|
+
* The following import block imports the repositories able to access the actions organization secret named `mysecret` to a `github.ActionsOrganizationSecretRepositories` resource named `example`.
|
|
64
|
+
*
|
|
62
65
|
* ### Import Command
|
|
63
66
|
*
|
|
64
67
|
* The following command imports the repositories able to access the actions organization secret named `mysecret` to a `github.ActionsOrganizationSecretRepositories` resource named `example`.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actionsOrganizationSecretRepositories.js","sourceRoot":"","sources":["../actionsOrganizationSecretRepositories.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"actionsOrganizationSecretRepositories.js","sourceRoot":"","sources":["../actionsOrganizationSecretRepositories.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;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c,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,cAAc,CAAC,uBAAuB,CAAC,GAAG,IAAI,EAAE,qBAAqB,CAAC;SACzE;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"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
* This resource adds permission for a repository to use an actions secret within your GitHub organization.
|
|
4
|
-
* You must have write access to an organization secret to use this resource.
|
|
3
|
+
* This resource adds permission for a repository to use an actions secret within your GitHub organization. You must have write access to an organization secret to use this resource.
|
|
5
4
|
*
|
|
6
5
|
* This resource is only applicable when `visibility` of the existing organization secret has been set to `selected`.
|
|
7
6
|
*
|
|
@@ -13,7 +12,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
13
12
|
*
|
|
14
13
|
* const example = new github.ActionsOrganizationSecret("example", {
|
|
15
14
|
* secretName: "mysecret",
|
|
16
|
-
*
|
|
15
|
+
* plaintextValue: "foo",
|
|
17
16
|
* visibility: "selected",
|
|
18
17
|
* });
|
|
19
18
|
* const exampleRepository = new github.Repository("example", {
|
|
@@ -30,6 +29,10 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
30
29
|
*
|
|
31
30
|
* This resource can be imported using an ID made of the secret name and repository name separated by a `:`.
|
|
32
31
|
*
|
|
32
|
+
* ### Import Block
|
|
33
|
+
*
|
|
34
|
+
* The following import block imports the access of repository ID `123456` for the actions organization secret named `mysecret` to a `github.ActionsOrganizationSecretRepository` resource named `example`.
|
|
35
|
+
*
|
|
33
36
|
* ### Import Command
|
|
34
37
|
*
|
|
35
38
|
* The following command imports the access of repository ID `123456` for the actions organization secret named `mysecret` to a `github.ActionsOrganizationSecretRepository` resource named `example`.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actionsOrganizationSecretRepository.d.ts","sourceRoot":"","sources":["../actionsOrganizationSecretRepository.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC
|
|
1
|
+
{"version":3,"file":"actionsOrganizationSecretRepository.d.ts","sourceRoot":"","sources":["../actionsOrganizationSecretRepository.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,qBAAa,mCAAoC,SAAQ,MAAM,CAAC,cAAc;IAC1E;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,wCAAwC,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,mCAAmC;IAOxL;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,mCAAmC;IAO9E;;OAEG;IACH,SAAwB,YAAY,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAC5D;;OAEG;IACH,SAAwB,UAAU,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAE1D;;;;;;OAMG;gBACS,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,uCAAuC,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB;CAsB/G;AAED;;GAEG;AACH,MAAM,WAAW,wCAAwC;IACrD;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAChD;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CACjD;AAED;;GAEG;AACH,MAAM,WAAW,uCAAuC;IACpD;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACnC;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CACpC"}
|
|
@@ -29,8 +29,7 @@ exports.ActionsOrganizationSecretRepository = void 0;
|
|
|
29
29
|
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
30
|
const utilities = __importStar(require("./utilities"));
|
|
31
31
|
/**
|
|
32
|
-
* This resource adds permission for a repository to use an actions secret within your GitHub organization.
|
|
33
|
-
* You must have write access to an organization secret to use this resource.
|
|
32
|
+
* This resource adds permission for a repository to use an actions secret within your GitHub organization. You must have write access to an organization secret to use this resource.
|
|
34
33
|
*
|
|
35
34
|
* This resource is only applicable when `visibility` of the existing organization secret has been set to `selected`.
|
|
36
35
|
*
|
|
@@ -42,7 +41,7 @@ const utilities = __importStar(require("./utilities"));
|
|
|
42
41
|
*
|
|
43
42
|
* const example = new github.ActionsOrganizationSecret("example", {
|
|
44
43
|
* secretName: "mysecret",
|
|
45
|
-
*
|
|
44
|
+
* plaintextValue: "foo",
|
|
46
45
|
* visibility: "selected",
|
|
47
46
|
* });
|
|
48
47
|
* const exampleRepository = new github.Repository("example", {
|
|
@@ -59,6 +58,10 @@ const utilities = __importStar(require("./utilities"));
|
|
|
59
58
|
*
|
|
60
59
|
* This resource can be imported using an ID made of the secret name and repository name separated by a `:`.
|
|
61
60
|
*
|
|
61
|
+
* ### Import Block
|
|
62
|
+
*
|
|
63
|
+
* The following import block imports the access of repository ID `123456` for the actions organization secret named `mysecret` to a `github.ActionsOrganizationSecretRepository` resource named `example`.
|
|
64
|
+
*
|
|
62
65
|
* ### Import Command
|
|
63
66
|
*
|
|
64
67
|
* The following command imports the access of repository ID `123456` for the actions organization secret named `mysecret` to a `github.ActionsOrganizationSecretRepository` resource named `example`.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actionsOrganizationSecretRepository.js","sourceRoot":"","sources":["../actionsOrganizationSecretRepository.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"actionsOrganizationSecretRepository.js","sourceRoot":"","sources":["../actionsOrganizationSecretRepository.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,MAAa,mCAAoC,SAAQ,MAAM,CAAC,cAAc;IAC1E;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAgD,EAAE,IAAmC;QAC9I,OAAO,IAAI,mCAAmC,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC1F,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,sFAAsF,CAAC;IAE7H;;;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,mCAAmC,CAAC,YAAY,CAAC;IACpF,CAAC;IAmBD,YAAY,IAAY,EAAE,WAAgG,EAAE,IAAmC;QAC3J,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAmE,CAAC;YAClF,cAAc,CAAC,cAAc,CAAC,GAAG,KAAK,EAAE,YAAY,CAAC;YACrD,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,EAAE,UAAU,CAAC;SACpD;aAAM;YACH,MAAM,IAAI,GAAG,WAAkE,CAAC;YAChF,IAAI,IAAI,EAAE,YAAY,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC/C,MAAM,IAAI,KAAK,CAAC,0CAA0C,CAAC,CAAC;aAC/D;YACD,IAAI,IAAI,EAAE,UAAU,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC7C,MAAM,IAAI,KAAK,CAAC,wCAAwC,CAAC,CAAC;aAC7D;YACD,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,EAAE,YAAY,CAAC;YACpD,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;SACnD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,mCAAmC,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxF,CAAC;;AAjEL,kFAkEC"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
* This resource allows you to create and manage GitHub Actions variables within your GitHub organization.
|
|
4
|
-
* You must have write access to a repository to use this resource.
|
|
3
|
+
* 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.
|
|
5
4
|
*
|
|
6
5
|
* ## Example Usage
|
|
7
6
|
*
|
|
@@ -35,6 +34,10 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
35
34
|
*
|
|
36
35
|
* This resource can be imported using the variable name as the ID.
|
|
37
36
|
*
|
|
37
|
+
* ### Import Block
|
|
38
|
+
*
|
|
39
|
+
* The following import imports a GitHub actions organization variable named `myvariable`to a `github.ActionsOrganizationVariable` resource named `example`.
|
|
40
|
+
*
|
|
38
41
|
* ### Import Command
|
|
39
42
|
*
|
|
40
43
|
* The following command imports a GitHub actions organization variable named `myvariable` to a `github.ActionsOrganizationVariable` resource named `example`.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actionsOrganizationVariable.d.ts","sourceRoot":"","sources":["../actionsOrganizationVariable.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC
|
|
1
|
+
{"version":3,"file":"actionsOrganizationVariable.d.ts","sourceRoot":"","sources":["../actionsOrganizationVariable.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8CG;AACH,qBAAa,2BAA4B,SAAQ,MAAM,CAAC,cAAc;IAClE;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,gCAAgC,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,2BAA2B;IAOxK;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,2BAA2B;IAOtE;;OAEG;IACH,SAAgC,SAAS,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACjE;;OAEG;IACH,SAAwB,qBAAqB,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,SAAS,CAAC,CAAC;IACnF;;OAEG;IACH,SAAgC,SAAS,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACjE;;OAEG;IACH,SAAwB,KAAK,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACrD;;OAE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AU,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CACpC"}
|
|
@@ -29,8 +29,7 @@ exports.ActionsOrganizationVariable = void 0;
|
|
|
29
29
|
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
30
|
const utilities = __importStar(require("./utilities"));
|
|
31
31
|
/**
|
|
32
|
-
* This resource allows you to create and manage GitHub Actions variables within your GitHub organization.
|
|
33
|
-
* You must have write access to a repository to use this resource.
|
|
32
|
+
* 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.
|
|
34
33
|
*
|
|
35
34
|
* ## Example Usage
|
|
36
35
|
*
|
|
@@ -64,6 +63,10 @@ const utilities = __importStar(require("./utilities"));
|
|
|
64
63
|
*
|
|
65
64
|
* This resource can be imported using the variable name as the ID.
|
|
66
65
|
*
|
|
66
|
+
* ### Import Block
|
|
67
|
+
*
|
|
68
|
+
* The following import imports a GitHub actions organization variable named `myvariable`to a `github.ActionsOrganizationVariable` resource named `example`.
|
|
69
|
+
*
|
|
67
70
|
* ### Import Command
|
|
68
71
|
*
|
|
69
72
|
* The following command imports a GitHub actions organization variable named `myvariable` to a `github.ActionsOrganizationVariable` resource named `example`.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actionsOrganizationVariable.js","sourceRoot":"","sources":["../actionsOrganizationVariable.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"actionsOrganizationVariable.js","sourceRoot":"","sources":["../actionsOrganizationVariable.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8CG;AACH,MAAa,2BAA4B,SAAQ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AAI,KAAK,CAAC,mCAAmC,CAAC,CAAC;aACxD;YACD,IAAI,IAAI,EAAE,YAAY,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC/C,MAAM,IAAI,KAAK,CAAC,0CAA0C,CAAC,CAAC;aAC/D;YACD,IAAI,IAAI,EAAE,UAAU,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC7C,MAAM,IAAI,KAAK,CAAC,wCAAwC,CAAC,CAAC;aAC7D;YACD,cAAc,CAAC,uBAAuB,CAAC,GAAG,IAAI,EAAE,qBAAqB,CAAC;YACtE,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,EAAE,KAAK,CAAC;YACtC,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,EAAE,YAAY,CAAC;YACpD,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,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;;AA5FL,kEA6FC"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
* This resource allows you to manage the repositories allowed to access an actions variable within your GitHub organization.
|
|
4
|
-
* You must have write access to an organization variable to use this resource.
|
|
3
|
+
* This resource allows you to manage the repositories allowed to access an actions variable within your GitHub organization. You must have write access to an organization variable to use this resource.
|
|
5
4
|
*
|
|
6
5
|
* This resource is only applicable when `visibility` of the existing organization variable has been set to `selected`.
|
|
7
6
|
*
|
|
@@ -13,7 +12,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
13
12
|
*
|
|
14
13
|
* const example = new github.ActionsOrganizationVariable("example", {
|
|
15
14
|
* variableName: "myvariable",
|
|
16
|
-
*
|
|
15
|
+
* plaintextValue: "foo",
|
|
17
16
|
* visibility: "selected",
|
|
18
17
|
* });
|
|
19
18
|
* const exampleRepository = new github.Repository("example", {
|
|
@@ -30,6 +29,10 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
30
29
|
*
|
|
31
30
|
* This resource can be imported using the variable name as the ID.
|
|
32
31
|
*
|
|
32
|
+
* ### Import Block
|
|
33
|
+
*
|
|
34
|
+
* The following import block imports the repositories able to access the actions organization variable named `myvariable` to a `github.ActionsOrganizationVariableRepositories` resource named `example`.
|
|
35
|
+
*
|
|
33
36
|
* ### Import Command
|
|
34
37
|
*
|
|
35
38
|
* The following command imports the repositories able to access the actions organization variable named `myvariable` to a `github.ActionsOrganizationVariableRepositories` resource named `example`.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actionsOrganizationVariableRepositories.d.ts","sourceRoot":"","sources":["../actionsOrganizationVariableRepositories.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC
|
|
1
|
+
{"version":3,"file":"actionsOrganizationVariableRepositories.d.ts","sourceRoot":"","sources":["../actionsOrganizationVariableRepositories.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,qBAAa,uCAAwC,SAAQ,MAAM,CAAC,cAAc;IAC9E;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,4CAA4C,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,uCAAuC;IAOhM;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,uCAAuC;IAOlF;;OAEG;IACH,SAAwB,qBAAqB,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,CAAC,CAAC;IACvE;;OAEG;IACH,SAAwB,YAAY,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAE5D;;;;;;OAMG;gBACS,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,2CAA2C,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB;CAsBnH;AAED;;GAEG;AACH,MAAM,WAAW,4CAA4C;IACzD;;OAEG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,GAAG,SAAS,CAAC,CAAC;IACzE;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CACnD;AAED;;GAEG;AACH,MAAM,WAAW,2CAA2C;IACxD;;OAEG;IACH,qBAAqB,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;IAC5D;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CACtC"}
|
|
@@ -29,8 +29,7 @@ exports.ActionsOrganizationVariableRepositories = void 0;
|
|
|
29
29
|
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
30
|
const utilities = __importStar(require("./utilities"));
|
|
31
31
|
/**
|
|
32
|
-
* This resource allows you to manage the repositories allowed to access an actions variable within your GitHub organization.
|
|
33
|
-
* You must have write access to an organization variable to use this resource.
|
|
32
|
+
* This resource allows you to manage the repositories allowed to access an actions variable within your GitHub organization. You must have write access to an organization variable to use this resource.
|
|
34
33
|
*
|
|
35
34
|
* This resource is only applicable when `visibility` of the existing organization variable has been set to `selected`.
|
|
36
35
|
*
|
|
@@ -42,7 +41,7 @@ const utilities = __importStar(require("./utilities"));
|
|
|
42
41
|
*
|
|
43
42
|
* const example = new github.ActionsOrganizationVariable("example", {
|
|
44
43
|
* variableName: "myvariable",
|
|
45
|
-
*
|
|
44
|
+
* plaintextValue: "foo",
|
|
46
45
|
* visibility: "selected",
|
|
47
46
|
* });
|
|
48
47
|
* const exampleRepository = new github.Repository("example", {
|
|
@@ -59,6 +58,10 @@ const utilities = __importStar(require("./utilities"));
|
|
|
59
58
|
*
|
|
60
59
|
* This resource can be imported using the variable name as the ID.
|
|
61
60
|
*
|
|
61
|
+
* ### Import Block
|
|
62
|
+
*
|
|
63
|
+
* The following import block imports the repositories able to access the actions organization variable named `myvariable` to a `github.ActionsOrganizationVariableRepositories` resource named `example`.
|
|
64
|
+
*
|
|
62
65
|
* ### Import Command
|
|
63
66
|
*
|
|
64
67
|
* The following command imports the repositories able to access the actions organization variable named `myvariable` to a `github.ActionsOrganizationVariableRepositories` resource named `example`.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actionsOrganizationVariableRepositories.js","sourceRoot":"","sources":["../actionsOrganizationVariableRepositories.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"actionsOrganizationVariableRepositories.js","sourceRoot":"","sources":["../actionsOrganizationVariableRepositories.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,MAAa,uCAAwC,SAAQ,MAAM,CAAC,cAAc;IAC9E;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B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AM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,uCAAuC,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5F,CAAC;;AAjEL,0FAkEC"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
* This resource adds permission for a repository to use an actions variables within your GitHub organization.
|
|
4
|
-
* You must have write access to an organization variable to use this resource.
|
|
3
|
+
* This resource adds permission for a repository to use an actions variables within your GitHub organization. You must have write access to an organization variable to use this resource.
|
|
5
4
|
*
|
|
6
5
|
* This resource is only applicable when `visibility` of the existing organization variable has been set to `selected`.
|
|
7
6
|
*
|
|
@@ -13,7 +12,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
13
12
|
*
|
|
14
13
|
* const example = new github.ActionsOrganizationVariable("example", {
|
|
15
14
|
* variableName: "myvariable",
|
|
16
|
-
*
|
|
15
|
+
* plaintextValue: "foo",
|
|
17
16
|
* visibility: "selected",
|
|
18
17
|
* });
|
|
19
18
|
* const exampleRepository = new github.Repository("example", {
|
|
@@ -30,6 +29,10 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
30
29
|
*
|
|
31
30
|
* This resource can be imported using an ID made of the variable name and repository name separated by a `:`.
|
|
32
31
|
*
|
|
32
|
+
* ### Import Block
|
|
33
|
+
*
|
|
34
|
+
* The following import block imports the access of repository ID `123456` for the actions organization variable named `myvariable` to a `github.ActionsOrganizationVariableRepository` resource named `example`.
|
|
35
|
+
*
|
|
33
36
|
* ### Import Command
|
|
34
37
|
*
|
|
35
38
|
* The following command imports the access of repository ID `123456` for the actions organization variable named `myvariable` to a `github.ActionsOrganizationVariableRepository` resource named `example`.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actionsOrganizationVariableRepository.d.ts","sourceRoot":"","sources":["../actionsOrganizationVariableRepository.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC
|
|
1
|
+
{"version":3,"file":"actionsOrganizationVariableRepository.d.ts","sourceRoot":"","sources":["../actionsOrganizationVariableRepository.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,qBAAa,qCAAsC,SAAQ,MAAM,CAAC,cAAc;IAC5E;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,0CAA0C,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,qCAAqC;IAO5L;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,qCAAqC;IAOhF;;OAEG;IACH,SAAwB,YAAY,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAC5D;;OAEG;IACH,SAAwB,YAAY,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAE5D;;;;;;OAMG;gBACS,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,yCAAyC,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB;CAsBjH;AAED;;GAEG;AACH,MAAM,WAAW,0CAA0C;IACvD;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAChD;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CACnD;AAED;;GAEG;AACH,MAAM,WAAW,yCAAyC;IACtD;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACnC;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CACtC"}
|
|
@@ -29,8 +29,7 @@ exports.ActionsOrganizationVariableRepository = void 0;
|
|
|
29
29
|
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
30
|
const utilities = __importStar(require("./utilities"));
|
|
31
31
|
/**
|
|
32
|
-
* This resource adds permission for a repository to use an actions variables within your GitHub organization.
|
|
33
|
-
* You must have write access to an organization variable to use this resource.
|
|
32
|
+
* This resource adds permission for a repository to use an actions variables within your GitHub organization. You must have write access to an organization variable to use this resource.
|
|
34
33
|
*
|
|
35
34
|
* This resource is only applicable when `visibility` of the existing organization variable has been set to `selected`.
|
|
36
35
|
*
|
|
@@ -42,7 +41,7 @@ const utilities = __importStar(require("./utilities"));
|
|
|
42
41
|
*
|
|
43
42
|
* const example = new github.ActionsOrganizationVariable("example", {
|
|
44
43
|
* variableName: "myvariable",
|
|
45
|
-
*
|
|
44
|
+
* plaintextValue: "foo",
|
|
46
45
|
* visibility: "selected",
|
|
47
46
|
* });
|
|
48
47
|
* const exampleRepository = new github.Repository("example", {
|
|
@@ -59,6 +58,10 @@ const utilities = __importStar(require("./utilities"));
|
|
|
59
58
|
*
|
|
60
59
|
* This resource can be imported using an ID made of the variable name and repository name separated by a `:`.
|
|
61
60
|
*
|
|
61
|
+
* ### Import Block
|
|
62
|
+
*
|
|
63
|
+
* The following import block imports the access of repository ID `123456` for the actions organization variable named `myvariable` to a `github.ActionsOrganizationVariableRepository` resource named `example`.
|
|
64
|
+
*
|
|
62
65
|
* ### Import Command
|
|
63
66
|
*
|
|
64
67
|
* The following command imports the access of repository ID `123456` for the actions organization variable named `myvariable` to a `github.ActionsOrganizationVariableRepository` resource named `example`.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actionsOrganizationVariableRepository.js","sourceRoot":"","sources":["../actionsOrganizationVariableRepository.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"actionsOrganizationVariableRepository.js","sourceRoot":"","sources":["../actionsOrganizationVariableRepository.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;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,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC5F,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,0FAA0F,CAAC;IAEjI;;;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,cAAc,CAAC,GAAG,KAAK,EAAE,YAAY,CAAC;YACrD,cAAc,CAAC,cAAc,CAAC,GAAG,KAAK,EAAE,YAAY,CAAC;SACxD;aAAM;YACH,MAAM,IAAI,GAAG,WAAoE,CAAC;YAClF,IAAI,IAAI,EAAE,YAAY,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC/C,MAAM,IAAI,KAAK,CAAC,0CAA0C,CAAC,CAAC;aAC/D;YACD,IAAI,IAAI,EAAE,YAAY,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC/C,MAAM,IAAI,KAAK,CAAC,0CAA0C,CAAC,CAAC;aAC/D;YACD,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,EAAE,YAAY,CAAC;YACpD,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,EAAE,YAAY,CAAC;SACvD;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"}
|
|
@@ -30,8 +30,8 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
30
30
|
*
|
|
31
31
|
* When this resource is destroyed, the workflow permissions will be reset to safe defaults:
|
|
32
32
|
*
|
|
33
|
-
*
|
|
34
|
-
*
|
|
33
|
+
* - `defaultWorkflowPermissions` = `read`
|
|
34
|
+
* - `canApprovePullRequestReviews` = `false`
|
|
35
35
|
*
|
|
36
36
|
* ## Import
|
|
37
37
|
*
|
|
@@ -59,8 +59,8 @@ const utilities = __importStar(require("./utilities"));
|
|
|
59
59
|
*
|
|
60
60
|
* When this resource is destroyed, the workflow permissions will be reset to safe defaults:
|
|
61
61
|
*
|
|
62
|
-
*
|
|
63
|
-
*
|
|
62
|
+
* - `defaultWorkflowPermissions` = `read`
|
|
63
|
+
* - `canApprovePullRequestReviews` = `false`
|
|
64
64
|
*
|
|
65
65
|
* ## Import
|
|
66
66
|
*
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
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
|
-
* You must have admin access to a repository to use this resource.
|
|
3
|
+
* This resource allows you to set the access level of a non-public repositories actions and reusable workflows for use in other repositories. You must have admin access to a repository to use this resource.
|
|
5
4
|
*
|
|
6
5
|
* ## Example Usage
|
|
7
6
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actionsRepositoryAccessLevel.d.ts","sourceRoot":"","sources":["../actionsRepositoryAccessLevel.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC
|
|
1
|
+
{"version":3,"file":"actionsRepositoryAccessLevel.d.ts","sourceRoot":"","sources":["../actionsRepositoryAccessLevel.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,qBAAa,4BAA6B,SAAQ,MAAM,CAAC,cAAc;IACnE;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,iCAAiC,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,4BAA4B;IAO1K;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,4BAA4B;IAOvE;;OAEG;IACH,SAAwB,WAAW,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAC3D;;OAEG;IACH,SAAwB,UAAU,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAE1D;;;;;;OAMG;gBACS,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,gCAAgC,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB;CAsBxG;AAED;;GAEG;AACH,MAAM,WAAW,iCAAiC;IAC9C;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC/C;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CACjD;AAED;;GAEG;AACH,MAAM,WAAW,gCAAgC;IAC7C;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAClC;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CACpC"}
|
|
@@ -29,8 +29,7 @@ exports.ActionsRepositoryAccessLevel = void 0;
|
|
|
29
29
|
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
30
|
const utilities = __importStar(require("./utilities"));
|
|
31
31
|
/**
|
|
32
|
-
* This resource allows you to set the access level of a non-public repositories actions and reusable workflows for use in other repositories.
|
|
33
|
-
* You must have admin access to a repository to use this resource.
|
|
32
|
+
* This resource allows you to set the access level of a non-public repositories actions and reusable workflows for use in other repositories. You must have admin access to a repository to use this resource.
|
|
34
33
|
*
|
|
35
34
|
* ## Example Usage
|
|
36
35
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actionsRepositoryAccessLevel.js","sourceRoot":"","sources":["../actionsRepositoryAccessLevel.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"actionsRepositoryAccessLevel.js","sourceRoot":"","sources":["../actionsRepositoryAccessLevel.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;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CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;SACnD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,4BAA4B,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACjF,CAAC;;AAjEL,oEAkEC"}
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
* This resource allows you to create and manage an OpenID Connect subject claim customization template for a GitHub
|
|
4
|
-
* repository.
|
|
3
|
+
* This resource allows you to create and manage an OpenID Connect subject claim customization template for a GitHub repository.
|
|
5
4
|
*
|
|
6
|
-
* More information on integrating GitHub with cloud providers using OpenID Connect and a list of available claims is
|
|
7
|
-
* available in the [Actions documentation](https://docs.github.com/en/actions/deployment/security-hardening-your-deployments/about-security-hardening-with-openid-connect).
|
|
5
|
+
* 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).
|
|
8
6
|
*
|
|
9
7
|
* The following table lists the behaviour of `useDefault`:
|
|
10
8
|
*
|
|
@@ -65,8 +63,7 @@ export declare class ActionsRepositoryOidcSubjectClaimCustomizationTemplate exte
|
|
|
65
63
|
*/
|
|
66
64
|
readonly repository: pulumi.Output<string>;
|
|
67
65
|
/**
|
|
68
|
-
* Whether to use the default template or not. If `true`, `includeClaimKeys` must not
|
|
69
|
-
* be set.
|
|
66
|
+
* Whether to use the default template or not. If `true`, `includeClaimKeys` must not be set.
|
|
70
67
|
*/
|
|
71
68
|
readonly useDefault: pulumi.Output<boolean>;
|
|
72
69
|
/**
|
|
@@ -91,8 +88,7 @@ export interface ActionsRepositoryOidcSubjectClaimCustomizationTemplateState {
|
|
|
91
88
|
*/
|
|
92
89
|
repository?: pulumi.Input<string | undefined>;
|
|
93
90
|
/**
|
|
94
|
-
* Whether to use the default template or not. If `true`, `includeClaimKeys` must not
|
|
95
|
-
* be set.
|
|
91
|
+
* Whether to use the default template or not. If `true`, `includeClaimKeys` must not be set.
|
|
96
92
|
*/
|
|
97
93
|
useDefault?: pulumi.Input<boolean | undefined>;
|
|
98
94
|
}
|
|
@@ -109,8 +105,7 @@ export interface ActionsRepositoryOidcSubjectClaimCustomizationTemplateArgs {
|
|
|
109
105
|
*/
|
|
110
106
|
repository: pulumi.Input<string>;
|
|
111
107
|
/**
|
|
112
|
-
* Whether to use the default template or not. If `true`, `includeClaimKeys` must not
|
|
113
|
-
* be set.
|
|
108
|
+
* Whether to use the default template or not. If `true`, `includeClaimKeys` must not be set.
|
|
114
109
|
*/
|
|
115
110
|
useDefault: pulumi.Input<boolean>;
|
|
116
111
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actionsRepositoryOidcSubjectClaimCustomizationTemplate.d.ts","sourceRoot":"","sources":["../actionsRepositoryOidcSubjectClaimCustomizationTemplate.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC
|
|
1
|
+
{"version":3,"file":"actionsRepositoryOidcSubjectClaimCustomizationTemplate.d.ts","sourceRoot":"","sources":["../actionsRepositoryOidcSubjectClaimCustomizationTemplate.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,qBAAa,sDAAuD,SAAQ,MAAM,CAAC,cAAc;IAC7F;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,2DAA2D,EAAE,I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ectClaimCustomizationTemplate = void 0;
|
|
|
29
29
|
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
30
|
const utilities = __importStar(require("./utilities"));
|
|
31
31
|
/**
|
|
32
|
-
* This resource allows you to create and manage an OpenID Connect subject claim customization template for a GitHub
|
|
33
|
-
* repository.
|
|
32
|
+
* This resource allows you to create and manage an OpenID Connect subject claim customization template for a GitHub repository.
|
|
34
33
|
*
|
|
35
|
-
* More information on integrating GitHub with cloud providers using OpenID Connect and a list of available claims is
|
|
36
|
-
* available in the [Actions documentation](https://docs.github.com/en/actions/deployment/security-hardening-your-deployments/about-security-hardening-with-openid-connect).
|
|
34
|
+
* 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).
|
|
37
35
|
*
|
|
38
36
|
* The following table lists the behaviour of `useDefault`:
|
|
39
37
|
*
|