-
Notifications
You must be signed in to change notification settings - Fork 12
Description
Currently the oxide_instance resource has an external_ips attribute that users use to specify whether they want ephemeral or floating external IPs for the instance. However, the upstream instance_create API does not return those IP addresses back to the caller, forcing us to make a separate API call to instance_external_ip_list. This asymmetry in the schema means that we can't just overwrite the external_ips attribute for the user since that'll conflict with what they specified in the configuration.
This issue is to consider updating the oxide_instance resource to return all the external IPs for the instance so that users don't have to use the oxide_instance_external_ips data source and potentially turn that data source into an apply-time data source (e.g., instance just created so data source is deferred to apply).