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

r/fsx_windows_filesystem - support aliases #20054

Merged
merged 14 commits into from
Jul 9, 2021

Conversation

DrFaust92
Copy link
Collaborator

@DrFaust92 DrFaust92 commented Jul 2, 2021

Community Note

  • Please vote on this pull request by adding a 👍 reaction to the original pull request comment to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for pull request followers and do not help prioritize the request

Closes #16548
Supersedes #16683

Output from acceptance testing:

$ make testacc TESTARGS='-run=TestAccXXX'
--- PASS: TestAccAWSFsxWindowsFileSystem_aliases (2000.94s)

@github-actions github-actions bot added size/L Managed by automation to categorize the size of a PR. service/fsx Issues and PRs that pertain to the fsx service. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure. labels Jul 2, 2021
@DrFaust92 DrFaust92 changed the title r/fsx _windows_filesystem - support aliases r/fsx_windows_filesystem - support aliases Jul 2, 2021
@github-actions github-actions bot added the documentation Introduces or discusses updates to documentation. label Jul 2, 2021
@DrFaust92 DrFaust92 added the enhancement Requests to existing resources that expand the functionality or scope. label Jul 2, 2021
@DrFaust92 DrFaust92 marked this pull request as ready for review July 2, 2021 12:21
@ewbankkit ewbankkit self-assigned this Jul 9, 2021
@github-actions github-actions bot added size/XL Managed by automation to categorize the size of a PR. service/directoryservice and removed size/L Managed by automation to categorize the size of a PR. labels Jul 9, 2021
Copy link
Contributor

@ewbankkit ewbankkit left a comment

Choose a reason for hiding this comment

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

LGTM 🚀.

% make testacc TEST=./aws TESTARGS='-run=TestAccAWSFsxWindowsFileSystem_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSFsxWindowsFileSystem_ -timeout 180m
=== RUN   TestAccAWSFsxWindowsFileSystem_basic
=== PAUSE TestAccAWSFsxWindowsFileSystem_basic
=== RUN   TestAccAWSFsxWindowsFileSystem_singleAz2
=== PAUSE TestAccAWSFsxWindowsFileSystem_singleAz2
=== RUN   TestAccAWSFsxWindowsFileSystem_storageTypeHdd
=== PAUSE TestAccAWSFsxWindowsFileSystem_storageTypeHdd
=== RUN   TestAccAWSFsxWindowsFileSystem_multiAz
=== PAUSE TestAccAWSFsxWindowsFileSystem_multiAz
=== RUN   TestAccAWSFsxWindowsFileSystem_disappears
=== PAUSE TestAccAWSFsxWindowsFileSystem_disappears
=== RUN   TestAccAWSFsxWindowsFileSystem_aliases
=== PAUSE TestAccAWSFsxWindowsFileSystem_aliases
=== RUN   TestAccAWSFsxWindowsFileSystem_AutomaticBackupRetentionDays
=== PAUSE TestAccAWSFsxWindowsFileSystem_AutomaticBackupRetentionDays
=== RUN   TestAccAWSFsxWindowsFileSystem_CopyTagsToBackups
=== PAUSE TestAccAWSFsxWindowsFileSystem_CopyTagsToBackups
=== RUN   TestAccAWSFsxWindowsFileSystem_DailyAutomaticBackupStartTime
=== PAUSE TestAccAWSFsxWindowsFileSystem_DailyAutomaticBackupStartTime
=== RUN   TestAccAWSFsxWindowsFileSystem_KmsKeyId
=== PAUSE TestAccAWSFsxWindowsFileSystem_KmsKeyId
=== RUN   TestAccAWSFsxWindowsFileSystem_SecurityGroupIds
=== PAUSE TestAccAWSFsxWindowsFileSystem_SecurityGroupIds
=== RUN   TestAccAWSFsxWindowsFileSystem_SelfManagedActiveDirectory
=== PAUSE TestAccAWSFsxWindowsFileSystem_SelfManagedActiveDirectory
=== RUN   TestAccAWSFsxWindowsFileSystem_SelfManagedActiveDirectory_Username
=== PAUSE TestAccAWSFsxWindowsFileSystem_SelfManagedActiveDirectory_Username
=== RUN   TestAccAWSFsxWindowsFileSystem_StorageCapacity
=== PAUSE TestAccAWSFsxWindowsFileSystem_StorageCapacity
=== RUN   TestAccAWSFsxWindowsFileSystem_Tags
=== PAUSE TestAccAWSFsxWindowsFileSystem_Tags
=== RUN   TestAccAWSFsxWindowsFileSystem_ThroughputCapacity
=== PAUSE TestAccAWSFsxWindowsFileSystem_ThroughputCapacity
=== RUN   TestAccAWSFsxWindowsFileSystem_WeeklyMaintenanceStartTime
=== PAUSE TestAccAWSFsxWindowsFileSystem_WeeklyMaintenanceStartTime
=== RUN   TestAccAWSFsxWindowsFileSystem_auditConfig
=== PAUSE TestAccAWSFsxWindowsFileSystem_auditConfig
=== CONT  TestAccAWSFsxWindowsFileSystem_basic
=== CONT  TestAccAWSFsxWindowsFileSystem_SecurityGroupIds
=== CONT  TestAccAWSFsxWindowsFileSystem_multiAz
=== CONT  TestAccAWSFsxWindowsFileSystem_KmsKeyId
=== CONT  TestAccAWSFsxWindowsFileSystem_aliases
=== CONT  TestAccAWSFsxWindowsFileSystem_DailyAutomaticBackupStartTime
=== CONT  TestAccAWSFsxWindowsFileSystem_CopyTagsToBackups
=== CONT  TestAccAWSFsxWindowsFileSystem_AutomaticBackupRetentionDays
=== CONT  TestAccAWSFsxWindowsFileSystem_ThroughputCapacity
=== CONT  TestAccAWSFsxWindowsFileSystem_disappears
=== CONT  TestAccAWSFsxWindowsFileSystem_WeeklyMaintenanceStartTime
=== CONT  TestAccAWSFsxWindowsFileSystem_storageTypeHdd
=== CONT  TestAccAWSFsxWindowsFileSystem_singleAz2
=== CONT  TestAccAWSFsxWindowsFileSystem_SelfManagedActiveDirectory_Username
=== CONT  TestAccAWSFsxWindowsFileSystem_SelfManagedActiveDirectory
=== CONT  TestAccAWSFsxWindowsFileSystem_auditConfig
=== CONT  TestAccAWSFsxWindowsFileSystem_Tags
=== CONT  TestAccAWSFsxWindowsFileSystem_StorageCapacity
    resource_aws_fsx_windows_file_system_test.go:602: Step 1/3 error: Error running apply: exit status 1
        2021/07/09 11:42:38 [DEBUG] Using modified User-Agent: Terraform/0.12.31 HashiCorp-terraform-exec/0.14.0
        
        Error: error waiting for Directory Service Directory (d-9267714ac8) to create: unexpected state 'Failed', wanted target 'Active'. last error: An internal service error has been encountered during directory creation. Please retry the operation.
        
          on terraform_plugin_test.tf line 27, in resource "aws_directory_service_directory" "test":
          27: resource "aws_directory_service_directory" "test" {
        
        
--- FAIL: TestAccAWSFsxWindowsFileSystem_StorageCapacity (2701.05s)
--- PASS: TestAccAWSFsxWindowsFileSystem_SelfManagedActiveDirectory (3168.04s)
--- PASS: TestAccAWSFsxWindowsFileSystem_DailyAutomaticBackupStartTime (3289.53s)
--- PASS: TestAccAWSFsxWindowsFileSystem_basic (3376.99s)
--- PASS: TestAccAWSFsxWindowsFileSystem_disappears (3396.80s)
--- PASS: TestAccAWSFsxWindowsFileSystem_WeeklyMaintenanceStartTime (3441.20s)
--- PASS: TestAccAWSFsxWindowsFileSystem_AutomaticBackupRetentionDays (3536.30s)
--- PASS: TestAccAWSFsxWindowsFileSystem_auditConfig (3674.66s)
--- PASS: TestAccAWSFsxWindowsFileSystem_Tags (3678.99s)
--- PASS: TestAccAWSFsxWindowsFileSystem_singleAz2 (3860.68s)
--- PASS: TestAccAWSFsxWindowsFileSystem_storageTypeHdd (4062.78s)
--- PASS: TestAccAWSFsxWindowsFileSystem_aliases (4353.25s)
--- PASS: TestAccAWSFsxWindowsFileSystem_ThroughputCapacity (4509.17s)
--- PASS: TestAccAWSFsxWindowsFileSystem_SelfManagedActiveDirectory_Username (4519.44s)
--- PASS: TestAccAWSFsxWindowsFileSystem_multiAz (4556.42s)
--- PASS: TestAccAWSFsxWindowsFileSystem_KmsKeyId (4966.82s)
--- PASS: TestAccAWSFsxWindowsFileSystem_CopyTagsToBackups (5133.11s)
--- PASS: TestAccAWSFsxWindowsFileSystem_SecurityGroupIds (5234.71s)

The failure is unrelated to this change.

@ewbankkit ewbankkit merged commit fdceca8 into hashicorp:main Jul 9, 2021
@github-actions github-actions bot added this to the v3.50.0 milestone Jul 9, 2021
@jeremyciak
Copy link

Oh man @DrFaust92 I would have loved to benefit from a bit of education on what you adjusted from my PR and why so I can learn and become a meaningful contributor.

@DrFaust92
Copy link
Collaborator Author

Hi @jeremyciak changes were mostly around testing and adding waiting logic around alias changes. but the core of the logic was you contribution (Thanks Again!)

@github-actions
Copy link

This functionality has been released in v3.50.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 pull request 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 related to this change, 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 Aug 15, 2021
@DrFaust92 DrFaust92 deleted the r/fsx_win_alias branch February 12, 2022 12:53
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
documentation Introduces or discusses updates to documentation. enhancement Requests to existing resources that expand the functionality or scope. service/fsx Issues and PRs that pertain to the fsx service. size/XL Managed by automation to categorize the size of a PR. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Windows FSx DNS alias support
3 participants