Created
February 7, 2020 20:27
-
-
Save fprimex/08f18b09804bc9541a7fbc591020e16f to your computer and use it in GitHub Desktop.
External data source for container inspection
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
find . -name 'errored.tfstate' >&2 | |
echo {} | |
exit 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
data "external" "env" { | |
program = ["${path.module}/external.sh"] | |
} | |
resource "null_resource" "n" { } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment