AWS の Cloud Volumes ONTAP アップグレードが、リソースに対して ec2StopInstances を実行する権限がないというエラーで失敗する
環境
- NetApp Console(BlueXP)
- Cloud Volumes ONTAP(CVO)
- Amazon Web Services(AWS)
問題
CVO アップグレードがエラーで失敗する
[Update System Image] [45e7e002-7a84-41c7-848a-368285639ba3] [uBm4n8DTvr ] [xx.xxxx@xxxx.com] (simplicator-akka.actor.default-dispatcher-17244) [GenerateRoutes:273] Got a failure:com.amazonaws.services.ec2.model.AmazonEC2Exception: You are not authorized to perform this operation. User: arn:aws:sts::160151007384:assumed-role/xxxxx-role-xxxx/AssumeRole is not authorized to perform: ec2:StopInstances on resource: arn:aws:ec2:us-xx-1:xxxxx:instance/i-0xxxxx because no identity-based policy allows the ec2:StopInstances action. Encoded authorization failure message: htGJEbXQwArtq-Hjq3zfK52vEzf8AkCEHmBUjt5xlQmmICkk0cNl4qCG40_wXnVKuTHg8-HLbb1xymgVQ0qX7RBCC9bb26ol1jEFWa1opTnfd_lNdbt6rWhFY-f1-eLX5JnzJ5O1-Iz4-GfeQxt_m2hSJDh15nBvS3qZLXrmmN3iyd_Tdiwxq8nFw (Service: AmazonEC2; Status Code: 403; Error Code: UnauthorizedOperation; Request ID: 5c8ea82f-8cce-4d7a-9c34-cd74bd764c93; Proxy: null)