Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cross Flow MappingFns: Look up value from a different flow within the same profile #159

Open
azriel91 opened this issue Jun 28, 2023 · 0 comments

Comments

@azriel91
Copy link
Owner

Enables developers to define infrastructure in one flow, and have values from that flow automatically accessible to other flows, easing the propagation of values.

Something like:

let server_spec = Server::field_wise_spec()
    .with_vpc_from_flow(
        flow_id!("env_deploy"),
        item_id!("profile_vpc"),
        |vpc: &Vpc| vpc.map(Vpc::Id)
    )
    .await?;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant