mirror of https://gitlab.com/bashrc2/epicyon
3.2 KiB
3.2 KiB
terraform-aws-epicyon
This repo contains a Terraform plan for deploying Epicyon on an AWS EC2 instance
Requirements
| Name | Version |
|---|---|
| terraform | >=v1.0.7 |
| aws | ~> 4.0 |
Providers
| Name | Version |
|---|---|
| aws | ~> 4.0 |
Resources
| Name | Type |
|---|---|
| aws_eip.epicyon | resource |
| aws_eip_association.epicyon | resource |
| aws_iam_instance_profile.epicyon_instance_profile | resource |
| aws_iam_policy_attachment.epicyon | resource |
| aws_iam_role.epicyon_iam_role | resource |
| aws_instance.epicyon_web | resource |
| aws_ami.ubuntu | data source |
| aws_security_group.epicyon_sg | resource |
| aws_vpc.epicyon_vpc | resource |
| aws_subnet.epicyon_subnet | resource |
| aws_internet_gateway.epicyon_gw | resource |
| aws_route_table.epicyon_route_table | resource |
| aws_route_table_association.epicyon_route_table_association | resource |
| aws_route53_record.epicyon_route53 | resource |
| null_resource.null_resource_epicyon | resource |
Inputs
| Name | Description | Type | Default | Required |
|---|---|---|---|---|
| vpc_cidr_block | The IPv4 CIDR block for the VPC | number |
"" |
yes |
| subnet_cidr | The IPv4 CIDR block for the subnet | number |
"" |
yes |
| route_cidr_block | The CIDR block of the route | number |
"" |
yes |
| key_name | Key name of the Key Pair to use for the instance | string |
"" |
yes |
| instance_type | The instance type to use for the instance. | string |
"t2.micro" |
no |
| domain | A public domain for Epicyon | string |
"" |
yes |
| Email used to order a certificate from Let's Encrypt | string |
"" |
yes |
Output
| Name | Description |
|---|---|
| ipv4_address | The public IP address of the epicyon instance |
| domain_name | The URL to epicyon |