Skip to content

debtcollective/infra

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Infra

Infra contains our set of Terraform scripts that defines our infrastructure.

Requirements

  • Terraform 0.12+ (brew install terraform)

Backend

We are using Terraform Cloud for remote state storage. Every main.tf should declare this at the beginning to enable remote state storage. We are passing a specific Terraform version. If you need to manage multiple Terraform version we recommend you to use tfenv.

terraform {
  required_version = ">=0.12.13"

  backend "remote" {
    hostname     = "app.terraform.io"
    organization = "debtcollective"

    workspaces {
      name = "workspace-name"
    }
  }
}

Workspaces

TBD

Modules

Chatwoot

Enable continuity in the account.

https://www.chatwoot.com/docs/conversation-continuity#enable-continuity-in-the-account

Enable inbound_emails (Login to rails console and execute the following)

account = Account.find(1)
account.enabled_features # This would list enabled features.
account.enable_features('inbound_emails')
account.save!

Set an inbound domain. This is the domain with which you have set up above.

account = Account.find(1)
account.domain='domain.com'
account.save!

After executing these steps, the mail sent from Chatwoot will have a replyto: in the following format reply+@<domain.com> and reply to those would get appended to your conversation.

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •