Passing output from dflook/terraform-apply@v1 to following step #247
larryebaum
started this conversation in
General
Replies: 1 comment 1 reply
-
It looks like you have the wrong name for the output, it should look like: - name: Print the IP
run: echo "The IP is ${{ steps.tf-apply.outputs.app_publicip }}" |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
If I'm understanding the docs correct, if my TF file contains outputs, then an output will be produced with the same value.
So with a step:
I'm thinking a subsequent step could reference:
Alas, no luck as the subsequent steps don't seem to get the value from the tf-apply step. I'm sure its a 'me' problem, what am I overlooking?
Beta Was this translation helpful? Give feedback.
All reactions