In the resource creation file, I have used multiple variables so that we need to create a variable file that contains the definition of the variables
Create a vars.tf file in the root directory and add the below code to it
The below code will create various resources on AWS. If you can’t understand anything in the code you can have a better understanding from here