hsdp.ContainerHost
Explore with Pulumi AI
Import
Importing existing instances is supported but not recommended.
Create ContainerHost Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ContainerHost(name: string, args?: ContainerHostArgs, opts?: CustomResourceOptions);
@overload
def ContainerHost(resource_name: str,
args: Optional[ContainerHostArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def ContainerHost(resource_name: str,
opts: Optional[ResourceOptions] = None,
agent: Optional[bool] = None,
bastion_host: Optional[str] = None,
commands: Optional[Sequence[str]] = None,
commands_after_file_changes: Optional[bool] = None,
container_host_id: Optional[str] = None,
encrypt_volumes: Optional[bool] = None,
files: Optional[Sequence[ContainerHostFileArgs]] = None,
image: Optional[str] = None,
instance_role: Optional[str] = None,
instance_type: Optional[str] = None,
iops: Optional[float] = None,
keep_failed_instances: Optional[bool] = None,
name: Optional[str] = None,
private_key: Optional[str] = None,
protect: Optional[bool] = None,
security_groups: Optional[Sequence[str]] = None,
subnet: Optional[str] = None,
subnet_type: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
timeouts: Optional[ContainerHostTimeoutsArgs] = None,
user: Optional[str] = None,
user_groups: Optional[Sequence[str]] = None,
volume_size: Optional[float] = None,
volume_type: Optional[str] = None,
volumes: Optional[float] = None)
func NewContainerHost(ctx *Context, name string, args *ContainerHostArgs, opts ...ResourceOption) (*ContainerHost, error)
public ContainerHost(string name, ContainerHostArgs? args = null, CustomResourceOptions? opts = null)
public ContainerHost(String name, ContainerHostArgs args)
public ContainerHost(String name, ContainerHostArgs args, CustomResourceOptions options)
type: hsdp:ContainerHost
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 ContainerHostArgs
- 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 ContainerHostArgs
- 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 ContainerHostArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ContainerHostArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ContainerHostArgs
- 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 containerHostResource = new Hsdp.ContainerHost("containerHostResource", new()
{
Agent = false,
BastionHost = "string",
CommandsAfterFileChanges = false,
ContainerHostId = "string",
EncryptVolumes = false,
Image = "string",
InstanceRole = "string",
InstanceType = "string",
Iops = 0,
KeepFailedInstances = false,
Name = "string",
PrivateKey = "string",
Protect = false,
SecurityGroups = new[]
{
"string",
},
Subnet = "string",
SubnetType = "string",
Tags =
{
{ "string", "string" },
},
Timeouts = new Hsdp.Inputs.ContainerHostTimeoutsArgs
{
Create = "string",
Delete = "string",
Update = "string",
},
User = "string",
UserGroups = new[]
{
"string",
},
VolumeSize = 0,
VolumeType = "string",
Volumes = 0,
});
example, err := hsdp.NewContainerHost(ctx, "containerHostResource", &hsdp.ContainerHostArgs{
Agent: pulumi.Bool(false),
BastionHost: pulumi.String("string"),
CommandsAfterFileChanges: pulumi.Bool(false),
ContainerHostId: pulumi.String("string"),
EncryptVolumes: pulumi.Bool(false),
Image: pulumi.String("string"),
InstanceRole: pulumi.String("string"),
InstanceType: pulumi.String("string"),
Iops: pulumi.Float64(0),
KeepFailedInstances: pulumi.Bool(false),
Name: pulumi.String("string"),
PrivateKey: pulumi.String("string"),
Protect: pulumi.Bool(false),
SecurityGroups: pulumi.StringArray{
pulumi.String("string"),
},
Subnet: pulumi.String("string"),
SubnetType: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
Timeouts: &hsdp.ContainerHostTimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Update: pulumi.String("string"),
},
User: pulumi.String("string"),
UserGroups: pulumi.StringArray{
pulumi.String("string"),
},
VolumeSize: pulumi.Float64(0),
VolumeType: pulumi.String("string"),
Volumes: pulumi.Float64(0),
})
var containerHostResource = new ContainerHost("containerHostResource", ContainerHostArgs.builder()
.agent(false)
.bastionHost("string")
.commandsAfterFileChanges(false)
.containerHostId("string")
.encryptVolumes(false)
.image("string")
.instanceRole("string")
.instanceType("string")
.iops(0)
.keepFailedInstances(false)
.name("string")
.privateKey("string")
.protect(false)
.securityGroups("string")
.subnet("string")
.subnetType("string")
.tags(Map.of("string", "string"))
.timeouts(ContainerHostTimeoutsArgs.builder()
.create("string")
.delete("string")
.update("string")
.build())
.user("string")
.userGroups("string")
.volumeSize(0)
.volumeType("string")
.volumes(0)
.build());
container_host_resource = hsdp.ContainerHost("containerHostResource",
agent=False,
bastion_host="string",
commands_after_file_changes=False,
container_host_id="string",
encrypt_volumes=False,
image="string",
instance_role="string",
instance_type="string",
iops=0,
keep_failed_instances=False,
name="string",
private_key="string",
protect=False,
security_groups=["string"],
subnet="string",
subnet_type="string",
tags={
"string": "string",
},
timeouts={
"create": "string",
"delete": "string",
"update": "string",
},
user="string",
user_groups=["string"],
volume_size=0,
volume_type="string",
volumes=0)
const containerHostResource = new hsdp.ContainerHost("containerHostResource", {
agent: false,
bastionHost: "string",
commandsAfterFileChanges: false,
containerHostId: "string",
encryptVolumes: false,
image: "string",
instanceRole: "string",
instanceType: "string",
iops: 0,
keepFailedInstances: false,
name: "string",
privateKey: "string",
protect: false,
securityGroups: ["string"],
subnet: "string",
subnetType: "string",
tags: {
string: "string",
},
timeouts: {
create: "string",
"delete": "string",
update: "string",
},
user: "string",
userGroups: ["string"],
volumeSize: 0,
volumeType: "string",
volumes: 0,
});
type: hsdp:ContainerHost
properties:
agent: false
bastionHost: string
commandsAfterFileChanges: false
containerHostId: string
encryptVolumes: false
image: string
instanceRole: string
instanceType: string
iops: 0
keepFailedInstances: false
name: string
privateKey: string
protect: false
securityGroups:
- string
subnet: string
subnetType: string
tags:
string: string
timeouts:
create: string
delete: string
update: string
user: string
userGroups:
- string
volumeSize: 0
volumeType: string
volumes: 0
ContainerHost Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The ContainerHost resource accepts the following input properties:
- Agent bool
- Signals the resource should use an SSH-agent connection. Default is
false
- Bastion
Host string - The bastion host to use. When not set, this will be deduced from the container host location
- Commands List<string>
- Commands
After boolFile Changes - Container
Host stringId - The instance ID
- Encrypt
Volumes bool - When set encrypts volumes. Default is
true
- Files
List<Container
Host File> - Block specifying content to be written to the container host after creation
- Image string
- The OS image to use. Only use this if you have access to additional image types (example:
centos7
). Conflicts withinstance_role
valuecontainer-host
- Instance
Role string - The role to use. Default
container-host
(other values:vanilla
,base
) - Instance
Type string - The EC2 instance type to use. Default
m5.large
- Iops double
- Number of guaranteed IOPs to provision. Supported value range
1-4000
- Keep
Failed boolInstances - Keep instances around for post-mortem analysis on failure. Default is
false
. - Name string
- The container host name. Must be unique.
- Private
Key string - The SSH private key to use for provision activities
- Protect bool
- Boolean when set will enable protection for container host.
- Security
Groups List<string> - list(string) of Security groups to attach. Default
[]
, Maximum4
- Subnet string
- This will cause a new instance to get deployed on a specific subnet. Conflicts with
subnet_type
. You should only use this option if you have very specific requirements that dictate all the instances you are creating need to reside in the same AZ. An example of this would be a cluster of systems that need to reside in the same datacenter. - Subnet
Type string - What subnet type to use. Can be
public
orprivate
. Default isprivate
. - Dictionary<string, string>
- Map of tags to assign to the instances
- Timeouts
Container
Host Timeouts - User string
- The username to use for provision activities using SSH
- User
Groups List<string> - list(string) of User groups to attach. Default
[]
, Maximum50
- Volume
Size double - Volume size in GB. Supported value range
1-16000
(16 TB max) - Volume
Type string - The EBS volume type. Default is
gp2
. You can also chooseio1
which is default when you specifyiops
value - Volumes double
- Number of additional volumes to attach. Default
0
, Maximum6
- Agent bool
- Signals the resource should use an SSH-agent connection. Default is
false
- Bastion
Host string - The bastion host to use. When not set, this will be deduced from the container host location
- Commands []string
- Commands
After boolFile Changes - Container
Host stringId - The instance ID
- Encrypt
Volumes bool - When set encrypts volumes. Default is
true
- Files
[]Container
Host File Args - Block specifying content to be written to the container host after creation
- Image string
- The OS image to use. Only use this if you have access to additional image types (example:
centos7
). Conflicts withinstance_role
valuecontainer-host
- Instance
Role string - The role to use. Default
container-host
(other values:vanilla
,base
) - Instance
Type string - The EC2 instance type to use. Default
m5.large
- Iops float64
- Number of guaranteed IOPs to provision. Supported value range
1-4000
- Keep
Failed boolInstances - Keep instances around for post-mortem analysis on failure. Default is
false
. - Name string
- The container host name. Must be unique.
- Private
Key string - The SSH private key to use for provision activities
- Protect bool
- Boolean when set will enable protection for container host.
- Security
Groups []string - list(string) of Security groups to attach. Default
[]
, Maximum4
- Subnet string
- This will cause a new instance to get deployed on a specific subnet. Conflicts with
subnet_type
. You should only use this option if you have very specific requirements that dictate all the instances you are creating need to reside in the same AZ. An example of this would be a cluster of systems that need to reside in the same datacenter. - Subnet
Type string - What subnet type to use. Can be
public
orprivate
. Default isprivate
. - map[string]string
- Map of tags to assign to the instances
- Timeouts
Container
Host Timeouts Args - User string
- The username to use for provision activities using SSH
- User
Groups []string - list(string) of User groups to attach. Default
[]
, Maximum50
- Volume
Size float64 - Volume size in GB. Supported value range
1-16000
(16 TB max) - Volume
Type string - The EBS volume type. Default is
gp2
. You can also chooseio1
which is default when you specifyiops
value - Volumes float64
- Number of additional volumes to attach. Default
0
, Maximum6
- agent Boolean
- Signals the resource should use an SSH-agent connection. Default is
false
- bastion
Host String - The bastion host to use. When not set, this will be deduced from the container host location
- commands List<String>
- commands
After BooleanFile Changes - container
Host StringId - The instance ID
- encrypt
Volumes Boolean - When set encrypts volumes. Default is
true
- files
List<Container
Host File> - Block specifying content to be written to the container host after creation
- image String
- The OS image to use. Only use this if you have access to additional image types (example:
centos7
). Conflicts withinstance_role
valuecontainer-host
- instance
Role String - The role to use. Default
container-host
(other values:vanilla
,base
) - instance
Type String - The EC2 instance type to use. Default
m5.large
- iops Double
- Number of guaranteed IOPs to provision. Supported value range
1-4000
- keep
Failed BooleanInstances - Keep instances around for post-mortem analysis on failure. Default is
false
. - name String
- The container host name. Must be unique.
- private
Key String - The SSH private key to use for provision activities
- protect Boolean
- Boolean when set will enable protection for container host.
- security
Groups List<String> - list(string) of Security groups to attach. Default
[]
, Maximum4
- subnet String
- This will cause a new instance to get deployed on a specific subnet. Conflicts with
subnet_type
. You should only use this option if you have very specific requirements that dictate all the instances you are creating need to reside in the same AZ. An example of this would be a cluster of systems that need to reside in the same datacenter. - subnet
Type String - What subnet type to use. Can be
public
orprivate
. Default isprivate
. - Map<String,String>
- Map of tags to assign to the instances
- timeouts
Container
Host Timeouts - user String
- The username to use for provision activities using SSH
- user
Groups List<String> - list(string) of User groups to attach. Default
[]
, Maximum50
- volume
Size Double - Volume size in GB. Supported value range
1-16000
(16 TB max) - volume
Type String - The EBS volume type. Default is
gp2
. You can also chooseio1
which is default when you specifyiops
value - volumes Double
- Number of additional volumes to attach. Default
0
, Maximum6
- agent boolean
- Signals the resource should use an SSH-agent connection. Default is
false
- bastion
Host string - The bastion host to use. When not set, this will be deduced from the container host location
- commands string[]
- commands
After booleanFile Changes - container
Host stringId - The instance ID
- encrypt
Volumes boolean - When set encrypts volumes. Default is
true
- files
Container
Host File[] - Block specifying content to be written to the container host after creation
- image string
- The OS image to use. Only use this if you have access to additional image types (example:
centos7
). Conflicts withinstance_role
valuecontainer-host
- instance
Role string - The role to use. Default
container-host
(other values:vanilla
,base
) - instance
Type string - The EC2 instance type to use. Default
m5.large
- iops number
- Number of guaranteed IOPs to provision. Supported value range
1-4000
- keep
Failed booleanInstances - Keep instances around for post-mortem analysis on failure. Default is
false
. - name string
- The container host name. Must be unique.
- private
Key string - The SSH private key to use for provision activities
- protect boolean
- Boolean when set will enable protection for container host.
- security
Groups string[] - list(string) of Security groups to attach. Default
[]
, Maximum4
- subnet string
- This will cause a new instance to get deployed on a specific subnet. Conflicts with
subnet_type
. You should only use this option if you have very specific requirements that dictate all the instances you are creating need to reside in the same AZ. An example of this would be a cluster of systems that need to reside in the same datacenter. - subnet
Type string - What subnet type to use. Can be
public
orprivate
. Default isprivate
. - {[key: string]: string}
- Map of tags to assign to the instances
- timeouts
Container
Host Timeouts - user string
- The username to use for provision activities using SSH
- user
Groups string[] - list(string) of User groups to attach. Default
[]
, Maximum50
- volume
Size number - Volume size in GB. Supported value range
1-16000
(16 TB max) - volume
Type string - The EBS volume type. Default is
gp2
. You can also chooseio1
which is default when you specifyiops
value - volumes number
- Number of additional volumes to attach. Default
0
, Maximum6
- agent bool
- Signals the resource should use an SSH-agent connection. Default is
false
- bastion_
host str - The bastion host to use. When not set, this will be deduced from the container host location
- commands Sequence[str]
- commands_
after_ boolfile_ changes - container_
host_ strid - The instance ID
- encrypt_
volumes bool - When set encrypts volumes. Default is
true
- files
Sequence[Container
Host File Args] - Block specifying content to be written to the container host after creation
- image str
- The OS image to use. Only use this if you have access to additional image types (example:
centos7
). Conflicts withinstance_role
valuecontainer-host
- instance_
role str - The role to use. Default
container-host
(other values:vanilla
,base
) - instance_
type str - The EC2 instance type to use. Default
m5.large
- iops float
- Number of guaranteed IOPs to provision. Supported value range
1-4000
- keep_
failed_ boolinstances - Keep instances around for post-mortem analysis on failure. Default is
false
. - name str
- The container host name. Must be unique.
- private_
key str - The SSH private key to use for provision activities
- protect bool
- Boolean when set will enable protection for container host.
- security_
groups Sequence[str] - list(string) of Security groups to attach. Default
[]
, Maximum4
- subnet str
- This will cause a new instance to get deployed on a specific subnet. Conflicts with
subnet_type
. You should only use this option if you have very specific requirements that dictate all the instances you are creating need to reside in the same AZ. An example of this would be a cluster of systems that need to reside in the same datacenter. - subnet_
type str - What subnet type to use. Can be
public
orprivate
. Default isprivate
. - Mapping[str, str]
- Map of tags to assign to the instances
- timeouts
Container
Host Timeouts Args - user str
- The username to use for provision activities using SSH
- user_
groups Sequence[str] - list(string) of User groups to attach. Default
[]
, Maximum50
- volume_
size float - Volume size in GB. Supported value range
1-16000
(16 TB max) - volume_
type str - The EBS volume type. Default is
gp2
. You can also chooseio1
which is default when you specifyiops
value - volumes float
- Number of additional volumes to attach. Default
0
, Maximum6
- agent Boolean
- Signals the resource should use an SSH-agent connection. Default is
false
- bastion
Host String - The bastion host to use. When not set, this will be deduced from the container host location
- commands List<String>
- commands
After BooleanFile Changes - container
Host StringId - The instance ID
- encrypt
Volumes Boolean - When set encrypts volumes. Default is
true
- files List<Property Map>
- Block specifying content to be written to the container host after creation
- image String
- The OS image to use. Only use this if you have access to additional image types (example:
centos7
). Conflicts withinstance_role
valuecontainer-host
- instance
Role String - The role to use. Default
container-host
(other values:vanilla
,base
) - instance
Type String - The EC2 instance type to use. Default
m5.large
- iops Number
- Number of guaranteed IOPs to provision. Supported value range
1-4000
- keep
Failed BooleanInstances - Keep instances around for post-mortem analysis on failure. Default is
false
. - name String
- The container host name. Must be unique.
- private
Key String - The SSH private key to use for provision activities
- protect Boolean
- Boolean when set will enable protection for container host.
- security
Groups List<String> - list(string) of Security groups to attach. Default
[]
, Maximum4
- subnet String
- This will cause a new instance to get deployed on a specific subnet. Conflicts with
subnet_type
. You should only use this option if you have very specific requirements that dictate all the instances you are creating need to reside in the same AZ. An example of this would be a cluster of systems that need to reside in the same datacenter. - subnet
Type String - What subnet type to use. Can be
public
orprivate
. Default isprivate
. - Map<String>
- Map of tags to assign to the instances
- timeouts Property Map
- user String
- The username to use for provision activities using SSH
- user
Groups List<String> - list(string) of User groups to attach. Default
[]
, Maximum50
- volume
Size Number - Volume size in GB. Supported value range
1-16000
(16 TB max) - volume
Type String - The EBS volume type. Default is
gp2
. You can also chooseio1
which is default when you specifyiops
value - volumes Number
- Number of additional volumes to attach. Default
0
, Maximum6
Outputs
All input properties are implicitly available as output properties. Additionally, the ContainerHost resource produces the following output properties:
- Block
Devices List<string> - The list of block devices attached to the instance.
- Id string
- The provider-assigned unique ID for this managed resource.
- Launch
Time string - Timestamp when the instance was launched.
- Private
Ip string - The private IP address of the instance
- Public
Ip string - The public IP address of the instance if it has one
- Result string
- The stdout of the last command executed in the
commands
list - Role string
- The role of the instance.
- Vpc string
- The VPC the instance was provisioned in.
- Zone string
- The Zone the instance was provisioned in.
- Block
Devices []string - The list of block devices attached to the instance.
- Id string
- The provider-assigned unique ID for this managed resource.
- Launch
Time string - Timestamp when the instance was launched.
- Private
Ip string - The private IP address of the instance
- Public
Ip string - The public IP address of the instance if it has one
- Result string
- The stdout of the last command executed in the
commands
list - Role string
- The role of the instance.
- Vpc string
- The VPC the instance was provisioned in.
- Zone string
- The Zone the instance was provisioned in.
- block
Devices List<String> - The list of block devices attached to the instance.
- id String
- The provider-assigned unique ID for this managed resource.
- launch
Time String - Timestamp when the instance was launched.
- private
Ip String - The private IP address of the instance
- public
Ip String - The public IP address of the instance if it has one
- result String
- The stdout of the last command executed in the
commands
list - role String
- The role of the instance.
- vpc String
- The VPC the instance was provisioned in.
- zone String
- The Zone the instance was provisioned in.
- block
Devices string[] - The list of block devices attached to the instance.
- id string
- The provider-assigned unique ID for this managed resource.
- launch
Time string - Timestamp when the instance was launched.
- private
Ip string - The private IP address of the instance
- public
Ip string - The public IP address of the instance if it has one
- result string
- The stdout of the last command executed in the
commands
list - role string
- The role of the instance.
- vpc string
- The VPC the instance was provisioned in.
- zone string
- The Zone the instance was provisioned in.
- block_
devices Sequence[str] - The list of block devices attached to the instance.
- id str
- The provider-assigned unique ID for this managed resource.
- launch_
time str - Timestamp when the instance was launched.
- private_
ip str - The private IP address of the instance
- public_
ip str - The public IP address of the instance if it has one
- result str
- The stdout of the last command executed in the
commands
list - role str
- The role of the instance.
- vpc str
- The VPC the instance was provisioned in.
- zone str
- The Zone the instance was provisioned in.
- block
Devices List<String> - The list of block devices attached to the instance.
- id String
- The provider-assigned unique ID for this managed resource.
- launch
Time String - Timestamp when the instance was launched.
- private
Ip String - The private IP address of the instance
- public
Ip String - The public IP address of the instance if it has one
- result String
- The stdout of the last command executed in the
commands
list - role String
- The role of the instance.
- vpc String
- The VPC the instance was provisioned in.
- zone String
- The Zone the instance was provisioned in.
Look up Existing ContainerHost Resource
Get an existing ContainerHost 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?: ContainerHostState, opts?: CustomResourceOptions): ContainerHost
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
agent: Optional[bool] = None,
bastion_host: Optional[str] = None,
block_devices: Optional[Sequence[str]] = None,
commands: Optional[Sequence[str]] = None,
commands_after_file_changes: Optional[bool] = None,
container_host_id: Optional[str] = None,
encrypt_volumes: Optional[bool] = None,
files: Optional[Sequence[ContainerHostFileArgs]] = None,
image: Optional[str] = None,
instance_role: Optional[str] = None,
instance_type: Optional[str] = None,
iops: Optional[float] = None,
keep_failed_instances: Optional[bool] = None,
launch_time: Optional[str] = None,
name: Optional[str] = None,
private_ip: Optional[str] = None,
private_key: Optional[str] = None,
protect: Optional[bool] = None,
public_ip: Optional[str] = None,
result: Optional[str] = None,
role: Optional[str] = None,
security_groups: Optional[Sequence[str]] = None,
subnet: Optional[str] = None,
subnet_type: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
timeouts: Optional[ContainerHostTimeoutsArgs] = None,
user: Optional[str] = None,
user_groups: Optional[Sequence[str]] = None,
volume_size: Optional[float] = None,
volume_type: Optional[str] = None,
volumes: Optional[float] = None,
vpc: Optional[str] = None,
zone: Optional[str] = None) -> ContainerHost
func GetContainerHost(ctx *Context, name string, id IDInput, state *ContainerHostState, opts ...ResourceOption) (*ContainerHost, error)
public static ContainerHost Get(string name, Input<string> id, ContainerHostState? state, CustomResourceOptions? opts = null)
public static ContainerHost get(String name, Output<String> id, ContainerHostState state, CustomResourceOptions options)
resources: _: type: hsdp:ContainerHost get: id: ${id}
- 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.
- Agent bool
- Signals the resource should use an SSH-agent connection. Default is
false
- Bastion
Host string - The bastion host to use. When not set, this will be deduced from the container host location
- Block
Devices List<string> - The list of block devices attached to the instance.
- Commands List<string>
- Commands
After boolFile Changes - Container
Host stringId - The instance ID
- Encrypt
Volumes bool - When set encrypts volumes. Default is
true
- Files
List<Container
Host File> - Block specifying content to be written to the container host after creation
- Image string
- The OS image to use. Only use this if you have access to additional image types (example:
centos7
). Conflicts withinstance_role
valuecontainer-host
- Instance
Role string - The role to use. Default
container-host
(other values:vanilla
,base
) - Instance
Type string - The EC2 instance type to use. Default
m5.large
- Iops double
- Number of guaranteed IOPs to provision. Supported value range
1-4000
- Keep
Failed boolInstances - Keep instances around for post-mortem analysis on failure. Default is
false
. - Launch
Time string - Timestamp when the instance was launched.
- Name string
- The container host name. Must be unique.
- Private
Ip string - The private IP address of the instance
- Private
Key string - The SSH private key to use for provision activities
- Protect bool
- Boolean when set will enable protection for container host.
- Public
Ip string - The public IP address of the instance if it has one
- Result string
- The stdout of the last command executed in the
commands
list - Role string
- The role of the instance.
- Security
Groups List<string> - list(string) of Security groups to attach. Default
[]
, Maximum4
- Subnet string
- This will cause a new instance to get deployed on a specific subnet. Conflicts with
subnet_type
. You should only use this option if you have very specific requirements that dictate all the instances you are creating need to reside in the same AZ. An example of this would be a cluster of systems that need to reside in the same datacenter. - Subnet
Type string - What subnet type to use. Can be
public
orprivate
. Default isprivate
. - Dictionary<string, string>
- Map of tags to assign to the instances
- Timeouts
Container
Host Timeouts - User string
- The username to use for provision activities using SSH
- User
Groups List<string> - list(string) of User groups to attach. Default
[]
, Maximum50
- Volume
Size double - Volume size in GB. Supported value range
1-16000
(16 TB max) - Volume
Type string - The EBS volume type. Default is
gp2
. You can also chooseio1
which is default when you specifyiops
value - Volumes double
- Number of additional volumes to attach. Default
0
, Maximum6
- Vpc string
- The VPC the instance was provisioned in.
- Zone string
- The Zone the instance was provisioned in.
- Agent bool
- Signals the resource should use an SSH-agent connection. Default is
false
- Bastion
Host string - The bastion host to use. When not set, this will be deduced from the container host location
- Block
Devices []string - The list of block devices attached to the instance.
- Commands []string
- Commands
After boolFile Changes - Container
Host stringId - The instance ID
- Encrypt
Volumes bool - When set encrypts volumes. Default is
true
- Files
[]Container
Host File Args - Block specifying content to be written to the container host after creation
- Image string
- The OS image to use. Only use this if you have access to additional image types (example:
centos7
). Conflicts withinstance_role
valuecontainer-host
- Instance
Role string - The role to use. Default
container-host
(other values:vanilla
,base
) - Instance
Type string - The EC2 instance type to use. Default
m5.large
- Iops float64
- Number of guaranteed IOPs to provision. Supported value range
1-4000
- Keep
Failed boolInstances - Keep instances around for post-mortem analysis on failure. Default is
false
. - Launch
Time string - Timestamp when the instance was launched.
- Name string
- The container host name. Must be unique.
- Private
Ip string - The private IP address of the instance
- Private
Key string - The SSH private key to use for provision activities
- Protect bool
- Boolean when set will enable protection for container host.
- Public
Ip string - The public IP address of the instance if it has one
- Result string
- The stdout of the last command executed in the
commands
list - Role string
- The role of the instance.
- Security
Groups []string - list(string) of Security groups to attach. Default
[]
, Maximum4
- Subnet string
- This will cause a new instance to get deployed on a specific subnet. Conflicts with
subnet_type
. You should only use this option if you have very specific requirements that dictate all the instances you are creating need to reside in the same AZ. An example of this would be a cluster of systems that need to reside in the same datacenter. - Subnet
Type string - What subnet type to use. Can be
public
orprivate
. Default isprivate
. - map[string]string
- Map of tags to assign to the instances
- Timeouts
Container
Host Timeouts Args - User string
- The username to use for provision activities using SSH
- User
Groups []string - list(string) of User groups to attach. Default
[]
, Maximum50
- Volume
Size float64 - Volume size in GB. Supported value range
1-16000
(16 TB max) - Volume
Type string - The EBS volume type. Default is
gp2
. You can also chooseio1
which is default when you specifyiops
value - Volumes float64
- Number of additional volumes to attach. Default
0
, Maximum6
- Vpc string
- The VPC the instance was provisioned in.
- Zone string
- The Zone the instance was provisioned in.
- agent Boolean
- Signals the resource should use an SSH-agent connection. Default is
false
- bastion
Host String - The bastion host to use. When not set, this will be deduced from the container host location
- block
Devices List<String> - The list of block devices attached to the instance.
- commands List<String>
- commands
After BooleanFile Changes - container
Host StringId - The instance ID
- encrypt
Volumes Boolean - When set encrypts volumes. Default is
true
- files
List<Container
Host File> - Block specifying content to be written to the container host after creation
- image String
- The OS image to use. Only use this if you have access to additional image types (example:
centos7
). Conflicts withinstance_role
valuecontainer-host
- instance
Role String - The role to use. Default
container-host
(other values:vanilla
,base
) - instance
Type String - The EC2 instance type to use. Default
m5.large
- iops Double
- Number of guaranteed IOPs to provision. Supported value range
1-4000
- keep
Failed BooleanInstances - Keep instances around for post-mortem analysis on failure. Default is
false
. - launch
Time String - Timestamp when the instance was launched.
- name String
- The container host name. Must be unique.
- private
Ip String - The private IP address of the instance
- private
Key String - The SSH private key to use for provision activities
- protect Boolean
- Boolean when set will enable protection for container host.
- public
Ip String - The public IP address of the instance if it has one
- result String
- The stdout of the last command executed in the
commands
list - role String
- The role of the instance.
- security
Groups List<String> - list(string) of Security groups to attach. Default
[]
, Maximum4
- subnet String
- This will cause a new instance to get deployed on a specific subnet. Conflicts with
subnet_type
. You should only use this option if you have very specific requirements that dictate all the instances you are creating need to reside in the same AZ. An example of this would be a cluster of systems that need to reside in the same datacenter. - subnet
Type String - What subnet type to use. Can be
public
orprivate
. Default isprivate
. - Map<String,String>
- Map of tags to assign to the instances
- timeouts
Container
Host Timeouts - user String
- The username to use for provision activities using SSH
- user
Groups List<String> - list(string) of User groups to attach. Default
[]
, Maximum50
- volume
Size Double - Volume size in GB. Supported value range
1-16000
(16 TB max) - volume
Type String - The EBS volume type. Default is
gp2
. You can also chooseio1
which is default when you specifyiops
value - volumes Double
- Number of additional volumes to attach. Default
0
, Maximum6
- vpc String
- The VPC the instance was provisioned in.
- zone String
- The Zone the instance was provisioned in.
- agent boolean
- Signals the resource should use an SSH-agent connection. Default is
false
- bastion
Host string - The bastion host to use. When not set, this will be deduced from the container host location
- block
Devices string[] - The list of block devices attached to the instance.
- commands string[]
- commands
After booleanFile Changes - container
Host stringId - The instance ID
- encrypt
Volumes boolean - When set encrypts volumes. Default is
true
- files
Container
Host File[] - Block specifying content to be written to the container host after creation
- image string
- The OS image to use. Only use this if you have access to additional image types (example:
centos7
). Conflicts withinstance_role
valuecontainer-host
- instance
Role string - The role to use. Default
container-host
(other values:vanilla
,base
) - instance
Type string - The EC2 instance type to use. Default
m5.large
- iops number
- Number of guaranteed IOPs to provision. Supported value range
1-4000
- keep
Failed booleanInstances - Keep instances around for post-mortem analysis on failure. Default is
false
. - launch
Time string - Timestamp when the instance was launched.
- name string
- The container host name. Must be unique.
- private
Ip string - The private IP address of the instance
- private
Key string - The SSH private key to use for provision activities
- protect boolean
- Boolean when set will enable protection for container host.
- public
Ip string - The public IP address of the instance if it has one
- result string
- The stdout of the last command executed in the
commands
list - role string
- The role of the instance.
- security
Groups string[] - list(string) of Security groups to attach. Default
[]
, Maximum4
- subnet string
- This will cause a new instance to get deployed on a specific subnet. Conflicts with
subnet_type
. You should only use this option if you have very specific requirements that dictate all the instances you are creating need to reside in the same AZ. An example of this would be a cluster of systems that need to reside in the same datacenter. - subnet
Type string - What subnet type to use. Can be
public
orprivate
. Default isprivate
. - {[key: string]: string}
- Map of tags to assign to the instances
- timeouts
Container
Host Timeouts - user string
- The username to use for provision activities using SSH
- user
Groups string[] - list(string) of User groups to attach. Default
[]
, Maximum50
- volume
Size number - Volume size in GB. Supported value range
1-16000
(16 TB max) - volume
Type string - The EBS volume type. Default is
gp2
. You can also chooseio1
which is default when you specifyiops
value - volumes number
- Number of additional volumes to attach. Default
0
, Maximum6
- vpc string
- The VPC the instance was provisioned in.
- zone string
- The Zone the instance was provisioned in.
- agent bool
- Signals the resource should use an SSH-agent connection. Default is
false
- bastion_
host str - The bastion host to use. When not set, this will be deduced from the container host location
- block_
devices Sequence[str] - The list of block devices attached to the instance.
- commands Sequence[str]
- commands_
after_ boolfile_ changes - container_
host_ strid - The instance ID
- encrypt_
volumes bool - When set encrypts volumes. Default is
true
- files
Sequence[Container
Host File Args] - Block specifying content to be written to the container host after creation
- image str
- The OS image to use. Only use this if you have access to additional image types (example:
centos7
). Conflicts withinstance_role
valuecontainer-host
- instance_
role str - The role to use. Default
container-host
(other values:vanilla
,base
) - instance_
type str - The EC2 instance type to use. Default
m5.large
- iops float
- Number of guaranteed IOPs to provision. Supported value range
1-4000
- keep_
failed_ boolinstances - Keep instances around for post-mortem analysis on failure. Default is
false
. - launch_
time str - Timestamp when the instance was launched.
- name str
- The container host name. Must be unique.
- private_
ip str - The private IP address of the instance
- private_
key str - The SSH private key to use for provision activities
- protect bool
- Boolean when set will enable protection for container host.
- public_
ip str - The public IP address of the instance if it has one
- result str
- The stdout of the last command executed in the
commands
list - role str
- The role of the instance.
- security_
groups Sequence[str] - list(string) of Security groups to attach. Default
[]
, Maximum4
- subnet str
- This will cause a new instance to get deployed on a specific subnet. Conflicts with
subnet_type
. You should only use this option if you have very specific requirements that dictate all the instances you are creating need to reside in the same AZ. An example of this would be a cluster of systems that need to reside in the same datacenter. - subnet_
type str - What subnet type to use. Can be
public
orprivate
. Default isprivate
. - Mapping[str, str]
- Map of tags to assign to the instances
- timeouts
Container
Host Timeouts Args - user str
- The username to use for provision activities using SSH
- user_
groups Sequence[str] - list(string) of User groups to attach. Default
[]
, Maximum50
- volume_
size float - Volume size in GB. Supported value range
1-16000
(16 TB max) - volume_
type str - The EBS volume type. Default is
gp2
. You can also chooseio1
which is default when you specifyiops
value - volumes float
- Number of additional volumes to attach. Default
0
, Maximum6
- vpc str
- The VPC the instance was provisioned in.
- zone str
- The Zone the instance was provisioned in.
- agent Boolean
- Signals the resource should use an SSH-agent connection. Default is
false
- bastion
Host String - The bastion host to use. When not set, this will be deduced from the container host location
- block
Devices List<String> - The list of block devices attached to the instance.
- commands List<String>
- commands
After BooleanFile Changes - container
Host StringId - The instance ID
- encrypt
Volumes Boolean - When set encrypts volumes. Default is
true
- files List<Property Map>
- Block specifying content to be written to the container host after creation
- image String
- The OS image to use. Only use this if you have access to additional image types (example:
centos7
). Conflicts withinstance_role
valuecontainer-host
- instance
Role String - The role to use. Default
container-host
(other values:vanilla
,base
) - instance
Type String - The EC2 instance type to use. Default
m5.large
- iops Number
- Number of guaranteed IOPs to provision. Supported value range
1-4000
- keep
Failed BooleanInstances - Keep instances around for post-mortem analysis on failure. Default is
false
. - launch
Time String - Timestamp when the instance was launched.
- name String
- The container host name. Must be unique.
- private
Ip String - The private IP address of the instance
- private
Key String - The SSH private key to use for provision activities
- protect Boolean
- Boolean when set will enable protection for container host.
- public
Ip String - The public IP address of the instance if it has one
- result String
- The stdout of the last command executed in the
commands
list - role String
- The role of the instance.
- security
Groups List<String> - list(string) of Security groups to attach. Default
[]
, Maximum4
- subnet String
- This will cause a new instance to get deployed on a specific subnet. Conflicts with
subnet_type
. You should only use this option if you have very specific requirements that dictate all the instances you are creating need to reside in the same AZ. An example of this would be a cluster of systems that need to reside in the same datacenter. - subnet
Type String - What subnet type to use. Can be
public
orprivate
. Default isprivate
. - Map<String>
- Map of tags to assign to the instances
- timeouts Property Map
- user String
- The username to use for provision activities using SSH
- user
Groups List<String> - list(string) of User groups to attach. Default
[]
, Maximum50
- volume
Size Number - Volume size in GB. Supported value range
1-16000
(16 TB max) - volume
Type String - The EBS volume type. Default is
gp2
. You can also chooseio1
which is default when you specifyiops
value - volumes Number
- Number of additional volumes to attach. Default
0
, Maximum6
- vpc String
- The VPC the instance was provisioned in.
- zone String
- The Zone the instance was provisioned in.
Supporting Types
ContainerHostFile, ContainerHostFileArgs
- Destination string
- Remote filename to store the content in
- Content string
- Content of the file. Conflicts with
source
- Group string
- The file group. Default group is the SSH user's group
- Owner string
- The file owner. Default owner the SSH user
- Permissions string
- The file permissions. Default permissions are "0644"
- Source string
- Content of the file. Conflicts with
content
- Destination string
- Remote filename to store the content in
- Content string
- Content of the file. Conflicts with
source
- Group string
- The file group. Default group is the SSH user's group
- Owner string
- The file owner. Default owner the SSH user
- Permissions string
- The file permissions. Default permissions are "0644"
- Source string
- Content of the file. Conflicts with
content
- destination String
- Remote filename to store the content in
- content String
- Content of the file. Conflicts with
source
- group String
- The file group. Default group is the SSH user's group
- owner String
- The file owner. Default owner the SSH user
- permissions String
- The file permissions. Default permissions are "0644"
- source String
- Content of the file. Conflicts with
content
- destination string
- Remote filename to store the content in
- content string
- Content of the file. Conflicts with
source
- group string
- The file group. Default group is the SSH user's group
- owner string
- The file owner. Default owner the SSH user
- permissions string
- The file permissions. Default permissions are "0644"
- source string
- Content of the file. Conflicts with
content
- destination str
- Remote filename to store the content in
- content str
- Content of the file. Conflicts with
source
- group str
- The file group. Default group is the SSH user's group
- owner str
- The file owner. Default owner the SSH user
- permissions str
- The file permissions. Default permissions are "0644"
- source str
- Content of the file. Conflicts with
content
- destination String
- Remote filename to store the content in
- content String
- Content of the file. Conflicts with
source
- group String
- The file group. Default group is the SSH user's group
- owner String
- The file owner. Default owner the SSH user
- permissions String
- The file permissions. Default permissions are "0644"
- source String
- Content of the file. Conflicts with
content
ContainerHostTimeouts, ContainerHostTimeoutsArgs
Package Details
- Repository
- hsdp philips-software/terraform-provider-hsdp
- License
- Notes
- This Pulumi package is based on the
hsdp
Terraform Provider.