Tagger tagger = injected(Tagger.class);
OpsProvider<TagChanges> tagChanges = new OpsProvider<TagChanges>() {
@Override
public TagChanges get() throws OpsException {
RawInstance instance = platformLayerClient.getItem(model.instance, RawInstance.class);
InetAddressChooser chooser = InetAddressChooser.preferIpv4();
InetAddress publicAddress = chooser.choose(Tag.NETWORK_ADDRESS.find(instance.getTags()));
if (publicAddress == null) {
throw new OpsException("Cannot find address for instance: " + model.instance);
}