instance-module

BrynardSecurity-terraform/instance-module/poc

Terraform Module HCL POC
Install
module "instance-module" {
source = "BrynardSecurity-terraform/instance-module/poc"
version = "0.0.1"
}
plain text: /constructs/tfmod-brynardsecurity-terraform-instance-module-poc/install.txt
⭐ Source on GitHub 📦 Registry page
Inputs (16)
NameTypeDescriptionDefault
availability_zonestringAZ to start the instance in required
vmnamestringThe name of the virtual machine used to deploy the vms. This name can scale out required
vpc_security_group_idslist(string)A list of security group IDs to associate with required
remote_exec_userstringUser account to use for remote execution required
remote_exec_passwordstringRemote exec user password required
user_data_base64stringCan be used instead of user_data to pass base64-encoded binary data directly. Us required
commandstringLocal Exec Provisioner command to execute required
staticvmnamestringStatic name of the EC2 instance. When this option is used, instances can't be sc required
working_dirstringWorking directory that local-exec provisioner will execute from required
subnet_idstringThe VPC Subnet ID to launch in required
user_datastringThe user data to provide when launching the instance. Do not pass gzip-compresse required
vmnameformatstringvmname format. default is set to 2 decimal with leading 0. example: %03d for 3 d"%02d"
instance_typestringThe type of instance to start"t3.micro"
amistringID of the AMI to use for the instance""
instancesnumberNumber of instances to be deployed from this module1
tagsmap(string)A mapping of tags to assign to the resource{}
Outputs (8)
public_dns — The public DNS name assigned to the instance. For EC2-VPC, this is only available if you've enabled
public_ip — The public IP address assigned to the instance, if applicable. NOTE: If you are using an aws_eip wit
private_ip — The private IP address assigned to the instance.
tags_all — A map of tags assigned to the resource, including those inherited from the provider default_tags con
id — The ID of the instance
arn — The ARN of the instance
instance_state — The state of the instance. One of: `pending`, `running`, `shutting-down`, `terminated`, `stopping`,
private_dns — The private DNS name assigned to the instance. Can only be used inside the Amazon EC2, and only avai
Resources (1)
aws_instance
Details
FrameworkTerraform Module
LanguageHCL
Version0.0.1
Cloud POC
★ Stars0
Forks0
Total downloads337
Inputs16
Outputs8
Resources1
NamespaceBrynardSecurity-terraform
Updated