title: Terraform: Error launching source instance: InvalidAMIID.Malformed
body: <p>Going through <a href="https://learn.hashicorp.com/tutorials/terraform/aws-build?in=terraform/aws-get-started" rel="noreferrer">terraform tutorial</a> I stumbled upon this error.</p>
  <pre><code>Error: Error launching source instance: InvalidAMIID.NotFound: The image id '[ami-830c94e3]' does not exist
      status code: 400, request id: 4c3e0252-c3a5-471e-8b57-3f6e349628af
  </code></pre>
  <p>This is my code. The only change that I did was was region change from <code>us-west-2</code> to <code>eu-central-1</code></p>
  <pre><code>provider &quot;aws&quot; {
    profile = &quot;default&quot;
    region = &quot;eu-central-1&quot;
  }
  
  resource &quot;aws_instance&quot; &quot;example&quot; {
    ami = &quot;ami-830c94e3&quot;
    instance_type = &quot;t2.micro&quot;
  }
  </code></pre>