gessnerfl / terraform-provider-instana

Terraform provider implementation for Instana REST API
Apache License 2.0
29 stars 16 forks source link

Migrate deprecated SLI resource to new API schema #121

Closed gessnerfl closed 1 year ago

gessnerfl commented 2 years ago

With release 219 the SLI resource was deprecated by Instana

SLI Settings resource is deprecated and will be discontinued in release 225. New SLI Settings v2 Resource (/api/settings/v2/sli) should be used instead.

Check the impact on terraform provider and adopt the SLI resource when needed

gessnerfl commented 1 year ago

The change is a breaking change as the new endpoint do not support updates. This is now reflected in the terraform provider as well. Furthermore, the implemented model did not reflect the implementation of the api. A migration was not possible in this case. Because of this, a recreation of SLI config resources is needed to comply with the API.