Skip to content

Instantly share code, notes, and snippets.

@stephennancekivell
Created September 15, 2021 07:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stephennancekivell/a2c06ce216de3999295c738668d53682 to your computer and use it in GitHub Desktop.
Save stephennancekivell/a2c06ce216de3999295c738668d53682 to your computer and use it in GitHub Desktop.
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