mirror of
https://github.com/opentffoundation/opentf.git
synced 2026-03-13 01:00:50 -04:00
According to https://github.com/hashicorp/errwrap '{{err}}' has to be used instead of '%s' Without this patch, error output from terraform is missing important information: * aws_cloudwatch_log_group.logs: Error Getting CloudWatch Logs Tag List: %s With this patch, I get the important information. E.g.: * aws_cloudwatch_log_group.logs: Error Getting CloudWatch Logs Tag List: AccessDeniedException: User: arn:aws:sts::XYZ:assumed-role/AAA-BBB-CCC/terraform-assuming-role-assume-role-ReadOnly is not authorized to perform: logs:ListTagsLogGroup on resource: arn:aws:logs:us-east-1:XYZ:log-group:logs:log-stream: