Closed mwasilew2 closed 1 year ago
The tests pass against my local instance. My current suspicion is that they fail in Github Actions because the API which the tests run against doesn't include the relevant graphql schema changes.
The provider uses SPACELIFT_API_KEY_ENDPOINT
. I wanted to look it up in the repo config, but all env vars are stored as secrets so there's no way to check it that way.
@adamconnelly @truszkowski @marcinwyszynski
I'm troubleshooting: https://github.com/spacelift-io/terraform-provider-spacelift/actions/runs/6407726212/job/17395133360?pr=473
I noticed you've been recently active in this repo, do you know which instance is used for running tests? (preprod, prod, another one?)
@adamconnelly @truszkowski @marcinwyszynski
I'm troubleshooting: https://github.com/spacelift-io/terraform-provider-spacelift/actions/runs/6407726212/job/17395133360?pr=473
I noticed you've been recently active in this repo, do you know which instance is used for running tests? (preprod, prod, another one?)
@mwasilew2 I think the issue will just be that the new user management feature flags haven't been enabled for the test account (which is one of our preprod accounts). I'll message you on Slack with more info.
on preprod I got this:
I think we are missing a datasource for user groups? Or will that be in a separate PR?
@michieldewilde I explicitly requested that the data sources are handled separately.
It's not pretty, but the user facing interface is consistent with the UI and docs.
Description of the change
User need
User Management is a feature that is in closed beta right now. Most of it is already implemented, but there are still some bits and pieces missing. One example of a missing bit is that the terraform provider is missing support for managing resources related to User Management. This PR is intended to improve on that by adding support for managing user group resources.
Solution
Add support to the spacelift terraform provider for managing User Management related objects.
Type of change
Related issues
Checklists
Development
false
.)go generate
to make sure the docs are up to dateCode review