You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Feature Request
Can we add to the parameter terraformProviderConfig of the GetIDFn the meta value? So that ts.Map(), which is passed into the GetIDFn returns also the Meta property?
// GetIDFn returns the ID to be used in TF State file, i.e. "id" field in
// terraform.tfstate.
type GetIDFn func(ctx context.Context, externalName string, parameters map[string]any, terraformProviderConfig map[string]any) (string, error)
UseCase:
It is necessary to execute an request via the API client during retrieving the Id via GetIDFn. It would make sense to use the already initialized API client instead of creating a fresh one.
The text was updated successfully, but these errors were encountered:
Feature Request
Can we add to the parameter
terraformProviderConfig
of theGetIDFn
themeta
value? So thatts.Map()
, which is passed into theGetIDFn
returns also theMeta
property?upjet/pkg/controller/external_tfpluginsdk.go
Lines 145 to 148 in ce71033
upjet/pkg/terraform/store.go
Lines 136 to 146 in ce71033
upjet/pkg/terraform/store.go
Lines 127 to 129 in ce71033
UseCase:
It is necessary to execute an request via the API client during retrieving the Id via
GetIDFn
. It would make sense to use the already initialized API client instead of creating a fresh one.The text was updated successfully, but these errors were encountered: