diff --git a/CHANGELOG.md b/CHANGELOG.md index 231f0bd..7a863f1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,12 @@ +## 2.0.0 + +ENHANCEMENTS: +* Upgraded terraform version to 0.13 [#5](https://github.com/zoitech/terraform-aws-ec2/issues/5) + +BACKWARDS INCOMPATIBILITIES / NOTES: +* Works with terraform 0.13.x + + ## 1.1.0 ENHANCEMENTS: diff --git a/README.md b/README.md index a91e2b1..614ed8e 100644 --- a/README.md +++ b/README.md @@ -67,4 +67,49 @@ Please refer to [CHANGELOG.md](CHANGELOG.md) for the latest release. module "my_ec2" { source = "git::https://github.com/zoitech/terraform-aws-ec2.git?ref=1.0.0" } -``` \ No newline at end of file +```## Requirements + +| Name | Version | +|------|---------| +| [terraform](#requirement\_terraform) | >= 0.13 | + +## Providers + +| Name | Version | +|------|---------| +| [aws](#provider\_aws) | n/a | + +## Modules + +No modules. + +## Resources + +| Name | Type | +|------|------| +| [aws_ebs_volume.data_disks](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/ebs_volume) | resource | +| [aws_iam_instance_profile.profile](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_instance_profile) | resource | +| [aws_instance.instance](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/instance) | resource | +| [aws_volume_attachment.data_disks](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/volume_attachment) | resource | + +## Inputs + +| Name | Description | Type | Default | Required | +|------|-------------|------|---------|:--------:| +| [ami](#input\_ami) | The AMI to use for the instance | `string` | `""` | no | +| [ebs\_volume\_data\_disks](#input\_ebs\_volume\_data\_disks) | Additional EBS block devices to attach to the instance | `map(any)` | `null` | no | +| [iam\_instance\_profile\_name](#input\_iam\_instance\_profile\_name) | (Optional, Forces new resource) The profile's name. If omitted, Terraform will assign a random, unique name. | `string` | `""` | no | +| [iam\_role\_name](#input\_iam\_role\_name) | (Optional) The role name to include in the profile | `string` | `""` | no | +| [instance\_type](#input\_instance\_type) | Specify which instance type to use | `string` | `"t2.micro"` | no | +| [key\_name](#input\_key\_name) | Specify key pair to use for decrypting the login password | `string` | `""` | no | +| [root\_block\_device](#input\_root\_block\_device) | Customize details about the root block device of the instance. See Block Devices below for details | `list(any)` | `null` | no | +| [subnet\_id](#input\_subnet\_id) | The VPC Subnet ID to launch in | `string` | `""` | no | +| [tags\_ebs\_volume\_data\_disks](#input\_tags\_ebs\_volume\_data\_disks) | Set of tags for all EBS data volumes | `map(any)` | `{}` | no | +| [tags\_instance](#input\_tags\_instance) | Tags for the instance/server | `map(any)` | `{}` | no | +| [tags\_root\_volume](#input\_tags\_root\_volume) | Tags for the root volume | `map(any)` | `{}` | no | +| [user\_data](#input\_user\_data) | (Optional) The user data to provide when launching the instance. Do not pass gzip-compressed data via this argument; see user\_data\_base64 instead. | `string` | `""` | no | +| [vpc\_security\_group\_ids](#input\_vpc\_security\_group\_ids) | A list of security group IDs to associate with | `list` | `[]` | no | + +## Outputs + +No outputs. diff --git a/versions.tf b/versions.tf index ac97c6a..241ac05 100644 --- a/versions.tf +++ b/versions.tf @@ -1,4 +1,9 @@ terraform { - required_version = ">= 0.12" + required_version = ">= 0.13" + required_providers { + aws = { + source = "hashicorp/aws" + } + } }