Stack Dependency References as Auto-attach Contexts

I like the auto-attach functionality of contexts and wish there was a way to use it in combination with stack dependencies. Auto-attach contexts make it easy to associate a set of environment variables and other data with a stack. I want something similar for stack dependencies and dependency references.

Workaround
Laboriously declare dependencies and dependency references.
Problem
I have a VPC stacks that each output information about a VPC and subnets. I want to use that as variable input to other stacks. If this information was in a context, I could easily label the other stacks to take advantage of auto-attach contexts. But, for integrations, I have to laboriously declare a stack dependencies and then dependency references for each output-variable mapping. I wish I could declare something like a “dependency context” with preset output-variable mappings and an auto-attach label, and then label the downstream stacks that depend on the “dependency context”. Labelling would set up the dependency and dependency references.

Please authenticate to join the conversation.

Upvoters
Status

🔭 Discovery

Board

💡 Feature Requests

Tags

Stack Dependencies

Date

3 months ago

Subscribe to post

Get notified by email when there are changes.