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
-`cloudwatch_log_group_arn` - The ARN of the CloudWatch Log Group
73
+
-`logging_role_arn` - The ARN of the IAM role used for logging
74
+
30
75
### Complete example
31
76
In this example the register is defined in detailed.
32
77
@@ -192,6 +237,8 @@ No modules.
192
237
| <aname="input_tags"></a> [tags](#input\_tags)| A map of tags to assign to all resources created by this module.<br/>Tags are key-value pairs that help you manage, identify, organize, search for and filter resources.<br/>Example: { Environment = "Production", Owner = "Team" } |`map(string)`|`{}`| no |
193
238
| <aname="input_timeouts"></a> [timeouts](#input\_timeouts)| Timeout configuration for repository operations.<br/>Specify as an object with a 'delete' key containing a duration string (e.g. "20m").<br/>Example: { delete = "20m" } | <pre>object({<br/> delete = optional(string)<br/> })</pre> |`{}`| no |
194
239
| <aname="input_timeouts_delete"></a> [timeouts\_delete](#input\_timeouts\_delete)| Deprecated: Use timeouts = { delete = "duration" } instead.<br/>How long to wait for a repository to be deleted.<br/>Specify as a duration string, e.g. "20m" for 20 minutes. |`string`|`null`| no |
240
+
| <aname="input_enable_logging"></a> [enable\_logging](#input\_enable\_logging)| Whether to enable CloudWatch logging for the repository.<br/>When set to true, logs for ECR API actions and image push/pull events will be sent to CloudWatch Logs.<br/>Defaults to false to disable logging. |`bool`|`false`| no |
241
+
| <aname="input_log_retention_days"></a> [log\_retention\_days](#input\_log\_retention\_days)| The number of days to retain logs in the CloudWatch Log Group.<br/>Valid values: 0,1,3,5,7,14,30,60,90,120,150,180,365,400,545,731,1827,3653.<br/>Defaults to 30 days. |`number`|`30`| no |
195
242
196
243
## Outputs
197
244
@@ -202,4 +249,6 @@ No modules.
202
249
| <aname="output_repository_arn"></a> [repository\_arn](#output\_repository\_arn)| ARN of the ECR repository |
203
250
| <aname="output_repository_name"></a> [repository\_name](#output\_repository\_name)| Name of the ECR repository |
204
251
| <aname="output_repository_url"></a> [repository\_url](#output\_repository\_url)| URL of the ECR repository |
252
+
| <aname="output_cloudwatch_log_group_arn"></a> [cloudwatch\_log\_group\_arn](#output\_cloudwatch\_log\_group\_arn)| The ARN of the CloudWatch Log Group created for logging. |
253
+
| <aname="output_logging_role_arn"></a> [logging\_role\_arn](#output\_logging\_role\_arn)| The ARN of the IAM role used for logging. |
0 commit comments