An open API service indexing awesome lists of open source software.

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

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)