Skip to main content

refuse_unreachable_databases

Function refuse_unreachable_databases 

Source
pub fn refuse_unreachable_databases(
    stack: &Stack,
    settings: &StackSettings,
    cloud_platform: Platform,
    network_hint: Option<&str>,
    creates: impl Fn(&ResourceEntry) -> bool,
) -> Result<()>
Expand description

The first resource setup would create that an existing cluster could not reach, as the error a generator returns when it knows the cluster is existing. creates says whether setup creates the resource: one the installer binds to infrastructure it already has is the deployer’s, so it is not refused. A network the deployer names in the settings is theirs to choose, so nothing is refused for it.