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_lustre_file_system - add support for creating filesystem from backup #20614

Merged
merged 4 commits into from
Aug 20, 2021

Conversation

DrFaust92
Copy link
Collaborator

@DrFaust92 DrFaust92 commented Aug 18, 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

Relates #19566
Output from acceptance testing:

$ make testacc TEST=./aws/ TESTARGS='-run=TestAccAWSFsxLustreFileSystem_'
--- PASS: TestAccAWSFsxLustreFileSystem_copyTagsToBackups (708.51s)
--- PASS: TestAccAWSFsxLustreFileSystem_basic (794.34s)
--- PASS: TestAccAWSFsxLustreFileSystem_WeeklyMaintenanceStartTime (871.30s)
--- PASS: TestAccAWSFsxLustreFileSystem_autoImportPolicy (1300.82s)
--- PASS: TestAccAWSFsxLustreFileSystem_StorageTypeHddDriveCacheNone (675.98s)
--- PASS: TestAccAWSFsxLustreFileSystem_DeploymentTypeScratch2 (666.28s)
--- PASS: TestAccAWSFsxLustreFileSystem_StorageTypeHddDriveCacheRead (786.99s)
--- PASS: TestAccAWSFsxLustreFileSystem_DeploymentTypePersistent1 (660.90s)
--- PASS: TestAccAWSFsxLustreFileSystem_dailyAutomaticBackupStartTime (836.80s)
--- PASS: TestAccAWSFsxLustreFileSystem_KmsKeyId (1400.36s)
--- PASS: TestAccAWSFsxLustreFileSystem_fromBackup (1361.75s)
--- PASS: TestAccAWSFsxLustreFileSystem_automaticBackupRetentionDays (930.07s)
--- PASS: TestAccAWSFsxLustreFileSystem_Tags (777.64s)
--- PASS: TestAccAWSFsxLustreFileSystem_StorageCapacity (1378.31s)
--- PASS: TestAccAWSFsxLustreFileSystem_ImportedFileChunkSize (2197.29s)
--- PASS: TestAccAWSFsxLustreFileSystem_SecurityGroupIds (1314.13s)
--- PASS: TestAccAWSFsxLustreFileSystem_dataCompression (936.89s)
--- PASS: TestAccAWSFsxLustreFileSystem_disappears (703.82s)
--- PASS: TestAccAWSFsxLustreFileSystem_StorageCapacityUpdate (3690.69s)
--- PASS: TestAccAWSFsxLustreFileSystem_ImportPath (1844.93s)
--- PASS: TestAccAWSFsxLustreFileSystem_ExportPath (2016.75s)

@github-actions github-actions bot added size/M 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 Aug 18, 2021
@DrFaust92 DrFaust92 added the enhancement Requests to existing resources that expand the functionality or scope. label Aug 18, 2021
@github-actions github-actions bot added the documentation Introduces or discusses updates to documentation. label Aug 18, 2021
@DrFaust92 DrFaust92 marked this pull request as ready for review August 19, 2021 08:02
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 🚀.

Commercial
% make testacc TESTARGS='-run=TestAccAWSFsxLustreFileSystem_'                              
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSFsxLustreFileSystem_ -timeout 180m
=== RUN   TestAccAWSFsxLustreFileSystem_basic
=== PAUSE TestAccAWSFsxLustreFileSystem_basic
=== RUN   TestAccAWSFsxLustreFileSystem_disappears
=== PAUSE TestAccAWSFsxLustreFileSystem_disappears
=== RUN   TestAccAWSFsxLustreFileSystem_dataCompression
=== PAUSE TestAccAWSFsxLustreFileSystem_dataCompression
=== RUN   TestAccAWSFsxLustreFileSystem_ExportPath
=== PAUSE TestAccAWSFsxLustreFileSystem_ExportPath
=== RUN   TestAccAWSFsxLustreFileSystem_ImportPath
=== PAUSE TestAccAWSFsxLustreFileSystem_ImportPath
=== RUN   TestAccAWSFsxLustreFileSystem_ImportedFileChunkSize
=== PAUSE TestAccAWSFsxLustreFileSystem_ImportedFileChunkSize
=== RUN   TestAccAWSFsxLustreFileSystem_SecurityGroupIds
=== PAUSE TestAccAWSFsxLustreFileSystem_SecurityGroupIds
=== RUN   TestAccAWSFsxLustreFileSystem_StorageCapacity
=== PAUSE TestAccAWSFsxLustreFileSystem_StorageCapacity
=== RUN   TestAccAWSFsxLustreFileSystem_StorageCapacityUpdate
=== PAUSE TestAccAWSFsxLustreFileSystem_StorageCapacityUpdate
=== RUN   TestAccAWSFsxLustreFileSystem_Tags
=== PAUSE TestAccAWSFsxLustreFileSystem_Tags
=== RUN   TestAccAWSFsxLustreFileSystem_WeeklyMaintenanceStartTime
=== PAUSE TestAccAWSFsxLustreFileSystem_WeeklyMaintenanceStartTime
=== RUN   TestAccAWSFsxLustreFileSystem_automaticBackupRetentionDays
=== PAUSE TestAccAWSFsxLustreFileSystem_automaticBackupRetentionDays
=== RUN   TestAccAWSFsxLustreFileSystem_dailyAutomaticBackupStartTime
=== PAUSE TestAccAWSFsxLustreFileSystem_dailyAutomaticBackupStartTime
=== RUN   TestAccAWSFsxLustreFileSystem_DeploymentTypePersistent1
=== PAUSE TestAccAWSFsxLustreFileSystem_DeploymentTypePersistent1
=== RUN   TestAccAWSFsxLustreFileSystem_fromBackup
=== PAUSE TestAccAWSFsxLustreFileSystem_fromBackup
=== RUN   TestAccAWSFsxLustreFileSystem_KmsKeyId
=== PAUSE TestAccAWSFsxLustreFileSystem_KmsKeyId
=== RUN   TestAccAWSFsxLustreFileSystem_DeploymentTypeScratch2
=== PAUSE TestAccAWSFsxLustreFileSystem_DeploymentTypeScratch2
=== RUN   TestAccAWSFsxLustreFileSystem_StorageTypeHddDriveCacheRead
=== PAUSE TestAccAWSFsxLustreFileSystem_StorageTypeHddDriveCacheRead
=== RUN   TestAccAWSFsxLustreFileSystem_StorageTypeHddDriveCacheNone
=== PAUSE TestAccAWSFsxLustreFileSystem_StorageTypeHddDriveCacheNone
=== RUN   TestAccAWSFsxLustreFileSystem_copyTagsToBackups
=== PAUSE TestAccAWSFsxLustreFileSystem_copyTagsToBackups
=== RUN   TestAccAWSFsxLustreFileSystem_autoImportPolicy
=== PAUSE TestAccAWSFsxLustreFileSystem_autoImportPolicy
=== CONT  TestAccAWSFsxLustreFileSystem_basic
=== CONT  TestAccAWSFsxLustreFileSystem_automaticBackupRetentionDays
=== CONT  TestAccAWSFsxLustreFileSystem_SecurityGroupIds
=== CONT  TestAccAWSFsxLustreFileSystem_WeeklyMaintenanceStartTime
=== CONT  TestAccAWSFsxLustreFileSystem_Tags
=== CONT  TestAccAWSFsxLustreFileSystem_StorageCapacityUpdate
=== CONT  TestAccAWSFsxLustreFileSystem_ExportPath
=== CONT  TestAccAWSFsxLustreFileSystem_StorageCapacity
=== CONT  TestAccAWSFsxLustreFileSystem_ImportedFileChunkSize
=== CONT  TestAccAWSFsxLustreFileSystem_fromBackup
=== CONT  TestAccAWSFsxLustreFileSystem_DeploymentTypeScratch2
=== CONT  TestAccAWSFsxLustreFileSystem_ImportPath
=== CONT  TestAccAWSFsxLustreFileSystem_KmsKeyId
=== CONT  TestAccAWSFsxLustreFileSystem_StorageTypeHddDriveCacheRead
=== CONT  TestAccAWSFsxLustreFileSystem_DeploymentTypePersistent1
=== CONT  TestAccAWSFsxLustreFileSystem_copyTagsToBackups
=== CONT  TestAccAWSFsxLustreFileSystem_dataCompression
=== CONT  TestAccAWSFsxLustreFileSystem_dailyAutomaticBackupStartTime
=== CONT  TestAccAWSFsxLustreFileSystem_autoImportPolicy
=== CONT  TestAccAWSFsxLustreFileSystem_StorageTypeHddDriveCacheNone
--- PASS: TestAccAWSFsxLustreFileSystem_StorageTypeHddDriveCacheNone (690.53s)
=== CONT  TestAccAWSFsxLustreFileSystem_disappears
--- PASS: TestAccAWSFsxLustreFileSystem_DeploymentTypePersistent1 (693.68s)
--- PASS: TestAccAWSFsxLustreFileSystem_dailyAutomaticBackupStartTime (714.85s)
--- PASS: TestAccAWSFsxLustreFileSystem_basic (731.33s)
--- PASS: TestAccAWSFsxLustreFileSystem_DeploymentTypeScratch2 (739.82s)
--- PASS: TestAccAWSFsxLustreFileSystem_copyTagsToBackups (741.48s)
--- PASS: TestAccAWSFsxLustreFileSystem_WeeklyMaintenanceStartTime (748.82s)
--- PASS: TestAccAWSFsxLustreFileSystem_Tags (769.20s)
--- PASS: TestAccAWSFsxLustreFileSystem_dataCompression (812.69s)
--- PASS: TestAccAWSFsxLustreFileSystem_automaticBackupRetentionDays (822.47s)
--- PASS: TestAccAWSFsxLustreFileSystem_StorageTypeHddDriveCacheRead (832.06s)
--- PASS: TestAccAWSFsxLustreFileSystem_autoImportPolicy (1338.21s)
--- PASS: TestAccAWSFsxLustreFileSystem_StorageCapacity (1383.38s)
--- PASS: TestAccAWSFsxLustreFileSystem_KmsKeyId (1390.71s)
--- PASS: TestAccAWSFsxLustreFileSystem_SecurityGroupIds (1391.22s)
--- PASS: TestAccAWSFsxLustreFileSystem_fromBackup (1435.02s)
--- PASS: TestAccAWSFsxLustreFileSystem_disappears (807.70s)
--- PASS: TestAccAWSFsxLustreFileSystem_ImportPath (1672.55s)
--- PASS: TestAccAWSFsxLustreFileSystem_ExportPath (1909.79s)
--- PASS: TestAccAWSFsxLustreFileSystem_ImportedFileChunkSize (2263.91s)
--- PASS: TestAccAWSFsxLustreFileSystem_StorageCapacityUpdate (2648.44s)
PASS
ok      github.com/terraform-providers/terraform-provider-aws/aws       2653.332s
GovCloud
% make testacc TESTARGS='-run=TestAccAWSFsxLustreFileSystem_' 
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSFsxLustreFileSystem_ -timeout 180m
=== RUN   TestAccAWSFsxLustreFileSystem_basic
=== PAUSE TestAccAWSFsxLustreFileSystem_basic
=== RUN   TestAccAWSFsxLustreFileSystem_disappears
=== PAUSE TestAccAWSFsxLustreFileSystem_disappears
=== RUN   TestAccAWSFsxLustreFileSystem_dataCompression
=== PAUSE TestAccAWSFsxLustreFileSystem_dataCompression
=== RUN   TestAccAWSFsxLustreFileSystem_ExportPath
=== PAUSE TestAccAWSFsxLustreFileSystem_ExportPath
=== RUN   TestAccAWSFsxLustreFileSystem_ImportPath
=== PAUSE TestAccAWSFsxLustreFileSystem_ImportPath
=== RUN   TestAccAWSFsxLustreFileSystem_ImportedFileChunkSize
=== PAUSE TestAccAWSFsxLustreFileSystem_ImportedFileChunkSize
=== RUN   TestAccAWSFsxLustreFileSystem_SecurityGroupIds
=== PAUSE TestAccAWSFsxLustreFileSystem_SecurityGroupIds
=== RUN   TestAccAWSFsxLustreFileSystem_StorageCapacity
=== PAUSE TestAccAWSFsxLustreFileSystem_StorageCapacity
=== RUN   TestAccAWSFsxLustreFileSystem_StorageCapacityUpdate
=== PAUSE TestAccAWSFsxLustreFileSystem_StorageCapacityUpdate
=== RUN   TestAccAWSFsxLustreFileSystem_Tags
=== PAUSE TestAccAWSFsxLustreFileSystem_Tags
=== RUN   TestAccAWSFsxLustreFileSystem_WeeklyMaintenanceStartTime
=== PAUSE TestAccAWSFsxLustreFileSystem_WeeklyMaintenanceStartTime
=== RUN   TestAccAWSFsxLustreFileSystem_automaticBackupRetentionDays
=== PAUSE TestAccAWSFsxLustreFileSystem_automaticBackupRetentionDays
=== RUN   TestAccAWSFsxLustreFileSystem_dailyAutomaticBackupStartTime
=== PAUSE TestAccAWSFsxLustreFileSystem_dailyAutomaticBackupStartTime
=== RUN   TestAccAWSFsxLustreFileSystem_DeploymentTypePersistent1
=== PAUSE TestAccAWSFsxLustreFileSystem_DeploymentTypePersistent1
=== RUN   TestAccAWSFsxLustreFileSystem_fromBackup
=== PAUSE TestAccAWSFsxLustreFileSystem_fromBackup
=== RUN   TestAccAWSFsxLustreFileSystem_KmsKeyId
=== PAUSE TestAccAWSFsxLustreFileSystem_KmsKeyId
=== RUN   TestAccAWSFsxLustreFileSystem_DeploymentTypeScratch2
=== PAUSE TestAccAWSFsxLustreFileSystem_DeploymentTypeScratch2
=== RUN   TestAccAWSFsxLustreFileSystem_StorageTypeHddDriveCacheRead
=== PAUSE TestAccAWSFsxLustreFileSystem_StorageTypeHddDriveCacheRead
=== RUN   TestAccAWSFsxLustreFileSystem_StorageTypeHddDriveCacheNone
=== PAUSE TestAccAWSFsxLustreFileSystem_StorageTypeHddDriveCacheNone
=== RUN   TestAccAWSFsxLustreFileSystem_copyTagsToBackups
=== PAUSE TestAccAWSFsxLustreFileSystem_copyTagsToBackups
=== RUN   TestAccAWSFsxLustreFileSystem_autoImportPolicy
=== PAUSE TestAccAWSFsxLustreFileSystem_autoImportPolicy
=== CONT  TestAccAWSFsxLustreFileSystem_basic
=== CONT  TestAccAWSFsxLustreFileSystem_automaticBackupRetentionDays
=== CONT  TestAccAWSFsxLustreFileSystem_SecurityGroupIds
=== CONT  TestAccAWSFsxLustreFileSystem_autoImportPolicy
=== CONT  TestAccAWSFsxLustreFileSystem_Tags
=== CONT  TestAccAWSFsxLustreFileSystem_copyTagsToBackups
=== CONT  TestAccAWSFsxLustreFileSystem_StorageTypeHddDriveCacheNone
=== CONT  TestAccAWSFsxLustreFileSystem_StorageTypeHddDriveCacheRead
=== CONT  TestAccAWSFsxLustreFileSystem_DeploymentTypeScratch2
=== CONT  TestAccAWSFsxLustreFileSystem_KmsKeyId
=== CONT  TestAccAWSFsxLustreFileSystem_fromBackup
=== CONT  TestAccAWSFsxLustreFileSystem_DeploymentTypePersistent1
=== CONT  TestAccAWSFsxLustreFileSystem_dailyAutomaticBackupStartTime
=== CONT  TestAccAWSFsxLustreFileSystem_WeeklyMaintenanceStartTime
=== CONT  TestAccAWSFsxLustreFileSystem_dataCompression
=== CONT  TestAccAWSFsxLustreFileSystem_StorageCapacityUpdate
=== CONT  TestAccAWSFsxLustreFileSystem_ExportPath
=== CONT  TestAccAWSFsxLustreFileSystem_ImportPath
=== CONT  TestAccAWSFsxLustreFileSystem_disappears
=== CONT  TestAccAWSFsxLustreFileSystem_ImportedFileChunkSize
--- PASS: TestAccAWSFsxLustreFileSystem_DeploymentTypeScratch2 (602.15s)
=== CONT  TestAccAWSFsxLustreFileSystem_StorageCapacity
--- PASS: TestAccAWSFsxLustreFileSystem_basic (608.80s)
--- PASS: TestAccAWSFsxLustreFileSystem_StorageTypeHddDriveCacheNone (609.87s)
--- PASS: TestAccAWSFsxLustreFileSystem_copyTagsToBackups (649.46s)
--- PASS: TestAccAWSFsxLustreFileSystem_disappears (676.88s)
--- PASS: TestAccAWSFsxLustreFileSystem_WeeklyMaintenanceStartTime (685.27s)
--- PASS: TestAccAWSFsxLustreFileSystem_DeploymentTypePersistent1 (706.45s)
--- PASS: TestAccAWSFsxLustreFileSystem_StorageTypeHddDriveCacheRead (749.58s)
--- PASS: TestAccAWSFsxLustreFileSystem_dataCompression (762.82s)
--- PASS: TestAccAWSFsxLustreFileSystem_Tags (765.38s)
--- PASS: TestAccAWSFsxLustreFileSystem_dailyAutomaticBackupStartTime (790.91s)
--- PASS: TestAccAWSFsxLustreFileSystem_automaticBackupRetentionDays (964.61s)
--- PASS: TestAccAWSFsxLustreFileSystem_autoImportPolicy (1228.38s)
--- PASS: TestAccAWSFsxLustreFileSystem_fromBackup (1273.17s)
--- PASS: TestAccAWSFsxLustreFileSystem_SecurityGroupIds (1288.21s)
--- PASS: TestAccAWSFsxLustreFileSystem_KmsKeyId (1297.86s)
--- PASS: TestAccAWSFsxLustreFileSystem_ImportPath (1639.70s)
--- PASS: TestAccAWSFsxLustreFileSystem_ImportedFileChunkSize (1736.52s)
--- PASS: TestAccAWSFsxLustreFileSystem_ExportPath (1834.60s)
--- PASS: TestAccAWSFsxLustreFileSystem_StorageCapacity (1500.57s)
--- PASS: TestAccAWSFsxLustreFileSystem_StorageCapacityUpdate (2548.34s)
PASS
ok  	github.com/terraform-providers/terraform-provider-aws/aws	2551.490s

@ewbankkit
Copy link
Contributor

@DrFaust92 Thanks for the contribution 🎉 👏.

@ewbankkit ewbankkit merged commit ca8624f into hashicorp:main Aug 20, 2021
@github-actions github-actions bot added this to the v3.56.0 milestone Aug 20, 2021
@DrFaust92 DrFaust92 deleted the fsx_lustre_backup branch August 20, 2021 15:16
@github-actions
Copy link

This functionality has been released in v3.56.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 Jun 24, 2022
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/M 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.

2 participants