kestra-io / terraform-provider-kestra

https://kestra.io/docs/terraform/
Apache License 2.0
11 stars 10 forks source link

Binding an IAM role to a GROUP doesn’t correctly attach the role to the group #119

Closed anna-geller closed 1 month ago

anna-geller commented 1 month ago

To reproduce:

Create a binding of an Admin role to a group:

resource "kestra_binding" "example" {
  type        = "GROUP"
  external_id = "68xAawPfiJPkTkZJIPX6jQ"
  role_id     = "3kcvnr27ZcdHXD2AUvIe7z"
  namespace   = "io.kestra.mynamespace"
}

https://kestra.io/docs/terraform/resources/binding

Then log in with a user who has that group attached and try to view Flows -> you will not see any flows.

However, when you attach the same Admin role to a group via UI, everything works. So it really seems like a terraform provider issue on that resource.

brian-mulier-p commented 1 month ago

Can't reproduce the issue. Ran on Kestra v0.17.8 & provider 0.17.1. If you manage to reproduce it under this version and provide a clear reproducer I can have a look but right now I see flows as intended with the above snippet

anna-geller commented 1 month ago

we couldn't reproduce so closing for now