-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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
r/aws_fsx_ontap_storage_virtual_machine: Deprecate organizational_unit_distinguidshed_name
in favor of organizational_unit_distinguished_name
#22246
Conversation
…it_distinguidshed_name' in favor of 'organizational_unit_distinguished_name'.
organizational_unit_distinguidshed_name
in favor of organizational_unit_distinguished_name
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.
:face_palm:
Fix looks great! 🎉
% make testacc TESTARGS='-run=TestAccFSxOntapStorageVirtualMachine_activeDirectory' PKG=fsx
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/fsx/... -v -count 1 -parallel 20 -run=TestAccFSxOntapStorageVirtualMachine_activeDirectory -timeout 180m
--- PASS: TestAccFSxOntapStorageVirtualMachine_activeDirectoryDeprecatedOrganizationalUnitDistinguishedName (2560.16s)
--- PASS: TestAccFSxOntapStorageVirtualMachine_activeDirectory (2929.36s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/fsx 2930.634s
This functionality has been released in v3.70.0 of the Terraform AWS Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
The typo has been corrected in the new version, however updating my IaC to use the new value (organizational_unit_distinguished_name) is forcing a replacement of my SVM. This is not ideal, as I have already made configuration changes on the SVM. The expected behaviour should be that terraform recognizes that both values mean the same thing and that no changes are required. See my example below:
|
@k1ngkhan Can you please open a new issue for this? Thanks. |
@ewbankkit I have opened #22286 for this. |
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Community Note
Closes #21987.
Deprecates
organizational_unit_distinguidshed_name
in theactive_directory_configuration.self_managed_active_directory_configuration
configuration block in favor oforganizational_unit_distinguished_name
.Follows the documented best practices adapted for a nested attribute.
Output from acceptance testing: