Giter Club home page Giter Club logo

cidaas / terraform-provider-cidaas Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 4.0 998 KB

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.

Home Page: https://registry.terraform.io/providers/Cidaas/cidaas/latest/docs

License: Mozilla Public License 2.0

Makefile 0.80% Go 92.37% HCL 6.83%
ciam cidaas terraform oauth2 openid

terraform-provider-cidaas's People

Contributors

chandra9990 avatar semantic-release-bot avatar thulasiraman-widas avatar tujit avatar

Stargazers

 avatar  avatar

Watchers

 avatar

terraform-provider-cidaas's Issues

Cannot update cidaas_user_group

I'm unable to update the description of an existing user group. Creating and deleting the group works, updating fails with status code 405.

We're using OpenTofu 1.7.1 with provider version 2.5.6.

Example group:

resource "cidaas_user_groups" "testgroup" {
  custom_fields                  = {}
  description                    = "Terraform-Testgroup"
  group_id                       = "tftest"
  group_name                     = "tftest"
  group_type                     = "tftest"
  make_first_user_admin          = false
  member_profile_visibility      = "public"
  none_member_profile_visibility = "public"
  parent_id                      = "root"
}

=> tofu apply succeeds

After changing the description, tofu apply fails:

resource "cidaas_user_groups" "testgroup" {
  custom_fields                  = {}
  description                    = "Terraform-Testgroup X"
  group_id                       = "tftest"
  group_name                     = "tftest"
  group_type                     = "tftest"
  make_first_user_admin          = false
  member_profile_visibility      = "public"
  none_member_profile_visibility = "public"
  parent_id                      = "root"
}
cidaas_user_groups.testgroup: Modifying... [id=tftest]
╷
│ Error: failed to update user group tftest
│
│   with cidaas_user_groups.testgroup,
│   on roles.tf line 62, in resource "cidaas_user_groups" "testgroup":
│   62: resource "cidaas_user_groups" "testgroup" {
│
│ status code not 20X. found 405, response body:

Cannot refresh HostedPages

I can provision Hosted Pages Group, but tf is never able to refresh it and therefore cannot update them.

module.hostedpages.module.LocalDev.cidaas_hosted_page.page: Refreshing state... [id=LocalDev]
module.apps.module.app_LocalCustomUI.cidaas_app.app: Refreshing state... [id=2ab69030-0393-40e2-xxxx-xxx]

Planning failed. Terraform encountered an error while generating this plan.

╷
│ Error: failed to read hosted page LocalDev
│ 
│   with module.hostedpages.module.LocalDev.cidaas_hosted_page.page,
│   on ../../modules/hostedpages/pages.tf line 41, in resource "cidaas_hosted_page" "page":
│   41: resource "cidaas_hosted_page" "page" {
│ 
│ status code not 200. found 404, response body:
│ {"success":true,"status":404}
│ 
╵
error: Recipe `tf` failed on line 8 with exit code 1

For me it seems that the id is not used when fetching from cidaas API. When using the admin-ui and manually edit the HostedPages, i can see a successful call to /hostedpages-srv/hpgroup/LocalDev with the previously provisioned Hosted Page Group.

I'm using provider version 2.4.5, tf v1.6.6 on macOS.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.