@pulumi/github 6.15.0-alpha.1786428537 → 6.15.0-alpha.1786724748
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
|
@@ -1,16 +1,50 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
* This resource allows you to create and manage GitHub Actions secrets within your GitHub repository environments.
|
|
4
|
-
* You must have write access to a repository to use this resource.
|
|
3
|
+
* This resource allows you to create and manage GitHub Actions secrets within your GitHub repository environments. 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
|
-
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
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.
|
|
8
|
+
*
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
*
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as github from "@pulumi/github";
|
|
14
|
+
*
|
|
15
|
+
* const examplePlaintext = new github.ActionsEnvironmentSecret("example_plaintext", {
|
|
16
|
+
* repository: "example-repo",
|
|
17
|
+
* environment: "example-environment",
|
|
18
|
+
* secretName: "example_secret_name",
|
|
19
|
+
* plaintextValue: "example-value",
|
|
20
|
+
* });
|
|
21
|
+
* const exampleEncrypted = new github.ActionsEnvironmentSecret("example_encrypted", {
|
|
22
|
+
* repository: "example-repo",
|
|
23
|
+
* environment: "example-environment",
|
|
24
|
+
* secretName: "example_secret_name",
|
|
25
|
+
* keyId: keyId,
|
|
26
|
+
* encryptedValue: encryptedSecretString,
|
|
27
|
+
* });
|
|
28
|
+
* ```
|
|
29
|
+
*
|
|
30
|
+
* ```typescript
|
|
31
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
32
|
+
* import * as github from "@pulumi/github";
|
|
33
|
+
*
|
|
34
|
+
* const example = github.getRepository({
|
|
35
|
+
* fullName: "my-org/repo",
|
|
36
|
+
* });
|
|
37
|
+
* const examplePlaintext = new github.RepositoryEnvironment("example_plaintext", {
|
|
38
|
+
* repository: example.then(example => example.name),
|
|
39
|
+
* environment: "example-environment",
|
|
40
|
+
* });
|
|
41
|
+
* const exampleEncrypted = new github.ActionsEnvironmentSecret("example_encrypted", {
|
|
42
|
+
* repository: example.then(example => example.name),
|
|
43
|
+
* environment: exampleGithubRepositoryEnvironment.environment,
|
|
44
|
+
* secretName: "test_secret_name",
|
|
45
|
+
* plaintextValue: "example-value",
|
|
46
|
+
* });
|
|
47
|
+
* ```
|
|
14
48
|
*
|
|
15
49
|
* ## Example Lifecycle Ignore Changes
|
|
16
50
|
*
|
|
@@ -24,16 +58,20 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
24
58
|
* repository: "example-repo",
|
|
25
59
|
* environment: "example-environment",
|
|
26
60
|
* secretName: "example_secret_name",
|
|
27
|
-
*
|
|
61
|
+
* plaintextValue: "placeholder",
|
|
28
62
|
* });
|
|
29
63
|
* ```
|
|
30
64
|
*
|
|
31
65
|
* ## Import
|
|
32
66
|
*
|
|
33
|
-
* This resource can be imported using an ID made of the repository name, environment name (
|
|
67
|
+
* This resource can be imported using an ID made of the repository name, environment name (any `:` in the environment name need to be escaped as `??`), and secret name all separated by a `:`.
|
|
34
68
|
*
|
|
35
69
|
* > **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.
|
|
36
70
|
*
|
|
71
|
+
* ### Import Block
|
|
72
|
+
*
|
|
73
|
+
* The following import imports a GitHub actions environment secret named `mysecret` for the repo `myrepo` and environment `myenv` to a `github.ActionsEnvironmentSecret` resource named `example`.
|
|
74
|
+
*
|
|
37
75
|
* ### Import Command
|
|
38
76
|
*
|
|
39
77
|
* The following command imports a GitHub actions environment secret named `mysecret` for the repo `myrepo` and environment `myenv` to a `github.ActionsEnvironmentSecret` resource named `example`.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actionsEnvironmentSecret.d.ts","sourceRoot":"","sources":["../actionsEnvironmentSecret.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC
|
|
1
|
+
{"version":3,"file":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AC,CAAC;IAChD;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC9C;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC7C;;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;CACrD;AAED;;GAEG;AACH,MAAM,WAAW,4BAA4B;IACzC;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAClD;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAClC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACzC;;;;;;OAMG;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;IACjC;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACjC;;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;CACrD"}
|
|
@@ -29,17 +29,51 @@ exports.ActionsEnvironmentSecret = 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 repository environments.
|
|
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 repository environments. 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
|
-
*
|
|
40
|
-
*
|
|
41
|
-
*
|
|
42
|
-
*
|
|
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.
|
|
37
|
+
*
|
|
38
|
+
* ## Example Usage
|
|
39
|
+
*
|
|
40
|
+
* ```typescript
|
|
41
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
42
|
+
* import * as github from "@pulumi/github";
|
|
43
|
+
*
|
|
44
|
+
* const examplePlaintext = new github.ActionsEnvironmentSecret("example_plaintext", {
|
|
45
|
+
* repository: "example-repo",
|
|
46
|
+
* environment: "example-environment",
|
|
47
|
+
* secretName: "example_secret_name",
|
|
48
|
+
* plaintextValue: "example-value",
|
|
49
|
+
* });
|
|
50
|
+
* const exampleEncrypted = new github.ActionsEnvironmentSecret("example_encrypted", {
|
|
51
|
+
* repository: "example-repo",
|
|
52
|
+
* environment: "example-environment",
|
|
53
|
+
* secretName: "example_secret_name",
|
|
54
|
+
* keyId: keyId,
|
|
55
|
+
* encryptedValue: encryptedSecretString,
|
|
56
|
+
* });
|
|
57
|
+
* ```
|
|
58
|
+
*
|
|
59
|
+
* ```typescript
|
|
60
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
61
|
+
* import * as github from "@pulumi/github";
|
|
62
|
+
*
|
|
63
|
+
* const example = github.getRepository({
|
|
64
|
+
* fullName: "my-org/repo",
|
|
65
|
+
* });
|
|
66
|
+
* const examplePlaintext = new github.RepositoryEnvironment("example_plaintext", {
|
|
67
|
+
* repository: example.then(example => example.name),
|
|
68
|
+
* environment: "example-environment",
|
|
69
|
+
* });
|
|
70
|
+
* const exampleEncrypted = new github.ActionsEnvironmentSecret("example_encrypted", {
|
|
71
|
+
* repository: example.then(example => example.name),
|
|
72
|
+
* environment: exampleGithubRepositoryEnvironment.environment,
|
|
73
|
+
* secretName: "test_secret_name",
|
|
74
|
+
* plaintextValue: "example-value",
|
|
75
|
+
* });
|
|
76
|
+
* ```
|
|
43
77
|
*
|
|
44
78
|
* ## Example Lifecycle Ignore Changes
|
|
45
79
|
*
|
|
@@ -53,16 +87,20 @@ const utilities = __importStar(require("./utilities"));
|
|
|
53
87
|
* repository: "example-repo",
|
|
54
88
|
* environment: "example-environment",
|
|
55
89
|
* secretName: "example_secret_name",
|
|
56
|
-
*
|
|
90
|
+
* plaintextValue: "placeholder",
|
|
57
91
|
* });
|
|
58
92
|
* ```
|
|
59
93
|
*
|
|
60
94
|
* ## Import
|
|
61
95
|
*
|
|
62
|
-
* This resource can be imported using an ID made of the repository name, environment name (
|
|
96
|
+
* This resource can be imported using an ID made of the repository name, environment name (any `:` in the environment name need to be escaped as `??`), and secret name all separated by a `:`.
|
|
63
97
|
*
|
|
64
98
|
* > **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.
|
|
65
99
|
*
|
|
100
|
+
* ### Import Block
|
|
101
|
+
*
|
|
102
|
+
* The following import imports a GitHub actions environment secret named `mysecret` for the repo `myrepo` and environment `myenv` to a `github.ActionsEnvironmentSecret` resource named `example`.
|
|
103
|
+
*
|
|
66
104
|
* ### Import Command
|
|
67
105
|
*
|
|
68
106
|
* The following command imports a GitHub actions environment secret named `mysecret` for the repo `myrepo` and environment `myenv` to a `github.ActionsEnvironmentSecret` resource named `example`.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actionsEnvironmentSecret.js","sourceRoot":"","sources":["../actionsEnvironmentSecret.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"actionsEnvironmentSecret.js","sourceRoot":"","sources":["../actionsEnvironmentSecret.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgFG;AACH,MAAa,wBAAyB,SAAQ,MAAM,CAAC,cAAc;IAC/D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqC,EAAE,IAAmC;QACnI,OAAO,IAAI,wBAAwB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC/E,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,gEAAgE,CAAC;IAEvG;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACn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,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,wBAAwB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7E,CAAC;;AAxIL,4DAyIC"}
|
|
@@ -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 repository environments.
|
|
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 repository environments. You must have write access to a repository to use this resource.
|
|
5
4
|
*
|
|
6
5
|
* ## Example Usage
|
|
7
6
|
*
|
|
@@ -40,6 +39,10 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
40
39
|
*
|
|
41
40
|
* This resource can be imported using an ID made of the repository name, environment name (any `:` in the environment name need to be escaped as `??`), and variable name all separated by a `:`.
|
|
42
41
|
*
|
|
42
|
+
* ### Import Block
|
|
43
|
+
*
|
|
44
|
+
* The following import imports a GitHub actions environment variable named `myvariable` for the repo `myrepo` and environment `myenv` to a `github.ActionsEnvironmentVariable` resource named `example`.
|
|
45
|
+
*
|
|
43
46
|
* ### Import Command
|
|
44
47
|
*
|
|
45
48
|
* The following command imports a GitHub actions environment variable named `myvariable` for the repo `myrepo` and environment `myenv` to a `github.ActionsEnvironmentVariable` resource named `example`.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actionsEnvironmentVariable.d.ts","sourceRoot":"","sources":["../actionsEnvironmentVariable.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC
|
|
1
|
+
{"version":3,"file":"actionsEnvironmentVariable.d.ts","sourceRoot":"","sources":["../actionsEnvironmentVariable.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmDG;AACH,qBAAa,0BAA2B,SAAQ,MAAM,CAAC,cAAc;IACjE;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,+BAA+B,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,0BAA0B;IAOtK;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,0BAA0B;IAOrE;;OAEG;IACH,SAAgC,SAAS,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACjE;;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;IAC1D;;OAEG;IACH,SAAgC,YAAY,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACpE;;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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,7 @@ exports.ActionsEnvironmentVariable = 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 repository environments.
|
|
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 repository environments. You must have write access to a repository to use this resource.
|
|
34
33
|
*
|
|
35
34
|
* ## Example Usage
|
|
36
35
|
*
|
|
@@ -69,6 +68,10 @@ const utilities = __importStar(require("./utilities"));
|
|
|
69
68
|
*
|
|
70
69
|
* This resource can be imported using an ID made of the repository name, environment name (any `:` in the environment name need to be escaped as `??`), and variable name all separated by a `:`.
|
|
71
70
|
*
|
|
71
|
+
* ### Import Block
|
|
72
|
+
*
|
|
73
|
+
* The following import imports a GitHub actions environment variable named `myvariable` for the repo `myrepo` and environment `myenv` to a `github.ActionsEnvironmentVariable` resource named `example`.
|
|
74
|
+
*
|
|
72
75
|
* ### Import Command
|
|
73
76
|
*
|
|
74
77
|
* The following command imports a GitHub actions environment variable named `myvariable` for the repo `myrepo` and environment `myenv` to a `github.ActionsEnvironmentVariable` resource named `example`.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actionsEnvironmentVariable.js","sourceRoot":"","sources":["../actionsEnvironmentVariable.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"actionsEnvironmentVariable.js","sourceRoot":"","sources":["../actionsEnvironmentVariable.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;G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umi 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-hosted runners within your GitHub organization.
|
|
6
|
-
* You must have admin access to an organization to use this resource.
|
|
5
|
+
* This resource allows you to create and manage GitHub-hosted runners within your GitHub organization. You must have admin access to an organization to use this resource.
|
|
7
6
|
*
|
|
8
7
|
* GitHub-hosted runners are fully managed virtual machines that run your GitHub Actions workflows. Unlike self-hosted runners, GitHub handles the infrastructure, maintenance, and scaling.
|
|
9
8
|
*
|
|
@@ -55,13 +54,13 @@ import * as outputs from "./types/output";
|
|
|
55
54
|
*
|
|
56
55
|
* ## Notes
|
|
57
56
|
*
|
|
58
|
-
*
|
|
59
|
-
*
|
|
60
|
-
*
|
|
61
|
-
*
|
|
62
|
-
*
|
|
63
|
-
*
|
|
64
|
-
*
|
|
57
|
+
* - This resource is **organization-only** and cannot be used with individual accounts.
|
|
58
|
+
* - The `image` field cannot be changed after the runner is created. Changing it will force recreation of the runner.
|
|
59
|
+
* - The `size` field can be updated to scale the runner up or down as needed.
|
|
60
|
+
* - Image IDs for GitHub-owned images are numeric strings (e.g., "2306" for Ubuntu Latest 24.04), not names like "ubuntu-latest".
|
|
61
|
+
* - Deletion of hosted runners is asynchronous. The provider will poll for up to 10 minutes (configurable via timeouts) to confirm deletion.
|
|
62
|
+
* - Runner creation and updates may take several minutes as GitHub provisions the infrastructure.
|
|
63
|
+
* - Static public IPs are subject to account limits. Check your organization's limits before enabling.
|
|
65
64
|
*
|
|
66
65
|
* ## Getting Available Images and Sizes
|
|
67
66
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actionsHostedRunner.d.ts","sourceRoot":"","sources":["../actionsHostedRunner.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,O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AAC;IAClD;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACxC;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IACpD;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACpC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CAC9B"}
|
package/actionsHostedRunner.js
CHANGED
|
@@ -29,8 +29,7 @@ exports.ActionsHostedRunner = 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-hosted runners within your GitHub organization.
|
|
33
|
-
* You must have admin access to an organization to use this resource.
|
|
32
|
+
* This resource allows you to create and manage GitHub-hosted runners within your GitHub organization. You must have admin access to an organization to use this resource.
|
|
34
33
|
*
|
|
35
34
|
* GitHub-hosted runners are fully managed virtual machines that run your GitHub Actions workflows. Unlike self-hosted runners, GitHub handles the infrastructure, maintenance, and scaling.
|
|
36
35
|
*
|
|
@@ -82,13 +81,13 @@ const utilities = __importStar(require("./utilities"));
|
|
|
82
81
|
*
|
|
83
82
|
* ## Notes
|
|
84
83
|
*
|
|
85
|
-
*
|
|
86
|
-
*
|
|
87
|
-
*
|
|
88
|
-
*
|
|
89
|
-
*
|
|
90
|
-
*
|
|
91
|
-
*
|
|
84
|
+
* - This resource is **organization-only** and cannot be used with individual accounts.
|
|
85
|
+
* - The `image` field cannot be changed after the runner is created. Changing it will force recreation of the runner.
|
|
86
|
+
* - The `size` field can be updated to scale the runner up or down as needed.
|
|
87
|
+
* - Image IDs for GitHub-owned images are numeric strings (e.g., "2306" for Ubuntu Latest 24.04), not names like "ubuntu-latest".
|
|
88
|
+
* - Deletion of hosted runners is asynchronous. The provider will poll for up to 10 minutes (configurable via timeouts) to confirm deletion.
|
|
89
|
+
* - Runner creation and updates may take several minutes as GitHub provisions the infrastructure.
|
|
90
|
+
* - Static public IPs are subject to account limits. Check your organization's limits before enabling.
|
|
92
91
|
*
|
|
93
92
|
* ## Getting Available Images and Sizes
|
|
94
93
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actionsHostedRunner.js","sourceRoot":"","sources":["../actionsHostedRunner.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"actionsHostedRunner.js","sourceRoot":"","sources":["../actionsHostedRunner.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0EG;AACH,MAAa,mBAAoB,SAAQ,MAAM,CAAC,cAAc;IAC1D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAgC,EAAE,IAAmC;QAC9H,OAAO,IAAI,mBAAmB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC1E,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,sDAAsD,CAAC;IAE7F;;;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,mBAAmB,CAAC,YAAY,CAA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L,kDAuIC"}
|
|
@@ -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 within a GitHub
|
|
4
|
-
* organization.
|
|
3
|
+
* This resource allows you to create and manage an OpenID Connect subject claim customization template within a GitHub organization.
|
|
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
|
* ## Example Usage
|
|
10
8
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actionsOrganizationOidcSubjectClaimCustomizationTemplate.d.ts","sourceRoot":"","sources":["../actionsOrganizationOidcSubjectClaimCustomizationTemplate.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC
|
|
1
|
+
{"version":3,"file":"actionsOrganizationOidcSubjectClaimCustomizationTemplate.d.ts","sourceRoot":"","sources":["../actionsOrganizationOidcSubjectClaimCustomizationTemplate.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,qBAAa,wDAAyD,SAAQ,MAAM,CAAC,cAAc;IAC/F;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,6DAA6D,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,wDAAwD;IAOlO;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,wDAAwD;IAOnG;;OAEG;IACH,SAAwB,gBAAgB,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,CAAC,CAAC;IAElE;;;;;;OAMG;gBACS,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,4DAA4D,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB;CAiBpI;AAED;;GAEG;AACH,MAAM,WAAW,6DAA6D;IAC1E;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,GAAG,SAAS,CAAC,CAAC;CACvE;AAED;;GAEG;AACH,MAAM,WAAW,4DAA4D;IACzE;;OAEG;IACH,gBAAgB,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;CAC1D"}
|
|
@@ -29,11 +29,9 @@ exports.ActionsOrganizationOidcSubjectClaimCustomizationTemplate = 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 within a GitHub
|
|
33
|
-
* organization.
|
|
32
|
+
* This resource allows you to create and manage an OpenID Connect subject claim customization template within a GitHub organization.
|
|
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
|
* ## Example Usage
|
|
39
37
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actionsOrganizationOidcSubjectClaimCustomizationTemplate.js","sourceRoot":"","sources":["../actionsOrganizationOidcSubjectClaimCustomizationTemplate.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"actionsOrganizationOidcSubjectClaimCustomizationTemplate.js","sourceRoot":"","sources":["../actionsOrganizationOidcSubjectClaimCustomizationTemplate.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,MAAa,wDAAyD,SAAQ,MAAM,CAAC,cAAc;IAC/F;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqE,EAAE,IAAmC;QACnK,OAAO,IAAI,wDAAwD,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC/G,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,gIAAgI,CAAC;IAEvK;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,wDAAwD,CAAC,YAAY,CAAC;IACzG,CAAC;IAeD,YAAY,IAAY,EAAE,WAA0I,EAAE,IAAmC;QACrM,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAwF,CAAC;YACvG,cAAc,CAAC,kBAAkB,CAAC,GAAG,KAAK,EAAE,gBAAgB,CAAC;SAChE;aAAM;YACH,MAAM,IAAI,GAAG,WAAuF,CAAC;YACrG,IAAI,IAAI,EAAE,gBAAgB,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACnD,MAAM,IAAI,KAAK,CAAC,8CAA8C,CAAC,CAAC;aACnE;YACD,cAAc,CAAC,kBAAkB,CAAC,GAAG,IAAI,EAAE,gBAAgB,CAAC;SAC/D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,wDAAwD,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7G,CAAC;;AAxDL,4HAyDC"}
|
|
@@ -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 organizations.
|
|
6
|
-
* You must have admin access to an organization to use this resource.
|
|
5
|
+
* This resource allows you to create and manage GitHub Actions permissions within your GitHub enterprise organizations. You must have admin access to an organization to use this resource.
|
|
7
6
|
*
|
|
8
7
|
* ## Example Usage
|
|
9
8
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actionsOrganizationPermissions.d.ts","sourceRoot":"","sources":["../actionsOrganizationPermissions.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":"actionsOrganizationPermissions.d.ts","sourceRoot":"","sources":["../actionsOrganizationPermissions.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C,MAAM,GAAG,SAAS,CAAC,CAAC;IAClD;;OAEG;IACH,oBAAoB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,kDAAkD,GAAG,SAAS,CAAC,CAAC;IAC3G;;OAEG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACvD;;OAEG;IACH,yBAAyB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,uDAAuD,GAAG,SAAS,CAAC,CAAC;IACrH;;OAEG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;CAC1D;AAED;;GAEG;AACH,MAAM,WAAW,kCAAkC;IAC/C;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAClD;;OAEG;IACH,oBAAoB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,kDAAkD,GAAG,SAAS,CAAC,CAAC;IAC3G;;OAEG;IACH,mBAAmB,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC1C;;OAEG;IACH,yBAAyB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,uDAAuD,GAAG,SAAS,CAAC,CAAC;IACrH;;OAEG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;CAC1D"}
|
|
@@ -29,8 +29,7 @@ exports.ActionsOrganizationPermissions = 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 organizations.
|
|
33
|
-
* You must have admin access to an organization to use this resource.
|
|
32
|
+
* This resource allows you to create and manage GitHub Actions permissions within your GitHub enterprise organizations. You must have admin access to an organization to use this resource.
|
|
34
33
|
*
|
|
35
34
|
* ## Example Usage
|
|
36
35
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actionsOrganizationPermissions.js","sourceRoot":"","sources":["../actionsOrganizationPermissions.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"actionsOrganizationPermissions.js","sourceRoot":"","sources":["../actionsOrganizationPermissions.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,MAAa,8BAA+B,SAAQ,MAAM,CAAC,cAAc;IACrE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA2C,EAAE,IAAmC;QACzI,OAAO,IAAI,8BAA8B,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACrF,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,4EAA4E,CAAC;IAEnH;;;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,8BAA8B,CAAC,YAAY,CAAC;IAC/E,CAAC;IA+BD,YAAY,IAAY,EAAE,WAAsF,EAAE,IAAmC;QACjJ,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,I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Hub 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 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.ActionsOrganizationSecret("example_plaintext", {
|
|
22
16
|
* secretName: "example_secret_name",
|
|
23
17
|
* visibility: "all",
|
|
24
|
-
*
|
|
18
|
+
* plaintextValue: someSecretString,
|
|
25
19
|
* });
|
|
26
20
|
* const exampleEncrypted = new github.ActionsOrganizationSecret("example_encrypted", {
|
|
27
21
|
* secretName: "example_secret_name",
|
|
28
22
|
* visibility: "all",
|
|
29
|
-
*
|
|
23
|
+
* encryptedValue: someEncryptedSecretString,
|
|
30
24
|
* });
|
|
31
25
|
* ```
|
|
32
26
|
*
|
|
@@ -40,13 +34,13 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
40
34
|
* const exampleEncrypted = new github.ActionsOrganizationSecret("example_encrypted", {
|
|
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 exampleSecret = new github.ActionsOrganizationSecret("example_secret", {
|
|
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
|
* ```
|
|
@@ -62,7 +56,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
62
56
|
* const exampleAllowDrift = new github.ActionsOrganizationSecret("example_allow_drift", {
|
|
63
57
|
* secretName: "example_secret_name",
|
|
64
58
|
* visibility: "all",
|
|
65
|
-
*
|
|
59
|
+
* plaintextValue: "placeholder",
|
|
66
60
|
* });
|
|
67
61
|
* ```
|
|
68
62
|
*
|
|
@@ -72,6 +66,10 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
72
66
|
*
|
|
73
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.
|
|
74
68
|
*
|
|
69
|
+
* ### Import Block
|
|
70
|
+
*
|
|
71
|
+
* The following import imports a GitHub actions organization secret named `mysecret` to a `github.ActionsOrganizationSecret` resource named `example`.
|
|
72
|
+
*
|
|
75
73
|
* ### Import Command
|
|
76
74
|
*
|
|
77
75
|
* 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.d.ts","sourceRoot":"","sources":["../actionsOrganizationSecret.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC
|
|
1
|
+
{"version":3,"file":"actionsOrganizationSecret.d.ts","sourceRoot":"","sources":["../actionsOrganizationSecret.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8EG;AACH,qBAAa,yBAA0B,SAAQ,MAAM,CAAC,cAAc;IAChE;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,8BAA8B,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,yBAAyB;IAOpK;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,yBAAyB;IAOpE;;OAEG;IACH,SAAgC,SAAS,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACjE;;;;;;OAMG;IACH,SAAwB,cAAc,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IAC3E;;;;OAIG;IACH,SAAwB,cAAc,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC1E;;OAEG;IACH,SAAwB,KAAK,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACrD;;;;OAIG;IACH,SAAwB,cAAc,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,G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