/stripe-pricing-plans

Creates stripe pricing plans and notifies via webhook about failed or succeeded charges

Primary LanguageHCLApache License 2.0Apache-2.0

stripe-pricing-plans

Maintained by @goci-io/prp-terraform

Usage

For the latest version you can check the releases page.

module "pricing_plans" {
  source           = "git::https://github.com/goci-io/stripe-pricing-plans.git?ref=tags/<latest-version>"
  name             = "my-project"
  api_token        = "stripe API token"
  webhook_endpoint = "https://notify.me.on.charge.events.com"
  pricing_plans    = [
    {
      name     = "Starter"
      amount   = 999 # 9.99
      currency = "EUR"
      interval = "month"
    }
  ]
}