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

terraform output should adhere to Terraform Cloud authorization #31507

Merged
merged 7 commits into from Jul 28, 2022

Commits on Jul 25, 2022

  1. fix: have terraform output adhere to authorization w/ cloud

    Normally, `terraform output` refreshes and reads the entire state in the command package before pulling output values out of it. This doesn't give Terraform Cloud the opportunity to apply the read state outputs org permission and instead applies the read state versions permission.
    
    I decided to expand the state manager interface to provide a separate GetRootOutputValues function in order to give the cloud backend a more nuanced opportunity to fetch just the outputs. This required moving state Refresh/Read code that was previously in the command into the shared backend state as well as the filesystem state packages.
    brandonc committed Jul 25, 2022
    Configuration menu
    Copy the full SHA
    c33c8b0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e794efc View commit details
    Browse the repository at this point in the history
  3. Update to go-tfe v1.6.0

    brandonc committed Jul 25, 2022
    Configuration menu
    Copy the full SHA
    15b938a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    166d21b View commit details
    Browse the repository at this point in the history
  5. style: goimports fixes

    brandonc committed Jul 25, 2022
    Configuration menu
    Copy the full SHA
    e1fa690 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    0139e75 View commit details
    Browse the repository at this point in the history

Commits on Jul 28, 2022

  1. Configuration menu
    Copy the full SHA
    50d48c6 View commit details
    Browse the repository at this point in the history