Run Terraform Command
Run Command
Now, I will run the command to deploy the configured infrastructure on AWS.
- Run the command to initialize the infrastructure.
terraform init
- Use the next command to preview the changes that will be applied to the infrastructure.
terraform plan
- The final command is used to apply the configured infrastructure to AWS.
terraform apply
- Wait about 15 to 20 minutes for the infrastructure to be fully created.
Check the Results
After the process is complete, we will go to the AWS console to check the interface to see if the infrastructure has been fully created.
- Check the services in Cloud Map.