Skip to content

Latest commit

 

History

History
37 lines (33 loc) · 2.51 KB

io.md

File metadata and controls

37 lines (33 loc) · 2.51 KB

Inputs

Name Description Type Default Required
attributes Additional attributes (e.g. 1). list(any) [] no
availability_zone The Availability Zone in which to create your instance string "us-east-1a" no
blueprint_id The ID for a virtual private server image string "ubuntu_20_04" no
bundle_id The bundle of specification information string "nano_2_0" no
create_static_ip Create and attach a statis IP to the instance bool false no
delimiter Delimiter to be used between organization, environment, name and attributes. string "-" no
domain_name This is the name of the resource. string "clouddrove.ca" no
environment Environment, e.g. 'prod', 'staging', 'dev', 'pre-prod', 'UAT' string n/a yes
instance_count Number of instances to launch. number 1 no
instance_enabled Flag to control the instance creation. bool true no
key_pair_name The key name to use for the instance. string "" no
key_path Public key path (e.g. ~/.ssh/id_rsa.pub). string "" no
label_order Label order, e.g. name,application. list(any) [] no
managedby ManagedBy, eg 'CloudDrove'. string "hello@clouddrove.com" no
name Name (e.g. app or cluster). string "" no
pgp_key Flag to control the instance creation. string "" no
port_info n/a
list(object({
protocol = string
port = number
cidrs = list(string)
}))
null no
public_key The public key material. This public key will be imported into Lightsail. string "" no
repository Terraform current module repo string "https://github.com/clouddrove/terraform-aws-lightsail" no
use_default_key_pair Default key pair name will be used, you must keep 'key_pair_name' empty bool true no
user_data Single lined launch script as a string to configure server with additional user data. string "" no

Outputs

Name Description
arn The ARN of the Lightsail instance.
created_at The timestamp when the instance was created.
instance_ip The Public IP Address name of the Lightsail instance.
instance_name The name of the Lightsail instance.
ssh_host_public_key n/a
tags A mapping of tags to assign to the resource.