Skip to content
This repository has been archived by the owner on Jun 2, 2024. It is now read-only.

Migrate deprecated SLI resource to new API schema #121

Closed
gessnerfl opened this issue Feb 23, 2022 · 1 comment
Closed

Migrate deprecated SLI resource to new API schema #121

gessnerfl opened this issue Feb 23, 2022 · 1 comment
Assignees
Labels
breaking A breaking change to the terraform provider improvement An internal improvement/refactoring
Milestone

Comments

@gessnerfl
Copy link
Owner

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 gessnerfl self-assigned this Aug 7, 2023
@gessnerfl gessnerfl added the improvement An internal improvement/refactoring label Aug 7, 2023
@gessnerfl gessnerfl added this to the 2.0.0 milestone Aug 7, 2023
gessnerfl added a commit that referenced this issue Aug 28, 2023
gessnerfl added a commit that referenced this issue Aug 28, 2023
gessnerfl added a commit that referenced this issue Aug 28, 2023
gessnerfl added a commit that referenced this issue Aug 30, 2023
@gessnerfl
Copy link
Owner Author

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.

@gessnerfl gessnerfl added the breaking A breaking change to the terraform provider label Sep 17, 2023
@gessnerfl gessnerfl changed the title SLI resource deprecated Migrate deprecated SLI resource to new API schema Sep 17, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
breaking A breaking change to the terraform provider improvement An internal improvement/refactoring
Projects
None yet
Development

No branches or pull requests

1 participant