Skip to content

attach-policy returning Policy not found error #7005

Discussion options

You must be logged in to vote

Hi @jimenaCabrejas thanks for reaching out. Here is the aws iot attach-policy documentation for reference: https://docs.aws.amazon.com/cli/latest/reference/iot/attach-policy.html

When using the --target parameter it looks like you need the full ARN. For example:
--target "arn:aws:iot:us-west-2:123456789012:thinggroup/LightBulbs

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@jimenaCabrejas
Comment options

@eddiemuhoro
Comment options

Answer selected by tim-finnigan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
3 participants