Please use https://github.com/lukasaron/terraform-provider-stripe
The Stripe Terraform provider uses the official Stripe SDK based on Golang. On top of that, the provider is developed around the official Stripe API documentation website.
The Stripe Terraform Provider documentation can be found on the Terraform Provider documentation website.
terraform {
required_providers {
stripe = {
source = "lukasaron/stripe"
}
}
}
provider "stripe" {
api_key="<api_secret_key>"
}
The parameter api_key
can be omitted when the STRIPE_API_KEY
environmental
variable is present.