Please run following command to download all required modules
terraform init
To validate your configuration, run following command
terraform validate
terraform fmt
Before apply your configuration, make sure that changes to your infrastructure represent your expectations
terraform plan
To apply your configuration use following command
terraform apply
It is going to run terraform plan
and ask you confirmation to apply.