discover_dollar-devops-intern
install the plugins that are required to create and manage the resources that are defined in your Terraform configuration.
run terraform plan command it is used to preview the changes that will be made to your infrastructure.
Now, run the terraform apply command is used to apply changes to your infrastructure.
Now, go to the EC2 instance that you have created
After running above command once logout and ssh again into your EC2 machine to achieve that.
The file structure is currently as follows:
we should be able to access the WordPress site by visiting http://EC2_publicip in your web browser.
Fill the required details and login into it.