How to add a new version of API in Terraform using incremental model

We are using Terraform as a IAaC and publishing our API’s to the Azure API manager. The problem is we have published and API “API1” with version “v1” with the state “ts1”.

We have to deploy a new version “v2” with the same state and it is overriding the previous version. How can we add new version with out overriding the earlier one.

Appreciate your help

Hi @bsudabathula - I know it has been a while since you posted this, but just in case any further assistance is needed, you might also try posting in Terraform - HashiCorp Discuss if needed.