Name | Version |
---|---|
aws | >= 4.55 |
Name | Version |
---|---|
aws | >= 4.55 |
No modules.
Name | Type |
---|---|
aws_dlm_lifecycle_policy.snapshot_ec2 | resource |
aws_eip.eip | resource |
aws_iam_instance_profile.ec2_instance | resource |
aws_iam_role.dlm_lifecycle | resource |
aws_iam_role.ec2_instance | resource |
aws_iam_role_policy.dlm_lifecycle | resource |
aws_instance.ec2 | resource |
aws_iam_policy_document.assume_role_policy | data source |
aws_iam_policy_document.dlm_lifecycle_policy | data source |
aws_iam_policy_document.dlm_lifecycle_trust_policy | data source |
Name | Description | Type | Default | Required |
---|---|---|---|---|
ami_id | EC2 AMI id | string |
n/a | yes |
create_iam_instance_profile | Create instance profile | bool |
false |
no |
disable_api_termination | Termination protection | bool |
true |
no |
ebs_block_device | EBS block device volume | list |
[] |
no |
ebs_optimized | EBS optimization | bool |
null |
no |
eip | Create elastic ip flag | bool |
false |
no |
enable_ipv6 | Specifies whether to enable IPv6 | bool |
false |
no |
enable_volume_tags | Whether to enable volume tags (if enabled it conflicts with root_block_device/ebs_block_device tags) | bool |
true |
no |
iam_instance_profile | IAM instance profile | string |
null |
no |
iam_role_name | Name to use on IAM role created | string |
null |
no |
instance_type | Instance type | string |
"t3.nano" |
no |
ipv6_address_count | IPv6 address count | number |
1 |
no |
key_name | Instance key-pair name | string |
"" |
no |
name | Instance name for tag | string |
n/a | yes |
root_block_device | Customize details about the root block device of the instance. See Block Devices below for details | list(any) |
[] |
no |
security_group_ids | Additional security groups or dont want to use default vpc security group and configure specific security group for instance | list(any) |
n/a | yes |
snapshot_schedule_rule | Snapshot creation rule | any |
{} |
no |
source_dest_check | Source destination check | bool |
true |
no |
subnet | EC2 subnet group | string |
null |
no |
tags | Tags | map(any) |
{} |
no |
user_data | EC2 user data or cloud init script | string |
"" |
no |
vpc_id | VPC id | string |
null |
no |
Name | Description |
---|---|
iam_instance_profile_arn | ARN assigned by AWS to the instance profile |
iam_instance_profile_id | Instance profile's ID |
iam_instance_profile_unique | Stable and unique string identifying the IAM instance profile |
iam_role_arn | The Amazon Resource Name (ARN) specifying the IAM role |
iam_role_name | The name of the IAM role |
iam_role_unique_id | Stable and unique string identifying the IAM role |
instance_id | n/a |
network_interface_id | n/a |
private_ip | n/a |
public_ip | n/a |
Apache 2 Licensed. See LICENSE for full details.