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

Surface information on imports (such as revision) in AST #419

Open
seanyeh opened this issue Nov 7, 2024 · 0 comments
Open

Surface information on imports (such as revision) in AST #419

seanyeh opened this issue Nov 7, 2024 · 0 comments
Labels
kind/enhancement Improvements or new features

Comments

@seanyeh
Copy link
Contributor

seanyeh commented Nov 7, 2024

When opening an env, we only get the resolved env values. it would be nice if we could get information on the imports, such as the exact revisions used. This will be required for pulumi/pulumi#17706

Probable efforts:

  • From Pat: make loading two operations: one to resolve the name in the import list entry to a loader-specific unique ID and one to load an environment's definition given its unique ID. For our purposes, the unique ID can be as simple as the environment slug + its revision. Then we could have the evaluator return the list of resolved imports (along with their original names) in the result of env loading / evaluation
@pulumi-bot pulumi-bot added the needs-triage Needs attention from the triage team label Nov 7, 2024
@seanyeh seanyeh added kind/enhancement Improvements or new features and removed needs-triage Needs attention from the triage team labels Nov 7, 2024
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

2 participants