From 0c2eafb35a8588c10a19997a9b53e7117e0f71ec Mon Sep 17 00:00:00 2001 From: Relk Li Date: Mon, 6 Nov 2023 10:45:05 +0800 Subject: [PATCH] docs: terraform docs --- docs/variables.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/docs/variables.md b/docs/variables.md index 5bde5e7..fb863de 100644 --- a/docs/variables.md +++ b/docs/variables.md @@ -6,14 +6,16 @@ This document gives an overview of variables used in the aws asg lifecycle modul | Name | Version | |------|---------| -| [terraform](#requirement\_terraform) | >= 0.13.1 | +| [terraform](#requirement\_terraform) | >= 1.5.0 | +| [aws](#requirement\_aws) | ~> 5.0 | +| [null](#requirement\_null) | ~> 3.0 | ## Providers | Name | Version | |------|---------| -| [aws](#provider\_aws) | n/a | -| [null](#provider\_null) | n/a | +| [aws](#provider\_aws) | 5.24.0 | +| [null](#provider\_null) | 3.2.1 | ## Modules @@ -34,14 +36,13 @@ This document gives an overview of variables used in the aws asg lifecycle modul | [null_resource.assign_default_sg](https://registry.terraform.io/providers/hashicorp/null/latest/docs/resources/resource) | resource | | [aws_iam_policy_document.lifecycle](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document) | data source | | [aws_iam_policy_document.lifecycle_profile](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document) | data source | +| [aws_region.current](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/region) | data source | ## Inputs | Name | Description | Type | Default | Required | |------|-------------|------|---------|:--------:| | [autoscaling\_group\_name](#input\_autoscaling\_group\_name) | The name of the Auto Scaling group to which you want to assign the lifecycle hook | `string` | n/a | yes | -| [cloudwatch\_log\_group\_kms\_key\_id](#input\_cloudwatch\_log\_group\_kms\_key\_id) | The ARN of the KMS Key to use when encrypting log data for Lambda | `string` | `null` | no | -| [cloudwatch\_log\_group\_retention\_in\_days](#input\_cloudwatch\_log\_group\_retention\_in\_days) | Specifies the number of days you want to retain log events in log group for Lambda. | `number` | `90` | no | | [default\_result](#input\_default\_result) | (optional) describe your variable |
object({
launching = string
terminating = string
})
| n/a | yes | | [extra\_tags](#input\_extra\_tags) | The extra tag for resource | `map(string)` | n/a | yes | | [heartbeat\_timeout](#input\_heartbeat\_timeout) | lifecycle hook timeout in second |
object({
launching = number
terminating = number
})
| n/a | yes |