powershell.exe -Command Start-Service -Name AmazonSSMAgent </powershell> <persist>true</persist>
尝试启动并重新启动SSMStep timed out while step is verifying the SSM Agent availability on the target instance(s).SSM Agent on Instances: [i-xxxxxxxx] a
我正在尝试为eks设置eksctl,但是它抛出了"Error: unable to determine AMI to use: error getting AMI from SSM ParameterStore: AccessDeniedException: User: arn:aws:iam:::user/cnc is not authorized to perform: ssm:GetParameteron resource: arn:aws:ssm:us-east-1::parameter/aws
现在,除了Linux和免费层这一事实之外,AMI实际上并不重要,所以也许搜索一个已知的自由层Linux AMI是可行的。我知道您可以使用describe_images()函数获得所有AMI,但是如何只过滤那些Linux (可能是特定版本)和免费层的AMI。boto3.client('ec2').describe_images(Filters["""What do I write here to get only linux free-tier AMI""