crossplane-contrib / provider-upjet-azure

Azure Provider for Crossplane.
https://marketplace.upbound.io/providers/upbound/provider-family-azure/
Apache License 2.0
61 stars 75 forks source link

MonitorMetricAlert: the scope selector is wrong #604

Open ytsarev opened 11 months ago

ytsarev commented 11 months ago

What happened?

The current scopeSelector

is wrongly configured to be able to select StorageAccount types only. The scopes can accept arbitrary azure object id according to https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/monitor_metric_alert#scopes

As the selectors in Crossplane providers are strongly typed, the automated selection mechanism for multiple types is not possible.

We need to remove the confusing selector.

How can we reproduce it?

use the selector for to reference any other type other than the StorageAccount, e.g. FlexibleServer within the same Composition. It will obviously not be able to select another type.

What environment did it happen in?

github-actions[bot] commented 6 months ago

This provider repo does not have enough maintainers to address every issue. Since there has been no activity in the last 90 days it is now marked as stale. It will be closed in 14 days if no further activity occurs. Leaving a comment starting with /fresh will mark this issue as not stale.

ytsarev commented 6 months ago

/fresh

github-actions[bot] commented 3 months ago

This provider repo does not have enough maintainers to address every issue. Since there has been no activity in the last 90 days it is now marked as stale. It will be closed in 14 days if no further activity occurs. Leaving a comment starting with /fresh will mark this issue as not stale.

github-actions[bot] commented 2 months ago

This issue is being closed since there has been no activity for 14 days since marking it as stale. If you still need help, feel free to comment or reopen the issue!

ytsarev commented 2 months ago

/fresh