@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
package/config/vars.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vars.d.ts","sourceRoot":"","sources":["../../config/vars.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,OAAO,MAAM,iBAAiB,CAAC;AAM3C;;GAEG;AACH,MAAM,CAAC,OAAO,CAAC,MAAM,OAAO,EAAE,OAAO,CAAC,MAAM,CAAC,OAAO,GAAG,SAAS,CAAC;AAQjE;;GAEG;AACH,MAAM,CAAC,OAAO,CAAC,MAAM,OAAO,EAAE,MAAM,CAAC;AAQrC;;GAEG;AACH,MAAM,CAAC,OAAO,CAAC,MAAM,QAAQ,EAAE,OAAO,GAAG,SAAS,CAAC;AAQnD;;GAEG;AACH,MAAM,CAAC,OAAO,CAAC,MAAM,UAAU,EAAE,MAAM,GAAG,SAAS,CAAC;AAQpD;;GAEG;AACH,MAAM,CAAC,OAAO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GAEG;AACH,MAAM,CAAC,OAAO,CAAC,MAAM,YAAY,EAAE,OAAO,GAAG,SAAS,CAAC;AAQvD;;GAEG;AACH,MAAM,CAAC,OAAO,CAAC,MAAM,UAAU,EAAE,MAAM,GAAG,SAAS,CAAC;AAQpD;;GAEG;AACH,MAAM,CAAC,OAAO,CAAC,MAAM,UAAU,EAAE,MAAM,GAAG,SAAS,CAAC;AAQpD;;GAEG;AACH,MAAM,CAAC,OAAO,CAAC,MAAM,YAAY,EAAE,MAAM,GAAG,SAAS,CAAC;AAQtD;;GAEG;AACH,MAAM,CAAC,OAAO,CAAC,MAAM,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;AAQ/C;;GAEG;AACH,MAAM,CAAC,OAAO,CAAC,MAAM,gBAAgB,EAAE,OAAO,GAAG,SAAS,CAAC;AAQ3D;;GAEG;AACH,MAAM,CAAC,OAAO,CAAC,MAAM,WAAW,EAAE,MAAM,GAAG,SAAS,CAAC;AAQrD;;GAEG;AACH,MAAM,CAAC,OAAO,CAAC,MAAM,YAAY,EAAE,MAAM,GAAG,SAAS,CAAC;AAQtD;;GAEG;AACH,MAAM,CAAC,OAAO,CAAC,MAAM,eAAe,EAAE,MAAM,EAAE,GAAG,SAAS,CAAC;AAQ3D;;GAEG;AACH,MAAM,CAAC,OAAO,CAAC,MAAM,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;AAQ/C;;GAEG;AACH,MAAM,CAAC,OAAO,CAAC,MAAM,YAAY,EAAE,MAAM,GAAG,SAAS,CAAC"}
|
package/config/vars.js
CHANGED
|
@@ -40,12 +40,24 @@ Object.defineProperty(exports, "baseUrl", {
|
|
|
40
40
|
},
|
|
41
41
|
enumerable: true,
|
|
42
42
|
});
|
|
43
|
+
Object.defineProperty(exports, "cachePath", {
|
|
44
|
+
get() {
|
|
45
|
+
return __config.get("cachePath");
|
|
46
|
+
},
|
|
47
|
+
enumerable: true,
|
|
48
|
+
});
|
|
43
49
|
Object.defineProperty(exports, "insecure", {
|
|
44
50
|
get() {
|
|
45
51
|
return __config.getObject("insecure");
|
|
46
52
|
},
|
|
47
53
|
enumerable: true,
|
|
48
54
|
});
|
|
55
|
+
Object.defineProperty(exports, "legacyClient", {
|
|
56
|
+
get() {
|
|
57
|
+
return __config.getObject("legacyClient");
|
|
58
|
+
},
|
|
59
|
+
enumerable: true,
|
|
60
|
+
});
|
|
49
61
|
Object.defineProperty(exports, "maxPerPage", {
|
|
50
62
|
get() {
|
|
51
63
|
return __config.getObject("maxPerPage");
|
package/config/vars.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vars.js","sourceRoot":"","sources":["../../config/vars.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,wDAA0C;AAG1C,MAAM,QAAQ,GAAG,IAAI,MAAM,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;AAM7C,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,SAAS,EAAE;IACtC,GAAG;QACC,OAAO,QAAQ,CAAC,SAAS,CAAyB,SAAS,CAAC,CAAC;IACjE,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,SAAS,EAAE;IACtC,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,SAAS,CAAC,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,iBAAiB,CAAC,IAAI,yBAAyB,CAAC,CAAC;IACzG,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,UAAU,EAAE;IACvC,GAAG;QACC,OAAO,QAAQ,CAAC,SAAS,CAAU,UAAU,CAAC,CAAC;IACnD,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,Y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ACC,OAAO,QAAQ,CAAC,SAAS,CAAU,kBAAkB,CAAC,CAAC;IAC3D,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,aAAa,EAAE;IAC1C,GAAG;QACC,OAAO,QAAQ,CAAC,SAAS,CAAS,aAAa,CAAC,CAAC;IACrD,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,cAAc,EAAE;IAC3C,GAAG;QACC,OAAO,QAAQ,CAAC,SAAS,CAAS,cAAc,CAAC,CAAC;IACtD,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,iBAAiB,EAAE;IAC9C,GAAG;QACC,OAAO,QAAQ,CAAC,SAAS,CAAW,iBAAiB,CAAC,CAAC;IAC3D,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,OAAO,EAAE;IACpC,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,OAAO,CAAC,IAAI,SAAS,CAAC,MAAM,CAAC,cAAc,CAAC,CAAC;IACrE,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,cAAc,EAAE;IAC3C,GAAG;QACC,OAAO,QAAQ,CAAC,SAAS,CAAS,cAAc,CAAC,CAAC;IACtD,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC"}
|
|
@@ -1,16 +1,10 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
* This resource allows you to create and manage GitHub Dependabot secrets 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 Dependabot secrets within your GitHub organization. You must have write access to a repository to use this resource.
|
|
5
4
|
*
|
|
6
|
-
* Secret values are encrypted using the [Go '/crypto/box' module](https://godoc.org/golang.org/x/crypto/nacl/box) which is
|
|
7
|
-
* interoperable with [libsodium](https://libsodium.gitbook.io/doc/). Libsodium is used by GitHub to decrypt secret values.
|
|
5
|
+
* 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.
|
|
8
6
|
*
|
|
9
|
-
* For the purposes of security, the contents of the `value` field have been marked as `sensitive` to Terraform,
|
|
10
|
-
* but it is important to note that **this does not hide it from state files**. You should treat state as sensitive always.
|
|
11
|
-
* It is also advised that you do not store plaintext values in your code but rather populate the `valueEncrypted`
|
|
12
|
-
* using fields from a resource, data source or variable as, while encrypted in state, these will be easily accessible
|
|
13
|
-
* in your code. See below for an example of this abstraction.
|
|
7
|
+
* 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.
|
|
14
8
|
*
|
|
15
9
|
* ## Example Usage
|
|
16
10
|
*
|
|
@@ -21,12 +15,12 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
21
15
|
* const examplePlaintext = new github.DependabotOrganizationSecret("example_plaintext", {
|
|
22
16
|
* secretName: "example_secret_name",
|
|
23
17
|
* visibility: "all",
|
|
24
|
-
*
|
|
18
|
+
* plaintextValue: someSecretString,
|
|
25
19
|
* });
|
|
26
20
|
* const exampleSecret = new github.DependabotOrganizationSecret("example_secret", {
|
|
27
21
|
* secretName: "example_secret_name",
|
|
28
22
|
* visibility: "all",
|
|
29
|
-
*
|
|
23
|
+
* encryptedValue: someEncryptedSecretString,
|
|
30
24
|
* });
|
|
31
25
|
* ```
|
|
32
26
|
*
|
|
@@ -40,17 +34,42 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
40
34
|
* const examplePlaintext = new github.DependabotOrganizationSecret("example_plaintext", {
|
|
41
35
|
* secretName: "example_secret_name",
|
|
42
36
|
* visibility: "selected",
|
|
43
|
-
*
|
|
37
|
+
* plaintextValue: someSecretString,
|
|
44
38
|
* selectedRepositoryIds: [repo.then(repo => repo.repoId)],
|
|
45
39
|
* });
|
|
46
40
|
* const exampleEncrypted = new github.DependabotOrganizationSecret("example_encrypted", {
|
|
47
41
|
* secretName: "example_secret_name",
|
|
48
42
|
* visibility: "selected",
|
|
49
|
-
*
|
|
43
|
+
* encryptedValue: someEncryptedSecretString,
|
|
50
44
|
* selectedRepositoryIds: [repo.then(repo => repo.repoId)],
|
|
51
45
|
* });
|
|
52
46
|
* ```
|
|
53
47
|
*
|
|
48
|
+
* ## Example Lifecycle Ignore Changes
|
|
49
|
+
*
|
|
50
|
+
* This resource supports using the `lifecycle` `ignoreChanges` block on `remoteUpdatedAt` to support use cases where a secret value is created using a placeholder value and then modified after creation outside the scope of Terraform. This approach ensures only the initial placeholder value is referenced in your code and in the resulting state file.
|
|
51
|
+
*
|
|
52
|
+
* ```typescript
|
|
53
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
54
|
+
* import * as github from "@pulumi/github";
|
|
55
|
+
*
|
|
56
|
+
* const exampleAllowDrift = new github.DependabotOrganizationSecret("example_allow_drift", {
|
|
57
|
+
* secretName: "example_secret_name",
|
|
58
|
+
* visibility: "all",
|
|
59
|
+
* plaintextValue: "placeholder",
|
|
60
|
+
* });
|
|
61
|
+
* ```
|
|
62
|
+
*
|
|
63
|
+
* ## Import
|
|
64
|
+
*
|
|
65
|
+
* This resource can be imported using the secret name as the ID.
|
|
66
|
+
*
|
|
67
|
+
* > **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.
|
|
68
|
+
*
|
|
69
|
+
* ### Import Block
|
|
70
|
+
*
|
|
71
|
+
* The following import imports a GitHub Dependabot organization secret named `mysecret` to a `github.DependabotOrganizationSecret` resource named `example`.
|
|
72
|
+
*
|
|
54
73
|
* ### Import Command
|
|
55
74
|
*
|
|
56
75
|
* The following command imports a GitHub Dependabot organization secret named `mysecret` to a `github.DependabotOrganizationSecret` resource named `example`.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dependabotOrganizationSecret.d.ts","sourceRoot":"","sources":["../dependabotOrganizationSecret.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC
|
|
1
|
+
{"version":3,"file":"dependabotOrganizationSecret.d.ts","sourceRoot":"","sources":["../dependabotOrganizationSecret.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8EG;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,SAAgC,SAAS,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACjE;;;;OAIG;IACH,SAAwB,cAAc,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC1E;;OAEG;IACH,SAAwB,KAAK,EAAE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,CAAC,CAAC;IACzE;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACzC;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAClD;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CACpC"}
|
|
@@ -29,17 +29,11 @@ exports.DependabotOrganizationSecret = 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 Dependabot 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 Dependabot 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.DependabotOrganizationSecret("example_plaintext", {
|
|
51
45
|
* secretName: "example_secret_name",
|
|
52
46
|
* visibility: "all",
|
|
53
|
-
*
|
|
47
|
+
* plaintextValue: someSecretString,
|
|
54
48
|
* });
|
|
55
49
|
* const exampleSecret = new github.DependabotOrganizationSecret("example_secret", {
|
|
56
50
|
* secretName: "example_secret_name",
|
|
57
51
|
* visibility: "all",
|
|
58
|
-
*
|
|
52
|
+
* encryptedValue: someEncryptedSecretString,
|
|
59
53
|
* });
|
|
60
54
|
* ```
|
|
61
55
|
*
|
|
@@ -69,17 +63,42 @@ const utilities = __importStar(require("./utilities"));
|
|
|
69
63
|
* const examplePlaintext = new github.DependabotOrganizationSecret("example_plaintext", {
|
|
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 exampleEncrypted = new github.DependabotOrganizationSecret("example_encrypted", {
|
|
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
|
* ```
|
|
82
76
|
*
|
|
77
|
+
* ## Example Lifecycle Ignore Changes
|
|
78
|
+
*
|
|
79
|
+
* This resource supports using the `lifecycle` `ignoreChanges` block on `remoteUpdatedAt` to support use cases where a secret value is created using a placeholder value and then modified after creation outside the scope of Terraform. This approach ensures only the initial placeholder value is referenced in your code and in the resulting state file.
|
|
80
|
+
*
|
|
81
|
+
* ```typescript
|
|
82
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
83
|
+
* import * as github from "@pulumi/github";
|
|
84
|
+
*
|
|
85
|
+
* const exampleAllowDrift = new github.DependabotOrganizationSecret("example_allow_drift", {
|
|
86
|
+
* secretName: "example_secret_name",
|
|
87
|
+
* visibility: "all",
|
|
88
|
+
* plaintextValue: "placeholder",
|
|
89
|
+
* });
|
|
90
|
+
* ```
|
|
91
|
+
*
|
|
92
|
+
* ## Import
|
|
93
|
+
*
|
|
94
|
+
* This resource can be imported using the secret name as the ID.
|
|
95
|
+
*
|
|
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.
|
|
97
|
+
*
|
|
98
|
+
* ### Import Block
|
|
99
|
+
*
|
|
100
|
+
* The following import imports a GitHub Dependabot organization secret named `mysecret` to a `github.DependabotOrganizationSecret` resource named `example`.
|
|
101
|
+
*
|
|
83
102
|
* ### Import Command
|
|
84
103
|
*
|
|
85
104
|
* The following command imports a GitHub Dependabot organization secret named `mysecret` to a `github.DependabotOrganizationSecret` resource named `example`.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dependabotOrganizationSecret.js","sourceRoot":"","sources":["../dependabotOrganizationSecret.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"dependabotOrganizationSecret.js","sourceRoot":"","sources":["../dependabotOrganizationSecret.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;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AC9E,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,4BAA4B,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACjF,CAAC;;AAjIL,oEAkIC"}
|
|
@@ -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 a Dependabot 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 a Dependabot 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.DependabotOrganizationSecret("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 Dependabot organization secret named `mysecret` to a `github.DependabotOrganizationSecretRepositories` resource named `example`.
|
|
35
|
+
*
|
|
33
36
|
* ### Import Command
|
|
34
37
|
*
|
|
35
38
|
* The following command imports the repositories able to access the Dependabot organization secret named `mysecret` to a `github.DependabotOrganizationSecretRepositories` resource named `example`.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dependabotOrganizationSecretRepositories.d.ts","sourceRoot":"","sources":["../dependabotOrganizationSecretRepositories.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC
|
|
1
|
+
{"version":3,"file":"dependabotOrganizationSecretRepositories.d.ts","sourceRoot":"","sources":["../dependabotOrganizationSecretRepositories.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,qBAAa,wCAAyC,SAAQ,MAAM,CAAC,cAAc;IAC/E;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,6CAA6C,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,wCAAwC;IAOlM;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,wCAAwC;IAOnF;;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,4CAA4C,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB;CAsBpH;AAED;;GAEG;AACH,MAAM,WAAW,6CAA6C;IAC1D;;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,4CAA4C;IACzD;;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.DependabotOrganizationSecretRepositories = 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 a Dependabot 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 a Dependabot 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.DependabotOrganizationSecret("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 Dependabot organization secret named `mysecret` to a `github.DependabotOrganizationSecretRepositories` resource named `example`.
|
|
64
|
+
*
|
|
62
65
|
* ### Import Command
|
|
63
66
|
*
|
|
64
67
|
* The following command imports the repositories able to access the Dependabot organization secret named `mysecret` to a `github.DependabotOrganizationSecretRepositories` resource named `example`.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dependabotOrganizationSecretRepositories.js","sourceRoot":"","sources":["../dependabotOrganizationSecretRepositories.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"dependabotOrganizationSecretRepositories.js","sourceRoot":"","sources":["../dependabotOrganizationSecretRepositories.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,MAAa,wCAAyC,SAAQ,MAAM,CAAC,cAAc;IAC/E;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqD,EAAE,IAAmC;QACnJ,OAAO,IAAI,wCAA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AAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,wCAAwC,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7F,CAAC;;AAjEL,4FAkEC"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
* This resource adds permission for a repository to use a Dependabot 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 a Dependabot 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.DependabotOrganizationSecret("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 Dependabot organization secret named `mysecret` to a `github.DependabotOrganizationSecretRepository` resource named `example`.
|
|
35
|
+
*
|
|
33
36
|
* ### Import Command
|
|
34
37
|
*
|
|
35
38
|
* The following command imports the access of repository ID `123456` for the Dependabot organization secret named `mysecret` to a `v` resource named `example`.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dependabotOrganizationSecretRepository.d.ts","sourceRoot":"","sources":["../dependabotOrganizationSecretRepository.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC
|
|
1
|
+
{"version":3,"file":"dependabotOrganizationSecretRepository.d.ts","sourceRoot":"","sources":["../dependabotOrganizationSecretRepository.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,qBAAa,sCAAuC,SAAQ,MAAM,CAAC,cAAc;IAC7E;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,2CAA2C,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,sCAAsC;IAO9L;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,sCAAsC;IAOjF;;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,0CAA0C,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB;CAsBlH;AAED;;GAEG;AACH,MAAM,WAAW,2CAA2C;IACxD;;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,0CAA0C;IACvD;;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.DependabotOrganizationSecretRepository = 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 a Dependabot 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 a Dependabot 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.DependabotOrganizationSecret("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 Dependabot organization secret named `mysecret` to a `github.DependabotOrganizationSecretRepository` resource named `example`.
|
|
64
|
+
*
|
|
62
65
|
* ### Import Command
|
|
63
66
|
*
|
|
64
67
|
* The following command imports the access of repository ID `123456` for the Dependabot organization secret named `mysecret` to a `v` resource named `example`.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dependabotOrganizationSecretRepository.js","sourceRoot":"","sources":["../dependabotOrganizationSecretRepository.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"dependabotOrganizationSecretRepository.js","sourceRoot":"","sources":["../dependabotOrganizationSecretRepository.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,MAAa,sCAAuC,SAAQ,MAAM,CAAC,cAAc;IAC7E;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmD,EAAE,IAAmC;QACjJ,OAAO,IAAI,sCAAsC,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC7F,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,4FAA4F,CAAC;IAEnI;;;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,sCAAsC,CAAC,YAAY,CAAC;IACvF,CAAC;IAmBD,YAAY,IAAY,EAAE,WAAsG,EAAE,IAAmC;QACjK,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAsE,CAAC;YACrF,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,WAAqE,CAAC;YACnF,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,sCAAsC,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3F,CAAC;;AAjEL,wFAkEC"}
|
package/dependabotSecret.d.ts
CHANGED
|
@@ -1,16 +1,10 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
* This resource allows you to create and manage GitHub Dependabot secrets within your GitHub repositories.
|
|
4
|
-
* You must have write access to a repository to use this resource.
|
|
3
|
+
* This resource allows you to create and manage GitHub Dependabot secrets within your GitHub repositories. You must have write access to a repository to use this resource.
|
|
5
4
|
*
|
|
6
|
-
* Secret values are encrypted using the [Go '/crypto/box' module](https://godoc.org/golang.org/x/crypto/nacl/box) which is
|
|
7
|
-
* interoperable with [libsodium](https://libsodium.gitbook.io/doc/). Libsodium is used by GitHub to decrypt secret values.
|
|
5
|
+
* 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.
|
|
8
6
|
*
|
|
9
|
-
* For the purposes of security, the contents of the `value` field have been marked as `sensitive` to Terraform,
|
|
10
|
-
* but it is important to note that **this does not hide it from state files**. You should treat state as sensitive always.
|
|
11
|
-
* It is also advised that you do not store plaintext values in your code but rather populate the `valueEncrypted`
|
|
12
|
-
* using fields from a resource, data source or variable as, while encrypted in state, these will be easily accessible
|
|
13
|
-
* in your code. See below for an example of this abstraction.
|
|
7
|
+
* 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.
|
|
14
8
|
*
|
|
15
9
|
* ## Example Usage
|
|
16
10
|
*
|
|
@@ -21,12 +15,12 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
21
15
|
* const examplePlaintext = new github.DependabotSecret("example_plaintext", {
|
|
22
16
|
* repository: "example_repository",
|
|
23
17
|
* secretName: "example_secret_name",
|
|
24
|
-
*
|
|
18
|
+
* plaintextValue: someSecretString,
|
|
25
19
|
* });
|
|
26
20
|
* const exampleEncrypted = new github.DependabotSecret("example_encrypted", {
|
|
27
21
|
* repository: "example_repository",
|
|
28
22
|
* secretName: "example_secret_name",
|
|
29
|
-
*
|
|
23
|
+
* encryptedValue: someEncryptedSecretString,
|
|
30
24
|
* });
|
|
31
25
|
* ```
|
|
32
26
|
*
|
|
@@ -41,7 +35,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
41
35
|
* const exampleAllowDrift = new github.DependabotSecret("example_allow_drift", {
|
|
42
36
|
* repository: "example_repository",
|
|
43
37
|
* secretName: "example_secret_name",
|
|
44
|
-
*
|
|
38
|
+
* plaintextValue: "placeholder",
|
|
45
39
|
* });
|
|
46
40
|
* ```
|
|
47
41
|
*
|
|
@@ -51,6 +45,10 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
51
45
|
*
|
|
52
46
|
* > **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.
|
|
53
47
|
*
|
|
48
|
+
* ### Import Block
|
|
49
|
+
*
|
|
50
|
+
* The following import imports a GitHub Dependabot secret named `mysecret` for the repo `myrepo` to a `github.DependabotSecret` resource named `example`.
|
|
51
|
+
*
|
|
54
52
|
* ### Import Command
|
|
55
53
|
*
|
|
56
54
|
* The following command imports a GitHub Dependabot secret named `mysecret` for the repo `myrepo` to a `github.DependabotSecret` resource named `example`.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dependabotSecret.d.ts","sourceRoot":"","sources":["../dependabotSecret.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC
|
|
1
|
+
{"version":3,"file":"dependabotSecret.d.ts","sourceRoot":"","sources":["../dependabotSecret.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyDG;AACH,qBAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IACvD;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,qBAAqB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,gBAAgB;IAOlJ;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,gBAAgB;IAO3D;;OAEG;IACH,SAAgC,SAAS,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACjE;;;;OAIG;IACH,SAAwB,cAAc,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC1E;;OAEG;IACH,SAAwB,KAAK,EAAE,MAAM,CAAC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AE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CACrD"}
|
package/dependabotSecret.js
CHANGED
|
@@ -29,17 +29,11 @@ exports.DependabotSecret = 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 Dependabot secrets within your GitHub repositories.
|
|
33
|
-
* You must have write access to a repository to use this resource.
|
|
32
|
+
* This resource allows you to create and manage GitHub Dependabot secrets within your GitHub repositories. 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.DependabotSecret("example_plaintext", {
|
|
51
45
|
* repository: "example_repository",
|
|
52
46
|
* secretName: "example_secret_name",
|
|
53
|
-
*
|
|
47
|
+
* plaintextValue: someSecretString,
|
|
54
48
|
* });
|
|
55
49
|
* const exampleEncrypted = new github.DependabotSecret("example_encrypted", {
|
|
56
50
|
* repository: "example_repository",
|
|
57
51
|
* secretName: "example_secret_name",
|
|
58
|
-
*
|
|
52
|
+
* encryptedValue: someEncryptedSecretString,
|
|
59
53
|
* });
|
|
60
54
|
* ```
|
|
61
55
|
*
|
|
@@ -70,7 +64,7 @@ const utilities = __importStar(require("./utilities"));
|
|
|
70
64
|
* const exampleAllowDrift = new github.DependabotSecret("example_allow_drift", {
|
|
71
65
|
* repository: "example_repository",
|
|
72
66
|
* secretName: "example_secret_name",
|
|
73
|
-
*
|
|
67
|
+
* plaintextValue: "placeholder",
|
|
74
68
|
* });
|
|
75
69
|
* ```
|
|
76
70
|
*
|
|
@@ -80,6 +74,10 @@ const utilities = __importStar(require("./utilities"));
|
|
|
80
74
|
*
|
|
81
75
|
* > **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.
|
|
82
76
|
*
|
|
77
|
+
* ### Import Block
|
|
78
|
+
*
|
|
79
|
+
* The following import imports a GitHub Dependabot secret named `mysecret` for the repo `myrepo` to a `github.DependabotSecret` resource named `example`.
|
|
80
|
+
*
|
|
83
81
|
* ### Import Command
|
|
84
82
|
*
|
|
85
83
|
* The following command imports a GitHub Dependabot secret named `mysecret` for the repo `myrepo` to a `github.DependabotSecret` resource named `example`.
|
package/dependabotSecret.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dependabotSecret.js","sourceRoot":"","sources":["../dependabotSecret.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;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E,UAAU,CAAC;YAChD,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,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,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,iBAAiB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACtD,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACnD,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,gBAAgB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACrE,CAAC;;AA/HL,4CAgIC"}
|
|
@@ -2,8 +2,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as inputs from "./types/input";
|
|
3
3
|
import * as outputs from "./types/output";
|
|
4
4
|
/**
|
|
5
|
-
* This resource allows you to create and manage GitHub Actions permissions within your GitHub enterprise.
|
|
6
|
-
* You must have admin access to an enterprise to use this resource.
|
|
5
|
+
* This resource allows you to create and manage GitHub Actions permissions within your GitHub enterprise. You must have admin access to an enterprise to use this resource.
|
|
7
6
|
*
|
|
8
7
|
* ## Example Usage
|
|
9
8
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"enterpriseActionsPermissions.d.ts","sourceRoot":"","sources":["../enterpriseActionsPermissions.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C
|
|
1
|
+
{"version":3,"file":"enterpriseActionsPermissions.d.ts","sourceRoot":"","sources":["../enterpriseActionsPermissions.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;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,cAAc,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC1E;;OAEG;IACH,SAAwB,oBAAoB,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,gDAAgD,GAAG,SAAS,CAAC,CAAC;IAClI;;OAEG;IAC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G;IACH,0BAA0B,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,sDAAsD,GAAG,SAAS,CAAC,CAAC;IACrH;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CACxC"}
|
|
@@ -29,8 +29,7 @@ exports.EnterpriseActionsPermissions = 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 permissions within your GitHub enterprise.
|
|
33
|
-
* You must have admin access to an enterprise to use this resource.
|
|
32
|
+
* This resource allows you to create and manage GitHub Actions permissions within your GitHub enterprise. You must have admin access to an enterprise to use this resource.
|
|
34
33
|
*
|
|
35
34
|
* ## Example Usage
|
|
36
35
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"enterpriseActionsPermissions.js","sourceRoot":"","sources":["../enterpriseActionsPermissions.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"enterpriseActionsPermissions.js","sourceRoot":"","sources":["../enterpriseActionsPermissions.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,MAAa,4BAA6B,SAAQ,MAAM,CAAC,cAAc;IACnE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyC,EAAE,IAAmC;QACvI,OAAO,IAAI,4BAA4B,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EA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AAsB,CAAC,GAAG,IAAI,EAAE,oBAAoB,CAAC;YACpE,cAAc,CAAC,sBAAsB,CAAC,GAAG,IAAI,EAAE,oBAAoB,CAAC;YACpE,cAAc,CAAC,4BAA4B,CAAC,GAAG,IAAI,EAAE,0BAA0B,CAAC;YAChF,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,EAAE,cAAc,CAAC;SAC3D;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;;AAnFL,oEAoFC"}
|
|
@@ -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 runner groups within your GitHub enterprise.
|
|
4
|
-
* You must have admin access to an enterprise to use this resource.
|
|
3
|
+
* This resource allows you to create and manage GitHub Actions runner groups within your GitHub enterprise. You must have admin access to an enterprise to use this resource.
|
|
5
4
|
*
|
|
6
5
|
* ## Example Usage
|
|
7
6
|
*
|