Skip to content

bobsingh-dev/terraform-aws-s3-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Terraform AWS S3 Demo

This project demonstrates how to use Terraform to provision an AWS S3 Bucket.

It follows industry best practices: separating providers, variables, outputs, and resources.


provider.tf

Purpose: Configures the cloud provider and pins versions.
Best Practice: Version pinning ensures reproducible deployments and avoids breaking changes.


variables.tf

Purpose: Defines input variables like aws_region and bucket_name.
Best Practice: No hardcoding; makes code reusable in different environments.


main.tf

Purpose: Declares the actual resources (S3 bucket) and tags.
Best Practice: Resource tagging and clean resource definitions follow enterprise standards.


outputs.tf

Purpose: Exposes useful information (bucket name) after deployment.
Best Practice: Provides reusable outputs for integration with other modules.


.gitignore

Purpose: Excludes sensitive files like .tfstate and .terraform/.
Best Practice: Protects secrets and prevents accidental commits of sensitive data.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages