-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Explicit reference causes import cycle error #96
Comments
Another example of this error can be found in the However, adding the |
This is a general problem regarding references that we need to fix in upstream crossplane/crossplane-runtime#313 Though we may implement a proprietary reference resolver in Upjet to handle these cases. |
Severity:low as we currently don't encounter this often. Please add your use-case if you encounter this. |
we have this case also for an zscaler provider
|
- This effectively addresses the upjet issue: crossplane/upjet#96 for upbound/provider-aws as long as we are careful for the cross-resource reference extractors. Signed-off-by: Alper Rifat Ulucinar <[email protected]>
- This effectively addresses the upjet issue: crossplane/upjet#96 for upbound/provider-aws as long as we are careful for the cross-resource reference extractors. Signed-off-by: Alper Rifat Ulucinar <[email protected]>
- This effectively addresses the upjet issue: crossplane/upjet#96 for upbound/provider-aws as long as we are careful for the cross-resource reference extractors. Signed-off-by: Alper Rifat Ulucinar <[email protected]>
- This effectively addresses the upjet issue: crossplane/upjet#96 for upbound/provider-aws as long as we are careful for the cross-resource reference extractors. Signed-off-by: Alper Rifat Ulucinar <[email protected]>
What happened?
With one specific GCP resource (
google_service_networking_peered_dns_domain
) configured with an explicitNetwork
reference, runningmake reviewable
results in an error as described in this https://github.com/upbound/official-providers/pull/518#discussion_r943598464. Note that theNetwork
reference is not automatically added via Upjet either.https://github.com/upbound/official-providers/blob/7ac76a2a7d155838a7cc479b6dd8352357b1d79c/provider-gcp/config/cloudplatform/config.go#L93-L101
Removing the explicit reference allows for successful generation.
How can we reproduce it?
make && cd provider-gcp && make reviewable
What environment did it happen in?
v1.9.0-up.2
provider-gcp
The text was updated successfully, but these errors were encountered: