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

[Bug]: file_system_administrators_group causes recreation of the resource #33199

Closed
varunrai opened this issue Aug 28, 2023 · 4 comments · Fixed by #33466
Closed

[Bug]: file_system_administrators_group causes recreation of the resource #33199

varunrai opened this issue Aug 28, 2023 · 4 comments · Fixed by #33466
Labels
bug Addresses a defect in current functionality. good first issue Call to action for new contributors looking for a place to start. Smaller or straightforward issues. service/fsx Issues and PRs that pertain to the fsx service.
Milestone

Comments

@varunrai
Copy link

varunrai commented Aug 28, 2023

Terraform Core Version

1.4.5

AWS Provider Version

5.12.0

Affected Resource(s)

  • aws_fsx_ontap_storage_virtual_machine

Expected Behavior

Recreate should not happen

Actual Behavior

Creating an SVM with Active Directory configuration and specifying the property "file_system_administrators_group" causes the subsequent apply operation to re-create the SVM.

Relevant Error/Panic Output Snippet

No response

Terraform Configuration Files

resource "aws_fsx_ontap_storage_virtual_machine" "fsxsvm1" {
  file_system_id             = aws_fsx_ontap_file_system.fsx_ontap_fs.id
  name                       = "svm01"
  root_volume_security_style = var.fsxn_volume_security_style
  svm_admin_password         = var.fsxn_password

  "active_directory_configuration" {
      netbios_name = "FSXN-SVM1"
      self_managed_active_directory_configuration {
        domain_name                            = var.ad_domain_name
        dns_ips                                = var.ad_dns_ips
        file_system_administrators_group       = var.ad_administrators_group
        organizational_unit_distinguished_name = var.ad_ou
        username                               = var.ad_service_account
        password                               = var.ad_service_account_password
    }
  }
}

Steps to Reproduce

  • Create a new security group in Active Directory or use an existing group other than "Domain Admins".

  • Create a new SVM with Active Directory configuration (specify - file_system_administrators_group)

  • Apply the configuration

  • On the next "Apply", the SVM will be detected as a change thus triggering a replacement.

Debug Output

No response

Panic Output

No response

Important Factoids

No response

References

No response

Would you like to implement a fix?

None

@varunrai varunrai added the bug Addresses a defect in current functionality. label Aug 28, 2023
@github-actions github-actions bot added the service/fsx Issues and PRs that pertain to the fsx service. label Aug 28, 2023
@github-actions
Copy link

Community Note

Voting for Prioritization

  • Please vote on this issue by adding a 👍 reaction to the original post to help the community and maintainers prioritize this request.
  • Please see our prioritization guide for information on how we prioritize.
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.

Volunteering to Work on This Issue

  • If you are interested in working on this issue, please leave a comment.
  • If this would be your first contribution, please review the contribution guide.

@terraform-aws-provider terraform-aws-provider bot added the needs-triage Waiting for first response or review from a maintainer. label Aug 28, 2023
@justinretzolk justinretzolk added good first issue Call to action for new contributors looking for a place to start. Smaller or straightforward issues. and removed needs-triage Waiting for first response or review from a maintainer. labels Aug 30, 2023
@ewbankkit
Copy link
Contributor

Similar: #23314.

@github-actions
Copy link

This functionality has been released in v5.18.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!

@github-actions
Copy link

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Addresses a defect in current functionality. good first issue Call to action for new contributors looking for a place to start. Smaller or straightforward issues. service/fsx Issues and PRs that pertain to the fsx service.
Projects
None yet
3 participants