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

Allow description to be updated for vault_auth_backend resource #1439

Merged
merged 5 commits into from
May 6, 2022

Conversation

vinay-gopalan
Copy link
Contributor

Relates OR Closes #1430

Output from acceptance testing:

$ make testacc TESTARGS='-run=TestResourceAuth'
=== RUN   TestResourceAuth
--- PASS: TestResourceAuth (2.98s)
PASS

@github-actions github-actions bot added the size/M label May 6, 2022
@vinay-gopalan vinay-gopalan added this to the 3.6.0 milestone May 6, 2022
Copy link
Contributor

@benashz benashz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few minor nits to address, then 👍

}

`
//var testResourceAuth_updateConfig = `
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Vestigial?

@@ -88,7 +88,11 @@ func authMountInfoGet(client *api.Client, path string) (*api.AuthMount, error) {
func authMountTune(client *api.Client, path string, configured interface{}) error {
tune := expandAuthMethodTune(configured.(*schema.Set).List())
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: may want to rename to input to be consistent with tuneMount() below.

return tuneMount(client, path, tune)
}

func tuneMount(client *api.Client, path string, input api.MountConfigInput) error {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@vinay-gopalan vinay-gopalan merged commit 5a31c83 into main May 6, 2022
@vinay-gopalan vinay-gopalan deleted the VAULT-6025/auth-backend-description branch May 6, 2022 23:38
marcboudreau pushed a commit to marcboudreau/terraform-provider-vault that referenced this pull request Nov 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Changing the description of a vault_auth_backend causes it to be wrongly recreated
2 participants