@pulumi/github 6.13.0-alpha.1770790161 → 6.13.0-alpha.1770962834

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.
Files changed (129) hide show
  1. package/actionsEnvironmentSecret.d.ts +33 -1
  2. package/actionsEnvironmentSecret.js +33 -1
  3. package/actionsEnvironmentSecret.js.map +1 -1
  4. package/actionsEnvironmentVariable.d.ts +3 -1
  5. package/actionsEnvironmentVariable.js +3 -1
  6. package/actionsEnvironmentVariable.js.map +1 -1
  7. package/actionsOrganizationSecret.d.ts +71 -1
  8. package/actionsOrganizationSecret.js +71 -1
  9. package/actionsOrganizationSecret.js.map +1 -1
  10. package/actionsOrganizationSecretRepositories.d.ts +3 -1
  11. package/actionsOrganizationSecretRepositories.js +3 -1
  12. package/actionsOrganizationSecretRepositories.js.map +1 -1
  13. package/actionsOrganizationSecretRepository.d.ts +3 -1
  14. package/actionsOrganizationSecretRepository.js +3 -1
  15. package/actionsOrganizationSecretRepository.js.map +1 -1
  16. package/actionsOrganizationVariable.d.ts +3 -1
  17. package/actionsOrganizationVariable.js +3 -1
  18. package/actionsOrganizationVariable.js.map +1 -1
  19. package/actionsOrganizationVariableRepositories.d.ts +3 -1
  20. package/actionsOrganizationVariableRepositories.js +3 -1
  21. package/actionsOrganizationVariableRepositories.js.map +1 -1
  22. package/actionsOrganizationVariableRepository.d.ts +3 -1
  23. package/actionsOrganizationVariableRepository.js +3 -1
  24. package/actionsOrganizationVariableRepository.js.map +1 -1
  25. package/actionsSecret.d.ts +50 -1
  26. package/actionsSecret.js +50 -1
  27. package/actionsSecret.js.map +1 -1
  28. package/actionsVariable.d.ts +3 -1
  29. package/actionsVariable.js +3 -1
  30. package/actionsVariable.js.map +1 -1
  31. package/appInstallationRepositories.d.ts +1 -1
  32. package/appInstallationRepositories.js +1 -1
  33. package/branch.d.ts +2 -0
  34. package/branch.js +2 -0
  35. package/branch.js.map +1 -1
  36. package/branchProtection.d.ts +6 -0
  37. package/branchProtection.js +6 -0
  38. package/branchProtection.js.map +1 -1
  39. package/codespacesOrganizationSecret.d.ts +12 -3
  40. package/codespacesOrganizationSecret.js +12 -3
  41. package/codespacesOrganizationSecret.js.map +1 -1
  42. package/codespacesSecret.d.ts +14 -3
  43. package/codespacesSecret.js +14 -3
  44. package/codespacesSecret.js.map +1 -1
  45. package/codespacesUserSecret.d.ts +12 -3
  46. package/codespacesUserSecret.js +12 -3
  47. package/codespacesUserSecret.js.map +1 -1
  48. package/dependabotOrganizationSecret.d.ts +51 -2
  49. package/dependabotOrganizationSecret.js +51 -2
  50. package/dependabotOrganizationSecret.js.map +1 -1
  51. package/dependabotOrganizationSecretRepositories.d.ts +3 -1
  52. package/dependabotOrganizationSecretRepositories.js +3 -1
  53. package/dependabotOrganizationSecretRepositories.js.map +1 -1
  54. package/dependabotOrganizationSecretRepository.d.ts +2 -0
  55. package/dependabotOrganizationSecretRepository.js +2 -0
  56. package/dependabotOrganizationSecretRepository.js.map +1 -1
  57. package/dependabotSecret.d.ts +50 -1
  58. package/dependabotSecret.js +50 -1
  59. package/dependabotSecret.js.map +1 -1
  60. package/emuGroupMapping.d.ts +3 -3
  61. package/emuGroupMapping.js +1 -1
  62. package/getRepositories.d.ts +6 -0
  63. package/getRepositories.js.map +1 -1
  64. package/issueLabels.d.ts +13 -0
  65. package/issueLabels.js +13 -0
  66. package/issueLabels.js.map +1 -1
  67. package/organizationRoleTeamAssignment.d.ts +0 -6
  68. package/organizationRoleTeamAssignment.js +0 -6
  69. package/organizationRoleTeamAssignment.js.map +1 -1
  70. package/organizationRuleset.d.ts +1 -3
  71. package/organizationRuleset.js +1 -3
  72. package/organizationRuleset.js.map +1 -1
  73. package/organizationSecurityManager.d.ts +0 -6
  74. package/organizationSecurityManager.js +0 -6
  75. package/organizationSecurityManager.js.map +1 -1
  76. package/organizationWebhook.d.ts +1 -0
  77. package/organizationWebhook.js +1 -0
  78. package/organizationWebhook.js.map +1 -1
  79. package/package.json +2 -2
  80. package/repository.d.ts +6 -0
  81. package/repository.js.map +1 -1
  82. package/repositoryAutolinkReference.d.ts +10 -0
  83. package/repositoryAutolinkReference.js +10 -0
  84. package/repositoryAutolinkReference.js.map +1 -1
  85. package/repositoryCollaborator.d.ts +27 -0
  86. package/repositoryCollaborator.js +27 -0
  87. package/repositoryCollaborator.js.map +1 -1
  88. package/repositoryCollaborators.d.ts +27 -0
  89. package/repositoryCollaborators.js +27 -0
  90. package/repositoryCollaborators.js.map +1 -1
  91. package/repositoryDependabotSecurityUpdates.d.ts +2 -0
  92. package/repositoryDependabotSecurityUpdates.js +2 -0
  93. package/repositoryDependabotSecurityUpdates.js.map +1 -1
  94. package/repositoryDeployKey.d.ts +13 -0
  95. package/repositoryDeployKey.js +13 -0
  96. package/repositoryDeployKey.js.map +1 -1
  97. package/repositoryDeploymentBranchPolicy.d.ts +0 -6
  98. package/repositoryDeploymentBranchPolicy.js +0 -6
  99. package/repositoryDeploymentBranchPolicy.js.map +1 -1
  100. package/repositoryFile.d.ts +50 -16
  101. package/repositoryFile.js +16 -6
  102. package/repositoryFile.js.map +1 -1
  103. package/repositoryRuleset.d.ts +1 -3
  104. package/repositoryRuleset.js +1 -3
  105. package/repositoryRuleset.js.map +1 -1
  106. package/repositoryTopics.d.ts +5 -0
  107. package/repositoryTopics.js +5 -0
  108. package/repositoryTopics.js.map +1 -1
  109. package/repositoryWebhook.d.ts +6 -0
  110. package/repositoryWebhook.js +6 -0
  111. package/repositoryWebhook.js.map +1 -1
  112. package/team.d.ts +0 -3
  113. package/team.js +0 -3
  114. package/team.js.map +1 -1
  115. package/teamMembers.d.ts +15 -4
  116. package/teamMembers.js +15 -4
  117. package/teamMembers.js.map +1 -1
  118. package/teamMembership.d.ts +0 -3
  119. package/teamMembership.js +0 -3
  120. package/teamMembership.js.map +1 -1
  121. package/teamRepository.d.ts +18 -3
  122. package/teamRepository.js +18 -3
  123. package/teamRepository.js.map +1 -1
  124. package/teamSettings.d.ts +0 -1
  125. package/teamSettings.js +0 -1
  126. package/teamSettings.js.map +1 -1
  127. package/userGpgKey.d.ts +0 -1
  128. package/userGpgKey.js +0 -1
  129. package/userGpgKey.js.map +1 -1
@@ -1,10 +1,42 @@
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.
5
+ *
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.
8
+ *
9
+ * For the purposes of security, the contents of the `plaintextValue` 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 `encryptedValue`
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.
14
+ *
15
+ * ## Example Lifecycle Ignore Changes
16
+ *
17
+ * 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.
18
+ *
19
+ * ```typescript
20
+ * import * as pulumi from "@pulumi/pulumi";
21
+ * import * as github from "@pulumi/github";
22
+ *
23
+ * const exampleAllowDrift = new github.ActionsEnvironmentSecret("example_allow_drift", {
24
+ * repository: "example-repo",
25
+ * environment: "example-environment",
26
+ * secretName: "example_secret_name",
27
+ * plaintextValue: "placeholder",
28
+ * });
29
+ * ```
30
+ *
3
31
  * ## Import
4
32
  *
33
+ * This resource can be imported using an ID made of the repository name, environment name (URL escaped), and secret name all separated by a `:`.
34
+ *
35
+ * > **Note**: When importing secrets, the `plaintextValue` or `encryptedValue` 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
+ *
5
37
  * ### Import Command
6
38
  *
7
- * The following command imports a GitHub actions environment secret named `mysecret` for the repo `myrepo` and environment `myenv` to a `github_actions_environment_secret` resource named `example`.
39
+ * 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`.
8
40
  *
9
41
  * ```sh
10
42
  * $ pulumi import github:index/actionsEnvironmentSecret:ActionsEnvironmentSecret example myrepo:myenv:mysecret
@@ -6,11 +6,43 @@ exports.ActionsEnvironmentSecret = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
+ * This resource allows you to create and manage GitHub Actions secrets within your GitHub repository environments.
10
+ * You must have write access to a repository to use this resource.
11
+ *
12
+ * Secret values are encrypted using the [Go '/crypto/box' module](https://godoc.org/golang.org/x/crypto/nacl/box) which is
13
+ * interoperable with [libsodium](https://libsodium.gitbook.io/doc/). Libsodium is used by GitHub to decrypt secret values.
14
+ *
15
+ * For the purposes of security, the contents of the `plaintextValue` field have been marked as `sensitive` to Terraform,
16
+ * but it is important to note that **this does not hide it from state files**. You should treat state as sensitive always.
17
+ * It is also advised that you do not store plaintext values in your code but rather populate the `encryptedValue`
18
+ * using fields from a resource, data source or variable as, while encrypted in state, these will be easily accessible
19
+ * in your code. See below for an example of this abstraction.
20
+ *
21
+ * ## Example Lifecycle Ignore Changes
22
+ *
23
+ * 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.
24
+ *
25
+ * ```typescript
26
+ * import * as pulumi from "@pulumi/pulumi";
27
+ * import * as github from "@pulumi/github";
28
+ *
29
+ * const exampleAllowDrift = new github.ActionsEnvironmentSecret("example_allow_drift", {
30
+ * repository: "example-repo",
31
+ * environment: "example-environment",
32
+ * secretName: "example_secret_name",
33
+ * plaintextValue: "placeholder",
34
+ * });
35
+ * ```
36
+ *
9
37
  * ## Import
10
38
  *
39
+ * This resource can be imported using an ID made of the repository name, environment name (URL escaped), and secret name all separated by a `:`.
40
+ *
41
+ * > **Note**: When importing secrets, the `plaintextValue` or `encryptedValue` 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.
42
+ *
11
43
  * ### Import Command
12
44
  *
13
- * The following command imports a GitHub actions environment secret named `mysecret` for the repo `myrepo` and environment `myenv` to a `github_actions_environment_secret` resource named `example`.
45
+ * 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`.
14
46
  *
15
47
  * ```sh
16
48
  * $ pulumi import github:index/actionsEnvironmentSecret:ActionsEnvironmentSecret example myrepo:myenv:mysecret
@@ -1 +1 @@
1
- {"version":3,"file":"actionsEnvironmentSecret.js","sourceRoot":"","sources":["../actionsEnvironmentSecret.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;GAUG;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;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,wBAAwB,CAAC,YAAY,CAAC;IACzE,CAAC;IAqDD,YAAY,IAAY,EAAE,WAA0E,EAAE,IAAmC;QACrI,IAAI,cAAc,GAAkB,EAAE,CAAC;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AAW,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,CAAC,EAAE,CAAC;QACnE,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;;AAxHL,4DAyHC;AA3GG,gBAAgB;AACO,qCAAY,GAAG,gEAAgE,CAAC"}
@@ -38,9 +38,11 @@ import * as pulumi from "@pulumi/pulumi";
38
38
  *
39
39
  * ## Import
40
40
  *
41
+ * 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
43
  * ### Import Command
42
44
  *
43
- * The following command imports a GitHub actions environment variable named `myvariable` for the repo `myrepo` and environment `myenv` to a `github_actions_environment_variable` resource named `example`.
45
+ * 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`.
44
46
  *
45
47
  * ```sh
46
48
  * $ pulumi import github:index/actionsEnvironmentVariable:ActionsEnvironmentVariable example myrepo:myenv:myvariable
@@ -44,9 +44,11 @@ const utilities = require("./utilities");
44
44
  *
45
45
  * ## Import
46
46
  *
47
+ * 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 `:`.
48
+ *
47
49
  * ### Import Command
48
50
  *
49
- * The following command imports a GitHub actions environment variable named `myvariable` for the repo `myrepo` and environment `myenv` to a `github_actions_environment_variable` resource named `example`.
51
+ * 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`.
50
52
  *
51
53
  * ```sh
52
54
  * $ pulumi import github:index/actionsEnvironmentVariable:ActionsEnvironmentVariable example myrepo:myenv:myvariable
@@ -1 +1 @@
1
- {"version":3,"file":"actionsEnvironmentVariable.js","sourceRoot":"","sources":["../actionsEnvironmentVariable.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8CG;AACH,MAAa,0BAA2B,SAAQ,MAAM,CAAC,cAAc;IACjE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAuC,EAAE,IAAmC;QACrI,OAAO,IAAI,0BAA0B,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACjF,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,0BAA0B,CAAC,YAAY,CAAC;IAC3E,CAAC;IAuCD,YAAY,IAAY,EAAE,WAA8E,EAAE,IAAmC;QACzI,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA0D,CAAC;YACzE,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,EAAE,SAAS,CAAC;YAC/C,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,EAAE,WAAW,CAAC;YACnD,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,EAAE,UAAU,CAAC;YACjD,cAAc,CAAC,cAAc,CAAC,GAAG,KAAK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O,CAAC;YAChD,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,KAAK,CAAC,0BAA0B,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/E,CAAC;;AArGL,gEAsGC;AAxFG,gBAAgB;AACO,uCAAY,GAAG,oEAAoE,CAAC"}
@@ -1,10 +1,80 @@
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 organization.
4
+ * You must have write access to a repository to use this resource.
5
+ *
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.
8
+ *
9
+ * For the purposes of security, the contents of the `plaintextValue` 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 `encryptedValue`
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.
14
+ *
15
+ * ## Example Usage
16
+ *
17
+ * ```typescript
18
+ * import * as pulumi from "@pulumi/pulumi";
19
+ * import * as github from "@pulumi/github";
20
+ *
21
+ * const examplePlaintext = new github.ActionsOrganizationSecret("example_plaintext", {
22
+ * secretName: "example_secret_name",
23
+ * visibility: "all",
24
+ * plaintextValue: someSecretString,
25
+ * });
26
+ * const exampleEncrypted = new github.ActionsOrganizationSecret("example_encrypted", {
27
+ * secretName: "example_secret_name",
28
+ * visibility: "all",
29
+ * encryptedValue: someEncryptedSecretString,
30
+ * });
31
+ * ```
32
+ *
33
+ * ```typescript
34
+ * import * as pulumi from "@pulumi/pulumi";
35
+ * import * as github from "@pulumi/github";
36
+ *
37
+ * const repo = github.getRepository({
38
+ * fullName: "my-org/repo",
39
+ * });
40
+ * const exampleEncrypted = new github.ActionsOrganizationSecret("example_encrypted", {
41
+ * secretName: "example_secret_name",
42
+ * visibility: "selected",
43
+ * plaintextValue: someSecretString,
44
+ * selectedRepositoryIds: [repo.then(repo => repo.repoId)],
45
+ * });
46
+ * const exampleSecret = new github.ActionsOrganizationSecret("example_secret", {
47
+ * secretName: "example_secret_name",
48
+ * visibility: "selected",
49
+ * encryptedValue: someEncryptedSecretString,
50
+ * selectedRepositoryIds: [repo.then(repo => repo.repoId)],
51
+ * });
52
+ * ```
53
+ *
54
+ * ## Example Lifecycle Ignore Changes
55
+ *
56
+ * 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.
57
+ *
58
+ * ```typescript
59
+ * import * as pulumi from "@pulumi/pulumi";
60
+ * import * as github from "@pulumi/github";
61
+ *
62
+ * const exampleAllowDrift = new github.ActionsOrganizationSecret("example_allow_drift", {
63
+ * secretName: "example_secret_name",
64
+ * visibility: "all",
65
+ * plaintextValue: "placeholder",
66
+ * });
67
+ * ```
68
+ *
3
69
  * ## Import
4
70
  *
71
+ * This resource can be imported using the secret name as the ID.
72
+ *
73
+ * > **Note**: When importing secrets, the `plaintextValue` or `encryptedValue` 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
+ *
5
75
  * ### Import Command
6
76
  *
7
- * The following command imports a GitHub actions organization secret named `mysecret` to a `github_actions_organization_secret` resource named `example`.
77
+ * The following command imports a GitHub actions organization secret named `mysecret` to a `github.ActionsOrganizationSecret` resource named `example`.
8
78
  *
9
79
  * ```sh
10
80
  * $ pulumi import github:index/actionsOrganizationSecret:ActionsOrganizationSecret example mysecret
@@ -6,11 +6,81 @@ exports.ActionsOrganizationSecret = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
+ * This resource allows you to create and manage GitHub Actions secrets within your GitHub organization.
10
+ * You must have write access to a repository to use this resource.
11
+ *
12
+ * Secret values are encrypted using the [Go '/crypto/box' module](https://godoc.org/golang.org/x/crypto/nacl/box) which is
13
+ * interoperable with [libsodium](https://libsodium.gitbook.io/doc/). Libsodium is used by GitHub to decrypt secret values.
14
+ *
15
+ * For the purposes of security, the contents of the `plaintextValue` field have been marked as `sensitive` to Terraform,
16
+ * but it is important to note that **this does not hide it from state files**. You should treat state as sensitive always.
17
+ * It is also advised that you do not store plaintext values in your code but rather populate the `encryptedValue`
18
+ * using fields from a resource, data source or variable as, while encrypted in state, these will be easily accessible
19
+ * in your code. See below for an example of this abstraction.
20
+ *
21
+ * ## Example Usage
22
+ *
23
+ * ```typescript
24
+ * import * as pulumi from "@pulumi/pulumi";
25
+ * import * as github from "@pulumi/github";
26
+ *
27
+ * const examplePlaintext = new github.ActionsOrganizationSecret("example_plaintext", {
28
+ * secretName: "example_secret_name",
29
+ * visibility: "all",
30
+ * plaintextValue: someSecretString,
31
+ * });
32
+ * const exampleEncrypted = new github.ActionsOrganizationSecret("example_encrypted", {
33
+ * secretName: "example_secret_name",
34
+ * visibility: "all",
35
+ * encryptedValue: someEncryptedSecretString,
36
+ * });
37
+ * ```
38
+ *
39
+ * ```typescript
40
+ * import * as pulumi from "@pulumi/pulumi";
41
+ * import * as github from "@pulumi/github";
42
+ *
43
+ * const repo = github.getRepository({
44
+ * fullName: "my-org/repo",
45
+ * });
46
+ * const exampleEncrypted = new github.ActionsOrganizationSecret("example_encrypted", {
47
+ * secretName: "example_secret_name",
48
+ * visibility: "selected",
49
+ * plaintextValue: someSecretString,
50
+ * selectedRepositoryIds: [repo.then(repo => repo.repoId)],
51
+ * });
52
+ * const exampleSecret = new github.ActionsOrganizationSecret("example_secret", {
53
+ * secretName: "example_secret_name",
54
+ * visibility: "selected",
55
+ * encryptedValue: someEncryptedSecretString,
56
+ * selectedRepositoryIds: [repo.then(repo => repo.repoId)],
57
+ * });
58
+ * ```
59
+ *
60
+ * ## Example Lifecycle Ignore Changes
61
+ *
62
+ * 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.
63
+ *
64
+ * ```typescript
65
+ * import * as pulumi from "@pulumi/pulumi";
66
+ * import * as github from "@pulumi/github";
67
+ *
68
+ * const exampleAllowDrift = new github.ActionsOrganizationSecret("example_allow_drift", {
69
+ * secretName: "example_secret_name",
70
+ * visibility: "all",
71
+ * plaintextValue: "placeholder",
72
+ * });
73
+ * ```
74
+ *
9
75
  * ## Import
10
76
  *
77
+ * This resource can be imported using the secret name as the ID.
78
+ *
79
+ * > **Note**: When importing secrets, the `plaintextValue` or `encryptedValue` 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.
80
+ *
11
81
  * ### Import Command
12
82
  *
13
- * The following command imports a GitHub actions organization secret named `mysecret` to a `github_actions_organization_secret` resource named `example`.
83
+ * The following command imports a GitHub actions organization secret named `mysecret` to a `github.ActionsOrganizationSecret` resource named `example`.
14
84
  *
15
85
  * ```sh
16
86
  * $ pulumi import github:index/actionsOrganizationSecret:ActionsOrganizationSecret example mysecret
@@ -1 +1 @@
1
- {"version":3,"file":"actionsOrganizationSecret.js","sourceRoot":"","sources":["../actionsOrganizationSecret.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;GAUG;AACH,MAAa,yBAA0B,SAAQ,MAAM,CAAC,cAAc;IAChE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KA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AAG,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,uBAAuB,CAAC,GAAG,IAAI,EAAE,qBAAqB,CAAC;YACtE,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,CAAC,EAAE,CAAC;QACrF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,yBAAyB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC9E,CAAC;;AAzHL,8DA0HC;AA5GG,gBAAgB;AACO,sCAAY,GAAG,kEAAkE,CAAC"}
@@ -28,9 +28,11 @@ import * as pulumi from "@pulumi/pulumi";
28
28
  *
29
29
  * ## Import
30
30
  *
31
+ * This resource can be imported using the secret name as the ID.
32
+ *
31
33
  * ### Import Command
32
34
  *
33
- * The following command imports the repositories able to access the actions organization secret named `mysecret` to a `github_actions_organization_secret_repositories` resource named `example`.
35
+ * The following command imports the repositories able to access the actions organization secret named `mysecret` to a `github.ActionsOrganizationSecretRepositories` resource named `example`.
34
36
  *
35
37
  * ```sh
36
38
  * $ pulumi import github:index/actionsOrganizationSecretRepositories:ActionsOrganizationSecretRepositories example mysecret
@@ -34,9 +34,11 @@ const utilities = require("./utilities");
34
34
  *
35
35
  * ## Import
36
36
  *
37
+ * This resource can be imported using the secret name as the ID.
38
+ *
37
39
  * ### Import Command
38
40
  *
39
- * The following command imports the repositories able to access the actions organization secret named `mysecret` to a `github_actions_organization_secret_repositories` resource named `example`.
41
+ * The following command imports the repositories able to access the actions organization secret named `mysecret` to a `github.ActionsOrganizationSecretRepositories` resource named `example`.
40
42
  *
41
43
  * ```sh
42
44
  * $ pulumi import github:index/actionsOrganizationSecretRepositories:ActionsOrganizationSecretRepositories example mysecret
@@ -1 +1 @@
1
- {"version":3,"file":"actionsOrganizationSecretRepositories.js","sourceRoot":"","sources":["../actionsOrganizationSecretRepositories.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,MAAa,qCAAsC,SAAQ,MAAM,CAAC,cAAc;IAC5E;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAkD,EAAE,IAAmC;QAChJ,OAAO,IAAI,qCAAqC,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC5F,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,qCAAqC,CAAC,YAAY,CAAC;IACtF,CAAC;IAmBD,YAAY,IAAY,EAAE,WAAoG,EAAE,IAAmC;QAC/J,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAqE,CAAC;YACpF,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,EAAE,UAAU,CAAC;YACjD,cAAc,CAAC,uBAAuB,CAAC,GAAG,KAAK,EAAE,qBAAqB,CAAC;SAC1E;aAAM;YACH,MAAM,IAAI,GAAG,WAAoE,CAAC;YAClF,IAAI,IAAI,EAAE,UAAU,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC7C,MAAM,IAAI,KAAK,CAAC,wCAAwC,CAAC,CAAC;aAC7D;YACD,IAAI,IAAI,EAAE,qBAAqB,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACxD,MAAM,IAAI,KAAK,CAAC,mDAAmD,CAAC,CAAC;aACxE;YACD,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,cAAc,CAAC,uBAAuB,CAAC,GAAG,IAAI,EAAE,qBAAqB,CAAC;SACzE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,qCAAqC,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC1F,CAAC;;AAjEL,sFAkEC;AApDG,gBAAgB;AACO,kDAAY,GAAG,0FAA0F,CAAC"}
1
+ {"version":3,"file":"actionsOrganizationSecretRepositories.js","sourceRoot":"","sources":["../actionsOrganizationSecretRepositories.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,MAAa,qCAAsC,SAAQ,MAAM,CAAC,cAAc;IAC5E;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAA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B,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,qCAAqC,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC1F,CAAC;;AAjEL,sFAkEC;AApDG,gBAAgB;AACO,kDAAY,GAAG,0FAA0F,CAAC"}
@@ -28,9 +28,11 @@ import * as pulumi from "@pulumi/pulumi";
28
28
  *
29
29
  * ## Import
30
30
  *
31
+ * This resource can be imported using an ID made of the secret name and repository name separated by a `:`.
32
+ *
31
33
  * ### Import Command
32
34
  *
33
- * The following command imports the access of repository ID `123456` for the actions organization secret named `mysecret` to a `github_actions_organization_secret_repository` resource named `example`.
35
+ * The following command imports the access of repository ID `123456` for the actions organization secret named `mysecret` to a `github.ActionsOrganizationSecretRepository` resource named `example`.
34
36
  *
35
37
  * ```sh
36
38
  * $ pulumi import github:index/actionsOrganizationSecretRepository:ActionsOrganizationSecretRepository example mysecret:123456
@@ -34,9 +34,11 @@ const utilities = require("./utilities");
34
34
  *
35
35
  * ## Import
36
36
  *
37
+ * This resource can be imported using an ID made of the secret name and repository name separated by a `:`.
38
+ *
37
39
  * ### Import Command
38
40
  *
39
- * The following command imports the access of repository ID `123456` for the actions organization secret named `mysecret` to a `github_actions_organization_secret_repository` resource named `example`.
41
+ * The following command imports the access of repository ID `123456` for the actions organization secret named `mysecret` to a `github.ActionsOrganizationSecretRepository` resource named `example`.
40
42
  *
41
43
  * ```sh
42
44
  * $ pulumi import github:index/actionsOrganizationSecretRepository:ActionsOrganizationSecretRepository example mysecret:123456
@@ -1 +1 @@
1
- {"version":3,"file":"actionsOrganizationSecretRepository.js","sourceRoot":"","sources":["../actionsOrganizationSecretRepository.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,MAAa,mCAAoC,SAAQ,MAAM,CAAC,cAAc;IA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AAG,KAAK,EAAE,UAAU,CAAC;SACpD;aAAM;YACH,MAAM,IAAI,GAAG,WAAkE,CAAC;YAChF,IAAI,IAAI,EAAE,YAAY,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC/C,MAAM,IAAI,KAAK,CAAC,0CAA0C,CAAC,CAAC;aAC/D;YACD,IAAI,IAAI,EAAE,UAAU,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC7C,MAAM,IAAI,KAAK,CAAC,wCAAwC,CAAC,CAAC;aAC7D;YACD,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,EAAE,YAAY,CAAC;YACpD,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;SACnD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,mCAAmC,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxF,CAAC;;AAjEL,kFAkEC;AApDG,gBAAgB;AACO,gDAAY,GAAG,sFAAsF,CAAC"}
@@ -33,9 +33,11 @@ import * as pulumi from "@pulumi/pulumi";
33
33
  *
34
34
  * ## Import
35
35
  *
36
+ * This resource can be imported using the variable name as the ID.
37
+ *
36
38
  * ### Import Command
37
39
  *
38
- * The following command imports a GitHub actions organization variable named `myvariable` to a `github_actions_organization_variable` resource named `example`.
40
+ * The following command imports a GitHub actions organization variable named `myvariable` to a `github.ActionsOrganizationVariable` resource named `example`.
39
41
  *
40
42
  * ```sh
41
43
  * $ pulumi import github:index/actionsOrganizationVariable:ActionsOrganizationVariable example myvariable
@@ -39,9 +39,11 @@ const utilities = require("./utilities");
39
39
  *
40
40
  * ## Import
41
41
  *
42
+ * This resource can be imported using the variable name as the ID.
43
+ *
42
44
  * ### Import Command
43
45
  *
44
- * The following command imports a GitHub actions organization variable named `myvariable` to a `github_actions_organization_variable` resource named `example`.
46
+ * The following command imports a GitHub actions organization variable named `myvariable` to a `github.ActionsOrganizationVariable` resource named `example`.
45
47
  *
46
48
  * ```sh
47
49
  * $ pulumi import github:index/actionsOrganizationVariable:ActionsOrganizationVariable example myvariable
@@ -1 +1 @@
1
- {"version":3,"file":"actionsOrganizationVariable.js","sourceRoot":"","sources":["../actionsOrganizationVariable.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,MAAa,2BAA4B,SAAQ,MAAM,CAAC,cAAc;IAClE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwC,EAAE,IAAmC;QACtI,OAAO,IAAI,2BAA2B,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAClF,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,2BAA2B,CAAC,YAAY,CAAC;IAC5E,CAAC;IAmCD,YAAY,IAAY,EAAE,WAAgF,EAAE,IAAmC;QAC3I,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA2D,CAAC;YAC1E,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,EAAE,SAAS,CAAC;YAC/C,cAAc,CAAC,uBAAuB,CAAC,GAAG,KAAK,EAAE,qBAAqB,CAAC;YACvE,cAAc,CAAC,WAAW,CAAC,G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28
28
  *
29
29
  * ## Import
30
30
  *
31
+ * This resource can be imported using the variable name as the ID.
32
+ *
31
33
  * ### Import Command
32
34
  *
33
- * The following command imports the repositories able to access the actions organization variable named `myvariable` to a `github_actions_organization_variable_repositories` resource named `example`.
35
+ * The following command imports the repositories able to access the actions organization variable named `myvariable` to a `github.ActionsOrganizationVariableRepositories` resource named `example`.
34
36
  *
35
37
  * ```sh
36
38
  * $ pulumi import github:index/actionsOrganizationVariableRepositories:ActionsOrganizationVariableRepositories example myvariable
@@ -34,9 +34,11 @@ const utilities = require("./utilities");
34
34
  *
35
35
  * ## Import
36
36
  *
37
+ * This resource can be imported using the variable name as the ID.
38
+ *
37
39
  * ### Import Command
38
40
  *
39
- * The following command imports the repositories able to access the actions organization variable named `myvariable` to a `github_actions_organization_variable_repositories` resource named `example`.
41
+ * The following command imports the repositories able to access the actions organization variable named `myvariable` to a `github.ActionsOrganizationVariableRepositories` resource named `example`.
40
42
  *
41
43
  * ```sh
42
44
  * $ pulumi import github:index/actionsOrganizationVariableRepositories:ActionsOrganizationVariableRepositories example myvariable
@@ -1 +1 @@
1
- {"version":3,"file":"actionsOrganizationVariableRepositories.js","sourceRoot":"","sources":["../actionsOrganizationVariableRepositories.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,MAAa,uCAAwC,SAAQ,MAAM,CAAC,cAAc;IAC9E;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoD,EAAE,IAAmC;QAClJ,OAAO,IAAI,uCAAuC,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC9F,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GA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AAC,GAAG,EAAE;gBAC/C,MAAM,IAAI,KAAK,CAAC,0CAA0C,CAAC,CAAC;aAC/D;YACD,cAAc,CAAC,uBAAuB,CAAC,GAAG,IAAI,EAAE,qBAAqB,CAAC;YACtE,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,EAAE,YAAY,CAAC;SACvD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,uCAAuC,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5F,CAAC;;AAjEL,0FAkEC;AApDG,gBAAgB;AACO,oDAAY,GAAG,8FAA8F,CAAC"}
@@ -28,9 +28,11 @@ import * as pulumi from "@pulumi/pulumi";
28
28
  *
29
29
  * ## Import
30
30
  *
31
+ * This resource can be imported using an ID made of the variable name and repository name separated by a `:`.
32
+ *
31
33
  * ### Import Command
32
34
  *
33
- * The following command imports the access of repository ID `123456` for the actions organization variable named `myvariable` to a `github_actions_organization_variable_repository` resource named `example`.
35
+ * The following command imports the access of repository ID `123456` for the actions organization variable named `myvariable` to a `github.ActionsOrganizationVariableRepository` resource named `example`.
34
36
  *
35
37
  * ```sh
36
38
  * $ pulumi import github:index/actionsOrganizationVariableRepository:ActionsOrganizationVariableRepository example myvariable:123456
@@ -34,9 +34,11 @@ const utilities = require("./utilities");
34
34
  *
35
35
  * ## Import
36
36
  *
37
+ * This resource can be imported using an ID made of the variable name and repository name separated by a `:`.
38
+ *
37
39
  * ### Import Command
38
40
  *
39
- * The following command imports the access of repository ID `123456` for the actions organization variable named `myvariable` to a `github_actions_organization_variable_repository` resource named `example`.
41
+ * The following command imports the access of repository ID `123456` for the actions organization variable named `myvariable` to a `github.ActionsOrganizationVariableRepository` resource named `example`.
40
42
  *
41
43
  * ```sh
42
44
  * $ pulumi import github:index/actionsOrganizationVariableRepository:ActionsOrganizationVariableRepository example myvariable:123456
@@ -1 +1 @@
1
- {"version":3,"file":"actionsOrganizationVariableRepository.js","sourceRoot":"","sources":["../actionsOrganizationVariableRepository.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,MAAa,qCAAsC,SAAQ,MAAM,CAAC,cAAc;IAC5E;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAkD,EAAE,IAAmC;QAChJ,OAAO,IAAI,qCAAqC,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC5F,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,qCAAqC,CAAC,YAAY,CAAC;IACtF,CAAC;IAmBD,YAAY,IAAY,EAAE,WAAoG,EAAE,IAAmC;QAC/J,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAqE,CAAC;YACpF,cAAc,CAAC,cAAc,CAAC,GAAG,KAAK,EAAE,YAAY,CAAC;YACrD,cAAc,CAAC,cAAc,CAAC,GAAG,KAAK,EAAE,YAAY,CAAC;SACxD;aAAM;YACH,MAAM,IAAI,GAAG,WAAoE,CAAC;YAClF,IAAI,IAAI,EAAE,YAAY,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC/C,MAAM,IAAI,KAAK,CAAC,0CAA0C,CAAC,CAAC;aAC/D;YACD,IAAI,IAAI,EAAE,YAAY,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC/C,MAAM,IAAI,KAAK,CAAC,0CAA0C,CAAC,CAAC;aAC/D;YACD,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,EAAE,YAAY,CAAC;YACpD,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,EAAE,YAAY,CAAC;SACvD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,qCAAqC,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC1F,CAAC;;AAjEL,sFAkEC;AApDG,gBAAgB;AACO,kDAAY,GAAG,0FAA0F,CAAC"}
1
+ {"version":3,"file":"actionsOrganizationVariableRepository.js","sourceRoot":"","sources":["../actionsOrganizationVariableRepository.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,MAAa,qCAAsC,SAAQ,MAAM,CAAC,cAAc;IAC5E;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAkD,EAAE,IAAmC;QAChJ,OAAO,IAAI,qCAAqC,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC5F,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,qCAAqC,CAAC,YAAY,CAAC;IACtF,CAAC;IAmBD,YAAY,IAAY,EAAE,WAAoG,EAAE,IAAmC;QAC/J,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAqE,CAAC;YACpF,cAAc,CAAC,cAAc,CAAC,GAAG,KAAK,EAAE,YAAY,CAAC;YACrD,cAAc,CAAC,cAAc,CAAC,GAAG,KAAK,EAAE,YAAY,CAAC;SACxD;aAAM;YACH,MAAM,IAAI,GAAG,WAAoE,CAAC;YAClF,IAAI,IAAI,EAAE,YAAY,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC/C,MAAM,IAAI,KAAK,CAAC,0CAA0C,CAAC,CAAC;aAC/D;YACD,IAAI,IAAI,EAAE,YAAY,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC/C,MAAM,IAAI,KAAK,CAAC,0CAA0C,CAAC,CAAC;aAC/D;YACD,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,EAAE,YAAY,CAAC;YACpD,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,EAAE,YAAY,CAAC;SACvD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,qCAAqC,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC1F,CAAC;;AAjEL,sFAkEC;AApDG,gBAAgB;AACO,kDAAY,GAAG,0FAA0F,CAAC"}
@@ -1,10 +1,59 @@
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 repositories.
4
+ * You must have write access to a repository to use this resource.
5
+ *
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.
8
+ *
9
+ * For the purposes of security, the contents of the `plaintextValue` 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 `encryptedValue`
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.
14
+ *
15
+ * ## Example Usage
16
+ *
17
+ * ```typescript
18
+ * import * as pulumi from "@pulumi/pulumi";
19
+ * import * as github from "@pulumi/github";
20
+ *
21
+ * const examplePlaintext = new github.ActionsSecret("example_plaintext", {
22
+ * repository: "example_repository",
23
+ * secretName: "example_secret_name",
24
+ * plaintextValue: someSecretString,
25
+ * });
26
+ * const exampleEncrypted = new github.ActionsSecret("example_encrypted", {
27
+ * repository: "example_repository",
28
+ * secretName: "example_secret_name",
29
+ * encryptedValue: someEncryptedSecretString,
30
+ * });
31
+ * ```
32
+ *
33
+ * ## Example Lifecycle Ignore Changes
34
+ *
35
+ * 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.
36
+ *
37
+ * ```typescript
38
+ * import * as pulumi from "@pulumi/pulumi";
39
+ * import * as github from "@pulumi/github";
40
+ *
41
+ * const exampleAllowDrift = new github.ActionsSecret("example_allow_drift", {
42
+ * repository: "example_repository",
43
+ * secretName: "example_secret_name",
44
+ * plaintextValue: "placeholder",
45
+ * });
46
+ * ```
47
+ *
3
48
  * ## Import
4
49
  *
50
+ * This resource can be imported using an ID made of the repository name, and secret name separated by a `:`.
51
+ *
52
+ * > **Note**: When importing secrets, the `plaintextValue` or `encryptedValue` 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
+ *
5
54
  * ### Import Command
6
55
  *
7
- * The following command imports a GitHub actions secret named `mysecret` for the repo `myrepo` to a `github_actions_secret` resource named `example`.
56
+ * The following command imports a GitHub actions secret named `mysecret` for the repo `myrepo` to a `github.ActionsSecret` resource named `example`.
8
57
  *
9
58
  * ```sh
10
59
  * $ pulumi import github:index/actionsSecret:ActionsSecret example myrepo:mysecret