How to implement shared resources in Pulumi

Viewed 743

I'm trying to understand how to implement Pulumi in our AWS environment.

I understand that a stack can be used to have the same resource structure for production and development, but that results in independant instances, which is great.

However we also have a shared management VPC where certain tools reside such as pgadmin, gitlab, monitoring tools,...

So what would be the best approach for that?

  • Force a stack for that management project (if that is possible)?
  • Put a constraint in code so that this management stuff is only deployed in production stack?

Or am I missing the approach of stacks here?

1 Answers
Related