Open
Description
Sometimes the peering API will raise some error like below:
"Subscription is not registered with the resource provider."
As we discussed with service team, this issue happens because:
Currently when service get upgraded, it will clear subscription data if that subscription has no associated peerASN. A later incoming "CREATE" invocation will populate subscription data back.
While in terraform, as we have to check whether the resource going to be created already exist, we need to firstly call "GET". In this case, it will fail (complaining not registered) if the subscription has no peerASN associated.
I wonder if it is possible to also populate the subscription data back on an incoming "GET" invocation?