hashicorp / terraform-aws-consul

A Terraform Module for how to run Consul on AWS using Terraform and Packer
Apache License 2.0
401 stars 484 forks source link

Add consul snapshot flags (Consul enterprise) #175

Closed Lucretius closed 4 years ago

Lucretius commented 4 years ago

Allow option for enabling snapshot agent, as well as bucket specification (where the snapshots are placed) and bucket path prefix. This will only occur if IAM setup is enabled. If someone is using a custom IAM role, they can just set up the required policy on their custom role.

Permissions for the snapshots match what is specified in the Consul snapshot agent docs.

brikis98 commented 4 years ago

Thanks for the PR! I'm super booked this week, but will try to take a look in the next few days.