pub fn environment_variable_applies(
target_resources: &Option<Vec<String>>,
resource_id: &str,
) -> boolExpand description
Whether a deployment environment variable with these target_resources applies to
resource_id: its targets match, and the resource is not one Alien adds itself.
This is the one rule for delivering variables, for the secrets and permissions that
follow from them, and for telling an operator what a change restarts. The sandbox egress
gateway is Alien’s own: its environment is never the application’s, not even for a *
pattern. Its ID is reserved (the sandbox gateway mutation refuses a user resource with
it), so the rule needs only the ID.