# Additional IAM Permissions
Configuration in this directory creates the Prefect Docker agent deployed on a single EC2 instance in an autoscaling group as well as a lightweight network to host the agent. It also creates an additional IAM policy and attaches it to the existing IAM role for the agent.
## 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, VPC endpoints, NAT gateway, 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
| Name | Version |
|------|---------|
| [aws](#provider\_aws) | 4.2.0 |
## Modules
| Name | Source | Version |
|------|--------|---------|
| [prefect](#module\_prefect) | ../../ | n/a |
## Resources
| Name | Type |
|------|------|
| [aws_iam_role_policy.additional_policy](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_role_policy) | resource |
| [aws_caller_identity.current](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/caller_identity) | data source |
## Inputs
No inputs.
## Outputs
No outputs.