bergbrains / terraform-aws-arq-s3-backup

Creates a bucket and sets up a user w/ credentials for use by the Arq backup system.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Terraform to create Arq backup bucket

This module sets up an AWS S3 bucket for use as a storage location for Arq backup

It sets up the following AWS resources

  • An S3 bucket for the backups
  • Bucket encryption
  • A user with login credentials
  • Required IAM policy and role for that user to manage the backup bucket

Usage

module "arc_backup" {
  source "..."
  backup_bucket_name = "my_arq_backup"
}

Author

Eric Berg eberg@bergbrains.com

You can find this module at bergbrains s3-mac-backup repo

API Specs

Requirements

No requirements.

Providers

Name Version
aws n/a

Inputs

Name Description Type Default Required
backup_bucket_name Arq backup bucket name string n/a yes

Outputs

Name Description
arq_user_aws_id Arq backup user AWS API ID
arq_user_aws_secret Arq backup user AWS API secret token
backup_bucket_arn ARN of S3 bucket created for backups
backup_bucket_name Name of S3 bucket created for backups

About

Creates a bucket and sets up a user w/ credentials for use by the Arq backup system.


Languages

Language:HCL 100.0%