https://github.com/langburd/terraform-aws-s3-backend
Quick creation of AWS S3 bucket for Terraform backend
https://github.com/langburd/terraform-aws-s3-backend
Last synced: 5 months ago
JSON representation
Quick creation of AWS S3 bucket for Terraform backend
- Host: GitHub
- URL: https://github.com/langburd/terraform-aws-s3-backend
- Owner: langburd
- License: mpl-2.0
- Created: 2019-09-12T20:53:30.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2021-08-10T21:33:07.000Z (almost 5 years ago)
- Last Synced: 2025-06-01T12:45:39.217Z (about 1 year ago)
- Language: HCL
- Homepage:
- Size: 16.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Create S3 backend for your Terraform AWS project
## Prerequisites
- AWS CLI is installed. See [here](https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-install.html).
- AWS CLI is configured. Run:
```bash
aws configure --profile
export AWS_PROFILE=
```
## Create configuration
Change `variables.tf` with your info.
Run `terraform init`
Run `terraform apply`
The name of the bucket you can check with the command `terraform output s3_bucket`
Name of the DynamoDB table you can check with the command `terraform output dynamodb_table_name`
Add the file `example\backend.tf` to your project and edit as needed.
## Repository of the project
[terraform-azure-blob-storage-backend](https://github.com/langburd/terraform-aws-s3-backend)
## Authors
- [@langburd](https://www.github.com/langburd)