@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.
- package/LICENSE +202 -0
- package/README.md +54 -0
- package/addUserToGroup.d.ts +87 -0
- package/addUserToGroup.js +84 -0
- package/addUserToGroup.js.map +1 -0
- package/application.d.ts +127 -0
- package/application.js +86 -0
- package/application.js.map +1 -0
- package/applicationGitSync.d.ts +139 -0
- package/applicationGitSync.js +109 -0
- package/applicationGitSync.js.map +1 -0
- package/cloudprovider/aws.d.ts +183 -0
- package/cloudprovider/aws.js +102 -0
- package/cloudprovider/aws.js.map +1 -0
- package/cloudprovider/azure.d.ts +129 -0
- package/cloudprovider/azure.js +99 -0
- package/cloudprovider/azure.js.map +1 -0
- package/cloudprovider/datacenter.d.ts +82 -0
- package/cloudprovider/datacenter.js +71 -0
- package/cloudprovider/datacenter.js.map +1 -0
- package/cloudprovider/gcp.d.ts +101 -0
- package/cloudprovider/gcp.js +60 -0
- package/cloudprovider/gcp.js.map +1 -0
- package/cloudprovider/getDelegateIds.d.ts +68 -0
- package/cloudprovider/getDelegateIds.js +28 -0
- package/cloudprovider/getDelegateIds.js.map +1 -0
- package/cloudprovider/index.d.ts +24 -0
- package/cloudprovider/index.js +55 -0
- package/cloudprovider/index.js.map +1 -0
- package/cloudprovider/kubernetes.d.ts +97 -0
- package/cloudprovider/kubernetes.js +69 -0
- package/cloudprovider/kubernetes.js.map +1 -0
- package/cloudprovider/spot.d.ts +104 -0
- package/cloudprovider/spot.js +91 -0
- package/cloudprovider/spot.js.map +1 -0
- package/cloudprovider/tanzu.d.ts +142 -0
- package/cloudprovider/tanzu.js +99 -0
- package/cloudprovider/tanzu.js.map +1 -0
- package/config/index.d.ts +1 -0
- package/config/index.js +21 -0
- package/config/index.js.map +1 -0
- package/config/vars.d.ts +20 -0
- package/config/vars.js +36 -0
- package/config/vars.js.map +1 -0
- package/delegateApproval.d.ts +94 -0
- package/delegateApproval.js +85 -0
- package/delegateApproval.js.map +1 -0
- package/encryptedText.d.ts +159 -0
- package/encryptedText.js +103 -0
- package/encryptedText.js.map +1 -0
- package/environment.d.ts +155 -0
- package/environment.js +120 -0
- package/environment.js.map +1 -0
- package/getApplication.d.ts +96 -0
- package/getApplication.js +31 -0
- package/getApplication.js.map +1 -0
- package/getCurrentAccount.d.ts +44 -0
- package/getCurrentAccount.js +26 -0
- package/getCurrentAccount.js.map +1 -0
- package/getDelegate.d.ts +138 -0
- package/getDelegate.js +56 -0
- package/getDelegate.js.map +1 -0
- package/getEncryptedText.d.ts +66 -0
- package/getEncryptedText.js +28 -0
- package/getEncryptedText.js.map +1 -0
- package/getEnvironment.d.ts +86 -0
- package/getEnvironment.js +28 -0
- package/getEnvironment.js.map +1 -0
- package/getGitConnector.d.ts +93 -0
- package/getGitConnector.js +27 -0
- package/getGitConnector.js.map +1 -0
- package/getSecretManager.d.ts +74 -0
- package/getSecretManager.js +29 -0
- package/getSecretManager.js.map +1 -0
- package/getService.d.ts +78 -0
- package/getService.js +26 -0
- package/getService.js.map +1 -0
- package/getSshCredential.d.ts +62 -0
- package/getSshCredential.js +28 -0
- package/getSshCredential.js.map +1 -0
- package/getSsoProvider.d.ts +52 -0
- package/getSsoProvider.js +27 -0
- package/getSsoProvider.js.map +1 -0
- package/getTrigger.d.ts +107 -0
- package/getTrigger.js +59 -0
- package/getTrigger.js.map +1 -0
- package/getUser.d.ts +72 -0
- package/getUser.js +27 -0
- package/getUser.js.map +1 -0
- package/getUserGroup.d.ts +48 -0
- package/getUserGroup.js +27 -0
- package/getUserGroup.js.map +1 -0
- package/getYamlConfig.d.ts +60 -0
- package/getYamlConfig.js +26 -0
- package/getYamlConfig.js.map +1 -0
- package/gitConnector.d.ts +222 -0
- package/gitConnector.js +115 -0
- package/gitConnector.js.map +1 -0
- package/index.d.ts +96 -0
- package/index.js +156 -0
- package/index.js.map +1 -0
- package/infrastructureDefinition.d.ts +373 -0
- package/infrastructureDefinition.js +184 -0
- package/infrastructureDefinition.js.map +1 -0
- package/package.json +29 -0
- package/platform/appDynamicsConnector.d.ts +229 -0
- package/platform/appDynamicsConnector.js +137 -0
- package/platform/appDynamicsConnector.js.map +1 -0
- package/platform/artifactoryConnector.d.ts +203 -0
- package/platform/artifactoryConnector.js +128 -0
- package/platform/artifactoryConnector.js.map +1 -0
- package/platform/awsCCConnector.d.ts +219 -0
- package/platform/awsCCConnector.js +136 -0
- package/platform/awsCCConnector.js.map +1 -0
- package/platform/awsConnector.d.ts +217 -0
- package/platform/awsConnector.js +99 -0
- package/platform/awsConnector.js.map +1 -0
- package/platform/awsKmsConnector.d.ts +181 -0
- package/platform/awsKmsConnector.js +102 -0
- package/platform/awsKmsConnector.js.map +1 -0
- package/platform/awsSecretManagerConnector.d.ts +181 -0
- package/platform/awsSecretManagerConnector.js +99 -0
- package/platform/awsSecretManagerConnector.js.map +1 -0
- package/platform/azureCloudCostConnector.d.ts +209 -0
- package/platform/azureCloudCostConnector.js +130 -0
- package/platform/azureCloudCostConnector.js.map +1 -0
- package/platform/azureCloudProviderConnector.d.ts +266 -0
- package/platform/azureCloudProviderConnector.js +181 -0
- package/platform/azureCloudProviderConnector.js.map +1 -0
- package/platform/azureKeyVaultConnector.d.ts +248 -0
- package/platform/azureKeyVaultConnector.js +137 -0
- package/platform/azureKeyVaultConnector.js.map +1 -0
- package/platform/bitbucketConnector.d.ts +205 -0
- package/platform/bitbucketConnector.js +106 -0
- package/platform/bitbucketConnector.js.map +1 -0
- package/platform/datadogConnector.d.ts +197 -0
- package/platform/datadogConnector.js +120 -0
- package/platform/datadogConnector.js.map +1 -0
- package/platform/dockerConnector.d.ts +181 -0
- package/platform/dockerConnector.js +99 -0
- package/platform/dockerConnector.js.map +1 -0
- package/platform/dynatraceConnector.d.ts +184 -0
- package/platform/dynatraceConnector.js +114 -0
- package/platform/dynatraceConnector.js.map +1 -0
- package/platform/elasticsearchConnector.d.ts +236 -0
- package/platform/elasticsearchConnector.js +141 -0
- package/platform/elasticsearchConnector.js.map +1 -0
- package/platform/environment.d.ts +242 -0
- package/platform/environment.js +159 -0
- package/platform/environment.js.map +1 -0
- package/platform/environmentClustersMapping.d.ts +130 -0
- package/platform/environmentClustersMapping.js +89 -0
- package/platform/environmentClustersMapping.js.map +1 -0
- package/platform/environmentGroup.d.ts +141 -0
- package/platform/environmentGroup.js +98 -0
- package/platform/environmentGroup.js.map +1 -0
- package/platform/environmentServiceOverrides.d.ts +165 -0
- package/platform/environmentServiceOverrides.js +125 -0
- package/platform/environmentServiceOverrides.js.map +1 -0
- package/platform/featureFlag.d.ts +240 -0
- package/platform/featureFlag.js +162 -0
- package/platform/featureFlag.js.map +1 -0
- package/platform/featureFlagApiKey.d.ts +162 -0
- package/platform/featureFlagApiKey.js +104 -0
- package/platform/featureFlagApiKey.js.map +1 -0
- package/platform/filters.d.ts +165 -0
- package/platform/filters.js +113 -0
- package/platform/filters.js.map +1 -0
- package/platform/gcpCloudCostConnector.d.ts +206 -0
- package/platform/gcpCloudCostConnector.js +127 -0
- package/platform/gcpCloudCostConnector.js.map +1 -0
- package/platform/gcpConnector.d.ts +157 -0
- package/platform/gcpConnector.js +89 -0
- package/platform/gcpConnector.js.map +1 -0
- package/platform/gcpSecretManagerConnector.d.ts +183 -0
- package/platform/gcpSecretManagerConnector.js +110 -0
- package/platform/gcpSecretManagerConnector.js.map +1 -0
- package/platform/getApiKey.d.ts +58 -0
- package/platform/getApiKey.js +28 -0
- package/platform/getApiKey.js.map +1 -0
- package/platform/getAppDynamicsConnector.d.ts +127 -0
- package/platform/getAppDynamicsConnector.js +50 -0
- package/platform/getAppDynamicsConnector.js.map +1 -0
- package/platform/getArtifactoryConnector.d.ts +119 -0
- package/platform/getArtifactoryConnector.js +51 -0
- package/platform/getArtifactoryConnector.js.map +1 -0
- package/platform/getAwsCCConnector.d.ts +127 -0
- package/platform/getAwsCCConnector.js +50 -0
- package/platform/getAwsCCConnector.js.map +1 -0
- package/platform/getAwsConnector.d.ts +135 -0
- package/platform/getAwsConnector.js +50 -0
- package/platform/getAwsConnector.js.map +1 -0
- package/platform/getAwsKmsConnector.d.ts +123 -0
- package/platform/getAwsKmsConnector.js +50 -0
- package/platform/getAwsKmsConnector.js.map +1 -0
- package/platform/getAwsSecretManagerConnector.d.ts +123 -0
- package/platform/getAwsSecretManagerConnector.js +50 -0
- package/platform/getAwsSecretManagerConnector.js.map +1 -0
- package/platform/getAzureCloudCostConnector.d.ts +123 -0
- package/platform/getAzureCloudCostConnector.js +50 -0
- package/platform/getAzureCloudCostConnector.js.map +1 -0
- package/platform/getAzureCloudProviderConnector.d.ts +123 -0
- package/platform/getAzureCloudProviderConnector.js +50 -0
- package/platform/getAzureCloudProviderConnector.js.map +1 -0
- package/platform/getAzureKeyVaultConnector.d.ts +138 -0
- package/platform/getAzureKeyVaultConnector.js +50 -0
- package/platform/getAzureKeyVaultConnector.js.map +1 -0
- package/platform/getBitbucketConnector.d.ts +131 -0
- package/platform/getBitbucketConnector.js +50 -0
- package/platform/getBitbucketConnector.js.map +1 -0
- package/platform/getCcmFilters.d.ts +117 -0
- package/platform/getCcmFilters.js +56 -0
- package/platform/getCcmFilters.js.map +1 -0
- package/platform/getCurrentUser.d.ts +70 -0
- package/platform/getCurrentUser.js +23 -0
- package/platform/getCurrentUser.js.map +1 -0
- package/platform/getDatadogConnector.d.ts +130 -0
- package/platform/getDatadogConnector.js +51 -0
- package/platform/getDatadogConnector.js.map +1 -0
- package/platform/getDockerConnector.d.ts +123 -0
- package/platform/getDockerConnector.js +50 -0
- package/platform/getDockerConnector.js.map +1 -0
- package/platform/getDynatraceConnector.d.ts +118 -0
- package/platform/getDynatraceConnector.js +50 -0
- package/platform/getDynatraceConnector.js.map +1 -0
- package/platform/getElasticsearchConnector.d.ts +123 -0
- package/platform/getElasticsearchConnector.js +50 -0
- package/platform/getElasticsearchConnector.js.map +1 -0
- package/platform/getEnvironment.d.ts +122 -0
- package/platform/getEnvironment.js +54 -0
- package/platform/getEnvironment.js.map +1 -0
- package/platform/getEnvironmentClustersMapping.d.ts +106 -0
- package/platform/getEnvironmentClustersMapping.js +54 -0
- package/platform/getEnvironmentClustersMapping.js.map +1 -0
- package/platform/getEnvironmentGroup.d.ts +106 -0
- package/platform/getEnvironmentGroup.js +54 -0
- package/platform/getEnvironmentGroup.js.map +1 -0
- package/platform/getEnvironmentServiceOverrides.d.ts +120 -0
- package/platform/getEnvironmentServiceOverrides.js +57 -0
- package/platform/getEnvironmentServiceOverrides.js.map +1 -0
- package/platform/getFilters.d.ts +117 -0
- package/platform/getFilters.js +56 -0
- package/platform/getFilters.js.map +1 -0
- package/platform/getGcpCloudCostConnector.d.ts +123 -0
- package/platform/getGcpCloudCostConnector.js +50 -0
- package/platform/getGcpCloudCostConnector.js.map +1 -0
- package/platform/getGcpConnector.d.ts +115 -0
- package/platform/getGcpConnector.js +50 -0
- package/platform/getGcpConnector.js.map +1 -0
- package/platform/getGcpSecretManagerConnector.d.ts +118 -0
- package/platform/getGcpSecretManagerConnector.js +50 -0
- package/platform/getGcpSecretManagerConnector.js.map +1 -0
- package/platform/getGitConnector.d.ts +127 -0
- package/platform/getGitConnector.js +50 -0
- package/platform/getGitConnector.js.map +1 -0
- package/platform/getGithubConnector.d.ts +132 -0
- package/platform/getGithubConnector.js +50 -0
- package/platform/getGithubConnector.js.map +1 -0
- package/platform/getGitlabConnector.d.ts +131 -0
- package/platform/getGitlabConnector.js +50 -0
- package/platform/getGitlabConnector.js.map +1 -0
- package/platform/getGitopsAgent.d.ts +128 -0
- package/platform/getGitopsAgent.js +56 -0
- package/platform/getGitopsAgent.js.map +1 -0
- package/platform/getGitopsAgentDeployYaml.d.ts +122 -0
- package/platform/getGitopsAgentDeployYaml.js +59 -0
- package/platform/getGitopsAgentDeployYaml.js.map +1 -0
- package/platform/getGitopsApplications.d.ts +326 -0
- package/platform/getGitopsApplications.js +78 -0
- package/platform/getGitopsApplications.js.map +1 -0
- package/platform/getGitopsCluster.d.ts +136 -0
- package/platform/getGitopsCluster.js +60 -0
- package/platform/getGitopsCluster.js.map +1 -0
- package/platform/getGitopsGnupg.d.ts +128 -0
- package/platform/getGitopsGnupg.js +56 -0
- package/platform/getGitopsGnupg.js.map +1 -0
- package/platform/getGitopsRepoCert.d.ts +76 -0
- package/platform/getGitopsRepoCert.js +28 -0
- package/platform/getGitopsRepoCert.js.map +1 -0
- package/platform/getGitopsRepoCred.d.ts +144 -0
- package/platform/getGitopsRepoCred.js +61 -0
- package/platform/getGitopsRepoCred.js.map +1 -0
- package/platform/getGitopsRepository.d.ts +196 -0
- package/platform/getGitopsRepository.js +65 -0
- package/platform/getGitopsRepository.js.map +1 -0
- package/platform/getHelmConnector.d.ts +119 -0
- package/platform/getHelmConnector.js +50 -0
- package/platform/getHelmConnector.js.map +1 -0
- package/platform/getInfrastructure.d.ts +138 -0
- package/platform/getInfrastructure.js +59 -0
- package/platform/getInfrastructure.js.map +1 -0
- package/platform/getInputSet.d.ts +114 -0
- package/platform/getInputSet.js +30 -0
- package/platform/getInputSet.js.map +1 -0
- package/platform/getJenkinsConnector.d.ts +119 -0
- package/platform/getJenkinsConnector.js +50 -0
- package/platform/getJenkinsConnector.js.map +1 -0
- package/platform/getJiraConnector.d.ts +131 -0
- package/platform/getJiraConnector.js +50 -0
- package/platform/getJiraConnector.js.map +1 -0
- package/platform/getKubernetesCloudCostConnector.d.ts +114 -0
- package/platform/getKubernetesCloudCostConnector.js +50 -0
- package/platform/getKubernetesCloudCostConnector.js.map +1 -0
- package/platform/getKubernetesConnector.d.ts +131 -0
- package/platform/getKubernetesConnector.js +50 -0
- package/platform/getKubernetesConnector.js.map +1 -0
- package/platform/getManualFreeze.d.ts +141 -0
- package/platform/getManualFreeze.js +56 -0
- package/platform/getManualFreeze.js.map +1 -0
- package/platform/getMonitoredService.d.ts +64 -0
- package/platform/getMonitoredService.js +27 -0
- package/platform/getMonitoredService.js.map +1 -0
- package/platform/getNexusConnector.d.ts +123 -0
- package/platform/getNexusConnector.js +50 -0
- package/platform/getNexusConnector.js.map +1 -0
- package/platform/getOciHelmConnector.d.ts +119 -0
- package/platform/getOciHelmConnector.js +50 -0
- package/platform/getOciHelmConnector.js.map +1 -0
- package/platform/getOrganization.d.ts +82 -0
- package/platform/getOrganization.js +49 -0
- package/platform/getOrganization.js.map +1 -0
- package/platform/getPagerdutyConnector.d.ts +114 -0
- package/platform/getPagerdutyConnector.js +50 -0
- package/platform/getPagerdutyConnector.js.map +1 -0
- package/platform/getPermissions.d.ts +81 -0
- package/platform/getPermissions.js +51 -0
- package/platform/getPermissions.js.map +1 -0
- package/platform/getPipeline.d.ts +136 -0
- package/platform/getPipeline.js +55 -0
- package/platform/getPipeline.js.map +1 -0
- package/platform/getPipelineFilters.d.ts +89 -0
- package/platform/getPipelineFilters.js +28 -0
- package/platform/getPipelineFilters.js.map +1 -0
- package/platform/getPolicy.d.ts +122 -0
- package/platform/getPolicy.js +55 -0
- package/platform/getPolicy.js.map +1 -0
- package/platform/getPolicySet.d.ts +172 -0
- package/platform/getPolicySet.js +70 -0
- package/platform/getPolicySet.js.map +1 -0
- package/platform/getProject.d.ts +112 -0
- package/platform/getProject.js +59 -0
- package/platform/getProject.js.map +1 -0
- package/platform/getPrometheusConnector.d.ts +127 -0
- package/platform/getPrometheusConnector.js +50 -0
- package/platform/getPrometheusConnector.js.map +1 -0
- package/platform/getResourceGroup.d.ts +127 -0
- package/platform/getResourceGroup.js +50 -0
- package/platform/getResourceGroup.js.map +1 -0
- package/platform/getRoleAssignments.d.ts +111 -0
- package/platform/getRoleAssignments.js +53 -0
- package/platform/getRoleAssignments.js.map +1 -0
- package/platform/getRoles.d.ts +134 -0
- package/platform/getRoles.js +56 -0
- package/platform/getRoles.js.map +1 -0
- package/platform/getSecretFile.d.ts +114 -0
- package/platform/getSecretFile.js +50 -0
- package/platform/getSecretFile.js.map +1 -0
- package/platform/getSecretSshkey.d.ts +119 -0
- package/platform/getSecretSshkey.js +50 -0
- package/platform/getSecretSshkey.js.map +1 -0
- package/platform/getSecretText.d.ts +118 -0
- package/platform/getSecretText.js +50 -0
- package/platform/getSecretText.js.map +1 -0
- package/platform/getService.d.ts +114 -0
- package/platform/getService.js +54 -0
- package/platform/getService.js.map +1 -0
- package/platform/getServiceAccount.d.ts +114 -0
- package/platform/getServiceAccount.js +51 -0
- package/platform/getServiceAccount.js.map +1 -0
- package/platform/getServiceNowConnector.d.ts +131 -0
- package/platform/getServiceNowConnector.js +50 -0
- package/platform/getServiceNowConnector.js.map +1 -0
- package/platform/getServiceOverridesV2.d.ts +49 -0
- package/platform/getServiceOverridesV2.js +27 -0
- package/platform/getServiceOverridesV2.js.map +1 -0
- package/platform/getSlo.d.ts +64 -0
- package/platform/getSlo.js +27 -0
- package/platform/getSlo.js.map +1 -0
- package/platform/getSplunkConnector.d.ts +126 -0
- package/platform/getSplunkConnector.js +50 -0
- package/platform/getSplunkConnector.js.map +1 -0
- package/platform/getSpotConnector.d.ts +111 -0
- package/platform/getSpotConnector.js +50 -0
- package/platform/getSpotConnector.js.map +1 -0
- package/platform/getSumologicConnector.d.ts +122 -0
- package/platform/getSumologicConnector.js +50 -0
- package/platform/getSumologicConnector.js.map +1 -0
- package/platform/getTasConnector.d.ts +119 -0
- package/platform/getTasConnector.js +50 -0
- package/platform/getTasConnector.js.map +1 -0
- package/platform/getTemplate.d.ts +222 -0
- package/platform/getTemplate.js +87 -0
- package/platform/getTemplate.js.map +1 -0
- package/platform/getTemplateFilters.d.ts +117 -0
- package/platform/getTemplateFilters.js +56 -0
- package/platform/getTemplateFilters.js.map +1 -0
- package/platform/getTerraformCloudConnector.d.ts +109 -0
- package/platform/getTerraformCloudConnector.js +46 -0
- package/platform/getTerraformCloudConnector.js.map +1 -0
- package/platform/getToken.d.ts +270 -0
- package/platform/getToken.js +73 -0
- package/platform/getToken.js.map +1 -0
- package/platform/getTriggers.d.ts +140 -0
- package/platform/getTriggers.js +58 -0
- package/platform/getTriggers.js.map +1 -0
- package/platform/getUser.d.ts +110 -0
- package/platform/getUser.js +53 -0
- package/platform/getUser.js.map +1 -0
- package/platform/getUsergroup.d.ts +166 -0
- package/platform/getUsergroup.js +66 -0
- package/platform/getUsergroup.js.map +1 -0
- package/platform/getVariables.d.ts +107 -0
- package/platform/getVariables.js +53 -0
- package/platform/getVariables.js.map +1 -0
- package/platform/getVaultConnector.d.ts +214 -0
- package/platform/getVaultConnector.js +50 -0
- package/platform/getVaultConnector.js.map +1 -0
- package/platform/gitConnector.d.ts +193 -0
- package/platform/gitConnector.js +104 -0
- package/platform/gitConnector.js.map +1 -0
- package/platform/gitOpsAgent.d.ts +192 -0
- package/platform/gitOpsAgent.js +111 -0
- package/platform/gitOpsAgent.js.map +1 -0
- package/platform/gitOpsApplications.d.ts +364 -0
- package/platform/gitOpsApplications.js +174 -0
- package/platform/gitOpsApplications.js.map +1 -0
- package/platform/gitOpsCluster.d.ts +139 -0
- package/platform/gitOpsCluster.js +87 -0
- package/platform/gitOpsCluster.js.map +1 -0
- package/platform/gitOpsGnupg.d.ts +141 -0
- package/platform/gitOpsGnupg.js +103 -0
- package/platform/gitOpsGnupg.js.map +1 -0
- package/platform/gitOpsRepoCert.d.ts +132 -0
- package/platform/gitOpsRepoCert.js +100 -0
- package/platform/gitOpsRepoCert.js.map +1 -0
- package/platform/gitOpsRepoCred.d.ts +159 -0
- package/platform/gitOpsRepoCred.js +107 -0
- package/platform/gitOpsRepoCred.js.map +1 -0
- package/platform/gitOpsRepository.d.ts +221 -0
- package/platform/gitOpsRepository.js +122 -0
- package/platform/gitOpsRepository.js.map +1 -0
- package/platform/githubConnector.d.ts +217 -0
- package/platform/githubConnector.js +108 -0
- package/platform/githubConnector.js.map +1 -0
- package/platform/gitlabConnector.d.ts +205 -0
- package/platform/gitlabConnector.js +106 -0
- package/platform/gitlabConnector.js.map +1 -0
- package/platform/helmConnector.d.ts +169 -0
- package/platform/helmConnector.js +94 -0
- package/platform/helmConnector.js.map +1 -0
- package/platform/index.d.ts +474 -0
- package/platform/index.js +651 -0
- package/platform/index.js.map +1 -0
- package/platform/infrastructure.d.ts +225 -0
- package/platform/infrastructure.js +138 -0
- package/platform/infrastructure.js.map +1 -0
- package/platform/inputSet.d.ts +218 -0
- package/platform/inputSet.js +152 -0
- package/platform/inputSet.js.map +1 -0
- package/platform/jenkinsConnector.d.ts +169 -0
- package/platform/jenkinsConnector.js +94 -0
- package/platform/jenkinsConnector.js.map +1 -0
- package/platform/jiraConnector.d.ts +228 -0
- package/platform/jiraConnector.js +126 -0
- package/platform/jiraConnector.js.map +1 -0
- package/platform/kubernetesCloudCostConnector.d.ts +174 -0
- package/platform/kubernetesCloudCostConnector.js +114 -0
- package/platform/kubernetesCloudCostConnector.js.map +1 -0
- package/platform/kubernetesConnector.d.ts +279 -0
- package/platform/kubernetesConnector.js +171 -0
- package/platform/kubernetesConnector.js.map +1 -0
- package/platform/manualFreeze.d.ts +224 -0
- package/platform/manualFreeze.js +144 -0
- package/platform/manualFreeze.js.map +1 -0
- package/platform/monitoredService.d.ts +109 -0
- package/platform/monitoredService.js +87 -0
- package/platform/monitoredService.js.map +1 -0
- package/platform/newrelicConnector.d.ts +197 -0
- package/platform/newrelicConnector.js +120 -0
- package/platform/newrelicConnector.js.map +1 -0
- package/platform/nexusConnector.d.ts +181 -0
- package/platform/nexusConnector.js +99 -0
- package/platform/nexusConnector.js.map +1 -0
- package/platform/ociHelmConnector.d.ts +169 -0
- package/platform/ociHelmConnector.js +94 -0
- package/platform/ociHelmConnector.js.map +1 -0
- package/platform/organization.d.ts +112 -0
- package/platform/organization.js +86 -0
- package/platform/organization.js.map +1 -0
- package/platform/pagerdutyConnector.d.ts +171 -0
- package/platform/pagerdutyConnector.js +108 -0
- package/platform/pagerdutyConnector.js.map +1 -0
- package/platform/pipeline.d.ts +277 -0
- package/platform/pipeline.js +198 -0
- package/platform/pipeline.js.map +1 -0
- package/platform/pipelineFilters.d.ts +165 -0
- package/platform/pipelineFilters.js +113 -0
- package/platform/pipelineFilters.js.map +1 -0
- package/platform/policy.d.ts +131 -0
- package/platform/policy.js +78 -0
- package/platform/policy.js.map +1 -0
- package/platform/policySet.d.ts +169 -0
- package/platform/policySet.js +87 -0
- package/platform/policySet.js.map +1 -0
- package/platform/project.d.ts +141 -0
- package/platform/project.js +92 -0
- package/platform/project.js.map +1 -0
- package/platform/prometheusConnector.d.ts +217 -0
- package/platform/prometheusConnector.js +122 -0
- package/platform/prometheusConnector.js.map +1 -0
- package/platform/resourceGroup.d.ts +223 -0
- package/platform/resourceGroup.js +128 -0
- package/platform/resourceGroup.js.map +1 -0
- package/platform/roleAssignments.d.ts +157 -0
- package/platform/roleAssignments.js +95 -0
- package/platform/roleAssignments.js.map +1 -0
- package/platform/roles.d.ts +171 -0
- package/platform/roles.js +105 -0
- package/platform/roles.js.map +1 -0
- package/platform/secretFile.d.ts +171 -0
- package/platform/secretFile.js +111 -0
- package/platform/secretFile.js.map +1 -0
- package/platform/secretSshkey.d.ts +169 -0
- package/platform/secretSshkey.js +91 -0
- package/platform/secretSshkey.js.map +1 -0
- package/platform/secretText.d.ts +193 -0
- package/platform/secretText.js +128 -0
- package/platform/secretText.js.map +1 -0
- package/platform/service.d.ts +209 -0
- package/platform/service.js +143 -0
- package/platform/service.js.map +1 -0
- package/platform/serviceAccount.d.ts +171 -0
- package/platform/serviceAccount.js +111 -0
- package/platform/serviceAccount.js.map +1 -0
- package/platform/serviceNowConnector.d.ts +205 -0
- package/platform/serviceNowConnector.js +103 -0
- package/platform/serviceNowConnector.js.map +1 -0
- package/platform/serviceOverridesV2.d.ts +144 -0
- package/platform/serviceOverridesV2.js +77 -0
- package/platform/serviceOverridesV2.js.map +1 -0
- package/platform/slo.d.ts +109 -0
- package/platform/slo.js +87 -0
- package/platform/slo.js.map +1 -0
- package/platform/splunkConnector.d.ts +210 -0
- package/platform/splunkConnector.js +126 -0
- package/platform/splunkConnector.js.map +1 -0
- package/platform/spotConnector.d.ts +133 -0
- package/platform/spotConnector.js +78 -0
- package/platform/spotConnector.js.map +1 -0
- package/platform/sumologicConnector.d.ts +197 -0
- package/platform/sumologicConnector.js +120 -0
- package/platform/sumologicConnector.js.map +1 -0
- package/platform/tasConnector.d.ts +169 -0
- package/platform/tasConnector.js +94 -0
- package/platform/tasConnector.js.map +1 -0
- package/platform/template.d.ts +1042 -0
- package/platform/template.js +934 -0
- package/platform/template.js.map +1 -0
- package/platform/templateFilters.d.ts +165 -0
- package/platform/templateFilters.js +113 -0
- package/platform/templateFilters.js.map +1 -0
- package/platform/terraformCloudConnector.d.ts +151 -0
- package/platform/terraformCloudConnector.js +97 -0
- package/platform/terraformCloudConnector.js.map +1 -0
- package/platform/token.d.ts +269 -0
- package/platform/token.js +119 -0
- package/platform/token.js.map +1 -0
- package/platform/triggers.d.ts +211 -0
- package/platform/triggers.js +137 -0
- package/platform/triggers.js.map +1 -0
- package/platform/user.d.ts +161 -0
- package/platform/user.js +96 -0
- package/platform/user.js.map +1 -0
- package/platform/usergroup.d.ts +389 -0
- package/platform/usergroup.js +241 -0
- package/platform/usergroup.js.map +1 -0
- package/platform/variables.d.ts +164 -0
- package/platform/variables.js +112 -0
- package/platform/variables.js.map +1 -0
- package/platform/vaultConnector.d.ts +573 -0
- package/platform/vaultConnector.js +263 -0
- package/platform/vaultConnector.js.map +1 -0
- package/platformApiKey.d.ts +162 -0
- package/platformApiKey.js +79 -0
- package/platformApiKey.js.map +1 -0
- package/platformCcmFilters.d.ts +165 -0
- package/platformCcmFilters.js +113 -0
- package/platformCcmFilters.js.map +1 -0
- package/provider.d.ts +67 -0
- package/provider.js +49 -0
- package/provider.js.map +1 -0
- package/service/ami.d.ts +111 -0
- package/service/ami.js +83 -0
- package/service/ami.js.map +1 -0
- package/service/codedeploy.d.ts +111 -0
- package/service/codedeploy.js +83 -0
- package/service/codedeploy.js.map +1 -0
- package/service/ecs.d.ts +111 -0
- package/service/ecs.js +83 -0
- package/service/ecs.js.map +1 -0
- package/service/helm.d.ts +111 -0
- package/service/helm.js +83 -0
- package/service/helm.js.map +1 -0
- package/service/index.d.ts +27 -0
- package/service/index.js +62 -0
- package/service/index.js.map +1 -0
- package/service/kubernetes.d.ts +136 -0
- package/service/kubernetes.js +98 -0
- package/service/kubernetes.js.map +1 -0
- package/service/lambda.d.ts +111 -0
- package/service/lambda.js +83 -0
- package/service/lambda.js.map +1 -0
- package/service/ssh.d.ts +124 -0
- package/service/ssh.js +89 -0
- package/service/ssh.js.map +1 -0
- package/service/tanzu.d.ts +111 -0
- package/service/tanzu.js +83 -0
- package/service/tanzu.js.map +1 -0
- package/service/winrm.d.ts +124 -0
- package/service/winrm.js +89 -0
- package/service/winrm.js.map +1 -0
- package/sshCredential.d.ts +128 -0
- package/sshCredential.js +97 -0
- package/sshCredential.js.map +1 -0
- package/types/index.d.ts +3 -0
- package/types/index.js +11 -0
- package/types/index.js.map +1 -0
- package/types/input.d.ts +4864 -0
- package/types/input.js +5 -0
- package/types/input.js.map +1 -0
- package/types/output.d.ts +5677 -0
- package/types/output.js +5 -0
- package/types/output.js.map +1 -0
- package/user.d.ts +135 -0
- package/user.js +89 -0
- package/user.js.map +1 -0
- package/userGroup.d.ts +265 -0
- package/userGroup.js +202 -0
- package/userGroup.js.map +1 -0
- package/userGroupPermissions.d.ts +77 -0
- package/userGroupPermissions.js +59 -0
- package/userGroupPermissions.js.map +1 -0
- package/utilities.d.ts +8 -0
- package/utilities.js +101 -0
- package/utilities.js.map +1 -0
- package/yamlConfig.d.ts +115 -0
- package/yamlConfig.js +96 -0
- package/yamlConfig.js.map +1 -0
|
@@ -0,0 +1,373 @@
|
|
|
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 am infrastructure definition. This resource uses the config-as-code API's. When updating the `name` or `path` of this resource you should typically also set the `createBeforeDestroy = true` lifecycle setting.
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as harness from "@pulumi/harness";
|
|
12
|
+
*
|
|
13
|
+
* // Creating a Kubernetes infrastructure definition
|
|
14
|
+
* const dev = new harness.cloudprovider.Kubernetes("dev", {
|
|
15
|
+
* name: "k8s-dev",
|
|
16
|
+
* authentication: {
|
|
17
|
+
* delegateSelectors: ["k8s"],
|
|
18
|
+
* },
|
|
19
|
+
* });
|
|
20
|
+
* const example = new harness.Application("example", {name: "example"});
|
|
21
|
+
* const devEnvironment = new harness.Environment("dev", {
|
|
22
|
+
* name: "dev",
|
|
23
|
+
* appId: example.id,
|
|
24
|
+
* type: "NON_PROD",
|
|
25
|
+
* });
|
|
26
|
+
* // Creating a infrastructure of type KUBERNETES
|
|
27
|
+
* const k8s = new harness.InfrastructureDefinition("k8s", {
|
|
28
|
+
* name: "k8s-eks-us-east-1",
|
|
29
|
+
* appId: example.id,
|
|
30
|
+
* envId: devEnvironment.id,
|
|
31
|
+
* cloudProviderType: "KUBERNETES_CLUSTER",
|
|
32
|
+
* deploymentType: "KUBERNETES",
|
|
33
|
+
* kubernetes: {
|
|
34
|
+
* cloudProviderName: dev.name,
|
|
35
|
+
* namespace: "dev",
|
|
36
|
+
* releaseName: "${service.name}",
|
|
37
|
+
* },
|
|
38
|
+
* });
|
|
39
|
+
* // Creating a Deployment Template for CUSTOM infrastructure type
|
|
40
|
+
* const exampleYaml = new harness.YamlConfig("example_yaml", {
|
|
41
|
+
* path: "Setup/Template Library/Example Folder/deployment_template.yaml",
|
|
42
|
+
* content: `harnessApiVersion: '1.0'
|
|
43
|
+
* type: CUSTOM_DEPLOYMENT_TYPE
|
|
44
|
+
* fetchInstanceScript: |-
|
|
45
|
+
* set -ex
|
|
46
|
+
* curl http://\${url}/\${file_name} > \${INSTANCE_OUTPUT_PATH}
|
|
47
|
+
* hostAttributes:
|
|
48
|
+
* hostname: host
|
|
49
|
+
* hostObjectArrayPath: hosts
|
|
50
|
+
* variables:
|
|
51
|
+
* - name: url
|
|
52
|
+
* - name: file_name
|
|
53
|
+
* `,
|
|
54
|
+
* });
|
|
55
|
+
* // Creating a infrastructure of type CUSTOM
|
|
56
|
+
* const custom = new harness.InfrastructureDefinition("custom", {
|
|
57
|
+
* name: "custom-infra",
|
|
58
|
+
* appId: example.id,
|
|
59
|
+
* envId: devEnvironment.id,
|
|
60
|
+
* cloudProviderType: "CUSTOM",
|
|
61
|
+
* deploymentType: "CUSTOM",
|
|
62
|
+
* deploymentTemplateUri: pulumi.interpolate`Example Folder/${exampleYaml.name}`,
|
|
63
|
+
* custom: {
|
|
64
|
+
* deploymentTypeTemplateVersion: "1",
|
|
65
|
+
* variables: [
|
|
66
|
+
* {
|
|
67
|
+
* name: "url",
|
|
68
|
+
* value: "localhost:8081",
|
|
69
|
+
* },
|
|
70
|
+
* {
|
|
71
|
+
* name: "file_name",
|
|
72
|
+
* value: "instances.json",
|
|
73
|
+
* },
|
|
74
|
+
* ],
|
|
75
|
+
* },
|
|
76
|
+
* });
|
|
77
|
+
* ```
|
|
78
|
+
*
|
|
79
|
+
* ## Import
|
|
80
|
+
*
|
|
81
|
+
* Import using the Harness application id, environment id, and infrastructure definition id
|
|
82
|
+
*
|
|
83
|
+
* ```sh
|
|
84
|
+
* $ pulumi import harness:index/infrastructureDefinition:InfrastructureDefinition example <app_id>/<env_id>/<infradef_id>
|
|
85
|
+
* ```
|
|
86
|
+
*/
|
|
87
|
+
export declare class InfrastructureDefinition extends pulumi.CustomResource {
|
|
88
|
+
/**
|
|
89
|
+
* Get an existing InfrastructureDefinition resource's state with the given name, ID, and optional extra
|
|
90
|
+
* properties used to qualify the lookup.
|
|
91
|
+
*
|
|
92
|
+
* @param name The _unique_ name of the resulting resource.
|
|
93
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
94
|
+
* @param state Any extra arguments used during the lookup.
|
|
95
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
96
|
+
*/
|
|
97
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: InfrastructureDefinitionState, opts?: pulumi.CustomResourceOptions): InfrastructureDefinition;
|
|
98
|
+
/**
|
|
99
|
+
* Returns true if the given object is an instance of InfrastructureDefinition. This is designed to work even
|
|
100
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
101
|
+
*/
|
|
102
|
+
static isInstance(obj: any): obj is InfrastructureDefinition;
|
|
103
|
+
/**
|
|
104
|
+
* The id of the application the infrastructure definition belongs to.
|
|
105
|
+
*/
|
|
106
|
+
readonly appId: pulumi.Output<string>;
|
|
107
|
+
/**
|
|
108
|
+
* The configuration details for Aws AMI deployments.
|
|
109
|
+
*/
|
|
110
|
+
readonly awsAmi: pulumi.Output<outputs.InfrastructureDefinitionAwsAmi | undefined>;
|
|
111
|
+
/**
|
|
112
|
+
* The configuration details for Aws AMI deployments.
|
|
113
|
+
*/
|
|
114
|
+
readonly awsEcs: pulumi.Output<outputs.InfrastructureDefinitionAwsEcs | undefined>;
|
|
115
|
+
/**
|
|
116
|
+
* The configuration details for Aws Lambda deployments.
|
|
117
|
+
*/
|
|
118
|
+
readonly awsLambda: pulumi.Output<outputs.InfrastructureDefinitionAwsLambda | undefined>;
|
|
119
|
+
/**
|
|
120
|
+
* The configuration details for AWS SSH deployments.
|
|
121
|
+
*/
|
|
122
|
+
readonly awsSsh: pulumi.Output<outputs.InfrastructureDefinitionAwsSsh | undefined>;
|
|
123
|
+
/**
|
|
124
|
+
* The configuration details for AWS WinRM deployments.
|
|
125
|
+
*/
|
|
126
|
+
readonly awsWinrm: pulumi.Output<outputs.InfrastructureDefinitionAwsWinrm | undefined>;
|
|
127
|
+
/**
|
|
128
|
+
* The configuration details for Azure VMSS deployments.
|
|
129
|
+
*/
|
|
130
|
+
readonly azureVmss: pulumi.Output<outputs.InfrastructureDefinitionAzureVmss | undefined>;
|
|
131
|
+
/**
|
|
132
|
+
* The configuration details for Azure WebApp deployments.
|
|
133
|
+
*/
|
|
134
|
+
readonly azureWebapp: pulumi.Output<outputs.InfrastructureDefinitionAzureWebapp | undefined>;
|
|
135
|
+
/**
|
|
136
|
+
* The type of the cloud provider to connect with. Valid options are AWS, AZURE, CUSTOM, PHYSICAL*DATA*CENTER, KUBERNETES*CLUSTER, PCF, SPOT*INST
|
|
137
|
+
*/
|
|
138
|
+
readonly cloudProviderType: pulumi.Output<string>;
|
|
139
|
+
/**
|
|
140
|
+
* The configuration details for Custom deployments.
|
|
141
|
+
*/
|
|
142
|
+
readonly custom: pulumi.Output<outputs.InfrastructureDefinitionCustom | undefined>;
|
|
143
|
+
/**
|
|
144
|
+
* The configuration details for SSH datacenter deployments.
|
|
145
|
+
*/
|
|
146
|
+
readonly datacenterSsh: pulumi.Output<outputs.InfrastructureDefinitionDatacenterSsh | undefined>;
|
|
147
|
+
/**
|
|
148
|
+
* The configuration details for WinRM datacenter deployments.
|
|
149
|
+
*/
|
|
150
|
+
readonly datacenterWinrm: pulumi.Output<outputs.InfrastructureDefinitionDatacenterWinrm | undefined>;
|
|
151
|
+
/**
|
|
152
|
+
* The URI of the deployment template to use. Only used if deploymentType is `CUSTOM`.
|
|
153
|
+
*/
|
|
154
|
+
readonly deploymentTemplateUri: pulumi.Output<string | undefined>;
|
|
155
|
+
/**
|
|
156
|
+
* The type of the deployment to use. Valid options are AMI, AWS*CODEDEPLOY, AWS*LAMBDA, AZURE*VMSS, AZURE*WEBAPP, CUSTOM, ECS, HELM, KUBERNETES, PCF, SSH, WINRM
|
|
157
|
+
*/
|
|
158
|
+
readonly deploymentType: pulumi.Output<string>;
|
|
159
|
+
/**
|
|
160
|
+
* The id of the environment the infrastructure definition belongs to.
|
|
161
|
+
*/
|
|
162
|
+
readonly envId: pulumi.Output<string>;
|
|
163
|
+
/**
|
|
164
|
+
* The configuration details for Kubernetes deployments.
|
|
165
|
+
*/
|
|
166
|
+
readonly kubernetes: pulumi.Output<outputs.InfrastructureDefinitionKubernetes | undefined>;
|
|
167
|
+
/**
|
|
168
|
+
* The configuration details for Kubernetes on GCP deployments.
|
|
169
|
+
*/
|
|
170
|
+
readonly kubernetesGcp: pulumi.Output<outputs.InfrastructureDefinitionKubernetesGcp | undefined>;
|
|
171
|
+
/**
|
|
172
|
+
* The name of the infrastructure definition
|
|
173
|
+
*/
|
|
174
|
+
readonly name: pulumi.Output<string>;
|
|
175
|
+
/**
|
|
176
|
+
* The name of the infrastructure provisioner to use.
|
|
177
|
+
*/
|
|
178
|
+
readonly provisionerName: pulumi.Output<string | undefined>;
|
|
179
|
+
/**
|
|
180
|
+
* The list of service names to scope this infrastructure definition to.
|
|
181
|
+
*/
|
|
182
|
+
readonly scopedServices: pulumi.Output<string[] | undefined>;
|
|
183
|
+
/**
|
|
184
|
+
* The configuration details for PCF deployments.
|
|
185
|
+
*/
|
|
186
|
+
readonly tanzu: pulumi.Output<outputs.InfrastructureDefinitionTanzu | undefined>;
|
|
187
|
+
/**
|
|
188
|
+
* Create a InfrastructureDefinition resource with the given unique name, arguments, and options.
|
|
189
|
+
*
|
|
190
|
+
* @param name The _unique_ name of the resource.
|
|
191
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
192
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
193
|
+
*/
|
|
194
|
+
constructor(name: string, args: InfrastructureDefinitionArgs, opts?: pulumi.CustomResourceOptions);
|
|
195
|
+
}
|
|
196
|
+
/**
|
|
197
|
+
* Input properties used for looking up and filtering InfrastructureDefinition resources.
|
|
198
|
+
*/
|
|
199
|
+
export interface InfrastructureDefinitionState {
|
|
200
|
+
/**
|
|
201
|
+
* The id of the application the infrastructure definition belongs to.
|
|
202
|
+
*/
|
|
203
|
+
appId?: pulumi.Input<string>;
|
|
204
|
+
/**
|
|
205
|
+
* The configuration details for Aws AMI deployments.
|
|
206
|
+
*/
|
|
207
|
+
awsAmi?: pulumi.Input<inputs.InfrastructureDefinitionAwsAmi>;
|
|
208
|
+
/**
|
|
209
|
+
* The configuration details for Aws AMI deployments.
|
|
210
|
+
*/
|
|
211
|
+
awsEcs?: pulumi.Input<inputs.InfrastructureDefinitionAwsEcs>;
|
|
212
|
+
/**
|
|
213
|
+
* The configuration details for Aws Lambda deployments.
|
|
214
|
+
*/
|
|
215
|
+
awsLambda?: pulumi.Input<inputs.InfrastructureDefinitionAwsLambda>;
|
|
216
|
+
/**
|
|
217
|
+
* The configuration details for AWS SSH deployments.
|
|
218
|
+
*/
|
|
219
|
+
awsSsh?: pulumi.Input<inputs.InfrastructureDefinitionAwsSsh>;
|
|
220
|
+
/**
|
|
221
|
+
* The configuration details for AWS WinRM deployments.
|
|
222
|
+
*/
|
|
223
|
+
awsWinrm?: pulumi.Input<inputs.InfrastructureDefinitionAwsWinrm>;
|
|
224
|
+
/**
|
|
225
|
+
* The configuration details for Azure VMSS deployments.
|
|
226
|
+
*/
|
|
227
|
+
azureVmss?: pulumi.Input<inputs.InfrastructureDefinitionAzureVmss>;
|
|
228
|
+
/**
|
|
229
|
+
* The configuration details for Azure WebApp deployments.
|
|
230
|
+
*/
|
|
231
|
+
azureWebapp?: pulumi.Input<inputs.InfrastructureDefinitionAzureWebapp>;
|
|
232
|
+
/**
|
|
233
|
+
* The type of the cloud provider to connect with. Valid options are AWS, AZURE, CUSTOM, PHYSICAL*DATA*CENTER, KUBERNETES*CLUSTER, PCF, SPOT*INST
|
|
234
|
+
*/
|
|
235
|
+
cloudProviderType?: pulumi.Input<string>;
|
|
236
|
+
/**
|
|
237
|
+
* The configuration details for Custom deployments.
|
|
238
|
+
*/
|
|
239
|
+
custom?: pulumi.Input<inputs.InfrastructureDefinitionCustom>;
|
|
240
|
+
/**
|
|
241
|
+
* The configuration details for SSH datacenter deployments.
|
|
242
|
+
*/
|
|
243
|
+
datacenterSsh?: pulumi.Input<inputs.InfrastructureDefinitionDatacenterSsh>;
|
|
244
|
+
/**
|
|
245
|
+
* The configuration details for WinRM datacenter deployments.
|
|
246
|
+
*/
|
|
247
|
+
datacenterWinrm?: pulumi.Input<inputs.InfrastructureDefinitionDatacenterWinrm>;
|
|
248
|
+
/**
|
|
249
|
+
* The URI of the deployment template to use. Only used if deploymentType is `CUSTOM`.
|
|
250
|
+
*/
|
|
251
|
+
deploymentTemplateUri?: pulumi.Input<string>;
|
|
252
|
+
/**
|
|
253
|
+
* The type of the deployment to use. Valid options are AMI, AWS*CODEDEPLOY, AWS*LAMBDA, AZURE*VMSS, AZURE*WEBAPP, CUSTOM, ECS, HELM, KUBERNETES, PCF, SSH, WINRM
|
|
254
|
+
*/
|
|
255
|
+
deploymentType?: pulumi.Input<string>;
|
|
256
|
+
/**
|
|
257
|
+
* The id of the environment the infrastructure definition belongs to.
|
|
258
|
+
*/
|
|
259
|
+
envId?: pulumi.Input<string>;
|
|
260
|
+
/**
|
|
261
|
+
* The configuration details for Kubernetes deployments.
|
|
262
|
+
*/
|
|
263
|
+
kubernetes?: pulumi.Input<inputs.InfrastructureDefinitionKubernetes>;
|
|
264
|
+
/**
|
|
265
|
+
* The configuration details for Kubernetes on GCP deployments.
|
|
266
|
+
*/
|
|
267
|
+
kubernetesGcp?: pulumi.Input<inputs.InfrastructureDefinitionKubernetesGcp>;
|
|
268
|
+
/**
|
|
269
|
+
* The name of the infrastructure definition
|
|
270
|
+
*/
|
|
271
|
+
name?: pulumi.Input<string>;
|
|
272
|
+
/**
|
|
273
|
+
* The name of the infrastructure provisioner to use.
|
|
274
|
+
*/
|
|
275
|
+
provisionerName?: pulumi.Input<string>;
|
|
276
|
+
/**
|
|
277
|
+
* The list of service names to scope this infrastructure definition to.
|
|
278
|
+
*/
|
|
279
|
+
scopedServices?: pulumi.Input<pulumi.Input<string>[]>;
|
|
280
|
+
/**
|
|
281
|
+
* The configuration details for PCF deployments.
|
|
282
|
+
*/
|
|
283
|
+
tanzu?: pulumi.Input<inputs.InfrastructureDefinitionTanzu>;
|
|
284
|
+
}
|
|
285
|
+
/**
|
|
286
|
+
* The set of arguments for constructing a InfrastructureDefinition resource.
|
|
287
|
+
*/
|
|
288
|
+
export interface InfrastructureDefinitionArgs {
|
|
289
|
+
/**
|
|
290
|
+
* The id of the application the infrastructure definition belongs to.
|
|
291
|
+
*/
|
|
292
|
+
appId: pulumi.Input<string>;
|
|
293
|
+
/**
|
|
294
|
+
* The configuration details for Aws AMI deployments.
|
|
295
|
+
*/
|
|
296
|
+
awsAmi?: pulumi.Input<inputs.InfrastructureDefinitionAwsAmi>;
|
|
297
|
+
/**
|
|
298
|
+
* The configuration details for Aws AMI deployments.
|
|
299
|
+
*/
|
|
300
|
+
awsEcs?: pulumi.Input<inputs.InfrastructureDefinitionAwsEcs>;
|
|
301
|
+
/**
|
|
302
|
+
* The configuration details for Aws Lambda deployments.
|
|
303
|
+
*/
|
|
304
|
+
awsLambda?: pulumi.Input<inputs.InfrastructureDefinitionAwsLambda>;
|
|
305
|
+
/**
|
|
306
|
+
* The configuration details for AWS SSH deployments.
|
|
307
|
+
*/
|
|
308
|
+
awsSsh?: pulumi.Input<inputs.InfrastructureDefinitionAwsSsh>;
|
|
309
|
+
/**
|
|
310
|
+
* The configuration details for AWS WinRM deployments.
|
|
311
|
+
*/
|
|
312
|
+
awsWinrm?: pulumi.Input<inputs.InfrastructureDefinitionAwsWinrm>;
|
|
313
|
+
/**
|
|
314
|
+
* The configuration details for Azure VMSS deployments.
|
|
315
|
+
*/
|
|
316
|
+
azureVmss?: pulumi.Input<inputs.InfrastructureDefinitionAzureVmss>;
|
|
317
|
+
/**
|
|
318
|
+
* The configuration details for Azure WebApp deployments.
|
|
319
|
+
*/
|
|
320
|
+
azureWebapp?: pulumi.Input<inputs.InfrastructureDefinitionAzureWebapp>;
|
|
321
|
+
/**
|
|
322
|
+
* The type of the cloud provider to connect with. Valid options are AWS, AZURE, CUSTOM, PHYSICAL*DATA*CENTER, KUBERNETES*CLUSTER, PCF, SPOT*INST
|
|
323
|
+
*/
|
|
324
|
+
cloudProviderType: pulumi.Input<string>;
|
|
325
|
+
/**
|
|
326
|
+
* The configuration details for Custom deployments.
|
|
327
|
+
*/
|
|
328
|
+
custom?: pulumi.Input<inputs.InfrastructureDefinitionCustom>;
|
|
329
|
+
/**
|
|
330
|
+
* The configuration details for SSH datacenter deployments.
|
|
331
|
+
*/
|
|
332
|
+
datacenterSsh?: pulumi.Input<inputs.InfrastructureDefinitionDatacenterSsh>;
|
|
333
|
+
/**
|
|
334
|
+
* The configuration details for WinRM datacenter deployments.
|
|
335
|
+
*/
|
|
336
|
+
datacenterWinrm?: pulumi.Input<inputs.InfrastructureDefinitionDatacenterWinrm>;
|
|
337
|
+
/**
|
|
338
|
+
* The URI of the deployment template to use. Only used if deploymentType is `CUSTOM`.
|
|
339
|
+
*/
|
|
340
|
+
deploymentTemplateUri?: pulumi.Input<string>;
|
|
341
|
+
/**
|
|
342
|
+
* The type of the deployment to use. Valid options are AMI, AWS*CODEDEPLOY, AWS*LAMBDA, AZURE*VMSS, AZURE*WEBAPP, CUSTOM, ECS, HELM, KUBERNETES, PCF, SSH, WINRM
|
|
343
|
+
*/
|
|
344
|
+
deploymentType: pulumi.Input<string>;
|
|
345
|
+
/**
|
|
346
|
+
* The id of the environment the infrastructure definition belongs to.
|
|
347
|
+
*/
|
|
348
|
+
envId: pulumi.Input<string>;
|
|
349
|
+
/**
|
|
350
|
+
* The configuration details for Kubernetes deployments.
|
|
351
|
+
*/
|
|
352
|
+
kubernetes?: pulumi.Input<inputs.InfrastructureDefinitionKubernetes>;
|
|
353
|
+
/**
|
|
354
|
+
* The configuration details for Kubernetes on GCP deployments.
|
|
355
|
+
*/
|
|
356
|
+
kubernetesGcp?: pulumi.Input<inputs.InfrastructureDefinitionKubernetesGcp>;
|
|
357
|
+
/**
|
|
358
|
+
* The name of the infrastructure definition
|
|
359
|
+
*/
|
|
360
|
+
name?: pulumi.Input<string>;
|
|
361
|
+
/**
|
|
362
|
+
* The name of the infrastructure provisioner to use.
|
|
363
|
+
*/
|
|
364
|
+
provisionerName?: pulumi.Input<string>;
|
|
365
|
+
/**
|
|
366
|
+
* The list of service names to scope this infrastructure definition to.
|
|
367
|
+
*/
|
|
368
|
+
scopedServices?: pulumi.Input<pulumi.Input<string>[]>;
|
|
369
|
+
/**
|
|
370
|
+
* The configuration details for PCF deployments.
|
|
371
|
+
*/
|
|
372
|
+
tanzu?: pulumi.Input<inputs.InfrastructureDefinitionTanzu>;
|
|
373
|
+
}
|
|
@@ -0,0 +1,184 @@
|
|
|
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.InfrastructureDefinition = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Resource for creating am infrastructure definition. This resource uses the config-as-code API's. When updating the `name` or `path` of this resource you should typically also set the `createBeforeDestroy = true` lifecycle setting.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as harness from "@pulumi/harness";
|
|
16
|
+
*
|
|
17
|
+
* // Creating a Kubernetes infrastructure definition
|
|
18
|
+
* const dev = new harness.cloudprovider.Kubernetes("dev", {
|
|
19
|
+
* name: "k8s-dev",
|
|
20
|
+
* authentication: {
|
|
21
|
+
* delegateSelectors: ["k8s"],
|
|
22
|
+
* },
|
|
23
|
+
* });
|
|
24
|
+
* const example = new harness.Application("example", {name: "example"});
|
|
25
|
+
* const devEnvironment = new harness.Environment("dev", {
|
|
26
|
+
* name: "dev",
|
|
27
|
+
* appId: example.id,
|
|
28
|
+
* type: "NON_PROD",
|
|
29
|
+
* });
|
|
30
|
+
* // Creating a infrastructure of type KUBERNETES
|
|
31
|
+
* const k8s = new harness.InfrastructureDefinition("k8s", {
|
|
32
|
+
* name: "k8s-eks-us-east-1",
|
|
33
|
+
* appId: example.id,
|
|
34
|
+
* envId: devEnvironment.id,
|
|
35
|
+
* cloudProviderType: "KUBERNETES_CLUSTER",
|
|
36
|
+
* deploymentType: "KUBERNETES",
|
|
37
|
+
* kubernetes: {
|
|
38
|
+
* cloudProviderName: dev.name,
|
|
39
|
+
* namespace: "dev",
|
|
40
|
+
* releaseName: "${service.name}",
|
|
41
|
+
* },
|
|
42
|
+
* });
|
|
43
|
+
* // Creating a Deployment Template for CUSTOM infrastructure type
|
|
44
|
+
* const exampleYaml = new harness.YamlConfig("example_yaml", {
|
|
45
|
+
* path: "Setup/Template Library/Example Folder/deployment_template.yaml",
|
|
46
|
+
* content: `harnessApiVersion: '1.0'
|
|
47
|
+
* type: CUSTOM_DEPLOYMENT_TYPE
|
|
48
|
+
* fetchInstanceScript: |-
|
|
49
|
+
* set -ex
|
|
50
|
+
* curl http://\${url}/\${file_name} > \${INSTANCE_OUTPUT_PATH}
|
|
51
|
+
* hostAttributes:
|
|
52
|
+
* hostname: host
|
|
53
|
+
* hostObjectArrayPath: hosts
|
|
54
|
+
* variables:
|
|
55
|
+
* - name: url
|
|
56
|
+
* - name: file_name
|
|
57
|
+
* `,
|
|
58
|
+
* });
|
|
59
|
+
* // Creating a infrastructure of type CUSTOM
|
|
60
|
+
* const custom = new harness.InfrastructureDefinition("custom", {
|
|
61
|
+
* name: "custom-infra",
|
|
62
|
+
* appId: example.id,
|
|
63
|
+
* envId: devEnvironment.id,
|
|
64
|
+
* cloudProviderType: "CUSTOM",
|
|
65
|
+
* deploymentType: "CUSTOM",
|
|
66
|
+
* deploymentTemplateUri: pulumi.interpolate`Example Folder/${exampleYaml.name}`,
|
|
67
|
+
* custom: {
|
|
68
|
+
* deploymentTypeTemplateVersion: "1",
|
|
69
|
+
* variables: [
|
|
70
|
+
* {
|
|
71
|
+
* name: "url",
|
|
72
|
+
* value: "localhost:8081",
|
|
73
|
+
* },
|
|
74
|
+
* {
|
|
75
|
+
* name: "file_name",
|
|
76
|
+
* value: "instances.json",
|
|
77
|
+
* },
|
|
78
|
+
* ],
|
|
79
|
+
* },
|
|
80
|
+
* });
|
|
81
|
+
* ```
|
|
82
|
+
*
|
|
83
|
+
* ## Import
|
|
84
|
+
*
|
|
85
|
+
* Import using the Harness application id, environment id, and infrastructure definition id
|
|
86
|
+
*
|
|
87
|
+
* ```sh
|
|
88
|
+
* $ pulumi import harness:index/infrastructureDefinition:InfrastructureDefinition example <app_id>/<env_id>/<infradef_id>
|
|
89
|
+
* ```
|
|
90
|
+
*/
|
|
91
|
+
class InfrastructureDefinition extends pulumi.CustomResource {
|
|
92
|
+
/**
|
|
93
|
+
* Get an existing InfrastructureDefinition resource's state with the given name, ID, and optional extra
|
|
94
|
+
* properties used to qualify the lookup.
|
|
95
|
+
*
|
|
96
|
+
* @param name The _unique_ name of the resulting resource.
|
|
97
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
98
|
+
* @param state Any extra arguments used during the lookup.
|
|
99
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
100
|
+
*/
|
|
101
|
+
static get(name, id, state, opts) {
|
|
102
|
+
return new InfrastructureDefinition(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* Returns true if the given object is an instance of InfrastructureDefinition. This is designed to work even
|
|
106
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
107
|
+
*/
|
|
108
|
+
static isInstance(obj) {
|
|
109
|
+
if (obj === undefined || obj === null) {
|
|
110
|
+
return false;
|
|
111
|
+
}
|
|
112
|
+
return obj['__pulumiType'] === InfrastructureDefinition.__pulumiType;
|
|
113
|
+
}
|
|
114
|
+
constructor(name, argsOrState, opts) {
|
|
115
|
+
let resourceInputs = {};
|
|
116
|
+
opts = opts || {};
|
|
117
|
+
if (opts.id) {
|
|
118
|
+
const state = argsOrState;
|
|
119
|
+
resourceInputs["appId"] = state ? state.appId : undefined;
|
|
120
|
+
resourceInputs["awsAmi"] = state ? state.awsAmi : undefined;
|
|
121
|
+
resourceInputs["awsEcs"] = state ? state.awsEcs : undefined;
|
|
122
|
+
resourceInputs["awsLambda"] = state ? state.awsLambda : undefined;
|
|
123
|
+
resourceInputs["awsSsh"] = state ? state.awsSsh : undefined;
|
|
124
|
+
resourceInputs["awsWinrm"] = state ? state.awsWinrm : undefined;
|
|
125
|
+
resourceInputs["azureVmss"] = state ? state.azureVmss : undefined;
|
|
126
|
+
resourceInputs["azureWebapp"] = state ? state.azureWebapp : undefined;
|
|
127
|
+
resourceInputs["cloudProviderType"] = state ? state.cloudProviderType : undefined;
|
|
128
|
+
resourceInputs["custom"] = state ? state.custom : undefined;
|
|
129
|
+
resourceInputs["datacenterSsh"] = state ? state.datacenterSsh : undefined;
|
|
130
|
+
resourceInputs["datacenterWinrm"] = state ? state.datacenterWinrm : undefined;
|
|
131
|
+
resourceInputs["deploymentTemplateUri"] = state ? state.deploymentTemplateUri : undefined;
|
|
132
|
+
resourceInputs["deploymentType"] = state ? state.deploymentType : undefined;
|
|
133
|
+
resourceInputs["envId"] = state ? state.envId : undefined;
|
|
134
|
+
resourceInputs["kubernetes"] = state ? state.kubernetes : undefined;
|
|
135
|
+
resourceInputs["kubernetesGcp"] = state ? state.kubernetesGcp : undefined;
|
|
136
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
137
|
+
resourceInputs["provisionerName"] = state ? state.provisionerName : undefined;
|
|
138
|
+
resourceInputs["scopedServices"] = state ? state.scopedServices : undefined;
|
|
139
|
+
resourceInputs["tanzu"] = state ? state.tanzu : undefined;
|
|
140
|
+
}
|
|
141
|
+
else {
|
|
142
|
+
const args = argsOrState;
|
|
143
|
+
if ((!args || args.appId === undefined) && !opts.urn) {
|
|
144
|
+
throw new Error("Missing required property 'appId'");
|
|
145
|
+
}
|
|
146
|
+
if ((!args || args.cloudProviderType === undefined) && !opts.urn) {
|
|
147
|
+
throw new Error("Missing required property 'cloudProviderType'");
|
|
148
|
+
}
|
|
149
|
+
if ((!args || args.deploymentType === undefined) && !opts.urn) {
|
|
150
|
+
throw new Error("Missing required property 'deploymentType'");
|
|
151
|
+
}
|
|
152
|
+
if ((!args || args.envId === undefined) && !opts.urn) {
|
|
153
|
+
throw new Error("Missing required property 'envId'");
|
|
154
|
+
}
|
|
155
|
+
resourceInputs["appId"] = args ? args.appId : undefined;
|
|
156
|
+
resourceInputs["awsAmi"] = args ? args.awsAmi : undefined;
|
|
157
|
+
resourceInputs["awsEcs"] = args ? args.awsEcs : undefined;
|
|
158
|
+
resourceInputs["awsLambda"] = args ? args.awsLambda : undefined;
|
|
159
|
+
resourceInputs["awsSsh"] = args ? args.awsSsh : undefined;
|
|
160
|
+
resourceInputs["awsWinrm"] = args ? args.awsWinrm : undefined;
|
|
161
|
+
resourceInputs["azureVmss"] = args ? args.azureVmss : undefined;
|
|
162
|
+
resourceInputs["azureWebapp"] = args ? args.azureWebapp : undefined;
|
|
163
|
+
resourceInputs["cloudProviderType"] = args ? args.cloudProviderType : undefined;
|
|
164
|
+
resourceInputs["custom"] = args ? args.custom : undefined;
|
|
165
|
+
resourceInputs["datacenterSsh"] = args ? args.datacenterSsh : undefined;
|
|
166
|
+
resourceInputs["datacenterWinrm"] = args ? args.datacenterWinrm : undefined;
|
|
167
|
+
resourceInputs["deploymentTemplateUri"] = args ? args.deploymentTemplateUri : undefined;
|
|
168
|
+
resourceInputs["deploymentType"] = args ? args.deploymentType : undefined;
|
|
169
|
+
resourceInputs["envId"] = args ? args.envId : undefined;
|
|
170
|
+
resourceInputs["kubernetes"] = args ? args.kubernetes : undefined;
|
|
171
|
+
resourceInputs["kubernetesGcp"] = args ? args.kubernetesGcp : undefined;
|
|
172
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
173
|
+
resourceInputs["provisionerName"] = args ? args.provisionerName : undefined;
|
|
174
|
+
resourceInputs["scopedServices"] = args ? args.scopedServices : undefined;
|
|
175
|
+
resourceInputs["tanzu"] = args ? args.tanzu : undefined;
|
|
176
|
+
}
|
|
177
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
178
|
+
super(InfrastructureDefinition.__pulumiType, name, resourceInputs, opts);
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
exports.InfrastructureDefinition = InfrastructureDefinition;
|
|
182
|
+
/** @internal */
|
|
183
|
+
InfrastructureDefinition.__pulumiType = 'harness:index/infrastructureDefinition:InfrastructureDefinition';
|
|
184
|
+
//# sourceMappingURL=infrastructureDefinition.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"infrastructureDefinition.js","sourceRoot":"","sources":["../infrastructureDefinition.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkFG;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,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,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;IA+FD,YAAY,IAAY,EAAE,WAA0E,EAAE,IAAmC;QACrI,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WA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AAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,iBAAiB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5E,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1E,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;SAC3D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,wBAAwB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7E,CAAC;;AAzLL,4DA0LC;AA5KG,gBAAgB;AACO,qCAAY,GAAG,iEAAiE,CAAC"}
|
package/package.json
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@pulumi/harness",
|
|
3
|
+
"version": "0.0.7-alpha.1719955866",
|
|
4
|
+
"description": "A Pulumi package for creating and managing Harness resources.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"pulumi",
|
|
7
|
+
"harness"
|
|
8
|
+
],
|
|
9
|
+
"homepage": "https://www.pulumi.com",
|
|
10
|
+
"repository": "https://github.com/pulumi/pulumi-harness",
|
|
11
|
+
"license": "Apache-2.0",
|
|
12
|
+
"scripts": {
|
|
13
|
+
"build": "tsc"
|
|
14
|
+
},
|
|
15
|
+
"dependencies": {
|
|
16
|
+
"@pulumi/pulumi": "^3.0.0"
|
|
17
|
+
},
|
|
18
|
+
"devDependencies": {
|
|
19
|
+
"@types/mime": "^2.0.0",
|
|
20
|
+
"@types/node": "^10.0.0",
|
|
21
|
+
"typescript": "^4.3.5"
|
|
22
|
+
},
|
|
23
|
+
"pulumi": {
|
|
24
|
+
"resource": true,
|
|
25
|
+
"name": "harness",
|
|
26
|
+
"version": "0.0.7-alpha.1719955866",
|
|
27
|
+
"server": "github://api.github.com/pulumi"
|
|
28
|
+
}
|
|
29
|
+
}
|