If the stack or the dependency is removed manually, it will not be possible to delete stack dependency reference. Throughout the rest of the provider we use a consistent pattern of just removing these resources from the state, and not treating it as an error. We will emit a warning here in case anyone misses the old error messages, but otherwise let's have this resource behave like all other resources.
Type of change
[x] Bug fix (non-breaking change that fixes an issue)
Checklists
Development
[x] Lint rules pass locally
[x] The code changed/added as part of this pull request has been covered with tests
[x] All tests related to the changed code pass in development
[x] Examples for new resources and data sources have been added
[x] Default values have been documented in the description (e.g., "Dummy: (Boolean) Blah blah. Defaults to false.)
[x] If the action fails that checks the documentation: Run go generate to make sure the docs are up to date
Code review
[x] This pull request has a descriptive title and information useful to a reviewer. There may be a screenshot or screencast attached
[x] Pull Request is no longer marked as "draft"
[x] Reviewers have been assigned
[x] Changes have been reviewed by at least one other engineer
Description of the change
If the stack or the dependency is removed manually, it will not be possible to delete stack dependency reference. Throughout the rest of the provider we use a consistent pattern of just removing these resources from the state, and not treating it as an error. We will emit a warning here in case anyone misses the old error messages, but otherwise let's have this resource behave like all other resources.
Type of change
Checklists
Development
false
.)go generate
to make sure the docs are up to dateCode review