Cidaas / terraform-provider-cidaas

This provider helps you managing your cidaas instances in an automated way. It enables you to configure and maintain apps and registration fields as part of a Terraform deployment. Secure – Fast – And unrivaled Swabian.
https://registry.terraform.io/providers/Cidaas/cidaas/latest/docs
MIT License
3 stars 4 forks source link

Version 3.0.0 is too strict when validating urls #16

Closed joschug closed 2 months ago

joschug commented 2 months ago

Good morning, I tried to upgrade our Terraform configs for the provider v3.0.0.

Pretty much worked fine, but I'm struggling with hosted_pages.

We're using the default definition of the URLs including {{cidaas_base_url}}, but this is not accepted anymore:

│ Error: Invalid Attribute Value Match
│
│   with cidaas_hosted_page.default,
│   on hosted_pages.tf line 2, in resource "cidaas_hosted_page" "default":
│    2: resource "cidaas_hosted_page" "default" {
│
│ Attribute hosted_pages[0].url must be a valid URL starting with https://, got: {{cidaas_base_url}}/identity/account_deduplication

Furthermore, the attributes allowed_logout_urls and redirect_uris only accept URLs starting with https://, whereas before http:// and also app-specific custom protocol handlers like my-app:// where accepted.

joschug commented 2 months ago

Fixed with 3.0.1, thanks!