/sem3

Primary LanguageHCL

Infrastructure as Code

Requirements

Name Version
aws 4.62.0

Providers

Name Version
aws 4.62.0

Modules

Name Source Version
ec2_instance terraform-aws-modules/ec2-instance/aws 4.3.0
vpc terraform-aws-modules/vpc/aws 3.19.0

Inputs

Name Description Type Default Required
ami_id Ec2 AMI ID to use string n/a yes
ec2_instance_type EC2 instance type string n/a yes
enable_ec2_monitoring Enable EC2 monitoring bool n/a yes
private_subnets VPC private subnets list(string) n/a yes
public_subnets VPC public subnets list(string) n/a yes
region AWS region string n/a yes
sg_ports Security group ports
map(object({
port = number
protocol = string
cidr_blocks = list(string)
}))
n/a yes
vpc_cidr IP Cidr for the VPC string n/a yes
azs The availability zones for the region list(string)
[
"eu-west-1a",
"eu-west-1b",
"eu-west-1c"
]
no
tags The tags to be used for the different resources in the Elcy project map(string) {} no

Resources

Name Type
aws_security_group.this resource

Outputs

Name Description
azs n/a
private_subnets n/a
public_subnets n/a
vpc_cidr n/a