-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to specify Product ID? #31
Comments
Hello, "An identifier will be randomly generated by Stripe. You can optionally override this ID, but the ID must be unique across all products in your Stripe account." Therefore I let Stripe generate the ID. However, when there is a desire to have individual ID I can update the logic. You don't usually need the ID of the product. May I ask what is the reason or use case? |
Of course. Thanks for the reply. I am trying to replace the subscription function of an existing web application with Stripe. For example;
I think the last case is one of the simpler solutions. To use this method, it is necessary to set the specified product ID in multiple environments, including Live and Test mode. Also, the document following suggested using the same ID in Live and Test mode. https://stripe.com/docs/development/checklist#:~:text=use%20the%20same%20ID%20values
So, I think if Terraform can create a Product resource by specifying the ID, it would be useful. :) Hope this helps your understanding. |
Please have a look at the newly released version 1.6.5 where you can specify the |
I've tried version 1.6.6 and confirmed that the |
Hello @lukasaron, |
Thanks a lot @arai-ta I am glad the Stripe provider helped you achieve your goals! |
Hi,
I want to create a Product by specifying an ID, but it doesn't work.
Does this provider supports specifying product IDs?
My .tf is following;
apply results;
I expected the ID to be
prod_myplan
, but it is actuallyprod_NSKLZrMRKodugv
.I reffered:
Versions:
The text was updated successfully, but these errors were encountered: