使用来自ap-south-1区域的ami-0fd3c3c68a2a8066f
http://cloud-images.ubuntu.com/locator/ec2/
,但无法对其使用t2.micro实例类型。
Error: Error launching source instance: InvalidParameterValue: The architecture 'x86_64' of the specified instance type does not match the architecture 'arm64' of the specified AMI. Specify an instance type and an AMI that have matching architectures, and try again. You can use 'describe-instance-types' or 'describe-images' to discover the architecture of the instance type or AMI.
如何在使用 Terraform 启动实例之前查找适用于 AMI 的实例类型列表