# Bring Your Own Network Configuration in this directory creates the Prefect Docker agent deployed on a single EC2 instance in an autoscaling group. ![architecture diagram](https://github.com/aws-ia/terraform-prefect-agent-ec2/tree/main/images/bring-your-own-network.png) ## Usage To run this example you need to execute: ``` $ terraform init $ terraform plan $ terraform apply ``` Note that this example may create resources which can cost money (AWS EC2, for example). Run terraform destroy when you don't need these resources. ## Requirements | Name | Version | |------|---------| | [terraform](#requirement\_terraform) | >= 0.14.0 | | [aws](#requirement\_aws) | >= 3.72.0 | ## Providers No providers. ## Modules | Name | Source | Version | |------|--------|---------| | [prefect](#module\_prefect) | ../../ | n/a | ## Resources No resources. ## Inputs | Name | Description | Type | Default | Required | |------|-------------|------|---------|:--------:| | [key\_name](#input\_key\_name) | private pem key to apply to the prefect instances | `string` | n/a | yes | | [subnet\_ids](#input\_subnet\_ids) | ids of the subnets to assign to the autoscaling group | `list(string)` | n/a | yes | | [vpc\_id](#input\_vpc\_id) | id of the vpc to deploy the prefect agent into | `string` | n/a | yes | ## Outputs No outputs.