harness.InfrastructureDefinition
Explore with Pulumi AI
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 create_before_destroy = true
lifecycle setting.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as harness from "@pulumi/harness";
// Creating a Kubernetes infrastructure definition
const dev = new harness.cloudprovider.Kubernetes("dev", {
name: "k8s-dev",
authentication: {
delegateSelectors: ["k8s"],
},
});
const example = new harness.Application("example", {name: "example"});
const devEnvironment = new harness.Environment("dev", {
name: "dev",
appId: example.id,
type: "NON_PROD",
});
// Creating a infrastructure of type KUBERNETES
const k8s = new harness.InfrastructureDefinition("k8s", {
name: "k8s-eks-us-east-1",
appId: example.id,
envId: devEnvironment.id,
cloudProviderType: "KUBERNETES_CLUSTER",
deploymentType: "KUBERNETES",
kubernetes: {
cloudProviderName: dev.name,
namespace: "dev",
releaseName: "${service.name}",
},
});
// Creating a Deployment Template for CUSTOM infrastructure type
const exampleYaml = new harness.YamlConfig("example_yaml", {
path: "Setup/Template Library/Example Folder/deployment_template.yaml",
content: `harnessApiVersion: '1.0'
type: CUSTOM_DEPLOYMENT_TYPE
fetchInstanceScript: |-
set -ex
curl http://\${url}/\${file_name} > \${INSTANCE_OUTPUT_PATH}
hostAttributes:
hostname: host
hostObjectArrayPath: hosts
variables:
- name: url
- name: file_name
`,
});
// Creating a infrastructure of type CUSTOM
const custom = new harness.InfrastructureDefinition("custom", {
name: "custom-infra",
appId: example.id,
envId: devEnvironment.id,
cloudProviderType: "CUSTOM",
deploymentType: "CUSTOM",
deploymentTemplateUri: pulumi.interpolate`Example Folder/${exampleYaml.name}`,
custom: {
deploymentTypeTemplateVersion: "1",
variables: [
{
name: "url",
value: "localhost:8081",
},
{
name: "file_name",
value: "instances.json",
},
],
},
});
import pulumi
import pulumi_harness as harness
# Creating a Kubernetes infrastructure definition
dev = harness.cloudprovider.Kubernetes("dev",
name="k8s-dev",
authentication={
"delegate_selectors": ["k8s"],
})
example = harness.Application("example", name="example")
dev_environment = harness.Environment("dev",
name="dev",
app_id=example.id,
type="NON_PROD")
# Creating a infrastructure of type KUBERNETES
k8s = harness.InfrastructureDefinition("k8s",
name="k8s-eks-us-east-1",
app_id=example.id,
env_id=dev_environment.id,
cloud_provider_type="KUBERNETES_CLUSTER",
deployment_type="KUBERNETES",
kubernetes={
"cloud_provider_name": dev.name,
"namespace": "dev",
"release_name": "${service.name}",
})
# Creating a Deployment Template for CUSTOM infrastructure type
example_yaml = harness.YamlConfig("example_yaml",
path="Setup/Template Library/Example Folder/deployment_template.yaml",
content="""harnessApiVersion: '1.0'
type: CUSTOM_DEPLOYMENT_TYPE
fetchInstanceScript: |-
set -ex
curl http://${url}/${file_name} > ${INSTANCE_OUTPUT_PATH}
hostAttributes:
hostname: host
hostObjectArrayPath: hosts
variables:
- name: url
- name: file_name
""")
# Creating a infrastructure of type CUSTOM
custom = harness.InfrastructureDefinition("custom",
name="custom-infra",
app_id=example.id,
env_id=dev_environment.id,
cloud_provider_type="CUSTOM",
deployment_type="CUSTOM",
deployment_template_uri=example_yaml.name.apply(lambda name: f"Example Folder/{name}"),
custom={
"deployment_type_template_version": "1",
"variables": [
{
"name": "url",
"value": "localhost:8081",
},
{
"name": "file_name",
"value": "instances.json",
},
],
})
package main
import (
"fmt"
"github.com/pulumi/pulumi-harness/sdk/go/harness"
"github.com/pulumi/pulumi-harness/sdk/go/harness/cloudprovider"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
// Creating a Kubernetes infrastructure definition
dev, err := cloudprovider.NewKubernetes(ctx, "dev", &cloudprovider.KubernetesArgs{
Name: pulumi.String("k8s-dev"),
Authentication: &cloudprovider.KubernetesAuthenticationArgs{
DelegateSelectors: pulumi.StringArray{
pulumi.String("k8s"),
},
},
})
if err != nil {
return err
}
example, err := harness.NewApplication(ctx, "example", &harness.ApplicationArgs{
Name: pulumi.String("example"),
})
if err != nil {
return err
}
devEnvironment, err := harness.NewEnvironment(ctx, "dev", &harness.EnvironmentArgs{
Name: pulumi.String("dev"),
AppId: example.ID(),
Type: pulumi.String("NON_PROD"),
})
if err != nil {
return err
}
// Creating a infrastructure of type KUBERNETES
_, err = harness.NewInfrastructureDefinition(ctx, "k8s", &harness.InfrastructureDefinitionArgs{
Name: pulumi.String("k8s-eks-us-east-1"),
AppId: example.ID(),
EnvId: devEnvironment.ID(),
CloudProviderType: pulumi.String("KUBERNETES_CLUSTER"),
DeploymentType: pulumi.String("KUBERNETES"),
Kubernetes: &harness.InfrastructureDefinitionKubernetesArgs{
CloudProviderName: dev.Name,
Namespace: pulumi.String("dev"),
ReleaseName: pulumi.String("${service.name}"),
},
})
if err != nil {
return err
}
// Creating a Deployment Template for CUSTOM infrastructure type
exampleYaml, err := harness.NewYamlConfig(ctx, "example_yaml", &harness.YamlConfigArgs{
Path: pulumi.String("Setup/Template Library/Example Folder/deployment_template.yaml"),
Content: pulumi.String(`harnessApiVersion: '1.0'
type: CUSTOM_DEPLOYMENT_TYPE
fetchInstanceScript: |-
set -ex
curl http://${url}/${file_name} > ${INSTANCE_OUTPUT_PATH}
hostAttributes:
hostname: host
hostObjectArrayPath: hosts
variables:
- name: url
- name: file_name
`),
})
if err != nil {
return err
}
// Creating a infrastructure of type CUSTOM
_, err = harness.NewInfrastructureDefinition(ctx, "custom", &harness.InfrastructureDefinitionArgs{
Name: pulumi.String("custom-infra"),
AppId: example.ID(),
EnvId: devEnvironment.ID(),
CloudProviderType: pulumi.String("CUSTOM"),
DeploymentType: pulumi.String("CUSTOM"),
DeploymentTemplateUri: exampleYaml.Name.ApplyT(func(name string) (string, error) {
return fmt.Sprintf("Example Folder/%v", name), nil
}).(pulumi.StringOutput),
Custom: &harness.InfrastructureDefinitionCustomArgs{
DeploymentTypeTemplateVersion: pulumi.String("1"),
Variables: harness.InfrastructureDefinitionCustomVariableArray{
&harness.InfrastructureDefinitionCustomVariableArgs{
Name: pulumi.String("url"),
Value: pulumi.String("localhost:8081"),
},
&harness.InfrastructureDefinitionCustomVariableArgs{
Name: pulumi.String("file_name"),
Value: pulumi.String("instances.json"),
},
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Harness = Pulumi.Harness;
return await Deployment.RunAsync(() =>
{
// Creating a Kubernetes infrastructure definition
var dev = new Harness.Cloudprovider.Kubernetes("dev", new()
{
Name = "k8s-dev",
Authentication = new Harness.Cloudprovider.Inputs.KubernetesAuthenticationArgs
{
DelegateSelectors = new[]
{
"k8s",
},
},
});
var example = new Harness.Application("example", new()
{
Name = "example",
});
var devEnvironment = new Harness.Environment("dev", new()
{
Name = "dev",
AppId = example.Id,
Type = "NON_PROD",
});
// Creating a infrastructure of type KUBERNETES
var k8s = new Harness.InfrastructureDefinition("k8s", new()
{
Name = "k8s-eks-us-east-1",
AppId = example.Id,
EnvId = devEnvironment.Id,
CloudProviderType = "KUBERNETES_CLUSTER",
DeploymentType = "KUBERNETES",
Kubernetes = new Harness.Inputs.InfrastructureDefinitionKubernetesArgs
{
CloudProviderName = dev.Name,
Namespace = "dev",
ReleaseName = "${service.name}",
},
});
// Creating a Deployment Template for CUSTOM infrastructure type
var exampleYaml = new Harness.YamlConfig("example_yaml", new()
{
Path = "Setup/Template Library/Example Folder/deployment_template.yaml",
Content = @"harnessApiVersion: '1.0'
type: CUSTOM_DEPLOYMENT_TYPE
fetchInstanceScript: |-
set -ex
curl http://${url}/${file_name} > ${INSTANCE_OUTPUT_PATH}
hostAttributes:
hostname: host
hostObjectArrayPath: hosts
variables:
- name: url
- name: file_name
",
});
// Creating a infrastructure of type CUSTOM
var custom = new Harness.InfrastructureDefinition("custom", new()
{
Name = "custom-infra",
AppId = example.Id,
EnvId = devEnvironment.Id,
CloudProviderType = "CUSTOM",
DeploymentType = "CUSTOM",
DeploymentTemplateUri = exampleYaml.Name.Apply(name => $"Example Folder/{name}"),
Custom = new Harness.Inputs.InfrastructureDefinitionCustomArgs
{
DeploymentTypeTemplateVersion = "1",
Variables = new[]
{
new Harness.Inputs.InfrastructureDefinitionCustomVariableArgs
{
Name = "url",
Value = "localhost:8081",
},
new Harness.Inputs.InfrastructureDefinitionCustomVariableArgs
{
Name = "file_name",
Value = "instances.json",
},
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.harness.cloudprovider.Kubernetes;
import com.pulumi.harness.cloudprovider.KubernetesArgs;
import com.pulumi.harness.cloudprovider.inputs.KubernetesAuthenticationArgs;
import com.pulumi.harness.Application;
import com.pulumi.harness.ApplicationArgs;
import com.pulumi.harness.Environment;
import com.pulumi.harness.EnvironmentArgs;
import com.pulumi.harness.InfrastructureDefinition;
import com.pulumi.harness.InfrastructureDefinitionArgs;
import com.pulumi.harness.inputs.InfrastructureDefinitionKubernetesArgs;
import com.pulumi.harness.YamlConfig;
import com.pulumi.harness.YamlConfigArgs;
import com.pulumi.harness.inputs.InfrastructureDefinitionCustomArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
// Creating a Kubernetes infrastructure definition
var dev = new Kubernetes("dev", KubernetesArgs.builder()
.name("k8s-dev")
.authentication(KubernetesAuthenticationArgs.builder()
.delegateSelectors("k8s")
.build())
.build());
var example = new Application("example", ApplicationArgs.builder()
.name("example")
.build());
var devEnvironment = new Environment("devEnvironment", EnvironmentArgs.builder()
.name("dev")
.appId(example.id())
.type("NON_PROD")
.build());
// Creating a infrastructure of type KUBERNETES
var k8s = new InfrastructureDefinition("k8s", InfrastructureDefinitionArgs.builder()
.name("k8s-eks-us-east-1")
.appId(example.id())
.envId(devEnvironment.id())
.cloudProviderType("KUBERNETES_CLUSTER")
.deploymentType("KUBERNETES")
.kubernetes(InfrastructureDefinitionKubernetesArgs.builder()
.cloudProviderName(dev.name())
.namespace("dev")
.releaseName("${service.name}")
.build())
.build());
// Creating a Deployment Template for CUSTOM infrastructure type
var exampleYaml = new YamlConfig("exampleYaml", YamlConfigArgs.builder()
.path("Setup/Template Library/Example Folder/deployment_template.yaml")
.content("""
harnessApiVersion: '1.0'
type: CUSTOM_DEPLOYMENT_TYPE
fetchInstanceScript: |-
set -ex
curl http://${url}/${file_name} > ${INSTANCE_OUTPUT_PATH}
hostAttributes:
hostname: host
hostObjectArrayPath: hosts
variables:
- name: url
- name: file_name
""")
.build());
// Creating a infrastructure of type CUSTOM
var custom = new InfrastructureDefinition("custom", InfrastructureDefinitionArgs.builder()
.name("custom-infra")
.appId(example.id())
.envId(devEnvironment.id())
.cloudProviderType("CUSTOM")
.deploymentType("CUSTOM")
.deploymentTemplateUri(exampleYaml.name().applyValue(name -> String.format("Example Folder/%s", name)))
.custom(InfrastructureDefinitionCustomArgs.builder()
.deploymentTypeTemplateVersion("1")
.variables(
InfrastructureDefinitionCustomVariableArgs.builder()
.name("url")
.value("localhost:8081")
.build(),
InfrastructureDefinitionCustomVariableArgs.builder()
.name("file_name")
.value("instances.json")
.build())
.build())
.build());
}
}
resources:
# Creating a Kubernetes infrastructure definition
dev:
type: harness:cloudprovider:Kubernetes
properties:
name: k8s-dev
authentication:
delegateSelectors:
- k8s
example:
type: harness:Application
properties:
name: example
devEnvironment:
type: harness:Environment
name: dev
properties:
name: dev
appId: ${example.id}
type: NON_PROD
# Creating a infrastructure of type KUBERNETES
k8s:
type: harness:InfrastructureDefinition
properties:
name: k8s-eks-us-east-1
appId: ${example.id}
envId: ${devEnvironment.id}
cloudProviderType: KUBERNETES_CLUSTER
deploymentType: KUBERNETES
kubernetes:
cloudProviderName: ${dev.name}
namespace: dev
releaseName: ${service.name}
# Creating a Deployment Template for CUSTOM infrastructure type
exampleYaml:
type: harness:YamlConfig
name: example_yaml
properties:
path: Setup/Template Library/Example Folder/deployment_template.yaml
content: |
harnessApiVersion: '1.0'
type: CUSTOM_DEPLOYMENT_TYPE
fetchInstanceScript: |-
set -ex
curl http://${url}/${file_name} > ${INSTANCE_OUTPUT_PATH}
hostAttributes:
hostname: host
hostObjectArrayPath: hosts
variables:
- name: url
- name: file_name
# Creating a infrastructure of type CUSTOM
custom:
type: harness:InfrastructureDefinition
properties:
name: custom-infra
appId: ${example.id}
envId: ${devEnvironment.id}
cloudProviderType: CUSTOM
deploymentType: CUSTOM
deploymentTemplateUri: Example Folder/${exampleYaml.name}
custom:
deploymentTypeTemplateVersion: '1'
variables:
- name: url
value: localhost:8081
- name: file_name
value: instances.json
Create InfrastructureDefinition Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new InfrastructureDefinition(name: string, args: InfrastructureDefinitionArgs, opts?: CustomResourceOptions);
@overload
def InfrastructureDefinition(resource_name: str,
args: InfrastructureDefinitionArgs,
opts: Optional[ResourceOptions] = None)
@overload
def InfrastructureDefinition(resource_name: str,
opts: Optional[ResourceOptions] = None,
cloud_provider_type: Optional[str] = None,
env_id: Optional[str] = None,
deployment_type: Optional[str] = None,
app_id: Optional[str] = None,
datacenter_ssh: Optional[InfrastructureDefinitionDatacenterSshArgs] = None,
aws_ecs: Optional[InfrastructureDefinitionAwsEcsArgs] = None,
azure_vmss: Optional[InfrastructureDefinitionAzureVmssArgs] = None,
azure_webapp: Optional[InfrastructureDefinitionAzureWebappArgs] = None,
aws_ssh: Optional[InfrastructureDefinitionAwsSshArgs] = None,
custom: Optional[InfrastructureDefinitionCustomArgs] = None,
aws_lambda: Optional[InfrastructureDefinitionAwsLambdaArgs] = None,
datacenter_winrm: Optional[InfrastructureDefinitionDatacenterWinrmArgs] = None,
deployment_template_uri: Optional[str] = None,
aws_winrm: Optional[InfrastructureDefinitionAwsWinrmArgs] = None,
aws_ami: Optional[InfrastructureDefinitionAwsAmiArgs] = None,
kubernetes: Optional[InfrastructureDefinitionKubernetesArgs] = None,
kubernetes_gcp: Optional[InfrastructureDefinitionKubernetesGcpArgs] = None,
name: Optional[str] = None,
provisioner_name: Optional[str] = None,
scoped_services: Optional[Sequence[str]] = None,
tanzu: Optional[InfrastructureDefinitionTanzuArgs] = None)
func NewInfrastructureDefinition(ctx *Context, name string, args InfrastructureDefinitionArgs, opts ...ResourceOption) (*InfrastructureDefinition, error)
public InfrastructureDefinition(string name, InfrastructureDefinitionArgs args, CustomResourceOptions? opts = null)
public InfrastructureDefinition(String name, InfrastructureDefinitionArgs args)
public InfrastructureDefinition(String name, InfrastructureDefinitionArgs args, CustomResourceOptions options)
type: harness:InfrastructureDefinition
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args InfrastructureDefinitionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args InfrastructureDefinitionArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args InfrastructureDefinitionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args InfrastructureDefinitionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args InfrastructureDefinitionArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var infrastructureDefinitionResource = new Harness.InfrastructureDefinition("infrastructureDefinitionResource", new()
{
CloudProviderType = "string",
EnvId = "string",
DeploymentType = "string",
AppId = "string",
DatacenterSsh = new Harness.Inputs.InfrastructureDefinitionDatacenterSshArgs
{
CloudProviderName = "string",
HostConnectionAttributesName = "string",
Hostnames = new[]
{
"string",
},
},
AwsEcs = new Harness.Inputs.InfrastructureDefinitionAwsEcsArgs
{
CloudProviderName = "string",
ClusterName = "string",
LaunchType = "string",
Region = "string",
AssignPublicIp = false,
ExecutionRole = "string",
SecurityGroupIds = new[]
{
"string",
},
SubnetIds = new[]
{
"string",
},
VpcId = "string",
},
AzureVmss = new Harness.Inputs.InfrastructureDefinitionAzureVmssArgs
{
AuthType = "string",
BaseName = "string",
CloudProviderName = "string",
DeploymentType = "string",
ResourceGroupName = "string",
SubscriptionId = "string",
Username = "string",
HostConnectionAttrsName = "string",
},
AzureWebapp = new Harness.Inputs.InfrastructureDefinitionAzureWebappArgs
{
CloudProviderName = "string",
ResourceGroup = "string",
SubscriptionId = "string",
},
AwsSsh = new Harness.Inputs.InfrastructureDefinitionAwsSshArgs
{
CloudProviderName = "string",
HostConnectionType = "string",
Region = "string",
AutoscalingGroupName = "string",
DesiredCapacity = 0,
HostConnectionAttrsName = "string",
HostnameConvention = "string",
LoadbalancerName = "string",
Tags = new[]
{
new Harness.Inputs.InfrastructureDefinitionAwsSshTagArgs
{
Key = "string",
Value = "string",
},
},
VpcIds = new[]
{
"string",
},
},
Custom = new Harness.Inputs.InfrastructureDefinitionCustomArgs
{
DeploymentTypeTemplateVersion = "string",
Variables = new[]
{
new Harness.Inputs.InfrastructureDefinitionCustomVariableArgs
{
Name = "string",
Value = "string",
},
},
},
AwsLambda = new Harness.Inputs.InfrastructureDefinitionAwsLambdaArgs
{
CloudProviderName = "string",
Region = "string",
IamRole = "string",
SecurityGroupIds = new[]
{
"string",
},
SubnetIds = new[]
{
"string",
},
VpcId = "string",
},
DatacenterWinrm = new Harness.Inputs.InfrastructureDefinitionDatacenterWinrmArgs
{
CloudProviderName = "string",
Hostnames = new[]
{
"string",
},
WinrmConnectionAttributesName = "string",
},
DeploymentTemplateUri = "string",
AwsWinrm = new Harness.Inputs.InfrastructureDefinitionAwsWinrmArgs
{
AutoscalingGroupName = "string",
CloudProviderName = "string",
HostConnectionAttrsName = "string",
HostConnectionType = "string",
Region = "string",
DesiredCapacity = 0,
HostnameConvention = "string",
LoadbalancerName = "string",
},
AwsAmi = new Harness.Inputs.InfrastructureDefinitionAwsAmiArgs
{
AmiDeploymentType = "string",
Region = "string",
CloudProviderName = "string",
ClassicLoadbalancers = new[]
{
"string",
},
AutoscalingGroupName = "string",
HostnameConvention = "string",
AsgIdentifiesWorkload = false,
SpotinstCloudProviderName = "string",
SpotinstConfigJson = "string",
StageClassicLoadbalancers = new[]
{
"string",
},
StageTargetGroupArns = new[]
{
"string",
},
TargetGroupArns = new[]
{
"string",
},
UseTrafficShift = false,
},
Kubernetes = new Harness.Inputs.InfrastructureDefinitionKubernetesArgs
{
CloudProviderName = "string",
Namespace = "string",
ReleaseName = "string",
},
KubernetesGcp = new Harness.Inputs.InfrastructureDefinitionKubernetesGcpArgs
{
CloudProviderName = "string",
ClusterName = "string",
Namespace = "string",
ReleaseName = "string",
},
Name = "string",
ProvisionerName = "string",
ScopedServices = new[]
{
"string",
},
Tanzu = new Harness.Inputs.InfrastructureDefinitionTanzuArgs
{
CloudProviderName = "string",
Organization = "string",
Space = "string",
},
});
example, err := harness.NewInfrastructureDefinition(ctx, "infrastructureDefinitionResource", &harness.InfrastructureDefinitionArgs{
CloudProviderType: pulumi.String("string"),
EnvId: pulumi.String("string"),
DeploymentType: pulumi.String("string"),
AppId: pulumi.String("string"),
DatacenterSsh: &harness.InfrastructureDefinitionDatacenterSshArgs{
CloudProviderName: pulumi.String("string"),
HostConnectionAttributesName: pulumi.String("string"),
Hostnames: pulumi.StringArray{
pulumi.String("string"),
},
},
AwsEcs: &harness.InfrastructureDefinitionAwsEcsArgs{
CloudProviderName: pulumi.String("string"),
ClusterName: pulumi.String("string"),
LaunchType: pulumi.String("string"),
Region: pulumi.String("string"),
AssignPublicIp: pulumi.Bool(false),
ExecutionRole: pulumi.String("string"),
SecurityGroupIds: pulumi.StringArray{
pulumi.String("string"),
},
SubnetIds: pulumi.StringArray{
pulumi.String("string"),
},
VpcId: pulumi.String("string"),
},
AzureVmss: &harness.InfrastructureDefinitionAzureVmssArgs{
AuthType: pulumi.String("string"),
BaseName: pulumi.String("string"),
CloudProviderName: pulumi.String("string"),
DeploymentType: pulumi.String("string"),
ResourceGroupName: pulumi.String("string"),
SubscriptionId: pulumi.String("string"),
Username: pulumi.String("string"),
HostConnectionAttrsName: pulumi.String("string"),
},
AzureWebapp: &harness.InfrastructureDefinitionAzureWebappArgs{
CloudProviderName: pulumi.String("string"),
ResourceGroup: pulumi.String("string"),
SubscriptionId: pulumi.String("string"),
},
AwsSsh: &harness.InfrastructureDefinitionAwsSshArgs{
CloudProviderName: pulumi.String("string"),
HostConnectionType: pulumi.String("string"),
Region: pulumi.String("string"),
AutoscalingGroupName: pulumi.String("string"),
DesiredCapacity: pulumi.Int(0),
HostConnectionAttrsName: pulumi.String("string"),
HostnameConvention: pulumi.String("string"),
LoadbalancerName: pulumi.String("string"),
Tags: harness.InfrastructureDefinitionAwsSshTagArray{
&harness.InfrastructureDefinitionAwsSshTagArgs{
Key: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
VpcIds: pulumi.StringArray{
pulumi.String("string"),
},
},
Custom: &harness.InfrastructureDefinitionCustomArgs{
DeploymentTypeTemplateVersion: pulumi.String("string"),
Variables: harness.InfrastructureDefinitionCustomVariableArray{
&harness.InfrastructureDefinitionCustomVariableArgs{
Name: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
},
AwsLambda: &harness.InfrastructureDefinitionAwsLambdaArgs{
CloudProviderName: pulumi.String("string"),
Region: pulumi.String("string"),
IamRole: pulumi.String("string"),
SecurityGroupIds: pulumi.StringArray{
pulumi.String("string"),
},
SubnetIds: pulumi.StringArray{
pulumi.String("string"),
},
VpcId: pulumi.String("string"),
},
DatacenterWinrm: &harness.InfrastructureDefinitionDatacenterWinrmArgs{
CloudProviderName: pulumi.String("string"),
Hostnames: pulumi.StringArray{
pulumi.String("string"),
},
WinrmConnectionAttributesName: pulumi.String("string"),
},
DeploymentTemplateUri: pulumi.String("string"),
AwsWinrm: &harness.InfrastructureDefinitionAwsWinrmArgs{
AutoscalingGroupName: pulumi.String("string"),
CloudProviderName: pulumi.String("string"),
HostConnectionAttrsName: pulumi.String("string"),
HostConnectionType: pulumi.String("string"),
Region: pulumi.String("string"),
DesiredCapacity: pulumi.Int(0),
HostnameConvention: pulumi.String("string"),
LoadbalancerName: pulumi.String("string"),
},
AwsAmi: &harness.InfrastructureDefinitionAwsAmiArgs{
AmiDeploymentType: pulumi.String("string"),
Region: pulumi.String("string"),
CloudProviderName: pulumi.String("string"),
ClassicLoadbalancers: pulumi.StringArray{
pulumi.String("string"),
},
AutoscalingGroupName: pulumi.String("string"),
HostnameConvention: pulumi.String("string"),
AsgIdentifiesWorkload: pulumi.Bool(false),
SpotinstCloudProviderName: pulumi.String("string"),
SpotinstConfigJson: pulumi.String("string"),
StageClassicLoadbalancers: pulumi.StringArray{
pulumi.String("string"),
},
StageTargetGroupArns: pulumi.StringArray{
pulumi.String("string"),
},
TargetGroupArns: pulumi.StringArray{
pulumi.String("string"),
},
UseTrafficShift: pulumi.Bool(false),
},
Kubernetes: &harness.InfrastructureDefinitionKubernetesArgs{
CloudProviderName: pulumi.String("string"),
Namespace: pulumi.String("string"),
ReleaseName: pulumi.String("string"),
},
KubernetesGcp: &harness.InfrastructureDefinitionKubernetesGcpArgs{
CloudProviderName: pulumi.String("string"),
ClusterName: pulumi.String("string"),
Namespace: pulumi.String("string"),
ReleaseName: pulumi.String("string"),
},
Name: pulumi.String("string"),
ProvisionerName: pulumi.String("string"),
ScopedServices: pulumi.StringArray{
pulumi.String("string"),
},
Tanzu: &harness.InfrastructureDefinitionTanzuArgs{
CloudProviderName: pulumi.String("string"),
Organization: pulumi.String("string"),
Space: pulumi.String("string"),
},
})
var infrastructureDefinitionResource = new InfrastructureDefinition("infrastructureDefinitionResource", InfrastructureDefinitionArgs.builder()
.cloudProviderType("string")
.envId("string")
.deploymentType("string")
.appId("string")
.datacenterSsh(InfrastructureDefinitionDatacenterSshArgs.builder()
.cloudProviderName("string")
.hostConnectionAttributesName("string")
.hostnames("string")
.build())
.awsEcs(InfrastructureDefinitionAwsEcsArgs.builder()
.cloudProviderName("string")
.clusterName("string")
.launchType("string")
.region("string")
.assignPublicIp(false)
.executionRole("string")
.securityGroupIds("string")
.subnetIds("string")
.vpcId("string")
.build())
.azureVmss(InfrastructureDefinitionAzureVmssArgs.builder()
.authType("string")
.baseName("string")
.cloudProviderName("string")
.deploymentType("string")
.resourceGroupName("string")
.subscriptionId("string")
.username("string")
.hostConnectionAttrsName("string")
.build())
.azureWebapp(InfrastructureDefinitionAzureWebappArgs.builder()
.cloudProviderName("string")
.resourceGroup("string")
.subscriptionId("string")
.build())
.awsSsh(InfrastructureDefinitionAwsSshArgs.builder()
.cloudProviderName("string")
.hostConnectionType("string")
.region("string")
.autoscalingGroupName("string")
.desiredCapacity(0)
.hostConnectionAttrsName("string")
.hostnameConvention("string")
.loadbalancerName("string")
.tags(InfrastructureDefinitionAwsSshTagArgs.builder()
.key("string")
.value("string")
.build())
.vpcIds("string")
.build())
.custom(InfrastructureDefinitionCustomArgs.builder()
.deploymentTypeTemplateVersion("string")
.variables(InfrastructureDefinitionCustomVariableArgs.builder()
.name("string")
.value("string")
.build())
.build())
.awsLambda(InfrastructureDefinitionAwsLambdaArgs.builder()
.cloudProviderName("string")
.region("string")
.iamRole("string")
.securityGroupIds("string")
.subnetIds("string")
.vpcId("string")
.build())
.datacenterWinrm(InfrastructureDefinitionDatacenterWinrmArgs.builder()
.cloudProviderName("string")
.hostnames("string")
.winrmConnectionAttributesName("string")
.build())
.deploymentTemplateUri("string")
.awsWinrm(InfrastructureDefinitionAwsWinrmArgs.builder()
.autoscalingGroupName("string")
.cloudProviderName("string")
.hostConnectionAttrsName("string")
.hostConnectionType("string")
.region("string")
.desiredCapacity(0)
.hostnameConvention("string")
.loadbalancerName("string")
.build())
.awsAmi(InfrastructureDefinitionAwsAmiArgs.builder()
.amiDeploymentType("string")
.region("string")
.cloudProviderName("string")
.classicLoadbalancers("string")
.autoscalingGroupName("string")
.hostnameConvention("string")
.asgIdentifiesWorkload(false)
.spotinstCloudProviderName("string")
.spotinstConfigJson("string")
.stageClassicLoadbalancers("string")
.stageTargetGroupArns("string")
.targetGroupArns("string")
.useTrafficShift(false)
.build())
.kubernetes(InfrastructureDefinitionKubernetesArgs.builder()
.cloudProviderName("string")
.namespace("string")
.releaseName("string")
.build())
.kubernetesGcp(InfrastructureDefinitionKubernetesGcpArgs.builder()
.cloudProviderName("string")
.clusterName("string")
.namespace("string")
.releaseName("string")
.build())
.name("string")
.provisionerName("string")
.scopedServices("string")
.tanzu(InfrastructureDefinitionTanzuArgs.builder()
.cloudProviderName("string")
.organization("string")
.space("string")
.build())
.build());
infrastructure_definition_resource = harness.InfrastructureDefinition("infrastructureDefinitionResource",
cloud_provider_type="string",
env_id="string",
deployment_type="string",
app_id="string",
datacenter_ssh=harness.InfrastructureDefinitionDatacenterSshArgs(
cloud_provider_name="string",
host_connection_attributes_name="string",
hostnames=["string"],
),
aws_ecs=harness.InfrastructureDefinitionAwsEcsArgs(
cloud_provider_name="string",
cluster_name="string",
launch_type="string",
region="string",
assign_public_ip=False,
execution_role="string",
security_group_ids=["string"],
subnet_ids=["string"],
vpc_id="string",
),
azure_vmss=harness.InfrastructureDefinitionAzureVmssArgs(
auth_type="string",
base_name="string",
cloud_provider_name="string",
deployment_type="string",
resource_group_name="string",
subscription_id="string",
username="string",
host_connection_attrs_name="string",
),
azure_webapp=harness.InfrastructureDefinitionAzureWebappArgs(
cloud_provider_name="string",
resource_group="string",
subscription_id="string",
),
aws_ssh=harness.InfrastructureDefinitionAwsSshArgs(
cloud_provider_name="string",
host_connection_type="string",
region="string",
autoscaling_group_name="string",
desired_capacity=0,
host_connection_attrs_name="string",
hostname_convention="string",
loadbalancer_name="string",
tags=[harness.InfrastructureDefinitionAwsSshTagArgs(
key="string",
value="string",
)],
vpc_ids=["string"],
),
custom=harness.InfrastructureDefinitionCustomArgs(
deployment_type_template_version="string",
variables=[harness.InfrastructureDefinitionCustomVariableArgs(
name="string",
value="string",
)],
),
aws_lambda=harness.InfrastructureDefinitionAwsLambdaArgs(
cloud_provider_name="string",
region="string",
iam_role="string",
security_group_ids=["string"],
subnet_ids=["string"],
vpc_id="string",
),
datacenter_winrm=harness.InfrastructureDefinitionDatacenterWinrmArgs(
cloud_provider_name="string",
hostnames=["string"],
winrm_connection_attributes_name="string",
),
deployment_template_uri="string",
aws_winrm=harness.InfrastructureDefinitionAwsWinrmArgs(
autoscaling_group_name="string",
cloud_provider_name="string",
host_connection_attrs_name="string",
host_connection_type="string",
region="string",
desired_capacity=0,
hostname_convention="string",
loadbalancer_name="string",
),
aws_ami=harness.InfrastructureDefinitionAwsAmiArgs(
ami_deployment_type="string",
region="string",
cloud_provider_name="string",
classic_loadbalancers=["string"],
autoscaling_group_name="string",
hostname_convention="string",
asg_identifies_workload=False,
spotinst_cloud_provider_name="string",
spotinst_config_json="string",
stage_classic_loadbalancers=["string"],
stage_target_group_arns=["string"],
target_group_arns=["string"],
use_traffic_shift=False,
),
kubernetes=harness.InfrastructureDefinitionKubernetesArgs(
cloud_provider_name="string",
namespace="string",
release_name="string",
),
kubernetes_gcp=harness.InfrastructureDefinitionKubernetesGcpArgs(
cloud_provider_name="string",
cluster_name="string",
namespace="string",
release_name="string",
),
name="string",
provisioner_name="string",
scoped_services=["string"],
tanzu=harness.InfrastructureDefinitionTanzuArgs(
cloud_provider_name="string",
organization="string",
space="string",
))
const infrastructureDefinitionResource = new harness.InfrastructureDefinition("infrastructureDefinitionResource", {
cloudProviderType: "string",
envId: "string",
deploymentType: "string",
appId: "string",
datacenterSsh: {
cloudProviderName: "string",
hostConnectionAttributesName: "string",
hostnames: ["string"],
},
awsEcs: {
cloudProviderName: "string",
clusterName: "string",
launchType: "string",
region: "string",
assignPublicIp: false,
executionRole: "string",
securityGroupIds: ["string"],
subnetIds: ["string"],
vpcId: "string",
},
azureVmss: {
authType: "string",
baseName: "string",
cloudProviderName: "string",
deploymentType: "string",
resourceGroupName: "string",
subscriptionId: "string",
username: "string",
hostConnectionAttrsName: "string",
},
azureWebapp: {
cloudProviderName: "string",
resourceGroup: "string",
subscriptionId: "string",
},
awsSsh: {
cloudProviderName: "string",
hostConnectionType: "string",
region: "string",
autoscalingGroupName: "string",
desiredCapacity: 0,
hostConnectionAttrsName: "string",
hostnameConvention: "string",
loadbalancerName: "string",
tags: [{
key: "string",
value: "string",
}],
vpcIds: ["string"],
},
custom: {
deploymentTypeTemplateVersion: "string",
variables: [{
name: "string",
value: "string",
}],
},
awsLambda: {
cloudProviderName: "string",
region: "string",
iamRole: "string",
securityGroupIds: ["string"],
subnetIds: ["string"],
vpcId: "string",
},
datacenterWinrm: {
cloudProviderName: "string",
hostnames: ["string"],
winrmConnectionAttributesName: "string",
},
deploymentTemplateUri: "string",
awsWinrm: {
autoscalingGroupName: "string",
cloudProviderName: "string",
hostConnectionAttrsName: "string",
hostConnectionType: "string",
region: "string",
desiredCapacity: 0,
hostnameConvention: "string",
loadbalancerName: "string",
},
awsAmi: {
amiDeploymentType: "string",
region: "string",
cloudProviderName: "string",
classicLoadbalancers: ["string"],
autoscalingGroupName: "string",
hostnameConvention: "string",
asgIdentifiesWorkload: false,
spotinstCloudProviderName: "string",
spotinstConfigJson: "string",
stageClassicLoadbalancers: ["string"],
stageTargetGroupArns: ["string"],
targetGroupArns: ["string"],
useTrafficShift: false,
},
kubernetes: {
cloudProviderName: "string",
namespace: "string",
releaseName: "string",
},
kubernetesGcp: {
cloudProviderName: "string",
clusterName: "string",
namespace: "string",
releaseName: "string",
},
name: "string",
provisionerName: "string",
scopedServices: ["string"],
tanzu: {
cloudProviderName: "string",
organization: "string",
space: "string",
},
});
type: harness:InfrastructureDefinition
properties:
appId: string
awsAmi:
amiDeploymentType: string
asgIdentifiesWorkload: false
autoscalingGroupName: string
classicLoadbalancers:
- string
cloudProviderName: string
hostnameConvention: string
region: string
spotinstCloudProviderName: string
spotinstConfigJson: string
stageClassicLoadbalancers:
- string
stageTargetGroupArns:
- string
targetGroupArns:
- string
useTrafficShift: false
awsEcs:
assignPublicIp: false
cloudProviderName: string
clusterName: string
executionRole: string
launchType: string
region: string
securityGroupIds:
- string
subnetIds:
- string
vpcId: string
awsLambda:
cloudProviderName: string
iamRole: string
region: string
securityGroupIds:
- string
subnetIds:
- string
vpcId: string
awsSsh:
autoscalingGroupName: string
cloudProviderName: string
desiredCapacity: 0
hostConnectionAttrsName: string
hostConnectionType: string
hostnameConvention: string
loadbalancerName: string
region: string
tags:
- key: string
value: string
vpcIds:
- string
awsWinrm:
autoscalingGroupName: string
cloudProviderName: string
desiredCapacity: 0
hostConnectionAttrsName: string
hostConnectionType: string
hostnameConvention: string
loadbalancerName: string
region: string
azureVmss:
authType: string
baseName: string
cloudProviderName: string
deploymentType: string
hostConnectionAttrsName: string
resourceGroupName: string
subscriptionId: string
username: string
azureWebapp:
cloudProviderName: string
resourceGroup: string
subscriptionId: string
cloudProviderType: string
custom:
deploymentTypeTemplateVersion: string
variables:
- name: string
value: string
datacenterSsh:
cloudProviderName: string
hostConnectionAttributesName: string
hostnames:
- string
datacenterWinrm:
cloudProviderName: string
hostnames:
- string
winrmConnectionAttributesName: string
deploymentTemplateUri: string
deploymentType: string
envId: string
kubernetes:
cloudProviderName: string
namespace: string
releaseName: string
kubernetesGcp:
cloudProviderName: string
clusterName: string
namespace: string
releaseName: string
name: string
provisionerName: string
scopedServices:
- string
tanzu:
cloudProviderName: string
organization: string
space: string
InfrastructureDefinition Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The InfrastructureDefinition resource accepts the following input properties:
- App
Id string - The id of the application the infrastructure definition belongs to.
- Cloud
Provider stringType - The type of the cloud provider to connect with. Valid options are AWS, AZURE, CUSTOM, PHYSICALDATACENTER, KUBERNETESCLUSTER, PCF, SPOTINST
- Deployment
Type string - The type of the deployment to use. Valid options are AMI, AWSCODEDEPLOY, AWSLAMBDA, AZUREVMSS, AZUREWEBAPP, CUSTOM, ECS, HELM, KUBERNETES, PCF, SSH, WINRM
- Env
Id string - The id of the environment the infrastructure definition belongs to.
- Aws
Ami InfrastructureDefinition Aws Ami - The configuration details for Aws AMI deployments.
- Aws
Ecs InfrastructureDefinition Aws Ecs - The configuration details for Aws AMI deployments.
- Aws
Lambda InfrastructureDefinition Aws Lambda - The configuration details for Aws Lambda deployments.
- Aws
Ssh InfrastructureDefinition Aws Ssh - The configuration details for AWS SSH deployments.
- Aws
Winrm InfrastructureDefinition Aws Winrm - The configuration details for AWS WinRM deployments.
- Azure
Vmss InfrastructureDefinition Azure Vmss - The configuration details for Azure VMSS deployments.
- Azure
Webapp InfrastructureDefinition Azure Webapp - The configuration details for Azure WebApp deployments.
- Custom
Infrastructure
Definition Custom - The configuration details for Custom deployments.
- Datacenter
Ssh InfrastructureDefinition Datacenter Ssh - The configuration details for SSH datacenter deployments.
- Datacenter
Winrm InfrastructureDefinition Datacenter Winrm - The configuration details for WinRM datacenter deployments.
- Deployment
Template stringUri - The URI of the deployment template to use. Only used if deployment_type is
CUSTOM
. - Kubernetes
Infrastructure
Definition Kubernetes - The configuration details for Kubernetes deployments.
- Kubernetes
Gcp InfrastructureDefinition Kubernetes Gcp - The configuration details for Kubernetes on GCP deployments.
- Name string
- The name of the infrastructure definition
- Provisioner
Name string - The name of the infrastructure provisioner to use.
- Scoped
Services List<string> - The list of service names to scope this infrastructure definition to.
- Tanzu
Infrastructure
Definition Tanzu - The configuration details for PCF deployments.
- App
Id string - The id of the application the infrastructure definition belongs to.
- Cloud
Provider stringType - The type of the cloud provider to connect with. Valid options are AWS, AZURE, CUSTOM, PHYSICALDATACENTER, KUBERNETESCLUSTER, PCF, SPOTINST
- Deployment
Type string - The type of the deployment to use. Valid options are AMI, AWSCODEDEPLOY, AWSLAMBDA, AZUREVMSS, AZUREWEBAPP, CUSTOM, ECS, HELM, KUBERNETES, PCF, SSH, WINRM
- Env
Id string - The id of the environment the infrastructure definition belongs to.
- Aws
Ami InfrastructureDefinition Aws Ami Args - The configuration details for Aws AMI deployments.
- Aws
Ecs InfrastructureDefinition Aws Ecs Args - The configuration details for Aws AMI deployments.
- Aws
Lambda InfrastructureDefinition Aws Lambda Args - The configuration details for Aws Lambda deployments.
- Aws
Ssh InfrastructureDefinition Aws Ssh Args - The configuration details for AWS SSH deployments.
- Aws
Winrm InfrastructureDefinition Aws Winrm Args - The configuration details for AWS WinRM deployments.
- Azure
Vmss InfrastructureDefinition Azure Vmss Args - The configuration details for Azure VMSS deployments.
- Azure
Webapp InfrastructureDefinition Azure Webapp Args - The configuration details for Azure WebApp deployments.
- Custom
Infrastructure
Definition Custom Args - The configuration details for Custom deployments.
- Datacenter
Ssh InfrastructureDefinition Datacenter Ssh Args - The configuration details for SSH datacenter deployments.
- Datacenter
Winrm InfrastructureDefinition Datacenter Winrm Args - The configuration details for WinRM datacenter deployments.
- Deployment
Template stringUri - The URI of the deployment template to use. Only used if deployment_type is
CUSTOM
. - Kubernetes
Infrastructure
Definition Kubernetes Args - The configuration details for Kubernetes deployments.
- Kubernetes
Gcp InfrastructureDefinition Kubernetes Gcp Args - The configuration details for Kubernetes on GCP deployments.
- Name string
- The name of the infrastructure definition
- Provisioner
Name string - The name of the infrastructure provisioner to use.
- Scoped
Services []string - The list of service names to scope this infrastructure definition to.
- Tanzu
Infrastructure
Definition Tanzu Args - The configuration details for PCF deployments.
- app
Id String - The id of the application the infrastructure definition belongs to.
- cloud
Provider StringType - The type of the cloud provider to connect with. Valid options are AWS, AZURE, CUSTOM, PHYSICALDATACENTER, KUBERNETESCLUSTER, PCF, SPOTINST
- deployment
Type String - The type of the deployment to use. Valid options are AMI, AWSCODEDEPLOY, AWSLAMBDA, AZUREVMSS, AZUREWEBAPP, CUSTOM, ECS, HELM, KUBERNETES, PCF, SSH, WINRM
- env
Id String - The id of the environment the infrastructure definition belongs to.
- aws
Ami InfrastructureDefinition Aws Ami - The configuration details for Aws AMI deployments.
- aws
Ecs InfrastructureDefinition Aws Ecs - The configuration details for Aws AMI deployments.
- aws
Lambda InfrastructureDefinition Aws Lambda - The configuration details for Aws Lambda deployments.
- aws
Ssh InfrastructureDefinition Aws Ssh - The configuration details for AWS SSH deployments.
- aws
Winrm InfrastructureDefinition Aws Winrm - The configuration details for AWS WinRM deployments.
- azure
Vmss InfrastructureDefinition Azure Vmss - The configuration details for Azure VMSS deployments.
- azure
Webapp InfrastructureDefinition Azure Webapp - The configuration details for Azure WebApp deployments.
- custom
Infrastructure
Definition Custom - The configuration details for Custom deployments.
- datacenter
Ssh InfrastructureDefinition Datacenter Ssh - The configuration details for SSH datacenter deployments.
- datacenter
Winrm InfrastructureDefinition Datacenter Winrm - The configuration details for WinRM datacenter deployments.
- deployment
Template StringUri - The URI of the deployment template to use. Only used if deployment_type is
CUSTOM
. - kubernetes
Infrastructure
Definition Kubernetes - The configuration details for Kubernetes deployments.
- kubernetes
Gcp InfrastructureDefinition Kubernetes Gcp - The configuration details for Kubernetes on GCP deployments.
- name String
- The name of the infrastructure definition
- provisioner
Name String - The name of the infrastructure provisioner to use.
- scoped
Services List<String> - The list of service names to scope this infrastructure definition to.
- tanzu
Infrastructure
Definition Tanzu - The configuration details for PCF deployments.
- app
Id string - The id of the application the infrastructure definition belongs to.
- cloud
Provider stringType - The type of the cloud provider to connect with. Valid options are AWS, AZURE, CUSTOM, PHYSICALDATACENTER, KUBERNETESCLUSTER, PCF, SPOTINST
- deployment
Type string - The type of the deployment to use. Valid options are AMI, AWSCODEDEPLOY, AWSLAMBDA, AZUREVMSS, AZUREWEBAPP, CUSTOM, ECS, HELM, KUBERNETES, PCF, SSH, WINRM
- env
Id string - The id of the environment the infrastructure definition belongs to.
- aws
Ami InfrastructureDefinition Aws Ami - The configuration details for Aws AMI deployments.
- aws
Ecs InfrastructureDefinition Aws Ecs - The configuration details for Aws AMI deployments.
- aws
Lambda InfrastructureDefinition Aws Lambda - The configuration details for Aws Lambda deployments.
- aws
Ssh InfrastructureDefinition Aws Ssh - The configuration details for AWS SSH deployments.
- aws
Winrm InfrastructureDefinition Aws Winrm - The configuration details for AWS WinRM deployments.
- azure
Vmss InfrastructureDefinition Azure Vmss - The configuration details for Azure VMSS deployments.
- azure
Webapp InfrastructureDefinition Azure Webapp - The configuration details for Azure WebApp deployments.
- custom
Infrastructure
Definition Custom - The configuration details for Custom deployments.
- datacenter
Ssh InfrastructureDefinition Datacenter Ssh - The configuration details for SSH datacenter deployments.
- datacenter
Winrm InfrastructureDefinition Datacenter Winrm - The configuration details for WinRM datacenter deployments.
- deployment
Template stringUri - The URI of the deployment template to use. Only used if deployment_type is
CUSTOM
. - kubernetes
Infrastructure
Definition Kubernetes - The configuration details for Kubernetes deployments.
- kubernetes
Gcp InfrastructureDefinition Kubernetes Gcp - The configuration details for Kubernetes on GCP deployments.
- name string
- The name of the infrastructure definition
- provisioner
Name string - The name of the infrastructure provisioner to use.
- scoped
Services string[] - The list of service names to scope this infrastructure definition to.
- tanzu
Infrastructure
Definition Tanzu - The configuration details for PCF deployments.
- app_
id str - The id of the application the infrastructure definition belongs to.
- cloud_
provider_ strtype - The type of the cloud provider to connect with. Valid options are AWS, AZURE, CUSTOM, PHYSICALDATACENTER, KUBERNETESCLUSTER, PCF, SPOTINST
- deployment_
type str - The type of the deployment to use. Valid options are AMI, AWSCODEDEPLOY, AWSLAMBDA, AZUREVMSS, AZUREWEBAPP, CUSTOM, ECS, HELM, KUBERNETES, PCF, SSH, WINRM
- env_
id str - The id of the environment the infrastructure definition belongs to.
- aws_
ami InfrastructureDefinition Aws Ami Args - The configuration details for Aws AMI deployments.
- aws_
ecs InfrastructureDefinition Aws Ecs Args - The configuration details for Aws AMI deployments.
- aws_
lambda InfrastructureDefinition Aws Lambda Args - The configuration details for Aws Lambda deployments.
- aws_
ssh InfrastructureDefinition Aws Ssh Args - The configuration details for AWS SSH deployments.
- aws_
winrm InfrastructureDefinition Aws Winrm Args - The configuration details for AWS WinRM deployments.
- azure_
vmss InfrastructureDefinition Azure Vmss Args - The configuration details for Azure VMSS deployments.
- azure_
webapp InfrastructureDefinition Azure Webapp Args - The configuration details for Azure WebApp deployments.
- custom
Infrastructure
Definition Custom Args - The configuration details for Custom deployments.
- datacenter_
ssh InfrastructureDefinition Datacenter Ssh Args - The configuration details for SSH datacenter deployments.
- datacenter_
winrm InfrastructureDefinition Datacenter Winrm Args - The configuration details for WinRM datacenter deployments.
- deployment_
template_ struri - The URI of the deployment template to use. Only used if deployment_type is
CUSTOM
. - kubernetes
Infrastructure
Definition Kubernetes Args - The configuration details for Kubernetes deployments.
- kubernetes_
gcp InfrastructureDefinition Kubernetes Gcp Args - The configuration details for Kubernetes on GCP deployments.
- name str
- The name of the infrastructure definition
- provisioner_
name str - The name of the infrastructure provisioner to use.
- scoped_
services Sequence[str] - The list of service names to scope this infrastructure definition to.
- tanzu
Infrastructure
Definition Tanzu Args - The configuration details for PCF deployments.
- app
Id String - The id of the application the infrastructure definition belongs to.
- cloud
Provider StringType - The type of the cloud provider to connect with. Valid options are AWS, AZURE, CUSTOM, PHYSICALDATACENTER, KUBERNETESCLUSTER, PCF, SPOTINST
- deployment
Type String - The type of the deployment to use. Valid options are AMI, AWSCODEDEPLOY, AWSLAMBDA, AZUREVMSS, AZUREWEBAPP, CUSTOM, ECS, HELM, KUBERNETES, PCF, SSH, WINRM
- env
Id String - The id of the environment the infrastructure definition belongs to.
- aws
Ami Property Map - The configuration details for Aws AMI deployments.
- aws
Ecs Property Map - The configuration details for Aws AMI deployments.
- aws
Lambda Property Map - The configuration details for Aws Lambda deployments.
- aws
Ssh Property Map - The configuration details for AWS SSH deployments.
- aws
Winrm Property Map - The configuration details for AWS WinRM deployments.
- azure
Vmss Property Map - The configuration details for Azure VMSS deployments.
- azure
Webapp Property Map - The configuration details for Azure WebApp deployments.
- custom Property Map
- The configuration details for Custom deployments.
- datacenter
Ssh Property Map - The configuration details for SSH datacenter deployments.
- datacenter
Winrm Property Map - The configuration details for WinRM datacenter deployments.
- deployment
Template StringUri - The URI of the deployment template to use. Only used if deployment_type is
CUSTOM
. - kubernetes Property Map
- The configuration details for Kubernetes deployments.
- kubernetes
Gcp Property Map - The configuration details for Kubernetes on GCP deployments.
- name String
- The name of the infrastructure definition
- provisioner
Name String - The name of the infrastructure provisioner to use.
- scoped
Services List<String> - The list of service names to scope this infrastructure definition to.
- tanzu Property Map
- The configuration details for PCF deployments.
Outputs
All input properties are implicitly available as output properties. Additionally, the InfrastructureDefinition resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing InfrastructureDefinition Resource
Get an existing InfrastructureDefinition resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: InfrastructureDefinitionState, opts?: CustomResourceOptions): InfrastructureDefinition
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
app_id: Optional[str] = None,
aws_ami: Optional[InfrastructureDefinitionAwsAmiArgs] = None,
aws_ecs: Optional[InfrastructureDefinitionAwsEcsArgs] = None,
aws_lambda: Optional[InfrastructureDefinitionAwsLambdaArgs] = None,
aws_ssh: Optional[InfrastructureDefinitionAwsSshArgs] = None,
aws_winrm: Optional[InfrastructureDefinitionAwsWinrmArgs] = None,
azure_vmss: Optional[InfrastructureDefinitionAzureVmssArgs] = None,
azure_webapp: Optional[InfrastructureDefinitionAzureWebappArgs] = None,
cloud_provider_type: Optional[str] = None,
custom: Optional[InfrastructureDefinitionCustomArgs] = None,
datacenter_ssh: Optional[InfrastructureDefinitionDatacenterSshArgs] = None,
datacenter_winrm: Optional[InfrastructureDefinitionDatacenterWinrmArgs] = None,
deployment_template_uri: Optional[str] = None,
deployment_type: Optional[str] = None,
env_id: Optional[str] = None,
kubernetes: Optional[InfrastructureDefinitionKubernetesArgs] = None,
kubernetes_gcp: Optional[InfrastructureDefinitionKubernetesGcpArgs] = None,
name: Optional[str] = None,
provisioner_name: Optional[str] = None,
scoped_services: Optional[Sequence[str]] = None,
tanzu: Optional[InfrastructureDefinitionTanzuArgs] = None) -> InfrastructureDefinition
func GetInfrastructureDefinition(ctx *Context, name string, id IDInput, state *InfrastructureDefinitionState, opts ...ResourceOption) (*InfrastructureDefinition, error)
public static InfrastructureDefinition Get(string name, Input<string> id, InfrastructureDefinitionState? state, CustomResourceOptions? opts = null)
public static InfrastructureDefinition get(String name, Output<String> id, InfrastructureDefinitionState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- App
Id string - The id of the application the infrastructure definition belongs to.
- Aws
Ami InfrastructureDefinition Aws Ami - The configuration details for Aws AMI deployments.
- Aws
Ecs InfrastructureDefinition Aws Ecs - The configuration details for Aws AMI deployments.
- Aws
Lambda InfrastructureDefinition Aws Lambda - The configuration details for Aws Lambda deployments.
- Aws
Ssh InfrastructureDefinition Aws Ssh - The configuration details for AWS SSH deployments.
- Aws
Winrm InfrastructureDefinition Aws Winrm - The configuration details for AWS WinRM deployments.
- Azure
Vmss InfrastructureDefinition Azure Vmss - The configuration details for Azure VMSS deployments.
- Azure
Webapp InfrastructureDefinition Azure Webapp - The configuration details for Azure WebApp deployments.
- Cloud
Provider stringType - The type of the cloud provider to connect with. Valid options are AWS, AZURE, CUSTOM, PHYSICALDATACENTER, KUBERNETESCLUSTER, PCF, SPOTINST
- Custom
Infrastructure
Definition Custom - The configuration details for Custom deployments.
- Datacenter
Ssh InfrastructureDefinition Datacenter Ssh - The configuration details for SSH datacenter deployments.
- Datacenter
Winrm InfrastructureDefinition Datacenter Winrm - The configuration details for WinRM datacenter deployments.
- Deployment
Template stringUri - The URI of the deployment template to use. Only used if deployment_type is
CUSTOM
. - Deployment
Type string - The type of the deployment to use. Valid options are AMI, AWSCODEDEPLOY, AWSLAMBDA, AZUREVMSS, AZUREWEBAPP, CUSTOM, ECS, HELM, KUBERNETES, PCF, SSH, WINRM
- Env
Id string - The id of the environment the infrastructure definition belongs to.
- Kubernetes
Infrastructure
Definition Kubernetes - The configuration details for Kubernetes deployments.
- Kubernetes
Gcp InfrastructureDefinition Kubernetes Gcp - The configuration details for Kubernetes on GCP deployments.
- Name string
- The name of the infrastructure definition
- Provisioner
Name string - The name of the infrastructure provisioner to use.
- Scoped
Services List<string> - The list of service names to scope this infrastructure definition to.
- Tanzu
Infrastructure
Definition Tanzu - The configuration details for PCF deployments.
- App
Id string - The id of the application the infrastructure definition belongs to.
- Aws
Ami InfrastructureDefinition Aws Ami Args - The configuration details for Aws AMI deployments.
- Aws
Ecs InfrastructureDefinition Aws Ecs Args - The configuration details for Aws AMI deployments.
- Aws
Lambda InfrastructureDefinition Aws Lambda Args - The configuration details for Aws Lambda deployments.
- Aws
Ssh InfrastructureDefinition Aws Ssh Args - The configuration details for AWS SSH deployments.
- Aws
Winrm InfrastructureDefinition Aws Winrm Args - The configuration details for AWS WinRM deployments.
- Azure
Vmss InfrastructureDefinition Azure Vmss Args - The configuration details for Azure VMSS deployments.
- Azure
Webapp InfrastructureDefinition Azure Webapp Args - The configuration details for Azure WebApp deployments.
- Cloud
Provider stringType - The type of the cloud provider to connect with. Valid options are AWS, AZURE, CUSTOM, PHYSICALDATACENTER, KUBERNETESCLUSTER, PCF, SPOTINST
- Custom
Infrastructure
Definition Custom Args - The configuration details for Custom deployments.
- Datacenter
Ssh InfrastructureDefinition Datacenter Ssh Args - The configuration details for SSH datacenter deployments.
- Datacenter
Winrm InfrastructureDefinition Datacenter Winrm Args - The configuration details for WinRM datacenter deployments.
- Deployment
Template stringUri - The URI of the deployment template to use. Only used if deployment_type is
CUSTOM
. - Deployment
Type string - The type of the deployment to use. Valid options are AMI, AWSCODEDEPLOY, AWSLAMBDA, AZUREVMSS, AZUREWEBAPP, CUSTOM, ECS, HELM, KUBERNETES, PCF, SSH, WINRM
- Env
Id string - The id of the environment the infrastructure definition belongs to.
- Kubernetes
Infrastructure
Definition Kubernetes Args - The configuration details for Kubernetes deployments.
- Kubernetes
Gcp InfrastructureDefinition Kubernetes Gcp Args - The configuration details for Kubernetes on GCP deployments.
- Name string
- The name of the infrastructure definition
- Provisioner
Name string - The name of the infrastructure provisioner to use.
- Scoped
Services []string - The list of service names to scope this infrastructure definition to.
- Tanzu
Infrastructure
Definition Tanzu Args - The configuration details for PCF deployments.
- app
Id String - The id of the application the infrastructure definition belongs to.
- aws
Ami InfrastructureDefinition Aws Ami - The configuration details for Aws AMI deployments.
- aws
Ecs InfrastructureDefinition Aws Ecs - The configuration details for Aws AMI deployments.
- aws
Lambda InfrastructureDefinition Aws Lambda - The configuration details for Aws Lambda deployments.
- aws
Ssh InfrastructureDefinition Aws Ssh - The configuration details for AWS SSH deployments.
- aws
Winrm InfrastructureDefinition Aws Winrm - The configuration details for AWS WinRM deployments.
- azure
Vmss InfrastructureDefinition Azure Vmss - The configuration details for Azure VMSS deployments.
- azure
Webapp InfrastructureDefinition Azure Webapp - The configuration details for Azure WebApp deployments.
- cloud
Provider StringType - The type of the cloud provider to connect with. Valid options are AWS, AZURE, CUSTOM, PHYSICALDATACENTER, KUBERNETESCLUSTER, PCF, SPOTINST
- custom
Infrastructure
Definition Custom - The configuration details for Custom deployments.
- datacenter
Ssh InfrastructureDefinition Datacenter Ssh - The configuration details for SSH datacenter deployments.
- datacenter
Winrm InfrastructureDefinition Datacenter Winrm - The configuration details for WinRM datacenter deployments.
- deployment
Template StringUri - The URI of the deployment template to use. Only used if deployment_type is
CUSTOM
. - deployment
Type String - The type of the deployment to use. Valid options are AMI, AWSCODEDEPLOY, AWSLAMBDA, AZUREVMSS, AZUREWEBAPP, CUSTOM, ECS, HELM, KUBERNETES, PCF, SSH, WINRM
- env
Id String - The id of the environment the infrastructure definition belongs to.
- kubernetes
Infrastructure
Definition Kubernetes - The configuration details for Kubernetes deployments.
- kubernetes
Gcp InfrastructureDefinition Kubernetes Gcp - The configuration details for Kubernetes on GCP deployments.
- name String
- The name of the infrastructure definition
- provisioner
Name String - The name of the infrastructure provisioner to use.
- scoped
Services List<String> - The list of service names to scope this infrastructure definition to.
- tanzu
Infrastructure
Definition Tanzu - The configuration details for PCF deployments.
- app
Id string - The id of the application the infrastructure definition belongs to.
- aws
Ami InfrastructureDefinition Aws Ami - The configuration details for Aws AMI deployments.
- aws
Ecs InfrastructureDefinition Aws Ecs - The configuration details for Aws AMI deployments.
- aws
Lambda InfrastructureDefinition Aws Lambda - The configuration details for Aws Lambda deployments.
- aws
Ssh InfrastructureDefinition Aws Ssh - The configuration details for AWS SSH deployments.
- aws
Winrm InfrastructureDefinition Aws Winrm - The configuration details for AWS WinRM deployments.
- azure
Vmss InfrastructureDefinition Azure Vmss - The configuration details for Azure VMSS deployments.
- azure
Webapp InfrastructureDefinition Azure Webapp - The configuration details for Azure WebApp deployments.
- cloud
Provider stringType - The type of the cloud provider to connect with. Valid options are AWS, AZURE, CUSTOM, PHYSICALDATACENTER, KUBERNETESCLUSTER, PCF, SPOTINST
- custom
Infrastructure
Definition Custom - The configuration details for Custom deployments.
- datacenter
Ssh InfrastructureDefinition Datacenter Ssh - The configuration details for SSH datacenter deployments.
- datacenter
Winrm InfrastructureDefinition Datacenter Winrm - The configuration details for WinRM datacenter deployments.
- deployment
Template stringUri - The URI of the deployment template to use. Only used if deployment_type is
CUSTOM
. - deployment
Type string - The type of the deployment to use. Valid options are AMI, AWSCODEDEPLOY, AWSLAMBDA, AZUREVMSS, AZUREWEBAPP, CUSTOM, ECS, HELM, KUBERNETES, PCF, SSH, WINRM
- env
Id string - The id of the environment the infrastructure definition belongs to.
- kubernetes
Infrastructure
Definition Kubernetes - The configuration details for Kubernetes deployments.
- kubernetes
Gcp InfrastructureDefinition Kubernetes Gcp - The configuration details for Kubernetes on GCP deployments.
- name string
- The name of the infrastructure definition
- provisioner
Name string - The name of the infrastructure provisioner to use.
- scoped
Services string[] - The list of service names to scope this infrastructure definition to.
- tanzu
Infrastructure
Definition Tanzu - The configuration details for PCF deployments.
- app_
id str - The id of the application the infrastructure definition belongs to.
- aws_
ami InfrastructureDefinition Aws Ami Args - The configuration details for Aws AMI deployments.
- aws_
ecs InfrastructureDefinition Aws Ecs Args - The configuration details for Aws AMI deployments.
- aws_
lambda InfrastructureDefinition Aws Lambda Args - The configuration details for Aws Lambda deployments.
- aws_
ssh InfrastructureDefinition Aws Ssh Args - The configuration details for AWS SSH deployments.
- aws_
winrm InfrastructureDefinition Aws Winrm Args - The configuration details for AWS WinRM deployments.
- azure_
vmss InfrastructureDefinition Azure Vmss Args - The configuration details for Azure VMSS deployments.
- azure_
webapp InfrastructureDefinition Azure Webapp Args - The configuration details for Azure WebApp deployments.
- cloud_
provider_ strtype - The type of the cloud provider to connect with. Valid options are AWS, AZURE, CUSTOM, PHYSICALDATACENTER, KUBERNETESCLUSTER, PCF, SPOTINST
- custom
Infrastructure
Definition Custom Args - The configuration details for Custom deployments.
- datacenter_
ssh InfrastructureDefinition Datacenter Ssh Args - The configuration details for SSH datacenter deployments.
- datacenter_
winrm InfrastructureDefinition Datacenter Winrm Args - The configuration details for WinRM datacenter deployments.
- deployment_
template_ struri - The URI of the deployment template to use. Only used if deployment_type is
CUSTOM
. - deployment_
type str - The type of the deployment to use. Valid options are AMI, AWSCODEDEPLOY, AWSLAMBDA, AZUREVMSS, AZUREWEBAPP, CUSTOM, ECS, HELM, KUBERNETES, PCF, SSH, WINRM
- env_
id str - The id of the environment the infrastructure definition belongs to.
- kubernetes
Infrastructure
Definition Kubernetes Args - The configuration details for Kubernetes deployments.
- kubernetes_
gcp InfrastructureDefinition Kubernetes Gcp Args - The configuration details for Kubernetes on GCP deployments.
- name str
- The name of the infrastructure definition
- provisioner_
name str - The name of the infrastructure provisioner to use.
- scoped_
services Sequence[str] - The list of service names to scope this infrastructure definition to.
- tanzu
Infrastructure
Definition Tanzu Args - The configuration details for PCF deployments.
- app
Id String - The id of the application the infrastructure definition belongs to.
- aws
Ami Property Map - The configuration details for Aws AMI deployments.
- aws
Ecs Property Map - The configuration details for Aws AMI deployments.
- aws
Lambda Property Map - The configuration details for Aws Lambda deployments.
- aws
Ssh Property Map - The configuration details for AWS SSH deployments.
- aws
Winrm Property Map - The configuration details for AWS WinRM deployments.
- azure
Vmss Property Map - The configuration details for Azure VMSS deployments.
- azure
Webapp Property Map - The configuration details for Azure WebApp deployments.
- cloud
Provider StringType - The type of the cloud provider to connect with. Valid options are AWS, AZURE, CUSTOM, PHYSICALDATACENTER, KUBERNETESCLUSTER, PCF, SPOTINST
- custom Property Map
- The configuration details for Custom deployments.
- datacenter
Ssh Property Map - The configuration details for SSH datacenter deployments.
- datacenter
Winrm Property Map - The configuration details for WinRM datacenter deployments.
- deployment
Template StringUri - The URI of the deployment template to use. Only used if deployment_type is
CUSTOM
. - deployment
Type String - The type of the deployment to use. Valid options are AMI, AWSCODEDEPLOY, AWSLAMBDA, AZUREVMSS, AZUREWEBAPP, CUSTOM, ECS, HELM, KUBERNETES, PCF, SSH, WINRM
- env
Id String - The id of the environment the infrastructure definition belongs to.
- kubernetes Property Map
- The configuration details for Kubernetes deployments.
- kubernetes
Gcp Property Map - The configuration details for Kubernetes on GCP deployments.
- name String
- The name of the infrastructure definition
- provisioner
Name String - The name of the infrastructure provisioner to use.
- scoped
Services List<String> - The list of service names to scope this infrastructure definition to.
- tanzu Property Map
- The configuration details for PCF deployments.
Supporting Types
InfrastructureDefinitionAwsAmi, InfrastructureDefinitionAwsAmiArgs
- Ami
Deployment stringType - The ami deployment type to use. Valid options are AWS_ASG, SPOTINST
- Cloud
Provider stringName - The name of the cloud provider to connect with.
- Region string
- The region to deploy to.
- Asg
Identifies boolWorkload - Flag to indicate whether the autoscaling group identifies the workload.
- Autoscaling
Group stringName - The name of the autoscaling group.
- Classic
Loadbalancers List<string> - The classic load balancers to use.
- Hostname
Convention string - The naming convention to use for the hostname. Defaults to ${host.ec2Instance.privateDnsName.split('.')[0]}
- Spotinst
Cloud stringProvider Name - The name of the SpotInst cloud provider to connect with.
- Spotinst
Config stringJson - The SpotInst configuration to use.
- Stage
Classic List<string>Loadbalancers - The staging classic load balancers to use.
- Stage
Target List<string>Group Arns - The staging classic load balancers to use.
- Target
Group List<string>Arns - The ARN's of the target groups.
- Use
Traffic boolShift - Flag to enable traffic shifting.
- Ami
Deployment stringType - The ami deployment type to use. Valid options are AWS_ASG, SPOTINST
- Cloud
Provider stringName - The name of the cloud provider to connect with.
- Region string
- The region to deploy to.
- Asg
Identifies boolWorkload - Flag to indicate whether the autoscaling group identifies the workload.
- Autoscaling
Group stringName - The name of the autoscaling group.
- Classic
Loadbalancers []string - The classic load balancers to use.
- Hostname
Convention string - The naming convention to use for the hostname. Defaults to ${host.ec2Instance.privateDnsName.split('.')[0]}
- Spotinst
Cloud stringProvider Name - The name of the SpotInst cloud provider to connect with.
- Spotinst
Config stringJson - The SpotInst configuration to use.
- Stage
Classic []stringLoadbalancers - The staging classic load balancers to use.
- Stage
Target []stringGroup Arns - The staging classic load balancers to use.
- Target
Group []stringArns - The ARN's of the target groups.
- Use
Traffic boolShift - Flag to enable traffic shifting.
- ami
Deployment StringType - The ami deployment type to use. Valid options are AWS_ASG, SPOTINST
- cloud
Provider StringName - The name of the cloud provider to connect with.
- region String
- The region to deploy to.
- asg
Identifies BooleanWorkload - Flag to indicate whether the autoscaling group identifies the workload.
- autoscaling
Group StringName - The name of the autoscaling group.
- classic
Loadbalancers List<String> - The classic load balancers to use.
- hostname
Convention String - The naming convention to use for the hostname. Defaults to ${host.ec2Instance.privateDnsName.split('.')[0]}
- spotinst
Cloud StringProvider Name - The name of the SpotInst cloud provider to connect with.
- spotinst
Config StringJson - The SpotInst configuration to use.
- stage
Classic List<String>Loadbalancers - The staging classic load balancers to use.
- stage
Target List<String>Group Arns - The staging classic load balancers to use.
- target
Group List<String>Arns - The ARN's of the target groups.
- use
Traffic BooleanShift - Flag to enable traffic shifting.
- ami
Deployment stringType - The ami deployment type to use. Valid options are AWS_ASG, SPOTINST
- cloud
Provider stringName - The name of the cloud provider to connect with.
- region string
- The region to deploy to.
- asg
Identifies booleanWorkload - Flag to indicate whether the autoscaling group identifies the workload.
- autoscaling
Group stringName - The name of the autoscaling group.
- classic
Loadbalancers string[] - The classic load balancers to use.
- hostname
Convention string - The naming convention to use for the hostname. Defaults to ${host.ec2Instance.privateDnsName.split('.')[0]}
- spotinst
Cloud stringProvider Name - The name of the SpotInst cloud provider to connect with.
- spotinst
Config stringJson - The SpotInst configuration to use.
- stage
Classic string[]Loadbalancers - The staging classic load balancers to use.
- stage
Target string[]Group Arns - The staging classic load balancers to use.
- target
Group string[]Arns - The ARN's of the target groups.
- use
Traffic booleanShift - Flag to enable traffic shifting.
- ami_
deployment_ strtype - The ami deployment type to use. Valid options are AWS_ASG, SPOTINST
- cloud_
provider_ strname - The name of the cloud provider to connect with.
- region str
- The region to deploy to.
- asg_
identifies_ boolworkload - Flag to indicate whether the autoscaling group identifies the workload.
- autoscaling_
group_ strname - The name of the autoscaling group.
- classic_
loadbalancers Sequence[str] - The classic load balancers to use.
- hostname_
convention str - The naming convention to use for the hostname. Defaults to ${host.ec2Instance.privateDnsName.split('.')[0]}
- spotinst_
cloud_ strprovider_ name - The name of the SpotInst cloud provider to connect with.
- spotinst_
config_ strjson - The SpotInst configuration to use.
- stage_
classic_ Sequence[str]loadbalancers - The staging classic load balancers to use.
- stage_
target_ Sequence[str]group_ arns - The staging classic load balancers to use.
- target_
group_ Sequence[str]arns - The ARN's of the target groups.
- use_
traffic_ boolshift - Flag to enable traffic shifting.
- ami
Deployment StringType - The ami deployment type to use. Valid options are AWS_ASG, SPOTINST
- cloud
Provider StringName - The name of the cloud provider to connect with.
- region String
- The region to deploy to.
- asg
Identifies BooleanWorkload - Flag to indicate whether the autoscaling group identifies the workload.
- autoscaling
Group StringName - The name of the autoscaling group.
- classic
Loadbalancers List<String> - The classic load balancers to use.
- hostname
Convention String - The naming convention to use for the hostname. Defaults to ${host.ec2Instance.privateDnsName.split('.')[0]}
- spotinst
Cloud StringProvider Name - The name of the SpotInst cloud provider to connect with.
- spotinst
Config StringJson - The SpotInst configuration to use.
- stage
Classic List<String>Loadbalancers - The staging classic load balancers to use.
- stage
Target List<String>Group Arns - The staging classic load balancers to use.
- target
Group List<String>Arns - The ARN's of the target groups.
- use
Traffic BooleanShift - Flag to enable traffic shifting.
InfrastructureDefinitionAwsEcs, InfrastructureDefinitionAwsEcsArgs
- Cloud
Provider stringName - The name of the cloud provider to connect with.
- Cluster
Name string - The name of the ECS cluster to use.
- Launch
Type string - The type of launch configuration to use. Valid options are FARGATE
- Region string
- The region to deploy to.
- Assign
Public boolIp - Flag to assign a public IP address.
- Execution
Role string - The ARN of the role to use for execution.
- Security
Group List<string>Ids - The security group ids to apply to the ecs service.
- Subnet
Ids List<string> - The subnet ids to apply to the ecs service.
- Vpc
Id string - The VPC ids to use when selecting the instances.
- Cloud
Provider stringName - The name of the cloud provider to connect with.
- Cluster
Name string - The name of the ECS cluster to use.
- Launch
Type string - The type of launch configuration to use. Valid options are FARGATE
- Region string
- The region to deploy to.
- Assign
Public boolIp - Flag to assign a public IP address.
- Execution
Role string - The ARN of the role to use for execution.
- Security
Group []stringIds - The security group ids to apply to the ecs service.
- Subnet
Ids []string - The subnet ids to apply to the ecs service.
- Vpc
Id string - The VPC ids to use when selecting the instances.
- cloud
Provider StringName - The name of the cloud provider to connect with.
- cluster
Name String - The name of the ECS cluster to use.
- launch
Type String - The type of launch configuration to use. Valid options are FARGATE
- region String
- The region to deploy to.
- assign
Public BooleanIp - Flag to assign a public IP address.
- execution
Role String - The ARN of the role to use for execution.
- security
Group List<String>Ids - The security group ids to apply to the ecs service.
- subnet
Ids List<String> - The subnet ids to apply to the ecs service.
- vpc
Id String - The VPC ids to use when selecting the instances.
- cloud
Provider stringName - The name of the cloud provider to connect with.
- cluster
Name string - The name of the ECS cluster to use.
- launch
Type string - The type of launch configuration to use. Valid options are FARGATE
- region string
- The region to deploy to.
- assign
Public booleanIp - Flag to assign a public IP address.
- execution
Role string - The ARN of the role to use for execution.
- security
Group string[]Ids - The security group ids to apply to the ecs service.
- subnet
Ids string[] - The subnet ids to apply to the ecs service.
- vpc
Id string - The VPC ids to use when selecting the instances.
- cloud_
provider_ strname - The name of the cloud provider to connect with.
- cluster_
name str - The name of the ECS cluster to use.
- launch_
type str - The type of launch configuration to use. Valid options are FARGATE
- region str
- The region to deploy to.
- assign_
public_ boolip - Flag to assign a public IP address.
- execution_
role str - The ARN of the role to use for execution.
- security_
group_ Sequence[str]ids - The security group ids to apply to the ecs service.
- subnet_
ids Sequence[str] - The subnet ids to apply to the ecs service.
- vpc_
id str - The VPC ids to use when selecting the instances.
- cloud
Provider StringName - The name of the cloud provider to connect with.
- cluster
Name String - The name of the ECS cluster to use.
- launch
Type String - The type of launch configuration to use. Valid options are FARGATE
- region String
- The region to deploy to.
- assign
Public BooleanIp - Flag to assign a public IP address.
- execution
Role String - The ARN of the role to use for execution.
- security
Group List<String>Ids - The security group ids to apply to the ecs service.
- subnet
Ids List<String> - The subnet ids to apply to the ecs service.
- vpc
Id String - The VPC ids to use when selecting the instances.
InfrastructureDefinitionAwsLambda, InfrastructureDefinitionAwsLambdaArgs
- Cloud
Provider stringName - The name of the cloud provider to connect with.
- Region string
- The region to deploy to.
- Iam
Role string - The IAM role to use.
- Security
Group List<string>Ids - The security group ids to apply to the ecs service.
- Subnet
Ids List<string> - The subnet ids to apply to the ecs service.
- Vpc
Id string - The VPC ids to use when selecting the instances.
- Cloud
Provider stringName - The name of the cloud provider to connect with.
- Region string
- The region to deploy to.
- Iam
Role string - The IAM role to use.
- Security
Group []stringIds - The security group ids to apply to the ecs service.
- Subnet
Ids []string - The subnet ids to apply to the ecs service.
- Vpc
Id string - The VPC ids to use when selecting the instances.
- cloud
Provider StringName - The name of the cloud provider to connect with.
- region String
- The region to deploy to.
- iam
Role String - The IAM role to use.
- security
Group List<String>Ids - The security group ids to apply to the ecs service.
- subnet
Ids List<String> - The subnet ids to apply to the ecs service.
- vpc
Id String - The VPC ids to use when selecting the instances.
- cloud
Provider stringName - The name of the cloud provider to connect with.
- region string
- The region to deploy to.
- iam
Role string - The IAM role to use.
- security
Group string[]Ids - The security group ids to apply to the ecs service.
- subnet
Ids string[] - The subnet ids to apply to the ecs service.
- vpc
Id string - The VPC ids to use when selecting the instances.
- cloud_
provider_ strname - The name of the cloud provider to connect with.
- region str
- The region to deploy to.
- iam_
role str - The IAM role to use.
- security_
group_ Sequence[str]ids - The security group ids to apply to the ecs service.
- subnet_
ids Sequence[str] - The subnet ids to apply to the ecs service.
- vpc_
id str - The VPC ids to use when selecting the instances.
- cloud
Provider StringName - The name of the cloud provider to connect with.
- region String
- The region to deploy to.
- iam
Role String - The IAM role to use.
- security
Group List<String>Ids - The security group ids to apply to the ecs service.
- subnet
Ids List<String> - The subnet ids to apply to the ecs service.
- vpc
Id String - The VPC ids to use when selecting the instances.
InfrastructureDefinitionAwsSsh, InfrastructureDefinitionAwsSshArgs
- Cloud
Provider stringName - The name of the cloud provider to connect with.
- Host
Connection stringType - The type of host connection to use. Valid options are PRIVATEDNS, PUBLICDNS, PRIVATEIP, PUBLICIP
- Region string
- The region to deploy to.
- Autoscaling
Group stringName - The name of the autoscaling group.
- Desired
Capacity int - The desired capacity of the auto scaling group.
- Host
Connection stringAttrs Name - The name of the host connection attributes to use.
- Hostname
Convention string - The naming convention to use for the hostname. Defaults to ${host.ec2Instance.privateDnsName.split('.')[0]}
- Loadbalancer
Name string - The name of the load balancer to use.
- List<Infrastructure
Definition Aws Ssh Tag> - The tags to use when selecting the instances.
- Vpc
Ids List<string> - The VPC ids to use when selecting the instances.
- Cloud
Provider stringName - The name of the cloud provider to connect with.
- Host
Connection stringType - The type of host connection to use. Valid options are PRIVATEDNS, PUBLICDNS, PRIVATEIP, PUBLICIP
- Region string
- The region to deploy to.
- Autoscaling
Group stringName - The name of the autoscaling group.
- Desired
Capacity int - The desired capacity of the auto scaling group.
- Host
Connection stringAttrs Name - The name of the host connection attributes to use.
- Hostname
Convention string - The naming convention to use for the hostname. Defaults to ${host.ec2Instance.privateDnsName.split('.')[0]}
- Loadbalancer
Name string - The name of the load balancer to use.
- []Infrastructure
Definition Aws Ssh Tag - The tags to use when selecting the instances.
- Vpc
Ids []string - The VPC ids to use when selecting the instances.
- cloud
Provider StringName - The name of the cloud provider to connect with.
- host
Connection StringType - The type of host connection to use. Valid options are PRIVATEDNS, PUBLICDNS, PRIVATEIP, PUBLICIP
- region String
- The region to deploy to.
- autoscaling
Group StringName - The name of the autoscaling group.
- desired
Capacity Integer - The desired capacity of the auto scaling group.
- host
Connection StringAttrs Name - The name of the host connection attributes to use.
- hostname
Convention String - The naming convention to use for the hostname. Defaults to ${host.ec2Instance.privateDnsName.split('.')[0]}
- loadbalancer
Name String - The name of the load balancer to use.
- List<Infrastructure
Definition Aws Ssh Tag> - The tags to use when selecting the instances.
- vpc
Ids List<String> - The VPC ids to use when selecting the instances.
- cloud
Provider stringName - The name of the cloud provider to connect with.
- host
Connection stringType - The type of host connection to use. Valid options are PRIVATEDNS, PUBLICDNS, PRIVATEIP, PUBLICIP
- region string
- The region to deploy to.
- autoscaling
Group stringName - The name of the autoscaling group.
- desired
Capacity number - The desired capacity of the auto scaling group.
- host
Connection stringAttrs Name - The name of the host connection attributes to use.
- hostname
Convention string - The naming convention to use for the hostname. Defaults to ${host.ec2Instance.privateDnsName.split('.')[0]}
- loadbalancer
Name string - The name of the load balancer to use.
- Infrastructure
Definition Aws Ssh Tag[] - The tags to use when selecting the instances.
- vpc
Ids string[] - The VPC ids to use when selecting the instances.
- cloud_
provider_ strname - The name of the cloud provider to connect with.
- host_
connection_ strtype - The type of host connection to use. Valid options are PRIVATEDNS, PUBLICDNS, PRIVATEIP, PUBLICIP
- region str
- The region to deploy to.
- autoscaling_
group_ strname - The name of the autoscaling group.
- desired_
capacity int - The desired capacity of the auto scaling group.
- host_
connection_ strattrs_ name - The name of the host connection attributes to use.
- hostname_
convention str - The naming convention to use for the hostname. Defaults to ${host.ec2Instance.privateDnsName.split('.')[0]}
- loadbalancer_
name str - The name of the load balancer to use.
- Sequence[Infrastructure
Definition Aws Ssh Tag] - The tags to use when selecting the instances.
- vpc_
ids Sequence[str] - The VPC ids to use when selecting the instances.
- cloud
Provider StringName - The name of the cloud provider to connect with.
- host
Connection StringType - The type of host connection to use. Valid options are PRIVATEDNS, PUBLICDNS, PRIVATEIP, PUBLICIP
- region String
- The region to deploy to.
- autoscaling
Group StringName - The name of the autoscaling group.
- desired
Capacity Number - The desired capacity of the auto scaling group.
- host
Connection StringAttrs Name - The name of the host connection attributes to use.
- hostname
Convention String - The naming convention to use for the hostname. Defaults to ${host.ec2Instance.privateDnsName.split('.')[0]}
- loadbalancer
Name String - The name of the load balancer to use.
- List<Property Map>
- The tags to use when selecting the instances.
- vpc
Ids List<String> - The VPC ids to use when selecting the instances.
InfrastructureDefinitionAwsSshTag, InfrastructureDefinitionAwsSshTagArgs
InfrastructureDefinitionAwsWinrm, InfrastructureDefinitionAwsWinrmArgs
- Autoscaling
Group stringName - The name of the autoscaling group.
- Cloud
Provider stringName - The name of the cloud provider to connect with.
- Host
Connection stringAttrs Name - The name of the host connection attributes to use.
- Host
Connection stringType - The type of host connection to use. Valid options are PRIVATEDNS, PUBLICDNS, PRIVATEIP, PUBLICIP
- Region string
- The region to deploy to.
- Desired
Capacity int - The desired capacity of the autoscaling group.
- Hostname
Convention string - The naming convention to use for the hostname. Defaults to ${host.ec2Instance.privateDnsName.split('.')[0]}
- Loadbalancer
Name string - The name of the load balancer to use.
- Autoscaling
Group stringName - The name of the autoscaling group.
- Cloud
Provider stringName - The name of the cloud provider to connect with.
- Host
Connection stringAttrs Name - The name of the host connection attributes to use.
- Host
Connection stringType - The type of host connection to use. Valid options are PRIVATEDNS, PUBLICDNS, PRIVATEIP, PUBLICIP
- Region string
- The region to deploy to.
- Desired
Capacity int - The desired capacity of the autoscaling group.
- Hostname
Convention string - The naming convention to use for the hostname. Defaults to ${host.ec2Instance.privateDnsName.split('.')[0]}
- Loadbalancer
Name string - The name of the load balancer to use.
- autoscaling
Group StringName - The name of the autoscaling group.
- cloud
Provider StringName - The name of the cloud provider to connect with.
- host
Connection StringAttrs Name - The name of the host connection attributes to use.
- host
Connection StringType - The type of host connection to use. Valid options are PRIVATEDNS, PUBLICDNS, PRIVATEIP, PUBLICIP
- region String
- The region to deploy to.
- desired
Capacity Integer - The desired capacity of the autoscaling group.
- hostname
Convention String - The naming convention to use for the hostname. Defaults to ${host.ec2Instance.privateDnsName.split('.')[0]}
- loadbalancer
Name String - The name of the load balancer to use.
- autoscaling
Group stringName - The name of the autoscaling group.
- cloud
Provider stringName - The name of the cloud provider to connect with.
- host
Connection stringAttrs Name - The name of the host connection attributes to use.
- host
Connection stringType - The type of host connection to use. Valid options are PRIVATEDNS, PUBLICDNS, PRIVATEIP, PUBLICIP
- region string
- The region to deploy to.
- desired
Capacity number - The desired capacity of the autoscaling group.
- hostname
Convention string - The naming convention to use for the hostname. Defaults to ${host.ec2Instance.privateDnsName.split('.')[0]}
- loadbalancer
Name string - The name of the load balancer to use.
- autoscaling_
group_ strname - The name of the autoscaling group.
- cloud_
provider_ strname - The name of the cloud provider to connect with.
- host_
connection_ strattrs_ name - The name of the host connection attributes to use.
- host_
connection_ strtype - The type of host connection to use. Valid options are PRIVATEDNS, PUBLICDNS, PRIVATEIP, PUBLICIP
- region str
- The region to deploy to.
- desired_
capacity int - The desired capacity of the autoscaling group.
- hostname_
convention str - The naming convention to use for the hostname. Defaults to ${host.ec2Instance.privateDnsName.split('.')[0]}
- loadbalancer_
name str - The name of the load balancer to use.
- autoscaling
Group StringName - The name of the autoscaling group.
- cloud
Provider StringName - The name of the cloud provider to connect with.
- host
Connection StringAttrs Name - The name of the host connection attributes to use.
- host
Connection StringType - The type of host connection to use. Valid options are PRIVATEDNS, PUBLICDNS, PRIVATEIP, PUBLICIP
- region String
- The region to deploy to.
- desired
Capacity Number - The desired capacity of the autoscaling group.
- hostname
Convention String - The naming convention to use for the hostname. Defaults to ${host.ec2Instance.privateDnsName.split('.')[0]}
- loadbalancer
Name String - The name of the load balancer to use.
InfrastructureDefinitionAzureVmss, InfrastructureDefinitionAzureVmssArgs
- Auth
Type string - The type of authentication to use. Valid options are SSHPUBLICKEY.
- Base
Name string - Base name.
- Cloud
Provider stringName - The name of the cloud provider to connect with.
- Deployment
Type string - The type of deployment. Valid options are NATIVE_VMSS
- Resource
Group stringName - The name of the resource group.
- Subscription
Id string - The unique id of the azure subscription.
- Username string
- The username to connect with.
- Host
Connection stringAttrs Name - The name of the host connection attributes to use.
- Auth
Type string - The type of authentication to use. Valid options are SSHPUBLICKEY.
- Base
Name string - Base name.
- Cloud
Provider stringName - The name of the cloud provider to connect with.
- Deployment
Type string - The type of deployment. Valid options are NATIVE_VMSS
- Resource
Group stringName - The name of the resource group.
- Subscription
Id string - The unique id of the azure subscription.
- Username string
- The username to connect with.
- Host
Connection stringAttrs Name - The name of the host connection attributes to use.
- auth
Type String - The type of authentication to use. Valid options are SSHPUBLICKEY.
- base
Name String - Base name.
- cloud
Provider StringName - The name of the cloud provider to connect with.
- deployment
Type String - The type of deployment. Valid options are NATIVE_VMSS
- resource
Group StringName - The name of the resource group.
- subscription
Id String - The unique id of the azure subscription.
- username String
- The username to connect with.
- host
Connection StringAttrs Name - The name of the host connection attributes to use.
- auth
Type string - The type of authentication to use. Valid options are SSHPUBLICKEY.
- base
Name string - Base name.
- cloud
Provider stringName - The name of the cloud provider to connect with.
- deployment
Type string - The type of deployment. Valid options are NATIVE_VMSS
- resource
Group stringName - The name of the resource group.
- subscription
Id string - The unique id of the azure subscription.
- username string
- The username to connect with.
- host
Connection stringAttrs Name - The name of the host connection attributes to use.
- auth_
type str - The type of authentication to use. Valid options are SSHPUBLICKEY.
- base_
name str - Base name.
- cloud_
provider_ strname - The name of the cloud provider to connect with.
- deployment_
type str - The type of deployment. Valid options are NATIVE_VMSS
- resource_
group_ strname - The name of the resource group.
- subscription_
id str - The unique id of the azure subscription.
- username str
- The username to connect with.
- host_
connection_ strattrs_ name - The name of the host connection attributes to use.
- auth
Type String - The type of authentication to use. Valid options are SSHPUBLICKEY.
- base
Name String - Base name.
- cloud
Provider StringName - The name of the cloud provider to connect with.
- deployment
Type String - The type of deployment. Valid options are NATIVE_VMSS
- resource
Group StringName - The name of the resource group.
- subscription
Id String - The unique id of the azure subscription.
- username String
- The username to connect with.
- host
Connection StringAttrs Name - The name of the host connection attributes to use.
InfrastructureDefinitionAzureWebapp, InfrastructureDefinitionAzureWebappArgs
- Cloud
Provider stringName - The name of the cloud provider to connect with.
- Resource
Group string - The name of the resource group.
- Subscription
Id string - The unique id of the azure subscription.
- Cloud
Provider stringName - The name of the cloud provider to connect with.
- Resource
Group string - The name of the resource group.
- Subscription
Id string - The unique id of the azure subscription.
- cloud
Provider StringName - The name of the cloud provider to connect with.
- resource
Group String - The name of the resource group.
- subscription
Id String - The unique id of the azure subscription.
- cloud
Provider stringName - The name of the cloud provider to connect with.
- resource
Group string - The name of the resource group.
- subscription
Id string - The unique id of the azure subscription.
- cloud_
provider_ strname - The name of the cloud provider to connect with.
- resource_
group str - The name of the resource group.
- subscription_
id str - The unique id of the azure subscription.
- cloud
Provider StringName - The name of the cloud provider to connect with.
- resource
Group String - The name of the resource group.
- subscription
Id String - The unique id of the azure subscription.
InfrastructureDefinitionCustom, InfrastructureDefinitionCustomArgs
- Deployment
Type stringTemplate Version - The template version
- Variables
List<Infrastructure
Definition Custom Variable> - Variables to be used in the service
- Deployment
Type stringTemplate Version - The template version
- Variables
[]Infrastructure
Definition Custom Variable - Variables to be used in the service
- deployment
Type StringTemplate Version - The template version
- variables
List<Infrastructure
Definition Custom Variable> - Variables to be used in the service
- deployment
Type stringTemplate Version - The template version
- variables
Infrastructure
Definition Custom Variable[] - Variables to be used in the service
- deployment_
type_ strtemplate_ version - The template version
- variables
Sequence[Infrastructure
Definition Custom Variable] - Variables to be used in the service
- deployment
Type StringTemplate Version - The template version
- variables List<Property Map>
- Variables to be used in the service
InfrastructureDefinitionCustomVariable, InfrastructureDefinitionCustomVariableArgs
InfrastructureDefinitionDatacenterSsh, InfrastructureDefinitionDatacenterSshArgs
- Cloud
Provider stringName - The name of the cloud provider to connect with.
- Host
Connection stringAttributes Name - The name of the SSH connection attributes to use.
- Hostnames List<string>
- A list of hosts to deploy to.
- Cloud
Provider stringName - The name of the cloud provider to connect with.
- Host
Connection stringAttributes Name - The name of the SSH connection attributes to use.
- Hostnames []string
- A list of hosts to deploy to.
- cloud
Provider StringName - The name of the cloud provider to connect with.
- host
Connection StringAttributes Name - The name of the SSH connection attributes to use.
- hostnames List<String>
- A list of hosts to deploy to.
- cloud
Provider stringName - The name of the cloud provider to connect with.
- host
Connection stringAttributes Name - The name of the SSH connection attributes to use.
- hostnames string[]
- A list of hosts to deploy to.
- cloud_
provider_ strname - The name of the cloud provider to connect with.
- host_
connection_ strattributes_ name - The name of the SSH connection attributes to use.
- hostnames Sequence[str]
- A list of hosts to deploy to.
- cloud
Provider StringName - The name of the cloud provider to connect with.
- host
Connection StringAttributes Name - The name of the SSH connection attributes to use.
- hostnames List<String>
- A list of hosts to deploy to.
InfrastructureDefinitionDatacenterWinrm, InfrastructureDefinitionDatacenterWinrmArgs
- Cloud
Provider stringName - The name of the cloud provider to connect with.
- Hostnames List<string>
- A list of hosts to deploy to.
- Winrm
Connection stringAttributes Name - The name of the WinRM connection attributes to use.
- Cloud
Provider stringName - The name of the cloud provider to connect with.
- Hostnames []string
- A list of hosts to deploy to.
- Winrm
Connection stringAttributes Name - The name of the WinRM connection attributes to use.
- cloud
Provider StringName - The name of the cloud provider to connect with.
- hostnames List<String>
- A list of hosts to deploy to.
- winrm
Connection StringAttributes Name - The name of the WinRM connection attributes to use.
- cloud
Provider stringName - The name of the cloud provider to connect with.
- hostnames string[]
- A list of hosts to deploy to.
- winrm
Connection stringAttributes Name - The name of the WinRM connection attributes to use.
- cloud_
provider_ strname - The name of the cloud provider to connect with.
- hostnames Sequence[str]
- A list of hosts to deploy to.
- winrm_
connection_ strattributes_ name - The name of the WinRM connection attributes to use.
- cloud
Provider StringName - The name of the cloud provider to connect with.
- hostnames List<String>
- A list of hosts to deploy to.
- winrm
Connection StringAttributes Name - The name of the WinRM connection attributes to use.
InfrastructureDefinitionKubernetes, InfrastructureDefinitionKubernetesArgs
- Cloud
Provider stringName - The name of the cloud provider to connect with.
- Namespace string
- The namespace in Kubernetes to deploy to.
- Release
Name string - The naming convention of the release. When using Helm Native the default is ${infra.kubernetes.infraId}. For standard Kubernetes manifests the default is release-${infra.kubernetes.infraId}
- Cloud
Provider stringName - The name of the cloud provider to connect with.
- Namespace string
- The namespace in Kubernetes to deploy to.
- Release
Name string - The naming convention of the release. When using Helm Native the default is ${infra.kubernetes.infraId}. For standard Kubernetes manifests the default is release-${infra.kubernetes.infraId}
- cloud
Provider StringName - The name of the cloud provider to connect with.
- namespace String
- The namespace in Kubernetes to deploy to.
- release
Name String - The naming convention of the release. When using Helm Native the default is ${infra.kubernetes.infraId}. For standard Kubernetes manifests the default is release-${infra.kubernetes.infraId}
- cloud
Provider stringName - The name of the cloud provider to connect with.
- namespace string
- The namespace in Kubernetes to deploy to.
- release
Name string - The naming convention of the release. When using Helm Native the default is ${infra.kubernetes.infraId}. For standard Kubernetes manifests the default is release-${infra.kubernetes.infraId}
- cloud_
provider_ strname - The name of the cloud provider to connect with.
- namespace str
- The namespace in Kubernetes to deploy to.
- release_
name str - The naming convention of the release. When using Helm Native the default is ${infra.kubernetes.infraId}. For standard Kubernetes manifests the default is release-${infra.kubernetes.infraId}
- cloud
Provider StringName - The name of the cloud provider to connect with.
- namespace String
- The namespace in Kubernetes to deploy to.
- release
Name String - The naming convention of the release. When using Helm Native the default is ${infra.kubernetes.infraId}. For standard Kubernetes manifests the default is release-${infra.kubernetes.infraId}
InfrastructureDefinitionKubernetesGcp, InfrastructureDefinitionKubernetesGcpArgs
- Cloud
Provider stringName - The name of the cloud provider to connect with.
- Cluster
Name string - The name of the cluster being deployed to.
- Namespace string
- The namespace in Kubernetes to deploy to.
- Release
Name string - The naming convention of the release.
- Cloud
Provider stringName - The name of the cloud provider to connect with.
- Cluster
Name string - The name of the cluster being deployed to.
- Namespace string
- The namespace in Kubernetes to deploy to.
- Release
Name string - The naming convention of the release.
- cloud
Provider StringName - The name of the cloud provider to connect with.
- cluster
Name String - The name of the cluster being deployed to.
- namespace String
- The namespace in Kubernetes to deploy to.
- release
Name String - The naming convention of the release.
- cloud
Provider stringName - The name of the cloud provider to connect with.
- cluster
Name string - The name of the cluster being deployed to.
- namespace string
- The namespace in Kubernetes to deploy to.
- release
Name string - The naming convention of the release.
- cloud_
provider_ strname - The name of the cloud provider to connect with.
- cluster_
name str - The name of the cluster being deployed to.
- namespace str
- The namespace in Kubernetes to deploy to.
- release_
name str - The naming convention of the release.
- cloud
Provider StringName - The name of the cloud provider to connect with.
- cluster
Name String - The name of the cluster being deployed to.
- namespace String
- The namespace in Kubernetes to deploy to.
- release
Name String - The naming convention of the release.
InfrastructureDefinitionTanzu, InfrastructureDefinitionTanzuArgs
- Cloud
Provider stringName - The name of the cloud provider to connect with.
- Organization string
- The PCF organization to use.
- Space string
- The PCF space to deploy to.
- Cloud
Provider stringName - The name of the cloud provider to connect with.
- Organization string
- The PCF organization to use.
- Space string
- The PCF space to deploy to.
- cloud
Provider StringName - The name of the cloud provider to connect with.
- organization String
- The PCF organization to use.
- space String
- The PCF space to deploy to.
- cloud
Provider stringName - The name of the cloud provider to connect with.
- organization string
- The PCF organization to use.
- space string
- The PCF space to deploy to.
- cloud_
provider_ strname - The name of the cloud provider to connect with.
- organization str
- The PCF organization to use.
- space str
- The PCF space to deploy to.
- cloud
Provider StringName - The name of the cloud provider to connect with.
- organization String
- The PCF organization to use.
- space String
- The PCF space to deploy to.
Import
Import using the Harness application id, environment id, and infrastructure definition id
$ pulumi import harness:index/infrastructureDefinition:InfrastructureDefinition example <app_id>/<env_id>/<infradef_id>
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- harness pulumi/pulumi-harness
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
harness
Terraform Provider.