Skip to content

add role resource + test - #1816

Merged
Zlaticanin merged 9 commits into
mainfrom
VAULT-13683/add-role-resource
Apr 14, 2023
Merged

add role resource + test#1816
Zlaticanin merged 9 commits into
mainfrom
VAULT-13683/add-role-resource

Conversation

@Zlaticanin

@Zlaticanin Zlaticanin commented Apr 10, 2023

Copy link
Copy Markdown
Contributor

2/2 Second part of adding TFVP support for MongoDB Atlas secrets engine.

@vinay-gopalan vinay-gopalan left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looking great so far! Had some initial comments; thanks for working on this! 😄

Comment thread vault/resource_mongodbatlas_secret_role.go Outdated
Comment thread vault/resource_mongodbatlas_secret_role.go Outdated
Comment thread vault/resource_mongodbatlas_secret_role.go Outdated
Comment thread vault/resource_mongodbatlas_secret_role.go
Comment thread vault/resource_mongodbatlas_secret_role.go
Comment thread vault/resource_mongodbatlas_secret_role.go Outdated
Comment thread vault/resource_mongodbatlas_secret_role.go Outdated
Comment thread vault/resource_mongodbatlas_secret_role.go Outdated
Comment thread vault/resource_mongodbatlas_secret_role.go Outdated
Comment thread vault/resource_mongodbatlas_secret_role_test.go Outdated
@Zlaticanin
Zlaticanin marked this pull request as ready for review April 12, 2023 16:38

@vinay-gopalan vinay-gopalan left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looking great! Could we also include the docs in this PR?

Comment thread vault/resource_mongodbatlas_secret_role.go Outdated
Comment thread vault/resource_mongodbatlas_secret_role_test.go Outdated
Comment thread vault/resource_mongodbatlas_secret_role.go Outdated
Comment thread website/docs/r/mongodbatlas_secret_role.html.md

@vinay-gopalan vinay-gopalan left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looking great! Had some comments, a few of which have been scoped under this PR. Let me know what you think!

Comment thread website/docs/r/mongodbatlas_secret_backend.html.md
Comment thread vault/resource_mongodbatlas_secret_role.go Outdated
Comment thread website/docs/r/mongodbatlas_secret_backend.html.md Outdated
Comment thread vault/resource_mongodbatlas_secret_role_test.go
Comment thread vault/resource_mongodbatlas_secret_role.go Outdated
Comment thread vault/resource_mongodbatlas_secret_role.go Outdated
Comment thread vault/resource_mongodbatlas_secret_role.go Outdated
of the form: `<mount_path>/roles/<role_name>` e.g.

```
$ terraform import vault_mongodbatlas_secret_role.example mongodbatlas/roles/example-role

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
$ terraform import vault_mongodbatlas_secret_role.example mongodbatlas/roles/example-role
$ terraform import vault_mongodbatlas_secret_role.role mongodbatlas/roles/example-role

@vinay-gopalan vinay-gopalan left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM! Thanks for working on this 🙏🏼

@Zlaticanin

Copy link
Copy Markdown
Contributor Author

@vinay-gopalan Thank you so much for the reviews and help! 🙏

@Zlaticanin
Zlaticanin merged commit 55421ec into main Apr 14, 2023
@Zlaticanin
Zlaticanin deleted the VAULT-13683/add-role-resource branch April 14, 2023 19:37
@vinay-gopalan vinay-gopalan added this to the 3.15.0 milestone Apr 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants