You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Attempt to fix Invalid for_each argument for var.custom_iam_policy_arns (#11)
* Fixing logic for lambda function policy
* Fixing logic for lambda function policy
* Fixing logic for lambda function policy
* Fixing logic for lambda function policy
* Fixing logic for lambda function policy
* Auto Format
* Fixing logic for lambda function policy
* Fixing logic for lambda function policy
* Auto Format
* Fixing logic for lambda function policy
* Auto Format
* Fixing logic for lambda function policy
* Fixing logic for lambda function policy
* Fixing logic for lambda function policy
* Auto Format
* Keep for_each and expand tests
* Auto Format
* Update iam-role.tf
* Add role_name output
* Update variables.tf
* Update iam-role.tf
* Auto Format
* Update main.tf
* Add inside/outside and enabled flag
* Update main.tf
* Add context to iam_policy and count to archive
* Auto Format
* Unique policy names
* Auto Format
* Use label, construct string arn
* Add role_arn output
* Auto Format
* Use join splat
* Remove the iam_policy module
* Add count logic to assume_role_policy
* More robust no changes check
* Update common.go
Co-authored-by: cloudpossebot <[email protected]>
Co-authored-by: nitrocode <[email protected]>
Copy file name to clipboardExpand all lines: README.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -186,7 +186,7 @@ Available targets:
186
186
| <aname="input_cloudwatch_logs_kms_key_arn"></a> [cloudwatch\_logs\_kms\_key\_arn](#input\_cloudwatch\_logs\_kms\_key\_arn)| The ARN of the KMS Key to use when encrypting log data. |`string`|`null`| no |
187
187
| <aname="input_cloudwatch_logs_retention_in_days"></a> [cloudwatch\_logs\_retention\_in\_days](#input\_cloudwatch\_logs\_retention\_in\_days)| Specifies the number of days you want to retain log events in the specified log group. Possible values are: <br> 1, 3, 5, 7, 14, 30, 60, 90, 120, 150, 180, 365, 400, 545, 731, 1827, 3653, and 0. If you select 0, the events in the <br> log group are always retained and never expire. |`number`|`null`| no |
188
188
| <aname="input_context"></a> [context](#input\_context)| Single object for setting entire context at once.<br>See description of individual variables for details.<br>Leave string and numeric variables as `null` to use default value.<br>Individual variable settings (non-null) override settings in context object,<br>except for attributes, tags, and additional\_tag\_map, which are merged. |`any`| <pre>{<br> "additional_tag_map": {},<br> "attributes": [],<br> "delimiter": null,<br> "descriptor_formats": {},<br> "enabled": true,<br> "environment": null,<br> "id_length_limit": null,<br> "label_key_case": null,<br> "label_order": [],<br> "label_value_case": null,<br> "labels_as_tags": [<br> "unset"<br> ],<br> "name": null,<br> "namespace": null,<br> "regex_replace_chars": null,<br> "stage": null,<br> "tags": {},<br> "tenant": null<br>}</pre> | no |
189
-
| <aname="input_custom_iam_policy_arns"></a> [custom\_iam\_policy\_arns](#input\_custom\_iam\_policy\_arns)|List of custom policies to be attached to the lambda role |`set(string)`|`[]`| no |
189
+
| <aname="input_custom_iam_policy_arns"></a> [custom\_iam\_policy\_arns](#input\_custom\_iam\_policy\_arns)|ARNs of custom policies to be attached to the lambda role |`set(string)`|`[]`| no |
190
190
| <aname="input_delimiter"></a> [delimiter](#input\_delimiter)| Delimiter to be used between ID elements.<br>Defaults to `-` (hyphen). Set to `""` to use no delimiter at all. |`string`|`null`| no |
191
191
| <aname="input_description"></a> [description](#input\_description)| Description of what the Lambda Function does. |`string`|`null`| no |
192
192
| <aname="input_descriptor_formats"></a> [descriptor\_formats](#input\_descriptor\_formats)| Describe additional descriptors to be output in the `descriptors` output map.<br>Map of maps. Keys are names of descriptors. Values are maps of the form<br>`{<br> format = string<br> labels = list(string)<br>}`<br>(Type is `any` so the map values can later be enhanced to provide additional options.)<br>`format` is a Terraform format string to be passed to the `format()` function.<br>`labels` is a list of labels, in order, to pass to `format()` function.<br>Label values will be normalized before being passed to `format()` so they will be<br>identical to how they appear in `id`.<br>Default is `{}` (`descriptors` output will be empty). |`any`|`{}`| no |
@@ -238,6 +238,8 @@ Available targets:
238
238
| <aname="output_function_name"></a> [function\_name](#output\_function\_name)| Lambda function name |
239
239
| <aname="output_invoke_arn"></a> [invoke\_arn](#output\_invoke\_arn)| Inkoke ARN of the lambda function |
240
240
| <aname="output_qualified_arn"></a> [qualified\_arn](#output\_qualified\_arn)| ARN identifying your Lambda Function Version (if versioning is enabled via publish = true) |
241
+
| <aname="output_role_arn"></a> [role\_arn](#output\_role\_arn)| Lambda IAM role ARN |
242
+
| <aname="output_role_name"></a> [role\_name](#output\_role\_name)| Lambda IAM role name |
Copy file name to clipboardExpand all lines: docs/terraform.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -51,7 +51,7 @@
51
51
| <aname="input_cloudwatch_logs_kms_key_arn"></a> [cloudwatch\_logs\_kms\_key\_arn](#input\_cloudwatch\_logs\_kms\_key\_arn)| The ARN of the KMS Key to use when encrypting log data. |`string`|`null`| no |
52
52
| <aname="input_cloudwatch_logs_retention_in_days"></a> [cloudwatch\_logs\_retention\_in\_days](#input\_cloudwatch\_logs\_retention\_in\_days)| Specifies the number of days you want to retain log events in the specified log group. Possible values are: <br> 1, 3, 5, 7, 14, 30, 60, 90, 120, 150, 180, 365, 400, 545, 731, 1827, 3653, and 0. If you select 0, the events in the <br> log group are always retained and never expire. |`number`|`null`| no |
53
53
| <aname="input_context"></a> [context](#input\_context)| Single object for setting entire context at once.<br>See description of individual variables for details.<br>Leave string and numeric variables as `null` to use default value.<br>Individual variable settings (non-null) override settings in context object,<br>except for attributes, tags, and additional\_tag\_map, which are merged. |`any`| <pre>{<br> "additional_tag_map": {},<br> "attributes": [],<br> "delimiter": null,<br> "descriptor_formats": {},<br> "enabled": true,<br> "environment": null,<br> "id_length_limit": null,<br> "label_key_case": null,<br> "label_order": [],<br> "label_value_case": null,<br> "labels_as_tags": [<br> "unset"<br> ],<br> "name": null,<br> "namespace": null,<br> "regex_replace_chars": null,<br> "stage": null,<br> "tags": {},<br> "tenant": null<br>}</pre> | no |
54
-
| <aname="input_custom_iam_policy_arns"></a> [custom\_iam\_policy\_arns](#input\_custom\_iam\_policy\_arns)|List of custom policies to be attached to the lambda role |`set(string)`|`[]`| no |
54
+
| <aname="input_custom_iam_policy_arns"></a> [custom\_iam\_policy\_arns](#input\_custom\_iam\_policy\_arns)|ARNs of custom policies to be attached to the lambda role |`set(string)`|`[]`| no |
55
55
| <aname="input_delimiter"></a> [delimiter](#input\_delimiter)| Delimiter to be used between ID elements.<br>Defaults to `-` (hyphen). Set to `""` to use no delimiter at all. |`string`|`null`| no |
56
56
| <aname="input_description"></a> [description](#input\_description)| Description of what the Lambda Function does. |`string`|`null`| no |
57
57
| <aname="input_descriptor_formats"></a> [descriptor\_formats](#input\_descriptor\_formats)| Describe additional descriptors to be output in the `descriptors` output map.<br>Map of maps. Keys are names of descriptors. Values are maps of the form<br>`{<br> format = string<br> labels = list(string)<br>}`<br>(Type is `any` so the map values can later be enhanced to provide additional options.)<br>`format` is a Terraform format string to be passed to the `format()` function.<br>`labels` is a list of labels, in order, to pass to `format()` function.<br>Label values will be normalized before being passed to `format()` so they will be<br>identical to how they appear in `id`.<br>Default is `{}` (`descriptors` output will be empty). |`any`|`{}`| no |
@@ -103,4 +103,6 @@
103
103
| <aname="output_function_name"></a> [function\_name](#output\_function\_name)| Lambda function name |
104
104
| <aname="output_invoke_arn"></a> [invoke\_arn](#output\_invoke\_arn)| Inkoke ARN of the lambda function |
105
105
| <aname="output_qualified_arn"></a> [qualified\_arn](#output\_qualified\_arn)| ARN identifying your Lambda Function Version (if versioning is enabled via publish = true) |
106
+
| <aname="output_role_arn"></a> [role\_arn](#output\_role\_arn)| Lambda IAM role ARN |
107
+
| <aname="output_role_name"></a> [role\_name](#output\_role\_name)| Lambda IAM role name |
0 commit comments