Created
September 15, 2021 07:38
-
-
Save stephennancekivell/a2c06ce216de3999295c738668d53682 to your computer and use it in GitHub Desktop.
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
terraform { | |
required_providers { | |
http = { | |
source = "terraform-aws-modules/http" | |
version = "2.4.1" | |
} | |
} | |
required_version = ">= 0.13" | |
} | |
data "http" "example" { | |
url = "https:// - snip - .eks.amazonaws.com/healthz" | |
ca_certificate = base64decode(" - snip - ") | |
lifecycle { | |
ignore_changes = ["response_headers"] | |
} | |
} | |
output "my_var" { | |
depends_on = [data.http.example] | |
value = "anything" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment