aws∕ec2‒instance - dicomgrid/pt-modules GitHub Wiki
To use this module in your Terraform, refer to the below module example:
module "aws_ec2_instance" {
source = "git::https://github.com/dicomgrid/pt-modules.git?ref=aws/ec2-instance/v1.0.0"
# See inputs below for additional required parameters
}
Name | Version |
---|---|
terraform | ~> 1.0 |
aws | >= 3.36.0 |
Name | Version |
---|---|
aws | >= 3.36.0 |
No modules.
Name | Type |
---|---|
aws_ebs_volume.main | resource |
aws_instance.main | resource |
aws_volume_attachment.main | resource |
aws_ami.amazon_linux_2 | data source |
aws_ami.centos7 | data source |
aws_ami.rhel_8 | data source |
aws_ami.rocky_8 | data source |
aws_ami.rocky_8_custom | data source |
aws_ami.rocky_9 | data source |
aws_ami.ubuntu_22_04 | data source |
aws_ami.windows_2019_custom | data source |
aws_ami.windows_server_2016 | data source |
aws_ami.windows_server_2016_sql_2017 | data source |
aws_ami.windows_server_2019 | data source |
aws_security_groups.main | data source |
aws_subnet.main | data source |
Name | Description | Type | Default | Required |
---|---|---|---|---|
default_tags | n/a | any |
n/a | yes |
ebs_block_devices | n/a | any |
n/a | yes |
server_name | n/a | any |
n/a | yes |
subnet | n/a | any |
n/a | yes |
ami | n/a | string |
"rocky_8_custom" |
no |
associate_public_ip_address | n/a | string |
"false" |
no |
ebs_block_devices_extra | n/a | any |
null |
no |
enable_metadata_options | n/a | bool |
true |
no |
iam_instance_profile | n/a | string |
"" |
no |
instance_type | n/a | string |
"t2.micro" |
no |
instance_types | n/a | map |
{ |
no |
key_name | n/a | string |
"ansible-rsa" |
no |
local_password | n/a | any |
null |
no |
private_ip | n/a | any |
null |
no |
root_block_device | n/a | list |
[ |
no |
security_groups | n/a | list |
[] |
no |
server_code | n/a | string |
"na" |
no |
user_data | n/a | any |
null |
no |
Name | Description |
---|---|
availability_zone | n/a |
id | n/a |
private_ip | n/a |
public_ip | n/a |
- 🔀PR #276 - testing terraform-module-release workflow