terraform Code to build objects in aws cloud.
open the terminal in VS and run:
terraform init
to check the code before running on cloud run:
terraform plan
finally to run on aws run:
terraform apply
open the aws and get the public ip for wordpress instance and open it in the browser in this way:
http://public_ip:80