ec2

clouddrove/ec2/aws

Terraform Module HCL AWS

Terraform module to create an EC2 resource on AWS with Elastic IP Addresses and Elastic Block Store.

Install
module "ec2" {
source = "clouddrove/ec2/aws"
version = "2.0.4"
}
plain text: /constructs/tfmod-clouddrove-ec2-aws/install.txt
⭐ Source on GitHub 📦 Registry page
README

![Banner][website] Terraform AWS EC2 With our comprehensive DevOps toolkit - streamline operations, automate workflows, enhance collaboration and, most importantly, deploy with confidence. We are a group of DevOps engineers & architects, joining hands in this ever evolving digital landscape. With our strong belief in Automation; just like microservices, always on the lookout to split the the infrastructure into smaller connected resources (database, cluster and more) which could be standardized, are manageable, scalable, secure & follow industry best practices. This module includes Terraform open source, examples, and automation tests (for better understanding), which would help you create and improve your infrastructure with minimalistic coding. Prerequisites and Providers This table cont

Inputs (50)
NameTypeDescriptionDefault
enclave_options_enabledboolWhether Nitro Enclaves will be enabled on the instance. Defaults to `false`null
algorithmstringName of the algorithm to use when generating the private key. Currently-supporte"RSA"
egress_ipv4_to_portnumberEgress end port (or ICMP code if protocol is icmp).65535
spot_instance_tagsmap(any)Instance tags.{}
metadata_http_tokens_requiredstringWhether or not the metadata service requires session tokens, also referred to as"optional"
metadata_http_endpoint_enabledstringWhether the metadata service is available. Valid values include enabled or disab"enabled"
kms_key_idstringThe ARN of the key that you wish to use if encrypting at rest. If not supplied, ""
instance_configurationobject({ ami Configuration options for the EC2 instance{ "instance_type": "t4g.small" }
ebs_volume_enabledboolFlag to control the ebs creation.false
ttlstringThe TTL of the record to add to the DNS zone to complete certificate validation."300"
sg_ingress_descriptionstringDescription of the ingress rule"Description of the ingress rule use ela
spot_instance_countnumberNumber of instances to launch.0
repositorystringTerraform current module repo"https://github.com/clouddrove/terraform
managedbystringManagedBy, eg 'CloudDrove'."[email protected]"
default_instance_enabledboolFlag to control the instance creation.true
capacity_reservation_specificationanyDescribes an instance's Capacity Reservation targeting option{}
rsa_bitsnumberWhen algorithm is RSA, the size of the generated RSA key, in bits (default: 20484096
hostnamestringDNS records to create."ec2"
enableboolFlag to control module creation.true
ebs_volume_sizenumberSize of the EBS volume in gigabytes.30
… and 10 more inputs
Outputs (15)
spot_instance_id — The instance ID.
az — The availability zone of the instance.
ipv6_addresses — A list of assigned IPv6 addresses.
name — Name of SSH key.
tags — The instance ID.
arn — The ARN of the instance.
private_ip — Private IP of instance.
spot_bid_status — The current bid status of the Spot Instance Request
instance_id — The instance ID.
public_ip — Public IP of instance (or EIP).
key_name — The key name of the instance.
instance_count — The count of instances.
placement_group — The placement group of the instance.
vpc_security_group_ids — The associated security groups in non-default VPC.
subnet_id — The EC2 subnet ID.
Resources (13)
aws_ebs_volumeaws_eipaws_iam_instance_profileaws_instanceaws_key_pairaws_kms_aliasaws_kms_keyaws_route53_recordaws_security_groupaws_security_group_ruleaws_spot_instance_requestaws_volume_attachmenttls_private_key
Details
FrameworkTerraform Module
LanguageHCL
Version2.0.4
Cloud AWS
★ Stars55
Forks39
Total downloads19.9k
Inputs50
Outputs15
Resources13
Examples3
LicenseApache-2.0
Namespaceclouddrove
Updated