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

Enhancement: manage Trusted IPs in config resource #60

Open
slaughtr opened this issue Sep 18, 2023 · 1 comment
Open

Enhancement: manage Trusted IPs in config resource #60

slaughtr opened this issue Sep 18, 2023 · 1 comment

Comments

@slaughtr
Copy link

We have a use case for adding a static set of IP addresses to the Trusted IPs of all of our configs. For this, it would be very helpful to be able to manage trusted IPs when deploying configs via Terraform.

Example:

resource "doppler_config" "this" {
  project = "my-project"

  environment = "dev"
  name        = "dev"
  
  trusted_ips = [ "1.2.3.4", "5.6.7.8" ]
}

This would prevent us inventing some complicated workaround or automation logic, which would also likely reduce unnecessary API calls to the Add endpoint.

@jefflinse
Copy link

Here's a draft PR that adds trusted_ip as a resource type. An alternative approach would be to update the doppler_config resource to manage the trusted IP addresses instead.

#61

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants