Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

provider returns error for app creation but create app in UI #117

Open
Josh-Tracy opened this issue Sep 26, 2024 · 0 comments
Open

provider returns error for app creation but create app in UI #117

Josh-Tracy opened this issue Sep 26, 2024 · 0 comments

Comments

@Josh-Tracy
Copy link

Issue

When I create a fortanix app using the dsm provider I get the error:

CAll DSM provider API returned non-JSON API: GET sys/v1/apps/<app_id> 401: This operation requires an account to be selected first

HOWEVER the app is created and appears in Fortanix.

Steps to reproduce

Create a dsm_app using this code

resource "dsm_app" "app" {
  name = "testApp"
  default_group = module.dsm_group.group_id
  other_group = []
  other_group_permissions = {}
  new_credential = false
}

Expected Outcome

Terraform apply to return no errors and show app created when app is created in Fortanix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant