Skip to content

Fix ibm_is_instance pricing and relevant tests #642

Fix ibm_is_instance pricing and relevant tests

Fix ibm_is_instance pricing and relevant tests #642

Triggered via pull request October 4, 2024 23:38
Status Failure
Total duration 1m 50s
Artifacts

go.yml

on: pull_request
Integration tests (AWS)
0s
Integration tests (AWS)
Integration tests (Google)
0s
Integration tests (Google)
Integration tests (Azure)
0s
Integration tests (Azure)
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Build: internal/hcl/parser_test.go#L739
G306: Expect WriteFile permissions to be 0600 or less (gosec)
Build: internal/hcl/parser_test.go#L767
G306: Expect WriteFile permissions to be 0600 or less (gosec)
Build: internal/hcl/parser_test.go#L771
G306: Expect WriteFile permissions to be 0600 or less (gosec)
Build: internal/hcl/parser.go#L201
field `credentialsSource` is unused (unused)
Build: internal/hcl/parser_test.go#L5
SA1019: "io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package [io] or package [os], and those implementations should be preferred in new code. See the specific function documentation for details. (staticcheck)
Build: internal/hcl/attribute.go#L630
SA4004: the surrounding loop is unconditionally terminated (staticcheck)
Build: internal/schema/diff.go#L203
S1009: should omit nil check; len() for []github.com/infracost/infracost/internal/schema.PriceTier is defined as zero (gosimple)
Build: internal/schema/diff.go#L204
S1009: should omit nil check; len() for []github.com/infracost/infracost/internal/schema.PriceTier is defined as zero (gosimple)
Build: tools/release/main.go#L7
SA1019: "io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package [io] or package [os], and those implementations should be preferred in new code. See the specific function documentation for details. (staticcheck)
Build: internal/resources/aws/db_instance.go#L164
printf: non-constant format string in call to github.com/sirupsen/logrus.Warnf (govet)