Skip to content

IAM coverage gate: CreateQueue with Tags needs sqs:TagQueue, which the CLI inventory doesn't list #1377

Closed

Description

@scttfrdmn

spawn pool create (#1351) creates its queue with Tags in sqs:CreateQueue. SQS also requires sqs:TagQueue for that call when tags are passed (pkg/taskpool falls back to an untagged queue and warns when it is denied). internal/iamcoverage maps CreateQueue to sqs:CreateQueue only, so docs/reference/cli-iam-actions.md omits sqs:TagQueue for spawn pool create. The v0.147.0 CHANGELOG lists it by hand.

The same class probably applies to other create-with-tags calls that need a separate tag permission (e.g. iam:TagRole / iam:TagInstanceProfile on CreateRole / CreateInstanceProfile with Tags, ec2:CreateTags on RunInstances TagSpecifications, s3:PutBucketTagging). Teach the gate an 'implied actions when field X is set' table, add a gate that fails when a call sets Tags without the implied action, and regenerate the inventory.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions