-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Netapp active dirtectory #9546
Netapp active dirtectory #9546
Conversation
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
Hello! I am a robot. It looks like you are a: Community Contributor @NickElliot, a repository maintainer, has been assigned to review your changes. If you have not received review feedback within 2 business days, please leave a comment on this PR asking them to take a look. You can help make sure that review is quick by doing a self-review and by running impacted tests locally. |
Hi All, I have signed the CLA. |
Hi there, I'm the Modular magician. I've detected the following information about your changes: Diff reportYour PR generated some diffs in downstreams - here they are. Terraform GA: Diff ( 5 files changed, 1446 insertions(+), 2 deletions(-)) Missing test reportYour PR includes resource fields which are not covered by any test. Resource: resource "google_netapp_active_directory" "primary" {
aes_encryption = # value needed
backup_operators = # value needed
description = # value needed
encrypt_dc_connections = # value needed
kdc_hostname = # value needed
kdc_ip = # value needed
labels = # value needed
ldap_signing = # value needed
nfs_users_with_ldap = # value needed
organizational_unit = # value needed
security_operators = # value needed
site = # value needed
}
|
Tests analyticsTotal tests: Action takenFound 2 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected testsTestAccLoggingProjectSink_updatePreservesCustomWriter|TestAccNetappactiveDirectory_activeDirectoryCreateExample |
|
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.
Hi, did a first pass of things that need to be cleaned up!
mmv1/templates/terraform/examples/Active_Directory_Create.tf.erb
Outdated
Show resolved
Hide resolved
Co-authored-by: Nick Elliot <[email protected]>
I see the request for adding the acceptance test for the following: resource "google_netapp_active_directory" "primary" { Have few questions regarding the same. a) Where exactly should the file reside? |
Hi there, I'm the Modular magician. I've detected the following information about your changes: Diff reportYour PR generated some diffs in downstreams - here they are. Terraform GA: Diff ( 5 files changed, 1439 insertions(+), 2 deletions(-)) Missing test reportYour PR includes resource fields which are not covered by any test. Resource: resource "google_netapp_active_directory" "primary" {
aes_encryption = # value needed
backup_operators = # value needed
description = # value needed
encrypt_dc_connections = # value needed
kdc_hostname = # value needed
kdc_ip = # value needed
labels = # value needed
ldap_signing = # value needed
nfs_users_with_ldap = # value needed
organizational_unit = # value needed
security_operators = # value needed
site = # value needed
}
|
Tests analyticsTotal tests: Action takenFound 1 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected testsTestAccNetappactiveDirectory_activeDirectoryCreateExample |
Rerun these tests in REPLAYING mode to catch issues
|
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.
Thanks for the quick updates!
a) Where exactly should the file reside?
b) What should be the file name?
The test(s) with these values can be added in more or less the same way as the first sample you added, just you need to create a resource that uses all of the fields rather than just the minimum ones needed you had in the first "basic" test. It should be named netapp_active_directory_full
, or if there are conflicting fields that can't be set together, there could be more than one additional test with a naming scheme along the lines of netapp_active_directory_[withAfields]
c) And should we provide generic values for the above requested fields? Please confirm.
To go with that, there should not always be completely generic values -- if a resource is dependent on other ones to function, it will need to have those included in the sample (here in the development guide it shows an example of the subnetwork and network being included in the same test file). If it's a field that would need to be specific in actual use but isn't a value that would otherwise be represented in the terraform state via another resource, it's fine to include it as a generic along the lines of the previous "user" "pass".
Other than that, further down on the above linked instructions page is steps to add an update test -- that is also going to be necessary here, but thankfully it can be a pretty simple one! The goal is just to verify the resource can be updated in place -- it could be as simple as the first test step config is the same as your currently implemented basic test, while the 2nd changes net_bios_prefix
to be "smbserver_update" (or something else that assumably passes validation from the API).
If there are any further questions or things I can help with, please ask away!
mmv1/templates/terraform/examples/Active_Directory_Create.tf.erb
Outdated
Show resolved
Hide resolved
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.
net_bios_prefix changed to <10 chars. LGTM
Hi there, I'm the Modular magician. I've detected the following information about your changes: Diff reportYour PR generated some diffs in downstreams - here they are. Terraform GA: Diff ( 5 files changed, 1491 insertions(+), 2 deletions(-)) |
Tests analyticsTotal tests: Action takenFound 1 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected testsTestAccNetappactiveDirectory_activeDirectory_FullUpdate |
Rerun these tests in REPLAYING mode to catch issues
|
Hi there, I'm the Modular magician. I've detected the following information about your changes: Diff reportYour PR generated some diffs in downstreams - here they are. Terraform GA: Diff ( 5 files changed, 1455 insertions(+), 2 deletions(-)) |
Tests analyticsTotal tests: Action takenFound 1 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected testsTestAccDataprocJobIamPolicy |
Rerun these tests in REPLAYING mode to catch issues
|
Hey @NickElliot, can you please have a look? Thank you. |
Hi there, I'm the Modular magician. I've detected the following information about your changes: Diff reportYour PR generated some diffs in downstreams - here they are. Terraform GA: Diff ( 5 files changed, 1454 insertions(+), 2 deletions(-)) |
Tests analyticsTotal tests:
|
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.
LGTM!
Fixes - hashicorp/terraform-provider-google#16633
This PR is to support provisioning NetApp Active Directory Policy for Google Cloud NetApp Volumes through GCP terraform provider.
Release Note Template for Downstream PRs (will be copied)