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

show | compare > output values #31

Open
cdot65 opened this issue Mar 20, 2022 · 1 comment
Open

show | compare > output values #31

cdot65 opened this issue Mar 20, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@cdot65
Copy link

cdot65 commented Mar 20, 2022

Is there a mechanism to have a "show | compare rollback 1" redirected to a Terraform output value?

This would enable the administrator to print out the changes made by their terraform apply

@aaronchar
Copy link

@cdot65 - I have this working in a local branch. It requires a change to the upstream go-netconf library which I can submit a PR for.

It's run as part the read operation after the commit is completed and used as a normal Terrafrom resource output

output "testing" {
  value = junos-qfx_commit.commit-main
}

image

@aburston aburston self-assigned this Apr 14, 2023
@aburston aburston added the enhancement New feature or request label Apr 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants