|
| 1 | +## Requirements |
| 2 | + |
| 3 | +No requirements. |
| 4 | + |
| 5 | +## Providers |
| 6 | + |
| 7 | +| Name | Version | |
| 8 | +|------|---------| |
| 9 | +| <a name="provider_aws"></a> [aws](#provider\_aws) | n/a | |
| 10 | + |
| 11 | +## Modules |
| 12 | + |
| 13 | +No modules. |
| 14 | + |
| 15 | +## Resources |
| 16 | + |
| 17 | +| Name | Type | |
| 18 | +|------|------| |
| 19 | +| [aws_eip.comet_ec2_eip](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/eip) | resource | |
| 20 | +| [aws_iam_instance_profile.comet-ec2-instance-profile](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_instance_profile) | resource | |
| 21 | +| [aws_iam_role.comet-ec2-s3-access-role](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_role) | resource | |
| 22 | +| [aws_iam_role_policy_attachment.comet-ml-s3-access-attachment](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_role_policy_attachment) | resource | |
| 23 | +| [aws_instance.comet_ec2](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/instance) | resource | |
| 24 | +| [aws_security_group.comet_ec2_sg](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/security_group) | resource | |
| 25 | +| [aws_vpc_security_group_egress_rule.comet_ec2_egress_any](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/vpc_security_group_egress_rule) | resource | |
| 26 | +| [aws_vpc_security_group_ingress_rule.comet_ec2_alb_http](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/vpc_security_group_ingress_rule) | resource | |
| 27 | +| [aws_vpc_security_group_ingress_rule.comet_ec2_ingress_http](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/vpc_security_group_ingress_rule) | resource | |
| 28 | +| [aws_vpc_security_group_ingress_rule.comet_ec2_ingress_https](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/vpc_security_group_ingress_rule) | resource | |
| 29 | +| [aws_vpc_security_group_ingress_rule.comet_ec2_ingress_ssh](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/vpc_security_group_ingress_rule) | resource | |
| 30 | +| [aws_ami.al2](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/ami) | data source | |
| 31 | +| [aws_ami.rhel7](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/ami) | data source | |
| 32 | +| [aws_ami.rhel8](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/ami) | data source | |
| 33 | +| [aws_ami.rhel9](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/ami) | data source | |
| 34 | +| [aws_ami.ubuntu18](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/ami) | data source | |
| 35 | +| [aws_ami.ubuntu20](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/ami) | data source | |
| 36 | +| [aws_ami.ubuntu22](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/ami) | data source | |
| 37 | + |
| 38 | +## Inputs |
| 39 | + |
| 40 | +| Name | Description | Type | Default | Required | |
| 41 | +|------|-------------|------|---------|:--------:| |
| 42 | +| <a name="input_alb_enabled"></a> [alb\_enabled](#input\_alb\_enabled) | Indicates if ALB is being provisioned for Comet EC2 instance | `bool` | `null` | no | |
| 43 | +| <a name="input_comet_ec2_alb_sg"></a> [comet\_ec2\_alb\_sg](#input\_comet\_ec2\_alb\_sg) | ID of the security group attached to an associated application load balancer, for creating ingress EC2 SG rule | `string` | n/a | yes | |
| 44 | +| <a name="input_comet_ec2_ami_type"></a> [comet\_ec2\_ami\_type](#input\_comet\_ec2\_ami\_type) | Operating system type for the EC2 instance AMI | `string` | n/a | yes | |
| 45 | +| <a name="input_comet_ec2_instance_count"></a> [comet\_ec2\_instance\_count](#input\_comet\_ec2\_instance\_count) | Number of EC2 instances to provision | `number` | n/a | yes | |
| 46 | +| <a name="input_comet_ec2_instance_type"></a> [comet\_ec2\_instance\_type](#input\_comet\_ec2\_instance\_type) | Instance type for the EC2 instance | `string` | n/a | yes | |
| 47 | +| <a name="input_comet_ec2_key"></a> [comet\_ec2\_key](#input\_comet\_ec2\_key) | Name of the SSH key to configure on the EC2 instance | `string` | n/a | yes | |
| 48 | +| <a name="input_comet_ec2_s3_iam_policy"></a> [comet\_ec2\_s3\_iam\_policy](#input\_comet\_ec2\_s3\_iam\_policy) | Policy granting access to Comet S3 bucket | `string` | n/a | yes | |
| 49 | +| <a name="input_comet_ec2_subnet"></a> [comet\_ec2\_subnet](#input\_comet\_ec2\_subnet) | ID of VPC subnet to launch EC2 instance in | `string` | n/a | yes | |
| 50 | +| <a name="input_comet_ec2_volume_size"></a> [comet\_ec2\_volume\_size](#input\_comet\_ec2\_volume\_size) | Size, in gibibytes (GiB), for the EC2 instance root volume | `number` | n/a | yes | |
| 51 | +| <a name="input_comet_ec2_volume_type"></a> [comet\_ec2\_volume\_type](#input\_comet\_ec2\_volume\_type) | EBS volume type for the EC2 instance root volume | `string` | n/a | yes | |
| 52 | +| <a name="input_environment"></a> [environment](#input\_environment) | Deployment environment, i.e. dev/stage/prod, etc | `string` | `"dev"` | no | |
| 53 | +| <a name="input_s3_enabled"></a> [s3\_enabled](#input\_s3\_enabled) | Indicates if S3 bucket is being provisioned for Comet | `bool` | `null` | no | |
| 54 | +| <a name="input_vpc_id"></a> [vpc\_id](#input\_vpc\_id) | ID of the VPC that will contain the provisioned resources | `string` | n/a | yes | |
| 55 | + |
| 56 | +## Outputs |
| 57 | + |
| 58 | +| Name | Description | |
| 59 | +|------|-------------| |
| 60 | +| <a name="output_comet_ec2_instance_id"></a> [comet\_ec2\_instance\_id](#output\_comet\_ec2\_instance\_id) | ID of the EC2 instance | |
| 61 | +| <a name="output_comet_ec2_public_ip"></a> [comet\_ec2\_public\_ip](#output\_comet\_ec2\_public\_ip) | Public IP of the EIP associated with the EC2 instance | |
| 62 | +| <a name="output_comet_ec2_sg_id"></a> [comet\_ec2\_sg\_id](#output\_comet\_ec2\_sg\_id) | ID of the security group associated with the EC2 instance | |
0 commit comments