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

filestate/internal: Use stack reference, not name #12426

Merged
merged 1 commit into from
Mar 16, 2023

Commits on Mar 16, 2023

  1. filestate/internal: Use stack reference, not name

    filestate backend currently operates exclusively with stack names.
    All its internal pass around just the stack name, and nothing else.
    This makes it a bit difficult to add project support to the backend.
    
    This is a refactor in advance of adding project support,
    changing the internals of filestate to pass a stack reference around.
    It inspects the reference directly for all its operations.
    
    Note: This contains no behavioral changes.
    Name and FullyQualifiedName currently both return just the stack name.
    In a future change, once project name is incorporated into the object,
    FullyQualifiedName will be able to return `organization/$project/$name`.
    
    Extracted from #12134
    
    Co-authored-by: Abhinav Gupta <abhinav@pulumi.com>
    Frassle and abhinav committed Mar 16, 2023
    Configuration menu
    Copy the full SHA
    5ba5f26 View commit details
    Browse the repository at this point in the history