Skip to content

[AWS Spot Instance Data Feed] IAM policy invalid #383

@yogeek

Description

@yogeek

Describe the bug

When trying to apply the policy from the doc in AWS, error indicates that those actions do not exist :

"s3:HeadBucket",
"s3:HeadObject",

Which version of OpenCost are you using?

1.114.0

Additional context

Valid policy would be

"Action": [
                "s3:ListAllMyBuckets",
                "s3:ListBucket",
                "s3:GetBucketLocation",
                "s3:GetObject",
                "s3:List*",
                "s3:Get*"
              ],

Initially opened there :
opencost/opencost#3167 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions