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

Allow access to values from data lookups in plan tests #75

Closed
fergoid opened this issue Oct 7, 2023 · 5 comments
Closed

Allow access to values from data lookups in plan tests #75

fergoid opened this issue Oct 7, 2023 · 5 comments

Comments

@fergoid
Copy link
Contributor

fergoid commented Oct 7, 2023

Data lookup 'resources' are available in the Terraform plan under 'prior_state'. Could this be exposed by the tftest plan method?

@ludoo
Copy link
Collaborator

ludoo commented Oct 8, 2023

Would you care sending a PR?

@fergoid
Copy link
Contributor Author

fergoid commented Oct 8, 2023 via email

@fergoid
Copy link
Contributor Author

fergoid commented Oct 9, 2023

I noticed all the Python indents in the files are 2 spaces but I am getting this warning
PEP 8: E111 indentation is not a multiple of 4

Am I okay to reformat the files ?

@ludoo
Copy link
Collaborator

ludoo commented Oct 9, 2023

Nope :) just set your linter to 2 spaces

@ludoo
Copy link
Collaborator

ludoo commented Oct 11, 2023

This has now been released in v1.8.5

https://pypi.org/project/tftest/1.8.5/

@ludoo ludoo closed this as completed Nov 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants