-
Notifications
You must be signed in to change notification settings - Fork 101
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
resource: new sso auth method binding rule resources #305
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor comments but looking good!
_ = d.Set("name", authMethod.Name) | ||
_ = d.Set("type", authMethod.Type) | ||
_ = d.Set("token_locality", authMethod.TokenLocality) | ||
_ = d.Set("max_token_ttl", authMethod.MaxTokenTTL) | ||
_ = d.Set("default", authMethod.Default) | ||
_ = d.Set("config", flattenACLAuthMethodConfig(authMethod.Config)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's a StateWriter
helper to handle multiple Set
like this, but we haven't use it much yet 😅
https://github.com/hashicorp/terraform-provider-nomad/blob/main/nomad/data_source_scaling_policy.go#L74-L79
bebf91e
to
8a1dae5
Compare
@lgfa29 Any word on when this will be released? |
@chrispruitt I hope to be working on this over the next days. |
Raising as WIP for initial feedback. Deps will certainly need sorting before this is ready for merge.