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

Support a "stacks" like provider for Terraform state files #434

Open
MitchellGerdisch opened this issue Jan 17, 2025 · 1 comment
Open
Labels
kind/enhancement Improvements or new features

Comments

@MitchellGerdisch
Copy link

Hello!

  • Vote on this issue by adding a 👍 reaction
  • If you want to implement this feature, comment to let us know (we'll work with you on design, scheduling, etc.)

Issue details

Just like we can create an environment that projects Pulumi stack outputs, it would be useful to be able to project values from a terraform state file (s3 backend, or maybe even TF cloud).
This would allow easy integration between a Pulumi stack and a TF-managed environment.

For example, TF is used to manage a VPC and I want my Pulumi program to be able to get the VPC ID and subnet IDs, etc.

Although we have a typescript and python package that enables this in the Pulumi program itself, using an environment to abstract this would be very nice - much like the value of using the pulumi-stacks ESC provider instead of in-line stack references.

Affected area/feature

@MitchellGerdisch MitchellGerdisch added kind/enhancement Improvements or new features needs-triage Needs attention from the triage team labels Jan 17, 2025
@cleverguy25 cleverguy25 removed the needs-triage Needs attention from the triage team label Jan 21, 2025
@jkodroff
Copy link
Member

Agree - cuts out the middle man of having to use terraform.StateFile.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement Improvements or new features
Projects
None yet
Development

No branches or pull requests

3 participants