lukasaron
terraform-provider-stripe
Go

Terraform Stripe Provider

Last updated Apr 17, 2026
88
Stars
28
Forks
8
Issues
0
Stars/day
Attention Score
38
Language breakdown
No language data available.
Files click to expand
README

Stripe Terraform Provider

Important: This Terraform Stripe provider has been archived, as its original purpose was to enable Terraform users to configure Stripe accounts using Infrastructure as Code. Stripe has since begun developing and maintaining an official Terraform Stripe provider. As a result, it is recommended to use the official provider instead: https://registry.terraform.io/providers/stripe/stripe/latest

The Stripe Terraform Provider documentation can be found on the Terraform Provider documentation website.

Usage:

terraform {
  required_providers {
    stripe = {
      source = "lukasaron/stripe"
    }
  }
}

provider "stripe" { apikey="<apisecret_key>" }

Environmental variable support

The parameter apikey can be omitted when the STRIPEAPI_KEY environmental variable is present.


Local Debugging

  • Build the provider with go build main.go
  • Move the final binary to the mv main ~/.terraform.d/plugins/local/lukasaron/stripe/100/[platform]/terraform-provider-stripev100 where [platform] is darwinarm64 for Mac Apple chip for example.
  • Create an HCL code with the following header:
terraform {
  required_providers {
    stripe = {
      source  = "local/lukasaron/stripe"
      version = "100"
    }
  }
}
  • Run the solution from the code with the program argument --debug
  • Copy the TFREATTACHPROVIDERS value.
  • export TFREATTACHPROVIDERS=[value]
  • Put breakpoints in the code
  • Remove .terraform folder where the HCL code is.
  • Run terraform init & terraform plan & terraform apply
🔗 More in this category

© 2026 GitRepoTrend · lukasaron/terraform-provider-stripe · Updated daily from GitHub