我只是添加一個新的instnace與ID實例i-b2117a3c。我在下面運行這些命令。當調用StartInstances操作時發生客戶端錯誤(UnauthorizedOperation)
aws ec2 start-instances --instance-ids i-b2117a3c
aws ec2 start-instances --instance-ids i-1721b699
但結果如下圖:
A client error (UnauthorizedOperation) occurred when calling the
StartInstances operation: You are not authorized to perform this
operation. Encoded authorization failure message:
GJgQdcdGg4iYettPm2itv1SsHjBnkbssuu7re1vk6wcdh-5k1RHmsF09AlI8onB5TYvKZ4qJQ-Bt_-sXMXc5VUmKMAMXHy6DxyAXXkSRkamyOHrrBoat8hJNRUdyzXpWevtAukktDhg-K4uVDfDFtBJRc9PNA-9tg9ei5JUA_-uUMfmcphk3f72g94irJawvW4VJyWx6w-U-_wWUKJHUNL8eVWvq_3VYxWBdr4QhEZcpVAsFBObTglxheCoQGVGZ1UNw-B9B4nbldgD_rp-QUttAMQJFAwowZR5DEYXbhanV__Adjk1r_R5ZiBRSoe-MzZyjJlsHKM5NeJGl1SrgROltuiXy1fYL10feo3fd-WReGPp_GffEUqbUTaZmb4YvwX7xo6kkvreqMLNjO_7P63Bl8b1_MsneOVorlmER7E76qj0UBWcH7iiJa4e6DCQWzWZ1LUCMzHgqpiW_6s2v64_tvcrVF1U4pTWLUAvXd4NPEUjfDWFILqrhrh1Sp1ljrRGb8hD4E8U3HpGVeHXNiVJ2R60vsO0WJZiRiUoKzvTofQp1o-Ne4_MdburZJxhdb6lWpdPD63m6MFd5LeR8azbfWTOAXx2
我可能要增加政策的i-b2117a3c。怎麼做?
:
可以通過調用解碼錯誤信息?外殼腳本上的 – helloV
。 –