Error: Error launching source instance: Unsupported: The requested configuration is currently not supported. Please check the documentation for supported configurations.
status code: 400, request id: 9115509c-2381-465c-b279-f2c409b65dc1
on instance.tf line 7, in resource "aws_instance" "example":
7: resource "aws_instance" "example" {
Trying to create the ec2 instance following the steps in Udemy course.
install.tf
Getting below error -
Using https://cloud-images.ubuntu.com/locator/ec2/ to get the AMI ID