Skip to content

[FEATURE] Support import of Service Instance Parameters #246

Description

@vipinvkmenon

What area do you want to see improved?

terraform provider

Is your feature request related to a problem? Please describe.

Currently, there is a miss in importing service instance parameters. While all services may not support it, we should look at how to import service instance parameters for those that support it.

Describe the solution you would like

Get Service instance parameters are imported as required.

  • Caveats: The service instance may generate more parameters than the ones mentioned by the user, so we need to ensure that we only store the ones mentioned during resource creation.
    During import, we either pull the specified ones or retrieve everything if we use plan --generate-config.
  • We check if the service parameters can be pulled from the broker API instance_retirevable

Describe alternatives you have considered

No response

Additional context

API Reference :-
https://github.com/cloudfoundry/go-cfclient/blob/41fbb9ee824a86343a15fa29ea1a88becdfa7698/client/service_instance.go#L102

https://v3-apidocs.cloudfoundry.org/version/3.196.0/index.html#get-parameters-for-a-managed-service-instance

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions