ecs

FlexibleEngineCloud/ecs/flexibleengine

Terraform Module HCL FLEXIBLEENGINE

Terraform module which creates ECS resources on Flexible Engine cloud

Install
module "ecs" {
source = "FlexibleEngineCloud/ecs/flexibleengine"
version = "2.0.5"
}
plain text: /constructs/tfmod-flexibleenginecloud-ecs-flexibleengine/install.txt
⭐ Source on GitHub 📦 Registry page
README

Flexible Engine ECS Terraform Module Terraform module which creates ECS resource on Flexible Engine > A DNS record can be created for the created ECS instances. This feature is available only for private zone for now. Terraform version 0.13 Usage : Terraform ``hcl module "ecs_cluster" { source = "FlexibleEngineCloud/ecs/flexibleengine" instance_name = "my-cluster" instance_count = 2 availability_zone = "eu-west-0a" flavor_name = "t2.small" key_name = "my-key" security_groups = ["sg-group-id-1","sg-group-id-2"] subnet_id = "my-subnet-id" network_id = "my-network-id" new_eip = false dns_record = true domain_id = "my-domain-id" domain_name = "my-domain-name" block_devices = [ { uuid = " " source_type = "image" destination_type = "volume" volume_size = 50 boot_index = 0 delete_on_termination =

Inputs (24)
NameTypeDescriptionDefault
security_groupslist(string)A list of security group IDs to associate with required
instance_namestringName of the ECS instance and the associated volume required
flavor_namestringThe flavor type of instance to start required
block_deviceslist(object({ uuid List of block devices to attach/create to the ECS instance(s) required
key_namestringThe key pair name required
availability_zonestringThe availability zone to launch where required
existing_eiplist(any)Existing IPs (public IPs) to be attached to ECS[]
network_idstringThe network ID to launch in""
metadatamap(string)A mapping of metadata to assign to the resource{}
tagsmap(string)A mapping of tags to assign to the resource{}
dns_recordboolWhether or not create a DNS record for these instancesfalse
allowed_address_pairslist(object({ ip_address Source/destination check configuration (1.1.1.1/0 for global disable source/dest[]
new_eipboolWhether or not attach new Elastic IP (public IP) to ECSfalse
network_namestringThe network ID to launch innull
user_datastringThe user data to provide when launching the instance""
ip_addressstringFixed IP Addressnull
eip_bandwidthnumberBandwidth of the EIP in Mbit/snull
ext_net_namestringExternal network name (do not change)"admin_external_net"
subnet_idstringThe subnet ID to launch in""
domain_idstringID of the domain if dns_record is set to true""
record_ttlnumberTTL of the A record if dns_record is set to true"300"
instance_countnumberNumber of instances to launch1
domain_namestringName of the domain if dns_record is set to true""
scheduler_hintslist(object({ group = stProvide the Nova scheduler with hints on how the instance should be launched[]
Outputs (5)
public_ip — List of public floating ip addresses of the created servers
neutron_ports_id — List of neutron ports of the created servers
id — list of IDs of the created servers
name — list of names of the created servers
private_ip — List of ipv4 addresses of the created servers
Resources (5)
flexibleengine_compute_instance_v2flexibleengine_dns_recordset_v2flexibleengine_networking_floatingip_associate_v2flexibleengine_networking_port_v2flexibleengine_vpc_eip_v1
Topics & Tags
terraform-module
Details
FrameworkTerraform Module
LanguageHCL
Version2.0.5
Cloud FLEXIBLEENGINE
★ Stars4
Forks9
Total downloads5.4k
Inputs24
Outputs5
Resources5
Examples6
LicenseApache-2.0
NamespaceFlexibleEngineCloud
Updated