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 |
"[email protected]" |
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 |