Can you please give me a Terraform recipe that creates an EC2 instances on AWS? The EC2 instance should be of g4dn.xlarge type, with 100gb root disk size and must be created on eu-central-1 zone.
user
```
provider "aws" {
  region = "eu-central-1"
}

resource "aws_instance" "example" {
  ami           = "ami-0f94855ba95c71c99"
  instance_type = "g4dn.xlarge"

  root_block_device {
    volume_size = 100
    volume_type = "gp2"
  }
}
```
assistant
where does the value for ami come from?
user
The AMI resource used in this recipe is the Amazon Machine Image. It provides the information required to launch an instance and is created through the Amazon EC2 Instances view.

For more information, please check out the AWS help docs. https://docs.aws.amazon.com/toolkit-for-visual-studio/latest/user-guide/tkv-create-ami-from-instance.html
assistant