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

Plans for HTTP Backend Support #267

Closed
dipeti opened this issue Mar 13, 2024 · 0 comments
Closed

Plans for HTTP Backend Support #267

dipeti opened this issue Mar 13, 2024 · 0 comments

Comments

@dipeti
Copy link

dipeti commented Mar 13, 2024

Hi,

I am running a RESTful config-server that is used as a source of truth for various custom configuration properties like CIDRs, IP addresses, hostnames etc.

This config-server is used as a data-source for many of the terraform scripts as well, see:

data "http" "dc_config" {
  url      = "${var.config_server_url}/api/${var.config_server_api_version}/datacenters/${var.datacenter_name}/configs"
  insecure = true
  request_headers = {
    Accept = "application/json"
  }
}

locals {
  config = jsondecode(data.http.dc_config.response_body)
}

I was wondering if there's any plans to implement an HTTP Backend in vals so I can utilize the config-server for my helmfile deployments too.

ref+http://config-server.mydomain.io/api/v1/datacenters/dc1/configs#some-json-attribute
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