Skip to content

provider: Implement plan-time IAM policy size check #27709

provider: Implement plan-time IAM policy size check

provider: Implement plan-time IAM policy size check #27709

Triggered via pull request January 17, 2025 01:57
Status Failure
Total duration 14m 22s
Artifacts

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

12 errors
3 of 5: internal/verify/validate.go#L229
printf: non-constant format string in call to fmt.Errorf (govet)
3 of 5: internal/service/glacier/vault_lock.go#L57
Magic number: 20480, in <argument> detected (mnd)
3 of 5: internal/service/iam/group_policy.go#L63
Magic number: 5120, in <argument> detected (mnd)
3 of 5: internal/service/iam/policy.go#L90
Magic number: 6144, in <argument> detected (mnd)
3 of 5: internal/service/iam/role.go#L64
Magic number: 999999, in <argument> detected (mnd)
3 of 5: internal/service/iam/role.go#L112
Magic number: 10240, in <argument> detected (mnd)
3 of 5: internal/service/iam/role_policy.go#L66
Magic number: 10240, in <argument> detected (mnd)
3 of 5: internal/service/iam/user_policy.go#L58
Magic number: 2048, in <argument> detected (mnd)
3 of 5: internal/service/mediastore/container_policy.go#L45
Magic number: 8192, in <argument> detected (mnd)
3 of 5: internal/service/ssoadmin/permission_set_inline_policy.go#L48
Magic number: 32768, in <argument> detected (mnd)
4 of 5: internal/verify/validate.go#L229
SA1006: printf-style function with dynamic format string and no further arguments should use print-style function instead (staticcheck)
4 of 5
issues found