Closed dbarrosop closed 2 weeks ago
Hi @dbarrosop,
Thank You for using the Terraform Stripe Provider and also reporting issues!
I've found the bug and please try the next version 3.2.1 which should give you tier levels for price resource during import.
Hi @lukasaron, thanks for the super quick response. I can confirm it works now. I noticed a couple of issues though:
tiers {
up_to = 100
unit_amount = 0
flat_amount = 500
flat_amount_decimal = 500
}
If I don't specify both it flags it as a change, which leads to the issue below.
I can open separate issues if you want. The first one must be due to the import process as I didn't see it in newly created prices. Second one I can replicate in both imported and new prices created with the terraform provider.
Thanks again for the provider, it is so much easier to keep the test and production environments in synch now.
Regards
@dbarrosop,
Thanks for these points! It helps me understand your use case and also improve this provider.
Let me investigate on my side.
Please have a look at the latest release.
Hello, thanks for this awesome terraform provider. I am trying to import a price with a tiered/graduate scheme and looks like the tiers aren't correctly imported:
This is a problem because if I try to apply afterwards it wants to add all the tiers causing the price to be destroyed and recreated.
Regards