goauthentik / terraform-provider-authentik

Manage https://goauthentik.io with terraform.
https://registry.terraform.io/providers/goauthentik/authentik/latest/docs
GNU General Public License v3.0
58 stars 16 forks source link

Cannot manage Outpost integrations #514

Closed vincent-lg18 closed 1 month ago

vincent-lg18 commented 1 month ago

Problem

It would be great to manage Outpost integrations from your Terraform provider.

In our authentik_outpost, we have to set the service_connection parameter to the ID of an Outpost integrations. But there isn't any data or resources that can be used to reference an outpost integration.

Solution

Something like this to create outpost would be great:

resource "authentik_outpost_integration" "docker-integration" { 
  type  = "docker" # docker or k8s
  local = true
  name  = "docker-local"
  url   = "unix://..." 
}
rissson commented 1 month ago

There is https://registry.terraform.io/providers/goauthentik/authentik/latest/docs/resources/service_connection_docker and https://registry.terraform.io/providers/goauthentik/authentik/latest/docs/resources/service_connection_kubernetes to do so.

vincent-lg18 commented 1 month ago

Okay thank you, maybe it should be in System instead of Applications in the documentation? Because the Outpust Integration menu is in System in Authentik dashboard