This project demonstrates deploying a static website on AWS using Terraform. The infrastructure utilizes S3 for static content storage, CloudFront for content delivery and Route 53 for domain management.
acm.tf # Configuration for SSL certificate (optional).
main.tf # Main infrastructure setup.
outputs.tf # Outputs for Terraform.
README.md # Project documentation (you are here!).
route53.tf # Route 53 DNS configuration.
s3.tf # s3 configuration.
cloudfront.tf # cloudfront configuration.
variables.tf # Variables used in the Terraform project.
-
Configure Terraform:
-
Obtain SSL Certificate (Optional):
- Configure an SSL certificate using
acm.tf
file.
- Configure an SSL certificate using
-
Deploy the infrastructure using terraform apply