Skip to content

[Question] Moving From Terraform to APIOPS #835

@cmcravo

Description

@cmcravo

Release version

v7.0.0-beta.1.0.0

Question Details

Im considering moving my entire apim deploy from Terraform to APIOps

Ive managed to :
Use the import tool for dev
Alter the configuration as code for dev and deploy the changes

Problem is
When deploying the next Enviroment (CI-apim) I encounter hundreds of the following 2 errors:
failed with status code 409. Content is '{"error":{"code":"Conflict","message":"Link already exists between specified Tag and Api.","details":null}}'.
failed with status code 409. Content is '{"error":{"code":"Conflict","message":"Link already exists between specified Product and Api.","details":null}}'.

Question is:
When moving an Infraesctrucutre with hundreds of API's and Operations what are the correct steps?
I cant be deleting products that are already in use due to the subscription dependencies

Am i missing something in the documentation, or did i encounter a bug(unlikely)?

Thank you for your time and this awesome project.

Expected behavior

When deploying my code into CI it should recognize the links are the same as in code

Actual behavior

It tries to create links that already exist

Reproduction Steps

Publish link configurations that are already present in target

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions