Skip to content

Commit be13877

Browse files
authored
fix[version]: updating min versions for lambda and cx role (#305)
* updating min versions for lambda and cx role * docs and fmt
1 parent c0c5731 commit be13877

File tree

17 files changed

+71
-99
lines changed

17 files changed

+71
-99
lines changed

aws-aurora-mysql/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ No provider.
5454
| database\_subnet\_group | The name of an existing database subnet group to use. | `string` | n/a | yes |
5555
| database\_username | Default user to be created. | `string` | n/a | yes |
5656
| db\_deletion\_protection | n/a | `string` | `false` | no |
57-
| db\_parameters | Instance params you can set. [Doc](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraMySQL.Reference.html#AuroraMySQL.Reference.Parameters.Instance) | `list` | <pre>[<br> {<br> "apply_method": "pending-reboot",<br> "name": "general_log",<br> "value": 1<br> },<br> {<br> "apply_method": "pending-reboot",<br> "name": "slow_query_log",<br> "value": "1"<br> },<br> {<br> "apply_method": "pending-reboot",<br> "name": "long_query_time",<br> "value": "0"<br> },<br> {<br> "apply_method": "pending-reboot",<br> "name": "log_output",<br> "value": "file"<br> },<br> {<br> "apply_method": "pending-reboot",<br> "name": "log_queries_not_using_indexes",<br> "value": "1"<br> }<br>]</pre> | no |
57+
| db\_parameters | Instance params you can set. [Doc](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraMySQL.Reference.html#AuroraMySQL.Reference.Parameters.Instance) | `list(any)` | <pre>[<br> {<br> "apply_method": "pending-reboot",<br> "name": "general_log",<br> "value": 1<br> },<br> {<br> "apply_method": "pending-reboot",<br> "name": "slow_query_log",<br> "value": "1"<br> },<br> {<br> "apply_method": "pending-reboot",<br> "name": "long_query_time",<br> "value": "0"<br> },<br> {<br> "apply_method": "pending-reboot",<br> "name": "log_output",<br> "value": "file"<br> },<br> {<br> "apply_method": "pending-reboot",<br> "name": "log_queries_not_using_indexes",<br> "value": "1"<br> }<br>]</pre> | no |
5858
| engine\_version | The version of the engine to be used for aurora-mysql. | `string` | `"5.7"` | no |
5959
| env | Env for tagging and naming. See [doc](../README.md#consistent-tagging). | `string` | n/a | yes |
6060
| iam\_database\_authentication\_enabled | n/a | `string` | `false` | no |
@@ -68,7 +68,7 @@ No provider.
6868
| performance\_insights\_enabled | n/a | `string` | `false` | no |
6969
| project | Project for tagging and naming. See [doc](../README.md#consistent-tagging) | `string` | n/a | yes |
7070
| publicly\_accessible | Avoid doing this - it gives access to the open internet. | `string` | `false` | no |
71-
| rds\_cluster\_parameters | Cluster params you can set. [Doc](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraMySQL.Reference.html#AuroraMySQL.Reference.Parameters.Cluster) | `list` | <pre>[<br> {<br> "apply_method": "pending-reboot",<br> "name": "character_set_server",<br> "value": "utf8"<br> },<br> {<br> "apply_method": "pending-reboot",<br> "name": "character_set_client",<br> "value": "utf8"<br> }<br>]</pre> | no |
71+
| rds\_cluster\_parameters | Cluster params you can set. [Doc](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraMySQL.Reference.html#AuroraMySQL.Reference.Parameters.Cluster) | `list(any)` | <pre>[<br> {<br> "apply_method": "pending-reboot",<br> "name": "character_set_server",<br> "value": "utf8"<br> },<br> {<br> "apply_method": "pending-reboot",<br> "name": "character_set_client",<br> "value": "utf8"<br> }<br>]</pre> | no |
7272
| service | Service for tagging and naming. See [doc](../README.md#consistent-tagging). | `string` | n/a | yes |
7373
| skip\_final\_snapshot | When you destroy a database RDS will, by default, take snapshot. Set this to skip that step. | `string` | `false` | no |
7474
| vpc\_id | The id of the existing VPC in which this cluster should be created. | `string` | n/a | yes |

aws-aurora-postgres/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ No provider.
5151
| database\_password | Password for user that will be created. | `string` | n/a | yes |
5252
| database\_subnet\_group | The name of an existing database subnet group to use. | `string` | n/a | yes |
5353
| database\_username | Default user to be created. | `string` | n/a | yes |
54-
| db\_parameters | Instance params you can set. [Doc](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraPostgreSQL.Reference.html#AuroraPostgreSQL.Reference.Parameters.Instance) | `list` | `[]` | no |
54+
| db\_parameters | Instance params you can set. [Doc](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraPostgreSQL.Reference.html#AuroraPostgreSQL.Reference.Parameters.Instance) | `list(any)` | `[]` | no |
5555
| engine\_version | The version of Postgres to use. | `string` | `"10"` | no |
5656
| env | Env for tagging and naming. See [doc](../README.md#consistent-tagging). | `string` | n/a | yes |
5757
| iam\_database\_authentication\_enabled | n/a | `string` | `false` | no |
@@ -64,7 +64,7 @@ No provider.
6464
| performance\_insights\_enabled | n/a | `string` | `false` | no |
6565
| project | Project for tagging and naming. See [doc](../README.md#consistent-tagging) | `string` | n/a | yes |
6666
| publicly\_accessible | Avoid doing this - it gives access to the open internet. | `string` | `false` | no |
67-
| rds\_cluster\_parameters | Cluster params you can set. [Doc](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraPostgreSQL.Reference.html#AuroraPostgreSQL.Reference.Parameters.Cluster) | `list` | `[]` | no |
67+
| rds\_cluster\_parameters | Cluster params you can set. [Doc](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraPostgreSQL.Reference.html#AuroraPostgreSQL.Reference.Parameters.Cluster) | `list(any)` | `[]` | no |
6868
| service | Service for tagging and naming. See [doc](../README.md#consistent-tagging). | `string` | n/a | yes |
6969
| skip\_final\_snapshot | When you destroy a database RDS will, by default, take snapshot. Set this to skip that step. | `string` | `false` | no |
7070
| vpc\_id | The id of the existing VPC in which this cluster should be created. | `string` | n/a | yes |

aws-aurora/README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ This is a low-level module for creating AWS Aurora clusters. We strongly reccome
2828
| database\_subnet\_group | n/a | `string` | n/a | yes |
2929
| database\_username | n/a | `string` | n/a | yes |
3030
| db\_deletion\_protection | n/a | `string` | `false` | no |
31-
| db\_parameters | n/a | `list` | `[]` | no |
32-
| enabled\_cloudwatch\_logs\_exports | n/a | `list` | `[]` | no |
31+
| db\_parameters | n/a | `list(any)` | `[]` | no |
32+
| enabled\_cloudwatch\_logs\_exports | n/a | `list(any)` | `[]` | no |
3333
| engine | n/a | `string` | n/a | yes |
3434
| engine\_version | n/a | `string` | n/a | yes |
3535
| env | Env for tagging and naming. See [doc](../README.md#consistent-tagging). | `string` | n/a | yes |
@@ -45,7 +45,7 @@ This is a low-level module for creating AWS Aurora clusters. We strongly reccome
4545
| port | n/a | `string` | n/a | yes |
4646
| project | Project for tagging and naming. See [doc](../README.md#consistent-tagging) | `string` | n/a | yes |
4747
| publicly\_accessible | n/a | `bool` | `false` | no |
48-
| rds\_cluster\_parameters | n/a | `list` | `[]` | no |
48+
| rds\_cluster\_parameters | n/a | `list(any)` | `[]` | no |
4949
| service | Service for tagging and naming. See [doc](../README.md#consistent-tagging). | `string` | n/a | yes |
5050
| skip\_final\_snapshot | n/a | `bool` | `false` | no |
5151
| vpc\_id | n/a | `string` | n/a | yes |

aws-iam-group-assume-role/README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,12 @@ output "group_name" {
4040

4141
| Name | Description | Type | Default | Required |
4242
|------|-------------|------|---------|:--------:|
43-
| dependencies | Pseudo depends\_on because Terraform modules do not support depends\_on | `list` | `[]` | no |
43+
| dependencies | Pseudo depends\_on because Terraform modules do not support depends\_on | `list(any)` | `[]` | no |
4444
| group\_name | The name of the group this module will create. | `string` | n/a | yes |
4545
| iam\_path | The IAM path under which the group and policies will be created. Useful for avoiding naming conflicts. | `string` | `"/"` | no |
46-
| target\_accounts | List of accounts in which this role should be assume-able. | `list` | n/a | yes |
46+
| target\_accounts | List of accounts in which this role should be assume-able. | `list(any)` | n/a | yes |
4747
| target\_role | Name of the role to be assume-able. If not specified or given as empty string, then the group name will be used as the role name. | `string` | `""` | no |
48-
| users | List of user's names who should be added to this group. | `list` | `[]` | no |
48+
| users | List of user's names who should be added to this group. | `list(any)` | `[]` | no |
4949

5050
## Outputs
5151

aws-iam-role-bless/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ output "..." {
3636

3737
| Name | Description | Type | Default | Required |
3838
|------|-------------|------|---------|:--------:|
39-
| bless\_lambda\_arns | List of bless lambda arns | `list` | n/a | yes |
39+
| bless\_lambda\_arns | List of bless lambda arns | `list(any)` | n/a | yes |
4040
| env | Env for tagging and naming. See [doc](../README.md#consistent-tagging) | `string` | n/a | yes |
4141
| iam\_path | IAM path | `string` | `"/"` | no |
4242
| owner | Owner for tagging and naming. See [doc](../README.md#consistent-tagging) | `string` | n/a | yes |

aws-iam-role-cloudfront-poweruser/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ This module will create a role which is granted poweruser control over AWS Cloud
2424
| owner | Owner for tagging and naming. See [doc](../README.md#consistent-tagging) | `string` | n/a | yes |
2525
| project | Project for tagging and naming. See [doc](../README.md#consistent-tagging) | `string` | n/a | yes |
2626
| role\_name | Name of the role to create | `string` | n/a | yes |
27-
| s3\_bucket\_prefixes | Limits role permissions to buckets with specific prefixes. Empty for all buckets. | `list` | <pre>[<br> ""<br>]</pre> | no |
27+
| s3\_bucket\_prefixes | Limits role permissions to buckets with specific prefixes. Empty for all buckets. | `list(any)` | <pre>[<br> ""<br>]</pre> | no |
2828
| saml\_idp\_arn | The AWS SAML IDP arn to establish a trust relationship. Ignored if empty or not provided. | `string` | `""` | no |
2929
| service | Service for tagging and naming. See [doc](../README.md#consistent-tagging) | `string` | n/a | yes |
3030
| source\_account\_id | The source AWS account to establish a trust relationship. Ignored if empty or not provided. DEPRECATED: Please use source\_account\_ids. | `string` | `""` | no |

aws-iam-role-crossacct/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@ module "group" {
2121

2222
| Name | Version |
2323
|------|---------|
24-
| aws | < 3.0.0 |
24+
| aws | >= 2.60.0 |
2525

2626
## Providers
2727

2828
| Name | Version |
2929
|------|---------|
30-
| aws | < 3.0.0 |
30+
| aws | >= 2.60.0 |
3131

3232
## Inputs
3333

aws-iam-role-crossacct/terraform.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
terraform {
22
required_providers {
3-
aws = "< 3.0.0"
3+
aws = ">= 2.60.0"
44
}
55
}

aws-iam-role/README.md

+17-29
Original file line numberDiff line numberDiff line change
@@ -30,48 +30,36 @@ module iam-role {
3030

3131
| Name | Version |
3232
|------|---------|
33-
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | < 3.0.0 |
33+
| aws | < 3.0.0 |
3434

3535
## Providers
3636

3737
| Name | Version |
3838
|------|---------|
39-
| <a name="provider_aws"></a> [aws](#provider\_aws) | < 3.0.0 |
40-
41-
## Modules
42-
43-
No modules.
44-
45-
## Resources
46-
47-
| Name | Type |
48-
|------|------|
49-
| [aws_iam_role.role](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_role) | resource |
50-
| [aws_iam_role_policy.policy](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_role_policy) | resource |
51-
| [aws_iam_role_policy_attachment.policy_attachment](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_role_policy_attachment) | resource |
52-
| [aws_iam_policy_document.assume_role_policy](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document) | data source |
39+
| aws | < 3.0.0 |
5340

5441
## Inputs
5542

5643
| Name | Description | Type | Default | Required |
5744
|------|-------------|------|---------|:--------:|
58-
| <a name="input_attached_policies_names_arns"></a> [attached\_policies\_names\_arns](#input\_attached\_policies\_names\_arns) | Map of policy names to the respective ARNs to be attached to the IAM role. | `map(string)` | `{}` | no |
59-
| <a name="input_env"></a> [env](#input\_env) | Env for tagging and naming. See [doc](../README.md#consistent-tagging) | `string` | n/a | yes |
60-
| <a name="input_iam_path"></a> [iam\_path](#input\_iam\_path) | The IAM path under which the IAM role will be created. | `string` | `null` | no |
61-
| <a name="input_inline_policies"></a> [inline\_policies](#input\_inline\_policies) | List of inline policies to be associated with the IAM role. | `list(object({ name = string, policy = string }))` | `[]` | no |
62-
| <a name="input_max_session_duration"></a> [max\_session\_duration](#input\_max\_session\_duration) | The maximum amount of time, in seconds, that a principal can assume this role. | `number` | `3600` | no |
63-
| <a name="input_owner"></a> [owner](#input\_owner) | Owner for tagging and naming. See [doc](../README.md#consistent-tagging) | `string` | n/a | yes |
64-
| <a name="input_principals"></a> [principals](#input\_principals) | AWS IAM Principals which will be able to assume this role. | `list(object({ type = string, identifiers = list(string) }))` | n/a | yes |
65-
| <a name="input_project"></a> [project](#input\_project) | Project for tagging and naming. See [doc](../README.md#consistent-tagging) | `string` | n/a | yes |
66-
| <a name="input_role_description"></a> [role\_description](#input\_role\_description) | IAM role description. | `string` | `null` | no |
67-
| <a name="input_role_name"></a> [role\_name](#input\_role\_name) | IAM role name. | `string` | n/a | yes |
68-
| <a name="input_saml_idp_arn"></a> [saml\_idp\_arn](#input\_saml\_idp\_arn) | The AWS SAML IDP arn to establish a trust relationship. Ignored if empty or not provided. | `string` | `""` | no |
69-
| <a name="input_service"></a> [service](#input\_service) | Service for tagging and naming. See [doc](../README.md#consistent-tagging) | `string` | n/a | yes |
45+
| attached\_policies\_names\_arns | Map of policy names to the respective ARNs to be attached to the IAM role. | `map(string)` | `{}` | no |
46+
| env | Env for tagging and naming. See [doc](../README.md#consistent-tagging) | `string` | n/a | yes |
47+
| iam\_path | The IAM path under which the IAM role will be created. | `string` | `null` | no |
48+
| inline\_policies | List of inline policies to be associated with the IAM role. | `list(object({ name = string, policy = string }))` | `[]` | no |
49+
| max\_session\_duration | The maximum amount of time, in seconds, that a principal can assume this role. | `number` | `3600` | no |
50+
| owner | Owner for tagging and naming. See [doc](../README.md#consistent-tagging) | `string` | n/a | yes |
51+
| principals | AWS IAM Principals which will be able to assume this role. | `list(object({ type = string, identifiers = list(string) }))` | n/a | yes |
52+
| project | Project for tagging and naming. See [doc](../README.md#consistent-tagging) | `string` | n/a | yes |
53+
| role\_description | IAM role description. | `string` | `null` | no |
54+
| role\_name | IAM role name. | `string` | n/a | yes |
55+
| saml\_idp\_arn | The AWS SAML IDP arn to establish a trust relationship. Ignored if empty or not provided. | `string` | `""` | no |
56+
| service | Service for tagging and naming. See [doc](../README.md#consistent-tagging) | `string` | n/a | yes |
7057

7158
## Outputs
7259

7360
| Name | Description |
7461
|------|-------------|
75-
| <a name="output_role_arn"></a> [role\_arn](#output\_role\_arn) | IAM role ARN. |
76-
| <a name="output_role_name"></a> [role\_name](#output\_role\_name) | IAM role name. |
62+
| role\_arn | IAM role ARN. |
63+
| role\_name | IAM role name. |
64+
7765
<!-- END -->

0 commit comments

Comments
 (0)