port-labs / terraform-provider-port-labs

Port Terraform Provider
https://registry.terraform.io/providers/port-labs/port-labs/latest
Apache License 2.0
13 stars 6 forks source link

Add a data source for Port source IP addresses #100

Open tcaddy opened 8 months ago

tcaddy commented 8 months ago

Enhancement request to add a data source for the Port source IP addresses listed here: https://docs.getport.io/create-self-service-experiences/security/

I'm asking for this b/c I have seen this pattern used in other TF providers: https://registry.terraform.io/providers/hashicorp/google/latest/docs/data-sources/datastream_static_ips

It also feels like a bit of an anti-pattern to have these IP addresses hard-coded. What if they change?

MPTG94 commented 8 months ago

Hey @tcaddy thanks for this, I will open an internal issue, like you said we need to figure out how to best approach this because hardcoding the IPs isn't ideal