Skip to content

Well known error for "already exists" #10

@radeksimko

Description

@radeksimko

It would be nice to have a well known error core expects from providers when a resource already exists so that it can output the required import syntax:

type AlreadyExistsError struct {
  ImportID string
}

etc...

This needs to be raised to core as core is what knows the import syntax and the appropriate naming of the resource itself.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestupstream-protocolRequires change of protocol specification, i.e. can't be done under the current protocolupstream-terraform

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions