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

resource: new sso auth method binding rule resources #305

Merged
merged 5 commits into from
Apr 12, 2023

Conversation

jrasell
Copy link
Member

@jrasell jrasell commented Jan 31, 2023

Raising as WIP for initial feedback. Deps will certainly need sorting before this is ready for merge.

@jrasell jrasell self-assigned this Jan 31, 2023
Copy link
Contributor

@lgfa29 lgfa29 left a 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!

Comment on lines +220 to +225
_ = 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))
Copy link
Contributor

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

@jrasell jrasell force-pushed the jrasell/sso-auth-method-binding-rule-resources branch from bebf91e to 8a1dae5 Compare March 7, 2023 09:14
@jrasell jrasell marked this pull request as ready for review March 21, 2023 07:47
@jrasell jrasell marked this pull request as draft March 21, 2023 07:51
@jrasell jrasell requested a review from lgfa29 April 5, 2023 07:39
@jrasell jrasell marked this pull request as ready for review April 5, 2023 07:39
@chrispruitt
Copy link

@lgfa29 Any word on when this will be released?

@jrasell
Copy link
Member Author

jrasell commented Apr 19, 2023

@chrispruitt I hope to be working on this over the next days.

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

Successfully merging this pull request may close these issues.

3 participants