@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,934 @@
|
|
|
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.Template = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Resource for creating a Template. Description field is deprecated
|
|
10
|
+
*
|
|
11
|
+
* ## Remote Pipeline template
|
|
12
|
+
*
|
|
13
|
+
* resource "harness.platform.Template" "pipelineTemplateRemote" {
|
|
14
|
+
* identifier = "identifier"
|
|
15
|
+
* orgId = harness_platform_project.test.org_id
|
|
16
|
+
* projectId = harness_platform_project.test.id
|
|
17
|
+
* name = "name"
|
|
18
|
+
* comments = "comments"
|
|
19
|
+
* version = "ab"
|
|
20
|
+
* isStable = true
|
|
21
|
+
* gitDetails {
|
|
22
|
+
* branchName = "main"
|
|
23
|
+
* commitMessage = "Commit"
|
|
24
|
+
* filePath = "filePath"
|
|
25
|
+
* connectorRef = "account.connector_ref"
|
|
26
|
+
* storeType = "REMOTE"
|
|
27
|
+
* repoName = "repoName"
|
|
28
|
+
* }
|
|
29
|
+
* templateYaml = <<-EOT
|
|
30
|
+
* template:
|
|
31
|
+
* name: "name"
|
|
32
|
+
* identifier: "identifier"
|
|
33
|
+
* versionLabel: "ab"
|
|
34
|
+
* type: Pipeline
|
|
35
|
+
* projectIdentifier: ${harness_platform_project.test.id}
|
|
36
|
+
* orgIdentifier: ${harness_platform_project.test.org_id}
|
|
37
|
+
* tags: {}
|
|
38
|
+
* spec:
|
|
39
|
+
* stages:
|
|
40
|
+
* - stage:
|
|
41
|
+
* identifier: dvvdvd
|
|
42
|
+
* name: dvvdvd
|
|
43
|
+
* description: ""
|
|
44
|
+
* type: Deployment
|
|
45
|
+
* spec:
|
|
46
|
+
* deploymentType: Kubernetes
|
|
47
|
+
* service:
|
|
48
|
+
* serviceRef: <+input>
|
|
49
|
+
* serviceInputs: <+input>
|
|
50
|
+
* environment:
|
|
51
|
+
* environmentRef: <+input>
|
|
52
|
+
* deployToAll: false
|
|
53
|
+
* environmentInputs: <+input>
|
|
54
|
+
* serviceOverrideInputs: <+input>
|
|
55
|
+
* infrastructureDefinitions: <+input>
|
|
56
|
+
* execution:
|
|
57
|
+
* steps:
|
|
58
|
+
* - step:
|
|
59
|
+
* name: Rollout Deployment
|
|
60
|
+
* identifier: rolloutDeployment
|
|
61
|
+
* type: K8sRollingDeploy
|
|
62
|
+
* timeout: 10m
|
|
63
|
+
* spec:
|
|
64
|
+
* skipDryRun: false
|
|
65
|
+
* pruningEnabled: false
|
|
66
|
+
* rollbackSteps:
|
|
67
|
+
* - step:
|
|
68
|
+
* name: Rollback Rollout Deployment
|
|
69
|
+
* identifier: rollbackRolloutDeployment
|
|
70
|
+
* type: K8sRollingRollback
|
|
71
|
+
* timeout: 10m
|
|
72
|
+
* spec:
|
|
73
|
+
* pruningEnabled: false
|
|
74
|
+
* tags: {}
|
|
75
|
+
* failureStrategies:
|
|
76
|
+
* - onFailure:
|
|
77
|
+
* errors:
|
|
78
|
+
* - AllErrors
|
|
79
|
+
* action:
|
|
80
|
+
* type: StageRollback
|
|
81
|
+
*
|
|
82
|
+
* EOT
|
|
83
|
+
* }
|
|
84
|
+
*
|
|
85
|
+
* ## Remote Pipeline template to create new branch from existing base branch
|
|
86
|
+
*
|
|
87
|
+
* resource "harness.platform.Template" "pipelineTemplateRemote" {
|
|
88
|
+
* identifier = "identifier"
|
|
89
|
+
* orgId = harness_platform_project.test.org_id
|
|
90
|
+
* projectId = harness_platform_project.test.id
|
|
91
|
+
* name = "name"
|
|
92
|
+
* comments = "comments"
|
|
93
|
+
* version = "ab"
|
|
94
|
+
* isStable = true
|
|
95
|
+
* gitDetails {
|
|
96
|
+
* branchName = "newBranch"
|
|
97
|
+
* commitMessage = "Commit"
|
|
98
|
+
* filePath = "filePath"
|
|
99
|
+
* connectorRef = "account.connector_ref"
|
|
100
|
+
* storeType = "REMOTE"
|
|
101
|
+
* repoName = "repoName"
|
|
102
|
+
* baseBranch = "main"
|
|
103
|
+
* }
|
|
104
|
+
* templateYaml = <<-EOT
|
|
105
|
+
* template:
|
|
106
|
+
* name: "name"
|
|
107
|
+
* identifier: "identifier"
|
|
108
|
+
* versionLabel: "ab"
|
|
109
|
+
* type: Pipeline
|
|
110
|
+
* projectIdentifier: ${harness_platform_project.test.id}
|
|
111
|
+
* orgIdentifier: ${harness_platform_project.test.org_id}
|
|
112
|
+
* tags: {}
|
|
113
|
+
* spec:
|
|
114
|
+
* stages:
|
|
115
|
+
* - stage:
|
|
116
|
+
* identifier: dvvdvd
|
|
117
|
+
* name: dvvdvd
|
|
118
|
+
* description: ""
|
|
119
|
+
* type: Deployment
|
|
120
|
+
* spec:
|
|
121
|
+
* deploymentType: Kubernetes
|
|
122
|
+
* service:
|
|
123
|
+
* serviceRef: <+input>
|
|
124
|
+
* serviceInputs: <+input>
|
|
125
|
+
* environment:
|
|
126
|
+
* environmentRef: <+input>
|
|
127
|
+
* deployToAll: false
|
|
128
|
+
* environmentInputs: <+input>
|
|
129
|
+
* serviceOverrideInputs: <+input>
|
|
130
|
+
* infrastructureDefinitions: <+input>
|
|
131
|
+
* execution:
|
|
132
|
+
* steps:
|
|
133
|
+
* - step:
|
|
134
|
+
* name: Rollout Deployment
|
|
135
|
+
* identifier: rolloutDeployment
|
|
136
|
+
* type: K8sRollingDeploy
|
|
137
|
+
* timeout: 10m
|
|
138
|
+
* spec:
|
|
139
|
+
* skipDryRun: false
|
|
140
|
+
* pruningEnabled: false
|
|
141
|
+
* rollbackSteps:
|
|
142
|
+
* - step:
|
|
143
|
+
* name: Rollback Rollout Deployment
|
|
144
|
+
* identifier: rollbackRolloutDeployment
|
|
145
|
+
* type: K8sRollingRollback
|
|
146
|
+
* timeout: 10m
|
|
147
|
+
* spec:
|
|
148
|
+
* pruningEnabled: false
|
|
149
|
+
* tags: {}
|
|
150
|
+
* failureStrategies:
|
|
151
|
+
* - onFailure:
|
|
152
|
+
* errors:
|
|
153
|
+
* - AllErrors
|
|
154
|
+
* action:
|
|
155
|
+
* type: StageRollback
|
|
156
|
+
*
|
|
157
|
+
* EOT
|
|
158
|
+
* }
|
|
159
|
+
*
|
|
160
|
+
* ## Inline Pipeline template
|
|
161
|
+
*
|
|
162
|
+
* resource "harness.platform.Template" "pipelineTemplateInline" {
|
|
163
|
+
* identifier = "identifier"
|
|
164
|
+
* orgId = harness_platform_project.test.org_id
|
|
165
|
+
* projectId = harness_platform_project.test.id
|
|
166
|
+
* name = "name"
|
|
167
|
+
* comments = "comments"
|
|
168
|
+
* version = "ab"
|
|
169
|
+
* isStable = true
|
|
170
|
+
* templateYaml = <<-EOT
|
|
171
|
+
* template:
|
|
172
|
+
* name: "name"
|
|
173
|
+
* identifier: "identifier"
|
|
174
|
+
* versionLabel: "ab"
|
|
175
|
+
* type: Pipeline
|
|
176
|
+
* projectIdentifier: ${harness_platform_project.test.id}
|
|
177
|
+
* orgIdentifier: ${harness_platform_project.test.org_id}
|
|
178
|
+
* tags: {}
|
|
179
|
+
* spec:
|
|
180
|
+
* stages:
|
|
181
|
+
* - stage:
|
|
182
|
+
* identifier: dvvdvd
|
|
183
|
+
* name: dvvdvd
|
|
184
|
+
* description: ""
|
|
185
|
+
* type: Deployment
|
|
186
|
+
* spec:
|
|
187
|
+
* deploymentType: Kubernetes
|
|
188
|
+
* service:
|
|
189
|
+
* serviceRef: <+input>
|
|
190
|
+
* serviceInputs: <+input>
|
|
191
|
+
* environment:
|
|
192
|
+
* environmentRef: <+input>
|
|
193
|
+
* deployToAll: false
|
|
194
|
+
* environmentInputs: <+input>
|
|
195
|
+
* serviceOverrideInputs: <+input>
|
|
196
|
+
* infrastructureDefinitions: <+input>
|
|
197
|
+
* execution:
|
|
198
|
+
* steps:
|
|
199
|
+
* - step:
|
|
200
|
+
* name: Rollout Deployment
|
|
201
|
+
* identifier: rolloutDeployment
|
|
202
|
+
* type: K8sRollingDeploy
|
|
203
|
+
* timeout: 10m
|
|
204
|
+
* spec:
|
|
205
|
+
* skipDryRun: false
|
|
206
|
+
* pruningEnabled: false
|
|
207
|
+
* rollbackSteps:
|
|
208
|
+
* - step:
|
|
209
|
+
* name: Rollback Rollout Deployment
|
|
210
|
+
* identifier: rollbackRolloutDeployment
|
|
211
|
+
* type: K8sRollingRollback
|
|
212
|
+
* timeout: 10m
|
|
213
|
+
* spec:
|
|
214
|
+
* pruningEnabled: false
|
|
215
|
+
* tags: {}
|
|
216
|
+
* failureStrategies:
|
|
217
|
+
* - onFailure:
|
|
218
|
+
* errors:
|
|
219
|
+
* - AllErrors
|
|
220
|
+
* action:
|
|
221
|
+
* type: StageRollback
|
|
222
|
+
*
|
|
223
|
+
* EOT
|
|
224
|
+
* }
|
|
225
|
+
*
|
|
226
|
+
* ## Inline Step template
|
|
227
|
+
*
|
|
228
|
+
* resource "harness.platform.Template" "stepTemplateInline" {
|
|
229
|
+
* identifier = "identifier"
|
|
230
|
+
* orgId = harness_platform_project.test.org_id
|
|
231
|
+
* projectId = harness_platform_project.test.id
|
|
232
|
+
* name = "name"
|
|
233
|
+
* comments = "comments"
|
|
234
|
+
* version = "ab"
|
|
235
|
+
* isStable = true
|
|
236
|
+
* templateYaml = <<-EOT
|
|
237
|
+
* template:
|
|
238
|
+
* name: "name"
|
|
239
|
+
* identifier: "identifier"
|
|
240
|
+
* versionLabel: "ab"
|
|
241
|
+
* type: Step
|
|
242
|
+
* projectIdentifier: ${harness_platform_project.test.id}
|
|
243
|
+
* orgIdentifier: ${harness_platform_project.test.org_id}
|
|
244
|
+
* tags: {}
|
|
245
|
+
* spec:
|
|
246
|
+
* timeout: 10m
|
|
247
|
+
* type: ShellScript
|
|
248
|
+
* spec:
|
|
249
|
+
* shell: Bash
|
|
250
|
+
* onDelegate: true
|
|
251
|
+
* source:
|
|
252
|
+
* type: Inline
|
|
253
|
+
* spec:
|
|
254
|
+
* script: <+input>
|
|
255
|
+
* environmentVariables: []
|
|
256
|
+
* outputVariables: []
|
|
257
|
+
*
|
|
258
|
+
* EOT
|
|
259
|
+
* }
|
|
260
|
+
*
|
|
261
|
+
* ## Remote Step template
|
|
262
|
+
*
|
|
263
|
+
* resource "harness.platform.Template" "stepTemplateRemote" {
|
|
264
|
+
* identifier = "identifier"
|
|
265
|
+
* orgId = harness_platform_project.test.org_id
|
|
266
|
+
* projectId = harness_platform_project.test.id
|
|
267
|
+
* name = "name"
|
|
268
|
+
* comments = "comments"
|
|
269
|
+
* version = "ab"
|
|
270
|
+
* isStable = true
|
|
271
|
+
* gitDetails {
|
|
272
|
+
* branchName = "main"
|
|
273
|
+
* commitMessage = "Commit"
|
|
274
|
+
* filePath = "filePath"
|
|
275
|
+
* connectorRef = "account.connector_ref"
|
|
276
|
+
* storeType = "REMOTE"
|
|
277
|
+
* repoName = "repoName"
|
|
278
|
+
* }
|
|
279
|
+
* templateYaml = <<-EOT
|
|
280
|
+
* template:
|
|
281
|
+
* name: "name"
|
|
282
|
+
* identifier: "identifier"
|
|
283
|
+
* versionLabel: "ab"
|
|
284
|
+
* type: Step
|
|
285
|
+
* projectIdentifier: ${harness_platform_project.test.id}
|
|
286
|
+
* orgIdentifier: ${harness_platform_project.test.org_id}
|
|
287
|
+
* tags: {}
|
|
288
|
+
* spec:
|
|
289
|
+
* timeout: 10m
|
|
290
|
+
* type: ShellScript
|
|
291
|
+
* spec:
|
|
292
|
+
* shell: Bash
|
|
293
|
+
* onDelegate: true
|
|
294
|
+
* source:
|
|
295
|
+
* type: Inline
|
|
296
|
+
* spec:
|
|
297
|
+
* script: <+input>
|
|
298
|
+
* environmentVariables: []
|
|
299
|
+
* outputVariables: []
|
|
300
|
+
*
|
|
301
|
+
* EOT
|
|
302
|
+
* }
|
|
303
|
+
*
|
|
304
|
+
* ## Remote Step template to create new branch from existing branch
|
|
305
|
+
*
|
|
306
|
+
* resource "harness.platform.Template" "stepTemplateRemote" {
|
|
307
|
+
* identifier = "identifier"
|
|
308
|
+
* orgId = harness_platform_project.test.org_id
|
|
309
|
+
* projectId = harness_platform_project.test.id
|
|
310
|
+
* name = "name"
|
|
311
|
+
* comments = "comments"
|
|
312
|
+
* version = "ab"
|
|
313
|
+
* isStable = true
|
|
314
|
+
* gitDetails {
|
|
315
|
+
* branchName = "newBranch"
|
|
316
|
+
* commitMessage = "Commit"
|
|
317
|
+
* filePath = "filePath"
|
|
318
|
+
* connectorRef = "account.connector_ref"
|
|
319
|
+
* storeType = "REMOTE"
|
|
320
|
+
* repoName = "repoName"
|
|
321
|
+
* baseBranch = "main"
|
|
322
|
+
* }
|
|
323
|
+
* templateYaml = <<-EOT
|
|
324
|
+
* template:
|
|
325
|
+
* name: "name"
|
|
326
|
+
* identifier: "identifier"
|
|
327
|
+
* versionLabel: "ab"
|
|
328
|
+
* type: Step
|
|
329
|
+
* projectIdentifier: ${harness_platform_project.test.id}
|
|
330
|
+
* orgIdentifier: ${harness_platform_project.test.org_id}
|
|
331
|
+
* tags: {}
|
|
332
|
+
* spec:
|
|
333
|
+
* timeout: 10m
|
|
334
|
+
* type: ShellScript
|
|
335
|
+
* spec:
|
|
336
|
+
* shell: Bash
|
|
337
|
+
* onDelegate: true
|
|
338
|
+
* source:
|
|
339
|
+
* type: Inline
|
|
340
|
+
* spec:
|
|
341
|
+
* script: <+input>
|
|
342
|
+
* environmentVariables: []
|
|
343
|
+
* outputVariables: []
|
|
344
|
+
*
|
|
345
|
+
* EOT
|
|
346
|
+
* }
|
|
347
|
+
*
|
|
348
|
+
* ## Inline Stage template
|
|
349
|
+
*
|
|
350
|
+
* resource "harness.platform.Template" "stageTemplateInline" {
|
|
351
|
+
* identifier = "identifier"
|
|
352
|
+
* orgId = harness_platform_project.test.org_id
|
|
353
|
+
* projectId = harness_platform_project.test.id
|
|
354
|
+
* name = "name"
|
|
355
|
+
* comments = "comments"
|
|
356
|
+
* version = "ab"
|
|
357
|
+
* isStable = true
|
|
358
|
+
* templateYaml = <<-EOT
|
|
359
|
+
* template:
|
|
360
|
+
* name: "name"
|
|
361
|
+
* identifier: "identifier"
|
|
362
|
+
* versionLabel: "ab"
|
|
363
|
+
* type: Stage
|
|
364
|
+
* projectIdentifier: ${harness_platform_project.test.id}
|
|
365
|
+
* orgIdentifier: ${harness_platform_project.test.org_id}
|
|
366
|
+
* tags: {}
|
|
367
|
+
* spec:
|
|
368
|
+
* type: Deployment
|
|
369
|
+
* spec:
|
|
370
|
+
* deploymentType: Kubernetes
|
|
371
|
+
* service:
|
|
372
|
+
* serviceRef: <+input>
|
|
373
|
+
* serviceInputs: <+input>
|
|
374
|
+
* environment:
|
|
375
|
+
* environmentRef: <+input>
|
|
376
|
+
* deployToAll: false
|
|
377
|
+
* environmentInputs: <+input>
|
|
378
|
+
* infrastructureDefinitions: <+input>
|
|
379
|
+
* execution:
|
|
380
|
+
* steps:
|
|
381
|
+
* - step:
|
|
382
|
+
* type: ShellScript
|
|
383
|
+
* name: Shell Script_1
|
|
384
|
+
* identifier: ShellScript_1
|
|
385
|
+
* spec:
|
|
386
|
+
* shell: Bash
|
|
387
|
+
* onDelegate: true
|
|
388
|
+
* source:
|
|
389
|
+
* type: Inline
|
|
390
|
+
* spec:
|
|
391
|
+
* script: <+input>
|
|
392
|
+
* environmentVariables: []
|
|
393
|
+
* outputVariables: []
|
|
394
|
+
* timeout: <+input>
|
|
395
|
+
* rollbackSteps: []
|
|
396
|
+
* failureStrategies:
|
|
397
|
+
* - onFailure:
|
|
398
|
+
* errors:
|
|
399
|
+
* - AllErrors
|
|
400
|
+
* action:
|
|
401
|
+
* type: StageRollback
|
|
402
|
+
*
|
|
403
|
+
* EOT
|
|
404
|
+
* }
|
|
405
|
+
*
|
|
406
|
+
* ## Remote Stage template
|
|
407
|
+
*
|
|
408
|
+
* resource "harness.platform.Template" "stageTemplateRemote" {
|
|
409
|
+
* identifier = "identifier"
|
|
410
|
+
* orgId = harness_platform_project.test.org_id
|
|
411
|
+
* projectId = harness_platform_project.test.id
|
|
412
|
+
* name = "name"
|
|
413
|
+
* comments = "comments"
|
|
414
|
+
* version = "ab"
|
|
415
|
+
* isStable = true
|
|
416
|
+
* gitDetails {
|
|
417
|
+
* branchName = "main"
|
|
418
|
+
* commitMessage = "Commit"
|
|
419
|
+
* filePath = "filePath"
|
|
420
|
+
* connectorRef = "account.connector_ref"
|
|
421
|
+
* storeType = "REMOTE"
|
|
422
|
+
* repoName = "repoName"
|
|
423
|
+
* }
|
|
424
|
+
* templateYaml = <<-EOT
|
|
425
|
+
* template:
|
|
426
|
+
* name: "name"
|
|
427
|
+
* identifier: "identifier"
|
|
428
|
+
* versionLabel: "ab"
|
|
429
|
+
* type: Stage
|
|
430
|
+
* projectIdentifier: ${harness_platform_project.test.id}
|
|
431
|
+
* orgIdentifier: ${harness_platform_project.test.org_id}
|
|
432
|
+
* tags: {}
|
|
433
|
+
* spec:
|
|
434
|
+
* type: Deployment
|
|
435
|
+
* spec:
|
|
436
|
+
* deploymentType: Kubernetes
|
|
437
|
+
* service:
|
|
438
|
+
* serviceRef: <+input>
|
|
439
|
+
* serviceInputs: <+input>
|
|
440
|
+
* environment:
|
|
441
|
+
* environmentRef: <+input>
|
|
442
|
+
* deployToAll: false
|
|
443
|
+
* environmentInputs: <+input>
|
|
444
|
+
* infrastructureDefinitions: <+input>
|
|
445
|
+
* execution:
|
|
446
|
+
* steps:
|
|
447
|
+
* - step:
|
|
448
|
+
* type: ShellScript
|
|
449
|
+
* name: Shell Script_1
|
|
450
|
+
* identifier: ShellScript_1
|
|
451
|
+
* spec:
|
|
452
|
+
* shell: Bash
|
|
453
|
+
* onDelegate: true
|
|
454
|
+
* source:
|
|
455
|
+
* type: Inline
|
|
456
|
+
* spec:
|
|
457
|
+
* script: <+input>
|
|
458
|
+
* environmentVariables: []
|
|
459
|
+
* outputVariables: []
|
|
460
|
+
* timeout: <+input>
|
|
461
|
+
* rollbackSteps: []
|
|
462
|
+
* failureStrategies:
|
|
463
|
+
* - onFailure:
|
|
464
|
+
* errors:
|
|
465
|
+
* - AllErrors
|
|
466
|
+
* action:
|
|
467
|
+
* type: StageRollback
|
|
468
|
+
*
|
|
469
|
+
* EOT
|
|
470
|
+
* }
|
|
471
|
+
*
|
|
472
|
+
* ## Remote Stage template to create new branch from existing branch
|
|
473
|
+
*
|
|
474
|
+
* resource "harness.platform.Template" "stageTemplateRemote" {
|
|
475
|
+
* identifier = "identifier"
|
|
476
|
+
* orgId = harness_platform_project.test.org_id
|
|
477
|
+
* projectId = harness_platform_project.test.id
|
|
478
|
+
* name = "name"
|
|
479
|
+
* comments = "comments"
|
|
480
|
+
* version = "ab"
|
|
481
|
+
* isStable = true
|
|
482
|
+
* gitDetails {
|
|
483
|
+
* branchName = "newBranch"
|
|
484
|
+
* commitMessage = "Commit"
|
|
485
|
+
* filePath = "filePath"
|
|
486
|
+
* connectorRef = "account.connector_ref"
|
|
487
|
+
* storeType = "REMOTE"
|
|
488
|
+
* repoName = "repoName"
|
|
489
|
+
* baseBranch = "main"
|
|
490
|
+
* }
|
|
491
|
+
* templateYaml = <<-EOT
|
|
492
|
+
* template:
|
|
493
|
+
* name: "name"
|
|
494
|
+
* identifier: "identifier"
|
|
495
|
+
* versionLabel: "ab"
|
|
496
|
+
* type: Stage
|
|
497
|
+
* projectIdentifier: ${harness_platform_project.test.id}
|
|
498
|
+
* orgIdentifier: ${harness_platform_project.test.org_id}
|
|
499
|
+
* tags: {}
|
|
500
|
+
* spec:
|
|
501
|
+
* type: Deployment
|
|
502
|
+
* spec:
|
|
503
|
+
* deploymentType: Kubernetes
|
|
504
|
+
* service:
|
|
505
|
+
* serviceRef: <+input>
|
|
506
|
+
* serviceInputs: <+input>
|
|
507
|
+
* environment:
|
|
508
|
+
* environmentRef: <+input>
|
|
509
|
+
* deployToAll: false
|
|
510
|
+
* environmentInputs: <+input>
|
|
511
|
+
* infrastructureDefinitions: <+input>
|
|
512
|
+
* execution:
|
|
513
|
+
* steps:
|
|
514
|
+
* - step:
|
|
515
|
+
* type: ShellScript
|
|
516
|
+
* name: Shell Script_1
|
|
517
|
+
* identifier: ShellScript_1
|
|
518
|
+
* spec:
|
|
519
|
+
* shell: Bash
|
|
520
|
+
* onDelegate: true
|
|
521
|
+
* source:
|
|
522
|
+
* type: Inline
|
|
523
|
+
* spec:
|
|
524
|
+
* script: <+input>
|
|
525
|
+
* environmentVariables: []
|
|
526
|
+
* outputVariables: []
|
|
527
|
+
* timeout: <+input>
|
|
528
|
+
* rollbackSteps: []
|
|
529
|
+
* failureStrategies:
|
|
530
|
+
* - onFailure:
|
|
531
|
+
* errors:
|
|
532
|
+
* - AllErrors
|
|
533
|
+
* action:
|
|
534
|
+
* type: StageRollback
|
|
535
|
+
*
|
|
536
|
+
* EOT
|
|
537
|
+
* }
|
|
538
|
+
*
|
|
539
|
+
* ## Inline StepGroup template
|
|
540
|
+
*
|
|
541
|
+
* resource "harness.platform.Template" "stepgroupTemplateInline" {
|
|
542
|
+
* identifier = "identifier"
|
|
543
|
+
* orgId = harness_platform_project.test.org_id
|
|
544
|
+
* projectId = harness_platform_project.test.id
|
|
545
|
+
* name = "name"
|
|
546
|
+
* comments = "comments"
|
|
547
|
+
* version = "ab"
|
|
548
|
+
* isStable = true
|
|
549
|
+
* templateYaml = <<-EOT
|
|
550
|
+
* template:
|
|
551
|
+
* name: "name"
|
|
552
|
+
* identifier: "identifier"
|
|
553
|
+
* versionLabel: "ab"
|
|
554
|
+
* type: StepGroup
|
|
555
|
+
* projectIdentifier: ${harness_platform_project.test.id}
|
|
556
|
+
* orgIdentifier: ${harness_platform_project.test.org_id}
|
|
557
|
+
* tags: {}
|
|
558
|
+
* spec:
|
|
559
|
+
* stageType: Deployment
|
|
560
|
+
* steps:
|
|
561
|
+
* - step:
|
|
562
|
+
* type: ShellScript
|
|
563
|
+
* name: Shell Script_1
|
|
564
|
+
* identifier: ShellScript_1
|
|
565
|
+
* spec:
|
|
566
|
+
* shell: Bash
|
|
567
|
+
* onDelegate: true
|
|
568
|
+
* source:
|
|
569
|
+
* type: Inline
|
|
570
|
+
* spec:
|
|
571
|
+
* script: <+input>
|
|
572
|
+
* environmentVariables: []
|
|
573
|
+
* outputVariables: []
|
|
574
|
+
* timeout: 10m
|
|
575
|
+
*
|
|
576
|
+
* EOT
|
|
577
|
+
* }
|
|
578
|
+
*
|
|
579
|
+
* ## Remote StepGroup template
|
|
580
|
+
*
|
|
581
|
+
* resource "harness.platform.Template" "stepgroupTemplateRemote" {
|
|
582
|
+
* identifier = "identifier"
|
|
583
|
+
* orgId = harness_platform_project.test.org_id
|
|
584
|
+
* projectId = harness_platform_project.test.id
|
|
585
|
+
* name = "name"
|
|
586
|
+
* comments = "comments"
|
|
587
|
+
* version = "ab"
|
|
588
|
+
* isStable = true
|
|
589
|
+
* gitDetails {
|
|
590
|
+
* branchName = "main"
|
|
591
|
+
* commitMessage = "Commit"
|
|
592
|
+
* filePath = "filePath"
|
|
593
|
+
* connectorRef = "account.connector_ref"
|
|
594
|
+
* storeType = "REMOTE"
|
|
595
|
+
* repoName = "repoName"
|
|
596
|
+
* }
|
|
597
|
+
* templateYaml = <<-EOT
|
|
598
|
+
* template:
|
|
599
|
+
* name: "name"
|
|
600
|
+
* identifier: "identifier"
|
|
601
|
+
* versionLabel: "ab"
|
|
602
|
+
* type: StepGroup
|
|
603
|
+
* projectIdentifier: ${harness_platform_project.test.id}
|
|
604
|
+
* orgIdentifier: ${harness_platform_project.test.org_id}
|
|
605
|
+
* tags: {}
|
|
606
|
+
* spec:
|
|
607
|
+
* stageType: Deployment
|
|
608
|
+
* steps:
|
|
609
|
+
* - step:
|
|
610
|
+
* type: ShellScript
|
|
611
|
+
* name: Shell Script_1
|
|
612
|
+
* identifier: ShellScript_1
|
|
613
|
+
* spec:
|
|
614
|
+
* shell: Bash
|
|
615
|
+
* onDelegate: true
|
|
616
|
+
* source:
|
|
617
|
+
* type: Inline
|
|
618
|
+
* spec:
|
|
619
|
+
* script: <+input>
|
|
620
|
+
* environmentVariables: []
|
|
621
|
+
* outputVariables: []
|
|
622
|
+
* timeout: 10m
|
|
623
|
+
*
|
|
624
|
+
* EOT
|
|
625
|
+
* }
|
|
626
|
+
*
|
|
627
|
+
* ## Remote StepGroup template to create new branch from existing branch
|
|
628
|
+
*
|
|
629
|
+
* resource "harness.platform.Template" "stepgroupTemplateRemote" {
|
|
630
|
+
* identifier = "identifier"
|
|
631
|
+
* orgId = harness_platform_project.test.org_id
|
|
632
|
+
* projectId = harness_platform_project.test.id
|
|
633
|
+
* name = "name"
|
|
634
|
+
* comments = "comments"
|
|
635
|
+
* version = "ab"
|
|
636
|
+
* isStable = true
|
|
637
|
+
* gitDetails {
|
|
638
|
+
* branchName = "newBranch"
|
|
639
|
+
* commitMessage = "Commit"
|
|
640
|
+
* filePath = "filePath"
|
|
641
|
+
* connectorRef = "account.connector_ref"
|
|
642
|
+
* storeType = "REMOTE"
|
|
643
|
+
* repoName = "repoName"
|
|
644
|
+
* baseBranch = "main"
|
|
645
|
+
* }
|
|
646
|
+
* templateYaml = <<-EOT
|
|
647
|
+
* template:
|
|
648
|
+
* name: "name"
|
|
649
|
+
* identifier: "identifier"
|
|
650
|
+
* versionLabel: "ab"
|
|
651
|
+
* type: StepGroup
|
|
652
|
+
* projectIdentifier: ${harness_platform_project.test.id}
|
|
653
|
+
* orgIdentifier: ${harness_platform_project.test.org_id}
|
|
654
|
+
* tags: {}
|
|
655
|
+
* spec:
|
|
656
|
+
* stageType: Deployment
|
|
657
|
+
* steps:
|
|
658
|
+
* - step:
|
|
659
|
+
* type: ShellScript
|
|
660
|
+
* name: Shell Script_1
|
|
661
|
+
* identifier: ShellScript_1
|
|
662
|
+
* spec:
|
|
663
|
+
* shell: Bash
|
|
664
|
+
* onDelegate: true
|
|
665
|
+
* source:
|
|
666
|
+
* type: Inline
|
|
667
|
+
* spec:
|
|
668
|
+
* script: <+input>
|
|
669
|
+
* environmentVariables: []
|
|
670
|
+
* outputVariables: []
|
|
671
|
+
* timeout: 10m
|
|
672
|
+
*
|
|
673
|
+
* EOT
|
|
674
|
+
* }
|
|
675
|
+
*
|
|
676
|
+
* ## Inline Monitered Service template
|
|
677
|
+
*
|
|
678
|
+
* resource "harness.platform.Template" "moniteredServiceTemplateInline" {
|
|
679
|
+
* identifier = "identifier"
|
|
680
|
+
* orgId = harness_platform_project.test.org_id
|
|
681
|
+
* projectId = harness_platform_project.test.id
|
|
682
|
+
* name = "name"
|
|
683
|
+
* comments = "comments"
|
|
684
|
+
* version = "ab"
|
|
685
|
+
* isStable = true
|
|
686
|
+
* templateYaml = <<-EOT
|
|
687
|
+
* template:
|
|
688
|
+
* name: "name"
|
|
689
|
+
* identifier: "identifier"
|
|
690
|
+
* versionLabel: "ab"
|
|
691
|
+
* type: MonitoredService
|
|
692
|
+
* projectIdentifier: ${harness_platform_project.test.id}
|
|
693
|
+
* orgIdentifier: ${harness_platform_project.test.org_id}
|
|
694
|
+
* tags: {}
|
|
695
|
+
* spec:
|
|
696
|
+
* serviceRef: <+input>
|
|
697
|
+
* environmentRef: <+input>
|
|
698
|
+
* type: Application
|
|
699
|
+
* sources:
|
|
700
|
+
* changeSources:
|
|
701
|
+
* - name: Harness CD Next Gen
|
|
702
|
+
* identifier: harnessCdNextGen
|
|
703
|
+
* type: HarnessCDNextGen
|
|
704
|
+
* enabled: true
|
|
705
|
+
* category: Deployment
|
|
706
|
+
* spec: {}
|
|
707
|
+
* healthSources:
|
|
708
|
+
* - name: health
|
|
709
|
+
* identifier: health
|
|
710
|
+
* type: AppDynamics
|
|
711
|
+
* spec:
|
|
712
|
+
* applicationName: <+input>
|
|
713
|
+
* tierName: <+input>
|
|
714
|
+
* metricData:
|
|
715
|
+
* Errors: true
|
|
716
|
+
* Performance: true
|
|
717
|
+
* metricDefinitions: []
|
|
718
|
+
* feature: Application Monitoring
|
|
719
|
+
* connectorRef: <+input>
|
|
720
|
+
* metricPacks:
|
|
721
|
+
* - identifier: Errors
|
|
722
|
+
* - identifier: Performance
|
|
723
|
+
*
|
|
724
|
+
* EOT
|
|
725
|
+
* }
|
|
726
|
+
*
|
|
727
|
+
* ## Artifact Source template
|
|
728
|
+
*
|
|
729
|
+
* resource "harness.platform.Template" "artifactSourceTemplate" {
|
|
730
|
+
* identifier = "identifier"
|
|
731
|
+
* orgId = harness_platform_project.test.org_id
|
|
732
|
+
* projectId = harness_platform_project.test.id
|
|
733
|
+
* name = "name"
|
|
734
|
+
* comments = "comments"
|
|
735
|
+
* version = "ab"
|
|
736
|
+
* isStable = true
|
|
737
|
+
* templateYaml = <<-EOT
|
|
738
|
+
* template:
|
|
739
|
+
* name: "name"
|
|
740
|
+
* identifier: "identifier"
|
|
741
|
+
* versionLabel: "ab"
|
|
742
|
+
* type: ArtifactSource
|
|
743
|
+
* projectIdentifier: ${harness_platform_project.test.id}
|
|
744
|
+
* orgIdentifier: ${harness_platform_project.test.org_id}
|
|
745
|
+
* tags: {}
|
|
746
|
+
* spec:
|
|
747
|
+
* type: DockerRegistry
|
|
748
|
+
* spec:
|
|
749
|
+
* imagePath: library/nginx
|
|
750
|
+
* tag: <+input>
|
|
751
|
+
* connectorRef: account.Harness_DockerHub
|
|
752
|
+
*
|
|
753
|
+
* EOT
|
|
754
|
+
* }
|
|
755
|
+
*
|
|
756
|
+
* ## Deployment template
|
|
757
|
+
*
|
|
758
|
+
* resource "harness.platform.Template" "deploymentTemplate" {
|
|
759
|
+
* identifier = "identifier"
|
|
760
|
+
* orgId = harness_platform_project.test.org_id
|
|
761
|
+
* projectId = harness_platform_project.test.id
|
|
762
|
+
* name = "name"
|
|
763
|
+
* comments = "comments"
|
|
764
|
+
* version = "ab"
|
|
765
|
+
* isStable = true
|
|
766
|
+
* templateYaml = <<-EOT
|
|
767
|
+
* template:
|
|
768
|
+
* name: "name"
|
|
769
|
+
* identifier: "identifier"
|
|
770
|
+
* versionLabel: "ab"
|
|
771
|
+
* type: CustomDeployment
|
|
772
|
+
* projectIdentifier: ${harness_platform_project.test.id}
|
|
773
|
+
* orgIdentifier: ${harness_platform_project.test.org_id}
|
|
774
|
+
* tags: {}
|
|
775
|
+
* spec:
|
|
776
|
+
* infrastructure:
|
|
777
|
+
* variables:
|
|
778
|
+
* - name: kubeConnector
|
|
779
|
+
* type: Connector
|
|
780
|
+
* value: <+input>
|
|
781
|
+
* description: ""
|
|
782
|
+
* fetchInstancesScript:
|
|
783
|
+
* store:
|
|
784
|
+
* type: Inline
|
|
785
|
+
* spec:
|
|
786
|
+
* content: |
|
|
787
|
+
* #
|
|
788
|
+
* # Script is expected to query Infrastructure and dump json
|
|
789
|
+
* # in $INSTANCE_OUTPUT_PATH file path
|
|
790
|
+
* #
|
|
791
|
+
* # Harness is expected to initialize ${INSTANCE_OUTPUT_PATH}
|
|
792
|
+
* # environment variable - a random unique file path on delegate,
|
|
793
|
+
* # so script execution can save the result.
|
|
794
|
+
* #
|
|
795
|
+
* /opt/harness-delegate/client-tools/kubectl/v1.19.2/kubectl get pods --namespace=harness-delegate-ng -o json > $INSTANCE_OUTPUT_PATH
|
|
796
|
+
* instanceAttributes:
|
|
797
|
+
* - name: instancename
|
|
798
|
+
* jsonPath: metadata.name
|
|
799
|
+
* description: ""
|
|
800
|
+
* instancesListPath: items
|
|
801
|
+
* execution:
|
|
802
|
+
* stepTemplateRefs: []
|
|
803
|
+
*
|
|
804
|
+
* EOT
|
|
805
|
+
* }
|
|
806
|
+
*
|
|
807
|
+
* ## Secrets Manager template
|
|
808
|
+
*
|
|
809
|
+
* resource "harness.platform.Template" "secretsManagerTemplate" {
|
|
810
|
+
* identifier = "identifier"
|
|
811
|
+
* orgId = harness_platform_project.test.org_id
|
|
812
|
+
* projectId = harness_platform_project.test.id
|
|
813
|
+
* name = "name"
|
|
814
|
+
* comments = "comments"
|
|
815
|
+
* version = "ab"
|
|
816
|
+
* isStable = true
|
|
817
|
+
* templateYaml = <<-EOT
|
|
818
|
+
* template:
|
|
819
|
+
* name: "name"
|
|
820
|
+
* identifier: "identifier"
|
|
821
|
+
* versionLabel: "ab"
|
|
822
|
+
* type: SecretManager
|
|
823
|
+
* projectIdentifier: ${harness_platform_project.test.id}
|
|
824
|
+
* orgIdentifier: ${harness_platform_project.test.org_id}
|
|
825
|
+
* tags: {}
|
|
826
|
+
* spec:
|
|
827
|
+
* executionTarget: {}
|
|
828
|
+
* shell: Bash
|
|
829
|
+
* onDelegate: true
|
|
830
|
+
* source:
|
|
831
|
+
* spec:
|
|
832
|
+
* script: |-
|
|
833
|
+
* curl -o secret.json -X GET https://example.com/<+secretManager.environmentVariables.enginename>/<+secretManager.environmentVariables.path> -H 'X-Vault-Token: <+secrets.getValue("vaultTokenOne")>'
|
|
834
|
+
* secret=$(jq -r '.data."<+secretManager.environmentVariables.key>"' secret.json)
|
|
835
|
+
* type: Inline
|
|
836
|
+
* environmentVariables:
|
|
837
|
+
* - name: enginename
|
|
838
|
+
* type: String
|
|
839
|
+
* value: <+input>
|
|
840
|
+
* - name: path
|
|
841
|
+
* type: String
|
|
842
|
+
* value: <+input>
|
|
843
|
+
* - name: key
|
|
844
|
+
* type: String
|
|
845
|
+
* value: <+input>
|
|
846
|
+
*
|
|
847
|
+
* EOT
|
|
848
|
+
* }
|
|
849
|
+
*
|
|
850
|
+
* Import org level template
|
|
851
|
+
*
|
|
852
|
+
* ```sh
|
|
853
|
+
* $ pulumi import harness:platform/template:Template example <ord_id>/<template_id>
|
|
854
|
+
* ```
|
|
855
|
+
*
|
|
856
|
+
* Import project level template
|
|
857
|
+
*
|
|
858
|
+
* ```sh
|
|
859
|
+
* $ pulumi import harness:platform/template:Template example <org_id>/<project_id>/<template_id>
|
|
860
|
+
* ```
|
|
861
|
+
*/
|
|
862
|
+
class Template extends pulumi.CustomResource {
|
|
863
|
+
/**
|
|
864
|
+
* Get an existing Template resource's state with the given name, ID, and optional extra
|
|
865
|
+
* properties used to qualify the lookup.
|
|
866
|
+
*
|
|
867
|
+
* @param name The _unique_ name of the resulting resource.
|
|
868
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
869
|
+
* @param state Any extra arguments used during the lookup.
|
|
870
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
871
|
+
*/
|
|
872
|
+
static get(name, id, state, opts) {
|
|
873
|
+
return new Template(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
874
|
+
}
|
|
875
|
+
/**
|
|
876
|
+
* Returns true if the given object is an instance of Template. This is designed to work even
|
|
877
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
878
|
+
*/
|
|
879
|
+
static isInstance(obj) {
|
|
880
|
+
if (obj === undefined || obj === null) {
|
|
881
|
+
return false;
|
|
882
|
+
}
|
|
883
|
+
return obj['__pulumiType'] === Template.__pulumiType;
|
|
884
|
+
}
|
|
885
|
+
constructor(name, argsOrState, opts) {
|
|
886
|
+
let resourceInputs = {};
|
|
887
|
+
opts = opts || {};
|
|
888
|
+
if (opts.id) {
|
|
889
|
+
const state = argsOrState;
|
|
890
|
+
resourceInputs["comments"] = state ? state.comments : undefined;
|
|
891
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
892
|
+
resourceInputs["forceDelete"] = state ? state.forceDelete : undefined;
|
|
893
|
+
resourceInputs["gitDetails"] = state ? state.gitDetails : undefined;
|
|
894
|
+
resourceInputs["identifier"] = state ? state.identifier : undefined;
|
|
895
|
+
resourceInputs["isStable"] = state ? state.isStable : undefined;
|
|
896
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
897
|
+
resourceInputs["orgId"] = state ? state.orgId : undefined;
|
|
898
|
+
resourceInputs["projectId"] = state ? state.projectId : undefined;
|
|
899
|
+
resourceInputs["tags"] = state ? state.tags : undefined;
|
|
900
|
+
resourceInputs["templateYaml"] = state ? state.templateYaml : undefined;
|
|
901
|
+
resourceInputs["version"] = state ? state.version : undefined;
|
|
902
|
+
}
|
|
903
|
+
else {
|
|
904
|
+
const args = argsOrState;
|
|
905
|
+
if ((!args || args.identifier === undefined) && !opts.urn) {
|
|
906
|
+
throw new Error("Missing required property 'identifier'");
|
|
907
|
+
}
|
|
908
|
+
if ((!args || args.templateYaml === undefined) && !opts.urn) {
|
|
909
|
+
throw new Error("Missing required property 'templateYaml'");
|
|
910
|
+
}
|
|
911
|
+
if ((!args || args.version === undefined) && !opts.urn) {
|
|
912
|
+
throw new Error("Missing required property 'version'");
|
|
913
|
+
}
|
|
914
|
+
resourceInputs["comments"] = args ? args.comments : undefined;
|
|
915
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
916
|
+
resourceInputs["forceDelete"] = args ? args.forceDelete : undefined;
|
|
917
|
+
resourceInputs["gitDetails"] = args ? args.gitDetails : undefined;
|
|
918
|
+
resourceInputs["identifier"] = args ? args.identifier : undefined;
|
|
919
|
+
resourceInputs["isStable"] = args ? args.isStable : undefined;
|
|
920
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
921
|
+
resourceInputs["orgId"] = args ? args.orgId : undefined;
|
|
922
|
+
resourceInputs["projectId"] = args ? args.projectId : undefined;
|
|
923
|
+
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
924
|
+
resourceInputs["templateYaml"] = args ? args.templateYaml : undefined;
|
|
925
|
+
resourceInputs["version"] = args ? args.version : undefined;
|
|
926
|
+
}
|
|
927
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
928
|
+
super(Template.__pulumiType, name, resourceInputs, opts);
|
|
929
|
+
}
|
|
930
|
+
}
|
|
931
|
+
exports.Template = Template;
|
|
932
|
+
/** @internal */
|
|
933
|
+
Template.__pulumiType = 'harness:platform/template:Template';
|
|
934
|
+
//# sourceMappingURL=template.js.map
|