@pulumi/harness 0.0.7-alpha.1719955866

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 (648) hide show
  1. package/LICENSE +202 -0
  2. package/README.md +54 -0
  3. package/addUserToGroup.d.ts +87 -0
  4. package/addUserToGroup.js +84 -0
  5. package/addUserToGroup.js.map +1 -0
  6. package/application.d.ts +127 -0
  7. package/application.js +86 -0
  8. package/application.js.map +1 -0
  9. package/applicationGitSync.d.ts +139 -0
  10. package/applicationGitSync.js +109 -0
  11. package/applicationGitSync.js.map +1 -0
  12. package/cloudprovider/aws.d.ts +183 -0
  13. package/cloudprovider/aws.js +102 -0
  14. package/cloudprovider/aws.js.map +1 -0
  15. package/cloudprovider/azure.d.ts +129 -0
  16. package/cloudprovider/azure.js +99 -0
  17. package/cloudprovider/azure.js.map +1 -0
  18. package/cloudprovider/datacenter.d.ts +82 -0
  19. package/cloudprovider/datacenter.js +71 -0
  20. package/cloudprovider/datacenter.js.map +1 -0
  21. package/cloudprovider/gcp.d.ts +101 -0
  22. package/cloudprovider/gcp.js +60 -0
  23. package/cloudprovider/gcp.js.map +1 -0
  24. package/cloudprovider/getDelegateIds.d.ts +68 -0
  25. package/cloudprovider/getDelegateIds.js +28 -0
  26. package/cloudprovider/getDelegateIds.js.map +1 -0
  27. package/cloudprovider/index.d.ts +24 -0
  28. package/cloudprovider/index.js +55 -0
  29. package/cloudprovider/index.js.map +1 -0
  30. package/cloudprovider/kubernetes.d.ts +97 -0
  31. package/cloudprovider/kubernetes.js +69 -0
  32. package/cloudprovider/kubernetes.js.map +1 -0
  33. package/cloudprovider/spot.d.ts +104 -0
  34. package/cloudprovider/spot.js +91 -0
  35. package/cloudprovider/spot.js.map +1 -0
  36. package/cloudprovider/tanzu.d.ts +142 -0
  37. package/cloudprovider/tanzu.js +99 -0
  38. package/cloudprovider/tanzu.js.map +1 -0
  39. package/config/index.d.ts +1 -0
  40. package/config/index.js +21 -0
  41. package/config/index.js.map +1 -0
  42. package/config/vars.d.ts +20 -0
  43. package/config/vars.js +36 -0
  44. package/config/vars.js.map +1 -0
  45. package/delegateApproval.d.ts +94 -0
  46. package/delegateApproval.js +85 -0
  47. package/delegateApproval.js.map +1 -0
  48. package/encryptedText.d.ts +159 -0
  49. package/encryptedText.js +103 -0
  50. package/encryptedText.js.map +1 -0
  51. package/environment.d.ts +155 -0
  52. package/environment.js +120 -0
  53. package/environment.js.map +1 -0
  54. package/getApplication.d.ts +96 -0
  55. package/getApplication.js +31 -0
  56. package/getApplication.js.map +1 -0
  57. package/getCurrentAccount.d.ts +44 -0
  58. package/getCurrentAccount.js +26 -0
  59. package/getCurrentAccount.js.map +1 -0
  60. package/getDelegate.d.ts +138 -0
  61. package/getDelegate.js +56 -0
  62. package/getDelegate.js.map +1 -0
  63. package/getEncryptedText.d.ts +66 -0
  64. package/getEncryptedText.js +28 -0
  65. package/getEncryptedText.js.map +1 -0
  66. package/getEnvironment.d.ts +86 -0
  67. package/getEnvironment.js +28 -0
  68. package/getEnvironment.js.map +1 -0
  69. package/getGitConnector.d.ts +93 -0
  70. package/getGitConnector.js +27 -0
  71. package/getGitConnector.js.map +1 -0
  72. package/getSecretManager.d.ts +74 -0
  73. package/getSecretManager.js +29 -0
  74. package/getSecretManager.js.map +1 -0
  75. package/getService.d.ts +78 -0
  76. package/getService.js +26 -0
  77. package/getService.js.map +1 -0
  78. package/getSshCredential.d.ts +62 -0
  79. package/getSshCredential.js +28 -0
  80. package/getSshCredential.js.map +1 -0
  81. package/getSsoProvider.d.ts +52 -0
  82. package/getSsoProvider.js +27 -0
  83. package/getSsoProvider.js.map +1 -0
  84. package/getTrigger.d.ts +107 -0
  85. package/getTrigger.js +59 -0
  86. package/getTrigger.js.map +1 -0
  87. package/getUser.d.ts +72 -0
  88. package/getUser.js +27 -0
  89. package/getUser.js.map +1 -0
  90. package/getUserGroup.d.ts +48 -0
  91. package/getUserGroup.js +27 -0
  92. package/getUserGroup.js.map +1 -0
  93. package/getYamlConfig.d.ts +60 -0
  94. package/getYamlConfig.js +26 -0
  95. package/getYamlConfig.js.map +1 -0
  96. package/gitConnector.d.ts +222 -0
  97. package/gitConnector.js +115 -0
  98. package/gitConnector.js.map +1 -0
  99. package/index.d.ts +96 -0
  100. package/index.js +156 -0
  101. package/index.js.map +1 -0
  102. package/infrastructureDefinition.d.ts +373 -0
  103. package/infrastructureDefinition.js +184 -0
  104. package/infrastructureDefinition.js.map +1 -0
  105. package/package.json +29 -0
  106. package/platform/appDynamicsConnector.d.ts +229 -0
  107. package/platform/appDynamicsConnector.js +137 -0
  108. package/platform/appDynamicsConnector.js.map +1 -0
  109. package/platform/artifactoryConnector.d.ts +203 -0
  110. package/platform/artifactoryConnector.js +128 -0
  111. package/platform/artifactoryConnector.js.map +1 -0
  112. package/platform/awsCCConnector.d.ts +219 -0
  113. package/platform/awsCCConnector.js +136 -0
  114. package/platform/awsCCConnector.js.map +1 -0
  115. package/platform/awsConnector.d.ts +217 -0
  116. package/platform/awsConnector.js +99 -0
  117. package/platform/awsConnector.js.map +1 -0
  118. package/platform/awsKmsConnector.d.ts +181 -0
  119. package/platform/awsKmsConnector.js +102 -0
  120. package/platform/awsKmsConnector.js.map +1 -0
  121. package/platform/awsSecretManagerConnector.d.ts +181 -0
  122. package/platform/awsSecretManagerConnector.js +99 -0
  123. package/platform/awsSecretManagerConnector.js.map +1 -0
  124. package/platform/azureCloudCostConnector.d.ts +209 -0
  125. package/platform/azureCloudCostConnector.js +130 -0
  126. package/platform/azureCloudCostConnector.js.map +1 -0
  127. package/platform/azureCloudProviderConnector.d.ts +266 -0
  128. package/platform/azureCloudProviderConnector.js +181 -0
  129. package/platform/azureCloudProviderConnector.js.map +1 -0
  130. package/platform/azureKeyVaultConnector.d.ts +248 -0
  131. package/platform/azureKeyVaultConnector.js +137 -0
  132. package/platform/azureKeyVaultConnector.js.map +1 -0
  133. package/platform/bitbucketConnector.d.ts +205 -0
  134. package/platform/bitbucketConnector.js +106 -0
  135. package/platform/bitbucketConnector.js.map +1 -0
  136. package/platform/datadogConnector.d.ts +197 -0
  137. package/platform/datadogConnector.js +120 -0
  138. package/platform/datadogConnector.js.map +1 -0
  139. package/platform/dockerConnector.d.ts +181 -0
  140. package/platform/dockerConnector.js +99 -0
  141. package/platform/dockerConnector.js.map +1 -0
  142. package/platform/dynatraceConnector.d.ts +184 -0
  143. package/platform/dynatraceConnector.js +114 -0
  144. package/platform/dynatraceConnector.js.map +1 -0
  145. package/platform/elasticsearchConnector.d.ts +236 -0
  146. package/platform/elasticsearchConnector.js +141 -0
  147. package/platform/elasticsearchConnector.js.map +1 -0
  148. package/platform/environment.d.ts +242 -0
  149. package/platform/environment.js +159 -0
  150. package/platform/environment.js.map +1 -0
  151. package/platform/environmentClustersMapping.d.ts +130 -0
  152. package/platform/environmentClustersMapping.js +89 -0
  153. package/platform/environmentClustersMapping.js.map +1 -0
  154. package/platform/environmentGroup.d.ts +141 -0
  155. package/platform/environmentGroup.js +98 -0
  156. package/platform/environmentGroup.js.map +1 -0
  157. package/platform/environmentServiceOverrides.d.ts +165 -0
  158. package/platform/environmentServiceOverrides.js +125 -0
  159. package/platform/environmentServiceOverrides.js.map +1 -0
  160. package/platform/featureFlag.d.ts +240 -0
  161. package/platform/featureFlag.js +162 -0
  162. package/platform/featureFlag.js.map +1 -0
  163. package/platform/featureFlagApiKey.d.ts +162 -0
  164. package/platform/featureFlagApiKey.js +104 -0
  165. package/platform/featureFlagApiKey.js.map +1 -0
  166. package/platform/filters.d.ts +165 -0
  167. package/platform/filters.js +113 -0
  168. package/platform/filters.js.map +1 -0
  169. package/platform/gcpCloudCostConnector.d.ts +206 -0
  170. package/platform/gcpCloudCostConnector.js +127 -0
  171. package/platform/gcpCloudCostConnector.js.map +1 -0
  172. package/platform/gcpConnector.d.ts +157 -0
  173. package/platform/gcpConnector.js +89 -0
  174. package/platform/gcpConnector.js.map +1 -0
  175. package/platform/gcpSecretManagerConnector.d.ts +183 -0
  176. package/platform/gcpSecretManagerConnector.js +110 -0
  177. package/platform/gcpSecretManagerConnector.js.map +1 -0
  178. package/platform/getApiKey.d.ts +58 -0
  179. package/platform/getApiKey.js +28 -0
  180. package/platform/getApiKey.js.map +1 -0
  181. package/platform/getAppDynamicsConnector.d.ts +127 -0
  182. package/platform/getAppDynamicsConnector.js +50 -0
  183. package/platform/getAppDynamicsConnector.js.map +1 -0
  184. package/platform/getArtifactoryConnector.d.ts +119 -0
  185. package/platform/getArtifactoryConnector.js +51 -0
  186. package/platform/getArtifactoryConnector.js.map +1 -0
  187. package/platform/getAwsCCConnector.d.ts +127 -0
  188. package/platform/getAwsCCConnector.js +50 -0
  189. package/platform/getAwsCCConnector.js.map +1 -0
  190. package/platform/getAwsConnector.d.ts +135 -0
  191. package/platform/getAwsConnector.js +50 -0
  192. package/platform/getAwsConnector.js.map +1 -0
  193. package/platform/getAwsKmsConnector.d.ts +123 -0
  194. package/platform/getAwsKmsConnector.js +50 -0
  195. package/platform/getAwsKmsConnector.js.map +1 -0
  196. package/platform/getAwsSecretManagerConnector.d.ts +123 -0
  197. package/platform/getAwsSecretManagerConnector.js +50 -0
  198. package/platform/getAwsSecretManagerConnector.js.map +1 -0
  199. package/platform/getAzureCloudCostConnector.d.ts +123 -0
  200. package/platform/getAzureCloudCostConnector.js +50 -0
  201. package/platform/getAzureCloudCostConnector.js.map +1 -0
  202. package/platform/getAzureCloudProviderConnector.d.ts +123 -0
  203. package/platform/getAzureCloudProviderConnector.js +50 -0
  204. package/platform/getAzureCloudProviderConnector.js.map +1 -0
  205. package/platform/getAzureKeyVaultConnector.d.ts +138 -0
  206. package/platform/getAzureKeyVaultConnector.js +50 -0
  207. package/platform/getAzureKeyVaultConnector.js.map +1 -0
  208. package/platform/getBitbucketConnector.d.ts +131 -0
  209. package/platform/getBitbucketConnector.js +50 -0
  210. package/platform/getBitbucketConnector.js.map +1 -0
  211. package/platform/getCcmFilters.d.ts +117 -0
  212. package/platform/getCcmFilters.js +56 -0
  213. package/platform/getCcmFilters.js.map +1 -0
  214. package/platform/getCurrentUser.d.ts +70 -0
  215. package/platform/getCurrentUser.js +23 -0
  216. package/platform/getCurrentUser.js.map +1 -0
  217. package/platform/getDatadogConnector.d.ts +130 -0
  218. package/platform/getDatadogConnector.js +51 -0
  219. package/platform/getDatadogConnector.js.map +1 -0
  220. package/platform/getDockerConnector.d.ts +123 -0
  221. package/platform/getDockerConnector.js +50 -0
  222. package/platform/getDockerConnector.js.map +1 -0
  223. package/platform/getDynatraceConnector.d.ts +118 -0
  224. package/platform/getDynatraceConnector.js +50 -0
  225. package/platform/getDynatraceConnector.js.map +1 -0
  226. package/platform/getElasticsearchConnector.d.ts +123 -0
  227. package/platform/getElasticsearchConnector.js +50 -0
  228. package/platform/getElasticsearchConnector.js.map +1 -0
  229. package/platform/getEnvironment.d.ts +122 -0
  230. package/platform/getEnvironment.js +54 -0
  231. package/platform/getEnvironment.js.map +1 -0
  232. package/platform/getEnvironmentClustersMapping.d.ts +106 -0
  233. package/platform/getEnvironmentClustersMapping.js +54 -0
  234. package/platform/getEnvironmentClustersMapping.js.map +1 -0
  235. package/platform/getEnvironmentGroup.d.ts +106 -0
  236. package/platform/getEnvironmentGroup.js +54 -0
  237. package/platform/getEnvironmentGroup.js.map +1 -0
  238. package/platform/getEnvironmentServiceOverrides.d.ts +120 -0
  239. package/platform/getEnvironmentServiceOverrides.js +57 -0
  240. package/platform/getEnvironmentServiceOverrides.js.map +1 -0
  241. package/platform/getFilters.d.ts +117 -0
  242. package/platform/getFilters.js +56 -0
  243. package/platform/getFilters.js.map +1 -0
  244. package/platform/getGcpCloudCostConnector.d.ts +123 -0
  245. package/platform/getGcpCloudCostConnector.js +50 -0
  246. package/platform/getGcpCloudCostConnector.js.map +1 -0
  247. package/platform/getGcpConnector.d.ts +115 -0
  248. package/platform/getGcpConnector.js +50 -0
  249. package/platform/getGcpConnector.js.map +1 -0
  250. package/platform/getGcpSecretManagerConnector.d.ts +118 -0
  251. package/platform/getGcpSecretManagerConnector.js +50 -0
  252. package/platform/getGcpSecretManagerConnector.js.map +1 -0
  253. package/platform/getGitConnector.d.ts +127 -0
  254. package/platform/getGitConnector.js +50 -0
  255. package/platform/getGitConnector.js.map +1 -0
  256. package/platform/getGithubConnector.d.ts +132 -0
  257. package/platform/getGithubConnector.js +50 -0
  258. package/platform/getGithubConnector.js.map +1 -0
  259. package/platform/getGitlabConnector.d.ts +131 -0
  260. package/platform/getGitlabConnector.js +50 -0
  261. package/platform/getGitlabConnector.js.map +1 -0
  262. package/platform/getGitopsAgent.d.ts +128 -0
  263. package/platform/getGitopsAgent.js +56 -0
  264. package/platform/getGitopsAgent.js.map +1 -0
  265. package/platform/getGitopsAgentDeployYaml.d.ts +122 -0
  266. package/platform/getGitopsAgentDeployYaml.js +59 -0
  267. package/platform/getGitopsAgentDeployYaml.js.map +1 -0
  268. package/platform/getGitopsApplications.d.ts +326 -0
  269. package/platform/getGitopsApplications.js +78 -0
  270. package/platform/getGitopsApplications.js.map +1 -0
  271. package/platform/getGitopsCluster.d.ts +136 -0
  272. package/platform/getGitopsCluster.js +60 -0
  273. package/platform/getGitopsCluster.js.map +1 -0
  274. package/platform/getGitopsGnupg.d.ts +128 -0
  275. package/platform/getGitopsGnupg.js +56 -0
  276. package/platform/getGitopsGnupg.js.map +1 -0
  277. package/platform/getGitopsRepoCert.d.ts +76 -0
  278. package/platform/getGitopsRepoCert.js +28 -0
  279. package/platform/getGitopsRepoCert.js.map +1 -0
  280. package/platform/getGitopsRepoCred.d.ts +144 -0
  281. package/platform/getGitopsRepoCred.js +61 -0
  282. package/platform/getGitopsRepoCred.js.map +1 -0
  283. package/platform/getGitopsRepository.d.ts +196 -0
  284. package/platform/getGitopsRepository.js +65 -0
  285. package/platform/getGitopsRepository.js.map +1 -0
  286. package/platform/getHelmConnector.d.ts +119 -0
  287. package/platform/getHelmConnector.js +50 -0
  288. package/platform/getHelmConnector.js.map +1 -0
  289. package/platform/getInfrastructure.d.ts +138 -0
  290. package/platform/getInfrastructure.js +59 -0
  291. package/platform/getInfrastructure.js.map +1 -0
  292. package/platform/getInputSet.d.ts +114 -0
  293. package/platform/getInputSet.js +30 -0
  294. package/platform/getInputSet.js.map +1 -0
  295. package/platform/getJenkinsConnector.d.ts +119 -0
  296. package/platform/getJenkinsConnector.js +50 -0
  297. package/platform/getJenkinsConnector.js.map +1 -0
  298. package/platform/getJiraConnector.d.ts +131 -0
  299. package/platform/getJiraConnector.js +50 -0
  300. package/platform/getJiraConnector.js.map +1 -0
  301. package/platform/getKubernetesCloudCostConnector.d.ts +114 -0
  302. package/platform/getKubernetesCloudCostConnector.js +50 -0
  303. package/platform/getKubernetesCloudCostConnector.js.map +1 -0
  304. package/platform/getKubernetesConnector.d.ts +131 -0
  305. package/platform/getKubernetesConnector.js +50 -0
  306. package/platform/getKubernetesConnector.js.map +1 -0
  307. package/platform/getManualFreeze.d.ts +141 -0
  308. package/platform/getManualFreeze.js +56 -0
  309. package/platform/getManualFreeze.js.map +1 -0
  310. package/platform/getMonitoredService.d.ts +64 -0
  311. package/platform/getMonitoredService.js +27 -0
  312. package/platform/getMonitoredService.js.map +1 -0
  313. package/platform/getNexusConnector.d.ts +123 -0
  314. package/platform/getNexusConnector.js +50 -0
  315. package/platform/getNexusConnector.js.map +1 -0
  316. package/platform/getOciHelmConnector.d.ts +119 -0
  317. package/platform/getOciHelmConnector.js +50 -0
  318. package/platform/getOciHelmConnector.js.map +1 -0
  319. package/platform/getOrganization.d.ts +82 -0
  320. package/platform/getOrganization.js +49 -0
  321. package/platform/getOrganization.js.map +1 -0
  322. package/platform/getPagerdutyConnector.d.ts +114 -0
  323. package/platform/getPagerdutyConnector.js +50 -0
  324. package/platform/getPagerdutyConnector.js.map +1 -0
  325. package/platform/getPermissions.d.ts +81 -0
  326. package/platform/getPermissions.js +51 -0
  327. package/platform/getPermissions.js.map +1 -0
  328. package/platform/getPipeline.d.ts +136 -0
  329. package/platform/getPipeline.js +55 -0
  330. package/platform/getPipeline.js.map +1 -0
  331. package/platform/getPipelineFilters.d.ts +89 -0
  332. package/platform/getPipelineFilters.js +28 -0
  333. package/platform/getPipelineFilters.js.map +1 -0
  334. package/platform/getPolicy.d.ts +122 -0
  335. package/platform/getPolicy.js +55 -0
  336. package/platform/getPolicy.js.map +1 -0
  337. package/platform/getPolicySet.d.ts +172 -0
  338. package/platform/getPolicySet.js +70 -0
  339. package/platform/getPolicySet.js.map +1 -0
  340. package/platform/getProject.d.ts +112 -0
  341. package/platform/getProject.js +59 -0
  342. package/platform/getProject.js.map +1 -0
  343. package/platform/getPrometheusConnector.d.ts +127 -0
  344. package/platform/getPrometheusConnector.js +50 -0
  345. package/platform/getPrometheusConnector.js.map +1 -0
  346. package/platform/getResourceGroup.d.ts +127 -0
  347. package/platform/getResourceGroup.js +50 -0
  348. package/platform/getResourceGroup.js.map +1 -0
  349. package/platform/getRoleAssignments.d.ts +111 -0
  350. package/platform/getRoleAssignments.js +53 -0
  351. package/platform/getRoleAssignments.js.map +1 -0
  352. package/platform/getRoles.d.ts +134 -0
  353. package/platform/getRoles.js +56 -0
  354. package/platform/getRoles.js.map +1 -0
  355. package/platform/getSecretFile.d.ts +114 -0
  356. package/platform/getSecretFile.js +50 -0
  357. package/platform/getSecretFile.js.map +1 -0
  358. package/platform/getSecretSshkey.d.ts +119 -0
  359. package/platform/getSecretSshkey.js +50 -0
  360. package/platform/getSecretSshkey.js.map +1 -0
  361. package/platform/getSecretText.d.ts +118 -0
  362. package/platform/getSecretText.js +50 -0
  363. package/platform/getSecretText.js.map +1 -0
  364. package/platform/getService.d.ts +114 -0
  365. package/platform/getService.js +54 -0
  366. package/platform/getService.js.map +1 -0
  367. package/platform/getServiceAccount.d.ts +114 -0
  368. package/platform/getServiceAccount.js +51 -0
  369. package/platform/getServiceAccount.js.map +1 -0
  370. package/platform/getServiceNowConnector.d.ts +131 -0
  371. package/platform/getServiceNowConnector.js +50 -0
  372. package/platform/getServiceNowConnector.js.map +1 -0
  373. package/platform/getServiceOverridesV2.d.ts +49 -0
  374. package/platform/getServiceOverridesV2.js +27 -0
  375. package/platform/getServiceOverridesV2.js.map +1 -0
  376. package/platform/getSlo.d.ts +64 -0
  377. package/platform/getSlo.js +27 -0
  378. package/platform/getSlo.js.map +1 -0
  379. package/platform/getSplunkConnector.d.ts +126 -0
  380. package/platform/getSplunkConnector.js +50 -0
  381. package/platform/getSplunkConnector.js.map +1 -0
  382. package/platform/getSpotConnector.d.ts +111 -0
  383. package/platform/getSpotConnector.js +50 -0
  384. package/platform/getSpotConnector.js.map +1 -0
  385. package/platform/getSumologicConnector.d.ts +122 -0
  386. package/platform/getSumologicConnector.js +50 -0
  387. package/platform/getSumologicConnector.js.map +1 -0
  388. package/platform/getTasConnector.d.ts +119 -0
  389. package/platform/getTasConnector.js +50 -0
  390. package/platform/getTasConnector.js.map +1 -0
  391. package/platform/getTemplate.d.ts +222 -0
  392. package/platform/getTemplate.js +87 -0
  393. package/platform/getTemplate.js.map +1 -0
  394. package/platform/getTemplateFilters.d.ts +117 -0
  395. package/platform/getTemplateFilters.js +56 -0
  396. package/platform/getTemplateFilters.js.map +1 -0
  397. package/platform/getTerraformCloudConnector.d.ts +109 -0
  398. package/platform/getTerraformCloudConnector.js +46 -0
  399. package/platform/getTerraformCloudConnector.js.map +1 -0
  400. package/platform/getToken.d.ts +270 -0
  401. package/platform/getToken.js +73 -0
  402. package/platform/getToken.js.map +1 -0
  403. package/platform/getTriggers.d.ts +140 -0
  404. package/platform/getTriggers.js +58 -0
  405. package/platform/getTriggers.js.map +1 -0
  406. package/platform/getUser.d.ts +110 -0
  407. package/platform/getUser.js +53 -0
  408. package/platform/getUser.js.map +1 -0
  409. package/platform/getUsergroup.d.ts +166 -0
  410. package/platform/getUsergroup.js +66 -0
  411. package/platform/getUsergroup.js.map +1 -0
  412. package/platform/getVariables.d.ts +107 -0
  413. package/platform/getVariables.js +53 -0
  414. package/platform/getVariables.js.map +1 -0
  415. package/platform/getVaultConnector.d.ts +214 -0
  416. package/platform/getVaultConnector.js +50 -0
  417. package/platform/getVaultConnector.js.map +1 -0
  418. package/platform/gitConnector.d.ts +193 -0
  419. package/platform/gitConnector.js +104 -0
  420. package/platform/gitConnector.js.map +1 -0
  421. package/platform/gitOpsAgent.d.ts +192 -0
  422. package/platform/gitOpsAgent.js +111 -0
  423. package/platform/gitOpsAgent.js.map +1 -0
  424. package/platform/gitOpsApplications.d.ts +364 -0
  425. package/platform/gitOpsApplications.js +174 -0
  426. package/platform/gitOpsApplications.js.map +1 -0
  427. package/platform/gitOpsCluster.d.ts +139 -0
  428. package/platform/gitOpsCluster.js +87 -0
  429. package/platform/gitOpsCluster.js.map +1 -0
  430. package/platform/gitOpsGnupg.d.ts +141 -0
  431. package/platform/gitOpsGnupg.js +103 -0
  432. package/platform/gitOpsGnupg.js.map +1 -0
  433. package/platform/gitOpsRepoCert.d.ts +132 -0
  434. package/platform/gitOpsRepoCert.js +100 -0
  435. package/platform/gitOpsRepoCert.js.map +1 -0
  436. package/platform/gitOpsRepoCred.d.ts +159 -0
  437. package/platform/gitOpsRepoCred.js +107 -0
  438. package/platform/gitOpsRepoCred.js.map +1 -0
  439. package/platform/gitOpsRepository.d.ts +221 -0
  440. package/platform/gitOpsRepository.js +122 -0
  441. package/platform/gitOpsRepository.js.map +1 -0
  442. package/platform/githubConnector.d.ts +217 -0
  443. package/platform/githubConnector.js +108 -0
  444. package/platform/githubConnector.js.map +1 -0
  445. package/platform/gitlabConnector.d.ts +205 -0
  446. package/platform/gitlabConnector.js +106 -0
  447. package/platform/gitlabConnector.js.map +1 -0
  448. package/platform/helmConnector.d.ts +169 -0
  449. package/platform/helmConnector.js +94 -0
  450. package/platform/helmConnector.js.map +1 -0
  451. package/platform/index.d.ts +474 -0
  452. package/platform/index.js +651 -0
  453. package/platform/index.js.map +1 -0
  454. package/platform/infrastructure.d.ts +225 -0
  455. package/platform/infrastructure.js +138 -0
  456. package/platform/infrastructure.js.map +1 -0
  457. package/platform/inputSet.d.ts +218 -0
  458. package/platform/inputSet.js +152 -0
  459. package/platform/inputSet.js.map +1 -0
  460. package/platform/jenkinsConnector.d.ts +169 -0
  461. package/platform/jenkinsConnector.js +94 -0
  462. package/platform/jenkinsConnector.js.map +1 -0
  463. package/platform/jiraConnector.d.ts +228 -0
  464. package/platform/jiraConnector.js +126 -0
  465. package/platform/jiraConnector.js.map +1 -0
  466. package/platform/kubernetesCloudCostConnector.d.ts +174 -0
  467. package/platform/kubernetesCloudCostConnector.js +114 -0
  468. package/platform/kubernetesCloudCostConnector.js.map +1 -0
  469. package/platform/kubernetesConnector.d.ts +279 -0
  470. package/platform/kubernetesConnector.js +171 -0
  471. package/platform/kubernetesConnector.js.map +1 -0
  472. package/platform/manualFreeze.d.ts +224 -0
  473. package/platform/manualFreeze.js +144 -0
  474. package/platform/manualFreeze.js.map +1 -0
  475. package/platform/monitoredService.d.ts +109 -0
  476. package/platform/monitoredService.js +87 -0
  477. package/platform/monitoredService.js.map +1 -0
  478. package/platform/newrelicConnector.d.ts +197 -0
  479. package/platform/newrelicConnector.js +120 -0
  480. package/platform/newrelicConnector.js.map +1 -0
  481. package/platform/nexusConnector.d.ts +181 -0
  482. package/platform/nexusConnector.js +99 -0
  483. package/platform/nexusConnector.js.map +1 -0
  484. package/platform/ociHelmConnector.d.ts +169 -0
  485. package/platform/ociHelmConnector.js +94 -0
  486. package/platform/ociHelmConnector.js.map +1 -0
  487. package/platform/organization.d.ts +112 -0
  488. package/platform/organization.js +86 -0
  489. package/platform/organization.js.map +1 -0
  490. package/platform/pagerdutyConnector.d.ts +171 -0
  491. package/platform/pagerdutyConnector.js +108 -0
  492. package/platform/pagerdutyConnector.js.map +1 -0
  493. package/platform/pipeline.d.ts +277 -0
  494. package/platform/pipeline.js +198 -0
  495. package/platform/pipeline.js.map +1 -0
  496. package/platform/pipelineFilters.d.ts +165 -0
  497. package/platform/pipelineFilters.js +113 -0
  498. package/platform/pipelineFilters.js.map +1 -0
  499. package/platform/policy.d.ts +131 -0
  500. package/platform/policy.js +78 -0
  501. package/platform/policy.js.map +1 -0
  502. package/platform/policySet.d.ts +169 -0
  503. package/platform/policySet.js +87 -0
  504. package/platform/policySet.js.map +1 -0
  505. package/platform/project.d.ts +141 -0
  506. package/platform/project.js +92 -0
  507. package/platform/project.js.map +1 -0
  508. package/platform/prometheusConnector.d.ts +217 -0
  509. package/platform/prometheusConnector.js +122 -0
  510. package/platform/prometheusConnector.js.map +1 -0
  511. package/platform/resourceGroup.d.ts +223 -0
  512. package/platform/resourceGroup.js +128 -0
  513. package/platform/resourceGroup.js.map +1 -0
  514. package/platform/roleAssignments.d.ts +157 -0
  515. package/platform/roleAssignments.js +95 -0
  516. package/platform/roleAssignments.js.map +1 -0
  517. package/platform/roles.d.ts +171 -0
  518. package/platform/roles.js +105 -0
  519. package/platform/roles.js.map +1 -0
  520. package/platform/secretFile.d.ts +171 -0
  521. package/platform/secretFile.js +111 -0
  522. package/platform/secretFile.js.map +1 -0
  523. package/platform/secretSshkey.d.ts +169 -0
  524. package/platform/secretSshkey.js +91 -0
  525. package/platform/secretSshkey.js.map +1 -0
  526. package/platform/secretText.d.ts +193 -0
  527. package/platform/secretText.js +128 -0
  528. package/platform/secretText.js.map +1 -0
  529. package/platform/service.d.ts +209 -0
  530. package/platform/service.js +143 -0
  531. package/platform/service.js.map +1 -0
  532. package/platform/serviceAccount.d.ts +171 -0
  533. package/platform/serviceAccount.js +111 -0
  534. package/platform/serviceAccount.js.map +1 -0
  535. package/platform/serviceNowConnector.d.ts +205 -0
  536. package/platform/serviceNowConnector.js +103 -0
  537. package/platform/serviceNowConnector.js.map +1 -0
  538. package/platform/serviceOverridesV2.d.ts +144 -0
  539. package/platform/serviceOverridesV2.js +77 -0
  540. package/platform/serviceOverridesV2.js.map +1 -0
  541. package/platform/slo.d.ts +109 -0
  542. package/platform/slo.js +87 -0
  543. package/platform/slo.js.map +1 -0
  544. package/platform/splunkConnector.d.ts +210 -0
  545. package/platform/splunkConnector.js +126 -0
  546. package/platform/splunkConnector.js.map +1 -0
  547. package/platform/spotConnector.d.ts +133 -0
  548. package/platform/spotConnector.js +78 -0
  549. package/platform/spotConnector.js.map +1 -0
  550. package/platform/sumologicConnector.d.ts +197 -0
  551. package/platform/sumologicConnector.js +120 -0
  552. package/platform/sumologicConnector.js.map +1 -0
  553. package/platform/tasConnector.d.ts +169 -0
  554. package/platform/tasConnector.js +94 -0
  555. package/platform/tasConnector.js.map +1 -0
  556. package/platform/template.d.ts +1042 -0
  557. package/platform/template.js +934 -0
  558. package/platform/template.js.map +1 -0
  559. package/platform/templateFilters.d.ts +165 -0
  560. package/platform/templateFilters.js +113 -0
  561. package/platform/templateFilters.js.map +1 -0
  562. package/platform/terraformCloudConnector.d.ts +151 -0
  563. package/platform/terraformCloudConnector.js +97 -0
  564. package/platform/terraformCloudConnector.js.map +1 -0
  565. package/platform/token.d.ts +269 -0
  566. package/platform/token.js +119 -0
  567. package/platform/token.js.map +1 -0
  568. package/platform/triggers.d.ts +211 -0
  569. package/platform/triggers.js +137 -0
  570. package/platform/triggers.js.map +1 -0
  571. package/platform/user.d.ts +161 -0
  572. package/platform/user.js +96 -0
  573. package/platform/user.js.map +1 -0
  574. package/platform/usergroup.d.ts +389 -0
  575. package/platform/usergroup.js +241 -0
  576. package/platform/usergroup.js.map +1 -0
  577. package/platform/variables.d.ts +164 -0
  578. package/platform/variables.js +112 -0
  579. package/platform/variables.js.map +1 -0
  580. package/platform/vaultConnector.d.ts +573 -0
  581. package/platform/vaultConnector.js +263 -0
  582. package/platform/vaultConnector.js.map +1 -0
  583. package/platformApiKey.d.ts +162 -0
  584. package/platformApiKey.js +79 -0
  585. package/platformApiKey.js.map +1 -0
  586. package/platformCcmFilters.d.ts +165 -0
  587. package/platformCcmFilters.js +113 -0
  588. package/platformCcmFilters.js.map +1 -0
  589. package/provider.d.ts +67 -0
  590. package/provider.js +49 -0
  591. package/provider.js.map +1 -0
  592. package/service/ami.d.ts +111 -0
  593. package/service/ami.js +83 -0
  594. package/service/ami.js.map +1 -0
  595. package/service/codedeploy.d.ts +111 -0
  596. package/service/codedeploy.js +83 -0
  597. package/service/codedeploy.js.map +1 -0
  598. package/service/ecs.d.ts +111 -0
  599. package/service/ecs.js +83 -0
  600. package/service/ecs.js.map +1 -0
  601. package/service/helm.d.ts +111 -0
  602. package/service/helm.js +83 -0
  603. package/service/helm.js.map +1 -0
  604. package/service/index.d.ts +27 -0
  605. package/service/index.js +62 -0
  606. package/service/index.js.map +1 -0
  607. package/service/kubernetes.d.ts +136 -0
  608. package/service/kubernetes.js +98 -0
  609. package/service/kubernetes.js.map +1 -0
  610. package/service/lambda.d.ts +111 -0
  611. package/service/lambda.js +83 -0
  612. package/service/lambda.js.map +1 -0
  613. package/service/ssh.d.ts +124 -0
  614. package/service/ssh.js +89 -0
  615. package/service/ssh.js.map +1 -0
  616. package/service/tanzu.d.ts +111 -0
  617. package/service/tanzu.js +83 -0
  618. package/service/tanzu.js.map +1 -0
  619. package/service/winrm.d.ts +124 -0
  620. package/service/winrm.js +89 -0
  621. package/service/winrm.js.map +1 -0
  622. package/sshCredential.d.ts +128 -0
  623. package/sshCredential.js +97 -0
  624. package/sshCredential.js.map +1 -0
  625. package/types/index.d.ts +3 -0
  626. package/types/index.js +11 -0
  627. package/types/index.js.map +1 -0
  628. package/types/input.d.ts +4864 -0
  629. package/types/input.js +5 -0
  630. package/types/input.js.map +1 -0
  631. package/types/output.d.ts +5677 -0
  632. package/types/output.js +5 -0
  633. package/types/output.js.map +1 -0
  634. package/user.d.ts +135 -0
  635. package/user.js +89 -0
  636. package/user.js.map +1 -0
  637. package/userGroup.d.ts +265 -0
  638. package/userGroup.js +202 -0
  639. package/userGroup.js.map +1 -0
  640. package/userGroupPermissions.d.ts +77 -0
  641. package/userGroupPermissions.js +59 -0
  642. package/userGroupPermissions.js.map +1 -0
  643. package/utilities.d.ts +8 -0
  644. package/utilities.js +101 -0
  645. package/utilities.js.map +1 -0
  646. package/yamlConfig.d.ts +115 -0
  647. package/yamlConfig.js +96 -0
  648. package/yamlConfig.js.map +1 -0
package/config/vars.js ADDED
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ const pulumi = require("@pulumi/pulumi");
6
+ const utilities = require("../utilities");
7
+ const __config = new pulumi.Config("harness");
8
+ Object.defineProperty(exports, "accountId", {
9
+ get() {
10
+ var _a;
11
+ return (_a = __config.get("accountId")) !== null && _a !== void 0 ? _a : utilities.getEnv("HARNESS_ACCOUNT_ID");
12
+ },
13
+ enumerable: true,
14
+ });
15
+ Object.defineProperty(exports, "apiKey", {
16
+ get() {
17
+ var _a;
18
+ return (_a = __config.get("apiKey")) !== null && _a !== void 0 ? _a : utilities.getEnv("HARNESS_API_KEY");
19
+ },
20
+ enumerable: true,
21
+ });
22
+ Object.defineProperty(exports, "endpoint", {
23
+ get() {
24
+ var _a;
25
+ return (_a = __config.get("endpoint")) !== null && _a !== void 0 ? _a : utilities.getEnv("HARNESS_ENDPOINT");
26
+ },
27
+ enumerable: true,
28
+ });
29
+ Object.defineProperty(exports, "platformApiKey", {
30
+ get() {
31
+ var _a;
32
+ return (_a = __config.get("platformApiKey")) !== null && _a !== void 0 ? _a : utilities.getEnv("HARNESS_PLATFORM_API_KEY");
33
+ },
34
+ enumerable: true,
35
+ });
36
+ //# sourceMappingURL=vars.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"vars.js","sourceRoot":"","sources":["../../config/vars.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;AACzC,0CAA0C;AAG1C,MAAM,QAAQ,GAAG,IAAI,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC;AAM9C,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,WAAW,EAAE;IACxC,GAAG;;QACC,OAAO,MAAA,QAAQ,CAAC,GAAG,CAAC,WAAW,CAAC,mCAAI,SAAS,CAAC,MAAM,CAAC,oBAAoB,CAAC,CAAC;IAC/E,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAOH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,QAAQ,EAAE;IACrC,GAAG;;QACC,OAAO,MAAA,QAAQ,CAAC,GAAG,CAAC,QAAQ,CAAC,mCAAI,SAAS,CAAC,MAAM,CAAC,iBAAiB,CAAC,CAAC;IACzE,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAOH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,UAAU,EAAE;IACvC,GAAG;;QACC,OAAO,MAAA,QAAQ,CAAC,GAAG,CAAC,UAAU,CAAC,mCAAI,SAAS,CAAC,MAAM,CAAC,kBAAkB,CAAC,CAAC;IAC5E,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAQH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,gBAAgB,EAAE;IAC7C,GAAG;;QACC,OAAO,MAAA,QAAQ,CAAC,GAAG,CAAC,gBAAgB,CAAC,mCAAI,SAAS,CAAC,MAAM,CAAC,0BAA0B,CAAC,CAAC;IAC1F,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC"}
@@ -0,0 +1,94 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Resource for approving or rejecting delegates.
4
+ *
5
+ * ## Example Usage
6
+ *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as harness from "@pulumi/harness";
10
+ *
11
+ * const test = harness.getDelegate({
12
+ * name: "my-delegate",
13
+ * });
14
+ * const testDelegateApproval = new harness.DelegateApproval("test", {
15
+ * delegateId: test.then(test => test.id),
16
+ * approve: true,
17
+ * });
18
+ * ```
19
+ *
20
+ * ## Import
21
+ *
22
+ * Import the status of the delegate approval.
23
+ *
24
+ * ```sh
25
+ * $ pulumi import harness:index/delegateApproval:DelegateApproval example <delegate_id>
26
+ * ```
27
+ */
28
+ export declare class DelegateApproval extends pulumi.CustomResource {
29
+ /**
30
+ * Get an existing DelegateApproval resource's state with the given name, ID, and optional extra
31
+ * properties used to qualify the lookup.
32
+ *
33
+ * @param name The _unique_ name of the resulting resource.
34
+ * @param id The _unique_ provider ID of the resource to lookup.
35
+ * @param state Any extra arguments used during the lookup.
36
+ * @param opts Optional settings to control the behavior of the CustomResource.
37
+ */
38
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: DelegateApprovalState, opts?: pulumi.CustomResourceOptions): DelegateApproval;
39
+ /**
40
+ * Returns true if the given object is an instance of DelegateApproval. This is designed to work even
41
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
42
+ */
43
+ static isInstance(obj: any): obj is DelegateApproval;
44
+ /**
45
+ * Whether or not to approve the delegate.
46
+ */
47
+ readonly approve: pulumi.Output<boolean>;
48
+ /**
49
+ * The id of the delegate.
50
+ */
51
+ readonly delegateId: pulumi.Output<string>;
52
+ /**
53
+ * The status of the delegate.
54
+ */
55
+ readonly status: pulumi.Output<string>;
56
+ /**
57
+ * Create a DelegateApproval resource with the given unique name, arguments, and options.
58
+ *
59
+ * @param name The _unique_ name of the resource.
60
+ * @param args The arguments to use to populate this resource's properties.
61
+ * @param opts A bag of options that control this resource's behavior.
62
+ */
63
+ constructor(name: string, args: DelegateApprovalArgs, opts?: pulumi.CustomResourceOptions);
64
+ }
65
+ /**
66
+ * Input properties used for looking up and filtering DelegateApproval resources.
67
+ */
68
+ export interface DelegateApprovalState {
69
+ /**
70
+ * Whether or not to approve the delegate.
71
+ */
72
+ approve?: pulumi.Input<boolean>;
73
+ /**
74
+ * The id of the delegate.
75
+ */
76
+ delegateId?: pulumi.Input<string>;
77
+ /**
78
+ * The status of the delegate.
79
+ */
80
+ status?: pulumi.Input<string>;
81
+ }
82
+ /**
83
+ * The set of arguments for constructing a DelegateApproval resource.
84
+ */
85
+ export interface DelegateApprovalArgs {
86
+ /**
87
+ * Whether or not to approve the delegate.
88
+ */
89
+ approve: pulumi.Input<boolean>;
90
+ /**
91
+ * The id of the delegate.
92
+ */
93
+ delegateId: pulumi.Input<string>;
94
+ }
@@ -0,0 +1,85 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.DelegateApproval = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * Resource for approving or rejecting delegates.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as harness from "@pulumi/harness";
16
+ *
17
+ * const test = harness.getDelegate({
18
+ * name: "my-delegate",
19
+ * });
20
+ * const testDelegateApproval = new harness.DelegateApproval("test", {
21
+ * delegateId: test.then(test => test.id),
22
+ * approve: true,
23
+ * });
24
+ * ```
25
+ *
26
+ * ## Import
27
+ *
28
+ * Import the status of the delegate approval.
29
+ *
30
+ * ```sh
31
+ * $ pulumi import harness:index/delegateApproval:DelegateApproval example <delegate_id>
32
+ * ```
33
+ */
34
+ class DelegateApproval extends pulumi.CustomResource {
35
+ /**
36
+ * Get an existing DelegateApproval resource's state with the given name, ID, and optional extra
37
+ * properties used to qualify the lookup.
38
+ *
39
+ * @param name The _unique_ name of the resulting resource.
40
+ * @param id The _unique_ provider ID of the resource to lookup.
41
+ * @param state Any extra arguments used during the lookup.
42
+ * @param opts Optional settings to control the behavior of the CustomResource.
43
+ */
44
+ static get(name, id, state, opts) {
45
+ return new DelegateApproval(name, state, Object.assign(Object.assign({}, opts), { id: id }));
46
+ }
47
+ /**
48
+ * Returns true if the given object is an instance of DelegateApproval. This is designed to work even
49
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
50
+ */
51
+ static isInstance(obj) {
52
+ if (obj === undefined || obj === null) {
53
+ return false;
54
+ }
55
+ return obj['__pulumiType'] === DelegateApproval.__pulumiType;
56
+ }
57
+ constructor(name, argsOrState, opts) {
58
+ let resourceInputs = {};
59
+ opts = opts || {};
60
+ if (opts.id) {
61
+ const state = argsOrState;
62
+ resourceInputs["approve"] = state ? state.approve : undefined;
63
+ resourceInputs["delegateId"] = state ? state.delegateId : undefined;
64
+ resourceInputs["status"] = state ? state.status : undefined;
65
+ }
66
+ else {
67
+ const args = argsOrState;
68
+ if ((!args || args.approve === undefined) && !opts.urn) {
69
+ throw new Error("Missing required property 'approve'");
70
+ }
71
+ if ((!args || args.delegateId === undefined) && !opts.urn) {
72
+ throw new Error("Missing required property 'delegateId'");
73
+ }
74
+ resourceInputs["approve"] = args ? args.approve : undefined;
75
+ resourceInputs["delegateId"] = args ? args.delegateId : undefined;
76
+ resourceInputs["status"] = undefined /*out*/;
77
+ }
78
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
79
+ super(DelegateApproval.__pulumiType, name, resourceInputs, opts);
80
+ }
81
+ }
82
+ exports.DelegateApproval = DelegateApproval;
83
+ /** @internal */
84
+ DelegateApproval.__pulumiType = 'harness:index/delegateApproval:DelegateApproval';
85
+ //# sourceMappingURL=delegateApproval.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delegateApproval.js","sourceRoot":"","sources":["../delegateApproval.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IACvD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA6B,EAAE,IAAmC;QAC3H,OAAO,IAAI,gBAAgB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACvE,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,gBAAgB,CAAC,YAAY,CAAC;IACjE,CAAC;IAuBD,YAAY,IAAY,EAAE,WAA0D,EAAE,IAAmC;QACrH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAgD,CAAC;YAC/D,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;SAC/D;aAAM;YACH,MAAM,IAAI,GAAG,WAA+C,CAAC;YAC7D,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,OAAO,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACpD,MAAM,IAAI,KAAK,CAAC,qCAAqC,CAAC,CAAC;aAC1D;YACD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,UAAU,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACvD,MAAM,IAAI,KAAK,CAAC,wCAAwC,CAAC,CAAC;aAC7D;YACD,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAChD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,gBAAgB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACrE,CAAC;;AAvEL,4CAwEC;AA1DG,gBAAgB;AACO,6BAAY,GAAG,iDAAiD,CAAC"}
@@ -0,0 +1,159 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "./types/input";
3
+ import * as outputs from "./types/output";
4
+ /**
5
+ * Resource for creating an encrypted text secret
6
+ *
7
+ * ## Example Usage
8
+ *
9
+ * ```typescript
10
+ * import * as pulumi from "@pulumi/pulumi";
11
+ * import * as harness from "@pulumi/harness";
12
+ *
13
+ * const default = harness.getSecretManager({
14
+ * "default": true,
15
+ * });
16
+ * const example = new harness.EncryptedText("example", {
17
+ * name: "example-secret",
18
+ * value: "someval",
19
+ * secretManagerId: _default.then(_default => _default.id),
20
+ * usageScopes: [
21
+ * {
22
+ * environmentFilterType: "PRODUCTION_ENVIRONMENTS",
23
+ * },
24
+ * {
25
+ * environmentFilterType: "NON_PRODUCTION_ENVIRONMENTS",
26
+ * },
27
+ * ],
28
+ * });
29
+ * ```
30
+ *
31
+ * ## Import
32
+ *
33
+ * Import using the Harness encrypted text format.
34
+ *
35
+ * NOTE: The secret value cannot be decrypted and imported.
36
+ *
37
+ * ```sh
38
+ * $ pulumi import harness:index/encryptedText:EncryptedText example <secret_id>
39
+ * ```
40
+ */
41
+ export declare class EncryptedText extends pulumi.CustomResource {
42
+ /**
43
+ * Get an existing EncryptedText resource's state with the given name, ID, and optional extra
44
+ * properties used to qualify the lookup.
45
+ *
46
+ * @param name The _unique_ name of the resulting resource.
47
+ * @param id The _unique_ provider ID of the resource to lookup.
48
+ * @param state Any extra arguments used during the lookup.
49
+ * @param opts Optional settings to control the behavior of the CustomResource.
50
+ */
51
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: EncryptedTextState, opts?: pulumi.CustomResourceOptions): EncryptedText;
52
+ /**
53
+ * Returns true if the given object is an instance of EncryptedText. This is designed to work even
54
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
55
+ */
56
+ static isInstance(obj: any): obj is EncryptedText;
57
+ /**
58
+ * Boolean that indicates whether or not to inherit the usage scopes from the secret manager
59
+ */
60
+ readonly inheritScopesFromSecretManager: pulumi.Output<boolean | undefined>;
61
+ /**
62
+ * Name of the encrypted text secret
63
+ */
64
+ readonly name: pulumi.Output<string>;
65
+ /**
66
+ * Boolean that indicates whether or not the secret is scoped to the account
67
+ */
68
+ readonly scopedToAccount: pulumi.Output<boolean | undefined>;
69
+ /**
70
+ * The id of the secret manager to associate the secret with. Once set, this field cannot be changed.
71
+ */
72
+ readonly secretManagerId: pulumi.Output<string>;
73
+ /**
74
+ * Name of the existing secret. If you already have secrets created in a secrets manager such as HashiCorp Vault or AWS Secrets Manager, you do not need to re-create the existing secrets in Harness.
75
+ */
76
+ readonly secretReference: pulumi.Output<string | undefined>;
77
+ /**
78
+ * This block is used for scoping the resource to a specific set of applications or environments.
79
+ */
80
+ readonly usageScopes: pulumi.Output<outputs.EncryptedTextUsageScope[] | undefined>;
81
+ /**
82
+ * The value of the secret.
83
+ */
84
+ readonly value: pulumi.Output<string | undefined>;
85
+ /**
86
+ * Create a EncryptedText resource with the given unique name, arguments, and options.
87
+ *
88
+ * @param name The _unique_ name of the resource.
89
+ * @param args The arguments to use to populate this resource's properties.
90
+ * @param opts A bag of options that control this resource's behavior.
91
+ */
92
+ constructor(name: string, args: EncryptedTextArgs, opts?: pulumi.CustomResourceOptions);
93
+ }
94
+ /**
95
+ * Input properties used for looking up and filtering EncryptedText resources.
96
+ */
97
+ export interface EncryptedTextState {
98
+ /**
99
+ * Boolean that indicates whether or not to inherit the usage scopes from the secret manager
100
+ */
101
+ inheritScopesFromSecretManager?: pulumi.Input<boolean>;
102
+ /**
103
+ * Name of the encrypted text secret
104
+ */
105
+ name?: pulumi.Input<string>;
106
+ /**
107
+ * Boolean that indicates whether or not the secret is scoped to the account
108
+ */
109
+ scopedToAccount?: pulumi.Input<boolean>;
110
+ /**
111
+ * The id of the secret manager to associate the secret with. Once set, this field cannot be changed.
112
+ */
113
+ secretManagerId?: pulumi.Input<string>;
114
+ /**
115
+ * Name of the existing secret. If you already have secrets created in a secrets manager such as HashiCorp Vault or AWS Secrets Manager, you do not need to re-create the existing secrets in Harness.
116
+ */
117
+ secretReference?: pulumi.Input<string>;
118
+ /**
119
+ * This block is used for scoping the resource to a specific set of applications or environments.
120
+ */
121
+ usageScopes?: pulumi.Input<pulumi.Input<inputs.EncryptedTextUsageScope>[]>;
122
+ /**
123
+ * The value of the secret.
124
+ */
125
+ value?: pulumi.Input<string>;
126
+ }
127
+ /**
128
+ * The set of arguments for constructing a EncryptedText resource.
129
+ */
130
+ export interface EncryptedTextArgs {
131
+ /**
132
+ * Boolean that indicates whether or not to inherit the usage scopes from the secret manager
133
+ */
134
+ inheritScopesFromSecretManager?: pulumi.Input<boolean>;
135
+ /**
136
+ * Name of the encrypted text secret
137
+ */
138
+ name?: pulumi.Input<string>;
139
+ /**
140
+ * Boolean that indicates whether or not the secret is scoped to the account
141
+ */
142
+ scopedToAccount?: pulumi.Input<boolean>;
143
+ /**
144
+ * The id of the secret manager to associate the secret with. Once set, this field cannot be changed.
145
+ */
146
+ secretManagerId: pulumi.Input<string>;
147
+ /**
148
+ * Name of the existing secret. If you already have secrets created in a secrets manager such as HashiCorp Vault or AWS Secrets Manager, you do not need to re-create the existing secrets in Harness.
149
+ */
150
+ secretReference?: pulumi.Input<string>;
151
+ /**
152
+ * This block is used for scoping the resource to a specific set of applications or environments.
153
+ */
154
+ usageScopes?: pulumi.Input<pulumi.Input<inputs.EncryptedTextUsageScope>[]>;
155
+ /**
156
+ * The value of the secret.
157
+ */
158
+ value?: pulumi.Input<string>;
159
+ }
@@ -0,0 +1,103 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.EncryptedText = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * Resource for creating an encrypted text secret
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as harness from "@pulumi/harness";
16
+ *
17
+ * const default = harness.getSecretManager({
18
+ * "default": true,
19
+ * });
20
+ * const example = new harness.EncryptedText("example", {
21
+ * name: "example-secret",
22
+ * value: "someval",
23
+ * secretManagerId: _default.then(_default => _default.id),
24
+ * usageScopes: [
25
+ * {
26
+ * environmentFilterType: "PRODUCTION_ENVIRONMENTS",
27
+ * },
28
+ * {
29
+ * environmentFilterType: "NON_PRODUCTION_ENVIRONMENTS",
30
+ * },
31
+ * ],
32
+ * });
33
+ * ```
34
+ *
35
+ * ## Import
36
+ *
37
+ * Import using the Harness encrypted text format.
38
+ *
39
+ * NOTE: The secret value cannot be decrypted and imported.
40
+ *
41
+ * ```sh
42
+ * $ pulumi import harness:index/encryptedText:EncryptedText example <secret_id>
43
+ * ```
44
+ */
45
+ class EncryptedText extends pulumi.CustomResource {
46
+ /**
47
+ * Get an existing EncryptedText resource's state with the given name, ID, and optional extra
48
+ * properties used to qualify the lookup.
49
+ *
50
+ * @param name The _unique_ name of the resulting resource.
51
+ * @param id The _unique_ provider ID of the resource to lookup.
52
+ * @param state Any extra arguments used during the lookup.
53
+ * @param opts Optional settings to control the behavior of the CustomResource.
54
+ */
55
+ static get(name, id, state, opts) {
56
+ return new EncryptedText(name, state, Object.assign(Object.assign({}, opts), { id: id }));
57
+ }
58
+ /**
59
+ * Returns true if the given object is an instance of EncryptedText. This is designed to work even
60
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
61
+ */
62
+ static isInstance(obj) {
63
+ if (obj === undefined || obj === null) {
64
+ return false;
65
+ }
66
+ return obj['__pulumiType'] === EncryptedText.__pulumiType;
67
+ }
68
+ constructor(name, argsOrState, opts) {
69
+ let resourceInputs = {};
70
+ opts = opts || {};
71
+ if (opts.id) {
72
+ const state = argsOrState;
73
+ resourceInputs["inheritScopesFromSecretManager"] = state ? state.inheritScopesFromSecretManager : undefined;
74
+ resourceInputs["name"] = state ? state.name : undefined;
75
+ resourceInputs["scopedToAccount"] = state ? state.scopedToAccount : undefined;
76
+ resourceInputs["secretManagerId"] = state ? state.secretManagerId : undefined;
77
+ resourceInputs["secretReference"] = state ? state.secretReference : undefined;
78
+ resourceInputs["usageScopes"] = state ? state.usageScopes : undefined;
79
+ resourceInputs["value"] = state ? state.value : undefined;
80
+ }
81
+ else {
82
+ const args = argsOrState;
83
+ if ((!args || args.secretManagerId === undefined) && !opts.urn) {
84
+ throw new Error("Missing required property 'secretManagerId'");
85
+ }
86
+ resourceInputs["inheritScopesFromSecretManager"] = args ? args.inheritScopesFromSecretManager : undefined;
87
+ resourceInputs["name"] = args ? args.name : undefined;
88
+ resourceInputs["scopedToAccount"] = args ? args.scopedToAccount : undefined;
89
+ resourceInputs["secretManagerId"] = args ? args.secretManagerId : undefined;
90
+ resourceInputs["secretReference"] = args ? args.secretReference : undefined;
91
+ resourceInputs["usageScopes"] = args ? args.usageScopes : undefined;
92
+ resourceInputs["value"] = (args === null || args === void 0 ? void 0 : args.value) ? pulumi.secret(args.value) : undefined;
93
+ }
94
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
95
+ const secretOpts = { additionalSecretOutputs: ["value"] };
96
+ opts = pulumi.mergeOptions(opts, secretOpts);
97
+ super(EncryptedText.__pulumiType, name, resourceInputs, opts);
98
+ }
99
+ }
100
+ exports.EncryptedText = EncryptedText;
101
+ /** @internal */
102
+ EncryptedText.__pulumiType = 'harness:index/encryptedText:EncryptedText';
103
+ //# sourceMappingURL=encryptedText.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"encryptedText.js","sourceRoot":"","sources":["../encryptedText.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,155 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "./types/input";
3
+ import * as outputs from "./types/output";
4
+ /**
5
+ * Resource for creating an environment
6
+ *
7
+ * ## Example Usage
8
+ *
9
+ * ```typescript
10
+ * import * as pulumi from "@pulumi/pulumi";
11
+ * import * as harness from "@pulumi/harness";
12
+ *
13
+ * const test = new harness.Application("test", {name: "%[1]s"});
14
+ * const testKubernetes = new harness.service.Kubernetes("test", {
15
+ * appId: test.id,
16
+ * name: "%[1]s",
17
+ * helmVersion: "V2",
18
+ * description: "description",
19
+ * variables: [
20
+ * {
21
+ * name: "test",
22
+ * value: "test_value",
23
+ * type: "TEXT",
24
+ * },
25
+ * {
26
+ * name: "test2",
27
+ * value: "test_value2",
28
+ * type: "TEXT",
29
+ * },
30
+ * ],
31
+ * });
32
+ * const testEnvironment = new harness.Environment("test", {
33
+ * appId: test.id,
34
+ * name: "%[1]s",
35
+ * type: "%[2]s",
36
+ * variableOverrides: [
37
+ * {
38
+ * serviceName: testKubernetes.name,
39
+ * name: "test",
40
+ * value: "override",
41
+ * type: "TEXT",
42
+ * },
43
+ * {
44
+ * serviceName: testKubernetes.name,
45
+ * name: "test2",
46
+ * value: "override2",
47
+ * type: "TEXT",
48
+ * },
49
+ * ],
50
+ * });
51
+ * ```
52
+ *
53
+ * ## Import
54
+ *
55
+ * Import using the Harness application id and environment id.
56
+ *
57
+ * ```sh
58
+ * $ pulumi import harness:index/environment:Environment dev <application_id>/<environment_id>
59
+ * ```
60
+ */
61
+ export declare class Environment extends pulumi.CustomResource {
62
+ /**
63
+ * Get an existing Environment resource's state with the given name, ID, and optional extra
64
+ * properties used to qualify the lookup.
65
+ *
66
+ * @param name The _unique_ name of the resulting resource.
67
+ * @param id The _unique_ provider ID of the resource to lookup.
68
+ * @param state Any extra arguments used during the lookup.
69
+ * @param opts Optional settings to control the behavior of the CustomResource.
70
+ */
71
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: EnvironmentState, opts?: pulumi.CustomResourceOptions): Environment;
72
+ /**
73
+ * Returns true if the given object is an instance of Environment. This is designed to work even
74
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
75
+ */
76
+ static isInstance(obj: any): obj is Environment;
77
+ /**
78
+ * The id of the application.
79
+ */
80
+ readonly appId: pulumi.Output<string>;
81
+ /**
82
+ * The description of the environment.
83
+ */
84
+ readonly description: pulumi.Output<string | undefined>;
85
+ /**
86
+ * The name of the environment.
87
+ */
88
+ readonly name: pulumi.Output<string>;
89
+ /**
90
+ * The type of the environment. Valid values are `PROD` and `NON_PROD`
91
+ */
92
+ readonly type: pulumi.Output<string>;
93
+ /**
94
+ * Override for a service variable
95
+ */
96
+ readonly variableOverrides: pulumi.Output<outputs.EnvironmentVariableOverride[] | undefined>;
97
+ /**
98
+ * Create a Environment resource with the given unique name, arguments, and options.
99
+ *
100
+ * @param name The _unique_ name of the resource.
101
+ * @param args The arguments to use to populate this resource's properties.
102
+ * @param opts A bag of options that control this resource's behavior.
103
+ */
104
+ constructor(name: string, args: EnvironmentArgs, opts?: pulumi.CustomResourceOptions);
105
+ }
106
+ /**
107
+ * Input properties used for looking up and filtering Environment resources.
108
+ */
109
+ export interface EnvironmentState {
110
+ /**
111
+ * The id of the application.
112
+ */
113
+ appId?: pulumi.Input<string>;
114
+ /**
115
+ * The description of the environment.
116
+ */
117
+ description?: pulumi.Input<string>;
118
+ /**
119
+ * The name of the environment.
120
+ */
121
+ name?: pulumi.Input<string>;
122
+ /**
123
+ * The type of the environment. Valid values are `PROD` and `NON_PROD`
124
+ */
125
+ type?: pulumi.Input<string>;
126
+ /**
127
+ * Override for a service variable
128
+ */
129
+ variableOverrides?: pulumi.Input<pulumi.Input<inputs.EnvironmentVariableOverride>[]>;
130
+ }
131
+ /**
132
+ * The set of arguments for constructing a Environment resource.
133
+ */
134
+ export interface EnvironmentArgs {
135
+ /**
136
+ * The id of the application.
137
+ */
138
+ appId: pulumi.Input<string>;
139
+ /**
140
+ * The description of the environment.
141
+ */
142
+ description?: pulumi.Input<string>;
143
+ /**
144
+ * The name of the environment.
145
+ */
146
+ name?: pulumi.Input<string>;
147
+ /**
148
+ * The type of the environment. Valid values are `PROD` and `NON_PROD`
149
+ */
150
+ type: pulumi.Input<string>;
151
+ /**
152
+ * Override for a service variable
153
+ */
154
+ variableOverrides?: pulumi.Input<pulumi.Input<inputs.EnvironmentVariableOverride>[]>;
155
+ }