Comments (5)
As an example: right now I try to find the correct value to acc a zitadel_org_member.
resource "zitadel_org_member" "api-access" {
org_id = local.zitadel_org_id
user_id = zitadel_machine_user.api-access.id
roles = ["ORG_OWNER"]
}
While the example includes ORG_OWNER, I have no idea which other values are possible. Right now I need to go through the proto files of zitadel (or the code) to find the possible values for this roles array.
from terraform-provider-zitadel.
To have it 1:1 reflect the ZITADEL API we are currently using the defined enums, could be an improvement in the future to use easier defined values, good point.
But the values should be validated in the resource code with the defined enum list, do you have an example where this is not happening?
from terraform-provider-zitadel.
It is not an issue with validation, but with autocompletion. As a user, I have no idea which values are possible since they are not documented. If the description on the terraform site includes a list of possible values with a small description, the problem is mitigated.
from terraform-provider-zitadel.
supported values for enums included in the documentation with #34
from terraform-provider-zitadel.
included in release 1.0.0-alpha.10 so closing issue
from terraform-provider-zitadel.
Related Issues (20)
- Plan fails with "Error: failed to get application oidc" HOT 5
- SAML support HOT 1
- Unable to obtain client_ secret for application HOT 1
- Manage instance level members and IDPs through terraform HOT 1
- feature: possibility to enable/disable domain discovery HOT 1
- feature: set org domains as verified and primary HOT 2
- Bug: resources can't be created when Zitadel is self-hosted with PostgreSQL HOT 10
- Add CONTRIBUTING.md
- TriggerActions to use strings as flow and trigger types HOT 2
- Add `access_token_type` argument in machine user HOT 1
- Manage IDPs with templates HOT 1
- Add default login texts HOT 1
- Can't create label policy with files HOT 3
- Add default password change text HOT 1
- Release v1.0.0 HOT 2
- Error when destroying primary zitadel_domain resource HOT 2
- Terraform Provider: List ready for review checks in PR template
- Terraform Provider: Roll out lifecycle tests to all resources
- Terraform Provider: Run tests on PR
- Terraform Provider: Generate schemas from protos
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from terraform-provider-zitadel.