Light
Light2mo ago

Create Action Target/Execution via Terraform Provider

I would like to create an Action Target and an Action Execution with Terraform when provisioning a Zitadel instance. I saw that this is possible via the v2beta API, but the Terraform provider seems to be missing it. Are there plans with the release of v4 to include this in Terraform?
7 Replies
Light
LightOP2mo ago
@Rajat Singh can you give me any insights on this?
Rajat
Rajat2mo ago
hey @Light I will check with my team, as of now they're not present if you have an idea then maybe yiu can raise a descriptive issue and I can check my engineers to take a look at it
Light
LightOP2mo ago
Thanks! It's just that we need a way to sync Zitadel data like a user's name and email to our backend database. Actions look like a perfect match, however we need to provision these Actions for each customer, so an automated way like Terraform would be ideal as we already use it to create a Zitadel project and other resources. Manual creation is just not feasible for us.
Rajat
Rajat2mo ago
let me check with my team if soemthing similar is possible, if not from TF, maybe we can sync the db by something else
Light
LightOP2mo ago
That would be great, thank you!
Light
LightOP2mo ago
@Rajat any news from your team? We are kinda stuck with our auth setup until we have a way to sync data. I tried creating a V2 Action (Target and Execution) via the Console manually for now, but that does also not seem to work:
Rajat
Rajat2mo ago
hey @Light raised it internally hey @Light you should try the api to create the target and then creating an execution and see it that woeks

Did you find this page helpful?