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/aws_fsx_ontap_volume support snapshot_policy argument #32530

Merged
merged 30 commits into from
Sep 26, 2023
Merged

r/aws_fsx_ontap_volume support snapshot_policy argument #32530

merged 30 commits into from
Sep 26, 2023

Conversation

coreylane
Copy link
Contributor

@coreylane coreylane commented Jul 17, 2023

Description

Adds support for the snapshot_policy argument to the aws_fsx_ontap_volume resource.

Relations

Closes #32519.
Closes #30962.

References

https://docs.aws.amazon.com/fsx/latest/ONTAPGuide/snapshots-ontap.html#snapshot-policies

Output from Acceptance Testing

❯ make testacc TESTS=TestAccFSxOntapVolume_snapshotPolicy PKG=fsx
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/fsx/... -v -count 1 -parallel 20 -run='TestAccFSxOntapVolume_snapshotPolicy'  -timeout 180m
=== RUN   TestAccFSxOntapVolume_snapshotPolicy
=== PAUSE TestAccFSxOntapVolume_snapshotPolicy
=== CONT  TestAccFSxOntapVolume_snapshotPolicy
--- PASS: TestAccFSxOntapVolume_snapshotPolicy (2566.39s)
PASS
ok      github.com/hashicorp/terraform-provider-aws/internal/service/fsx        2569.485s

@github-actions
Copy link

Community Note

Voting for Prioritization

  • Please vote on this pull request by adding a 👍 reaction to the original post to help the community and maintainers prioritize this pull 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.

For Submitters

  • Review the contribution guide relating to the type of change you are making to ensure all of the necessary steps have been taken.
  • For new resources and data sources, use skaff to generate scaffolding with comments detailing common expectations.
  • Whether or not the branch has been rebased will not impact prioritization, but doing so is always a welcome surprise.

@github-actions github-actions bot added size/XS Managed by automation to categorize the size of a PR. documentation Introduces or discusses updates to documentation. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure. service/fsx Issues and PRs that pertain to the fsx service. needs-triage Waiting for first response or review from a maintainer. labels Jul 17, 2023
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Welcome @coreylane 👋

It looks like this is your first Pull Request submission to the Terraform AWS Provider! If you haven’t already done so please make sure you have checked out our CONTRIBUTOR guide and FAQ to make sure your contribution is adhering to best practice and has all the necessary elements in place for a successful approval.

Also take a look at our FAQ which details how we prioritize Pull Requests for inclusion.

Thanks again, and welcome to the community! 😃

@DrFaust92 DrFaust92 added enhancement Requests to existing resources that expand the functionality or scope. and removed needs-triage Waiting for first response or review from a maintainer. labels Jul 17, 2023
@github-actions github-actions bot added size/M Managed by automation to categorize the size of a PR. and removed size/XS Managed by automation to categorize the size of a PR. labels Jul 17, 2023
@jmreicha
Copy link

Any update on this one?

% ACCTEST_TIMEOUT=720m make testacc TESTARGS='-run=TestAccFSxONTAPVolume_basic\|TestAccFSxONTAPVolume_ontapVolumeType\|TestAccFSxONTAPVolume_snapshotPolicy' PKG=fsx ACCTEST_PARALLELISM=3
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/fsx/... -v -count 1 -parallel 3  -run=TestAccFSxONTAPVolume_basic\|TestAccFSxONTAPVolume_ontapVolumeType\|TestAccFSxONTAPVolume_snapshotPolicy -timeout 720m
=== RUN   TestAccFSxONTAPVolume_basic
=== PAUSE TestAccFSxONTAPVolume_basic
=== RUN   TestAccFSxONTAPVolume_ontapVolumeType
=== PAUSE TestAccFSxONTAPVolume_ontapVolumeType
=== RUN   TestAccFSxONTAPVolume_snapshotPolicy
=== PAUSE TestAccFSxONTAPVolume_snapshotPolicy
=== CONT  TestAccFSxONTAPVolume_basic
=== CONT  TestAccFSxONTAPVolume_snapshotPolicy
=== CONT  TestAccFSxONTAPVolume_ontapVolumeType
--- PASS: TestAccFSxONTAPVolume_ontapVolumeType (2320.79s)
--- PASS: TestAccFSxONTAPVolume_snapshotPolicy (2623.55s)
--- PASS: TestAccFSxONTAPVolume_basic (2626.48s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/service/fsx	2631.567s
% ACCTEST_TIMEOUT=720m make testacc TESTARGS='-run=TestAccFSxOpenZFSVolume_\|TestAccFSxOpenZFSFileSystem_' PKG=fsx ACCTEST_PARALLELISM=3
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/fsx/... -v -count 1 -parallel 3  -run=TestAccFSxOpenZFSVolume_\|TestAccFSxOpenZFSFileSystem_ -timeout 720m
=== RUN   TestAccFSxOpenZFSFileSystem_basic
=== PAUSE TestAccFSxOpenZFSFileSystem_basic
=== RUN   TestAccFSxOpenZFSFileSystem_diskIops
=== PAUSE TestAccFSxOpenZFSFileSystem_diskIops
=== RUN   TestAccFSxOpenZFSFileSystem_disappears
=== PAUSE TestAccFSxOpenZFSFileSystem_disappears
=== RUN   TestAccFSxOpenZFSFileSystem_rootVolume
=== PAUSE TestAccFSxOpenZFSFileSystem_rootVolume
=== RUN   TestAccFSxOpenZFSFileSystem_securityGroupIDs
=== PAUSE TestAccFSxOpenZFSFileSystem_securityGroupIDs
=== RUN   TestAccFSxOpenZFSFileSystem_tags
=== PAUSE TestAccFSxOpenZFSFileSystem_tags
=== RUN   TestAccFSxOpenZFSFileSystem_copyTags
=== PAUSE TestAccFSxOpenZFSFileSystem_copyTags
=== RUN   TestAccFSxOpenZFSFileSystem_throughput
=== PAUSE TestAccFSxOpenZFSFileSystem_throughput
=== RUN   TestAccFSxOpenZFSFileSystem_storageType
=== PAUSE TestAccFSxOpenZFSFileSystem_storageType
=== RUN   TestAccFSxOpenZFSFileSystem_weeklyMaintenanceStartTime
=== PAUSE TestAccFSxOpenZFSFileSystem_weeklyMaintenanceStartTime
=== RUN   TestAccFSxOpenZFSFileSystem_automaticBackupRetentionDays
=== PAUSE TestAccFSxOpenZFSFileSystem_automaticBackupRetentionDays
=== RUN   TestAccFSxOpenZFSFileSystem_kmsKeyID
=== PAUSE TestAccFSxOpenZFSFileSystem_kmsKeyID
=== RUN   TestAccFSxOpenZFSFileSystem_dailyAutomaticBackupStartTime
=== PAUSE TestAccFSxOpenZFSFileSystem_dailyAutomaticBackupStartTime
=== RUN   TestAccFSxOpenZFSFileSystem_throughputCapacity
=== PAUSE TestAccFSxOpenZFSFileSystem_throughputCapacity
=== RUN   TestAccFSxOpenZFSFileSystem_storageCapacity
=== PAUSE TestAccFSxOpenZFSFileSystem_storageCapacity
=== RUN   TestAccFSxOpenZFSFileSystem_deploymentType
=== PAUSE TestAccFSxOpenZFSFileSystem_deploymentType
=== RUN   TestAccFSxOpenZFSFileSystem_multiAZ
=== PAUSE TestAccFSxOpenZFSFileSystem_multiAZ
=== RUN   TestAccFSxOpenZFSFileSystem_routeTableIDs
=== PAUSE TestAccFSxOpenZFSFileSystem_routeTableIDs
=== RUN   TestAccFSxOpenZFSVolume_basic
=== PAUSE TestAccFSxOpenZFSVolume_basic
=== RUN   TestAccFSxOpenZFSVolume_disappears
=== PAUSE TestAccFSxOpenZFSVolume_disappears
=== RUN   TestAccFSxOpenZFSVolume_parentVolume
=== PAUSE TestAccFSxOpenZFSVolume_parentVolume
=== RUN   TestAccFSxOpenZFSVolume_tags
=== PAUSE TestAccFSxOpenZFSVolume_tags
=== RUN   TestAccFSxOpenZFSVolume_copyTags
=== PAUSE TestAccFSxOpenZFSVolume_copyTags
=== RUN   TestAccFSxOpenZFSVolume_name
=== PAUSE TestAccFSxOpenZFSVolume_name
=== RUN   TestAccFSxOpenZFSVolume_dataCompressionType
=== PAUSE TestAccFSxOpenZFSVolume_dataCompressionType
=== RUN   TestAccFSxOpenZFSVolume_readOnly
=== PAUSE TestAccFSxOpenZFSVolume_readOnly
=== RUN   TestAccFSxOpenZFSVolume_recordSizeKib
=== PAUSE TestAccFSxOpenZFSVolume_recordSizeKib
=== RUN   TestAccFSxOpenZFSVolume_storageCapacity
=== PAUSE TestAccFSxOpenZFSVolume_storageCapacity
=== RUN   TestAccFSxOpenZFSVolume_nfsExports
=== PAUSE TestAccFSxOpenZFSVolume_nfsExports
=== RUN   TestAccFSxOpenZFSVolume_userAndGroupQuotas
=== PAUSE TestAccFSxOpenZFSVolume_userAndGroupQuotas
=== CONT  TestAccFSxOpenZFSFileSystem_basic
=== CONT  TestAccFSxOpenZFSFileSystem_deploymentType
=== CONT  TestAccFSxOpenZFSFileSystem_storageType
--- PASS: TestAccFSxOpenZFSFileSystem_storageType (678.10s)
=== CONT  TestAccFSxOpenZFSFileSystem_securityGroupIDs
--- PASS: TestAccFSxOpenZFSFileSystem_basic (779.98s)
=== CONT  TestAccFSxOpenZFSFileSystem_throughput
--- PASS: TestAccFSxOpenZFSFileSystem_deploymentType (1501.91s)
=== CONT  TestAccFSxOpenZFSFileSystem_copyTags
--- PASS: TestAccFSxOpenZFSFileSystem_securityGroupIDs (1359.14s)
=== CONT  TestAccFSxOpenZFSFileSystem_tags
--- PASS: TestAccFSxOpenZFSFileSystem_throughput (1289.23s)
=== CONT  TestAccFSxOpenZFSFileSystem_dailyAutomaticBackupStartTime
--- PASS: TestAccFSxOpenZFSFileSystem_copyTags (772.71s)
=== CONT  TestAccFSxOpenZFSFileSystem_storageCapacity
--- PASS: TestAccFSxOpenZFSFileSystem_tags (734.05s)
=== CONT  TestAccFSxOpenZFSFileSystem_throughputCapacity
--- PASS: TestAccFSxOpenZFSFileSystem_dailyAutomaticBackupStartTime (744.93s)
=== CONT  TestAccFSxOpenZFSVolume_name
--- PASS: TestAccFSxOpenZFSFileSystem_storageCapacity (842.47s)
=== CONT  TestAccFSxOpenZFSVolume_userAndGroupQuotas
    openzfs_volume_test.go:448: Step 1/3 error: After applying this test step and performing a `terraform refresh`, the plan was not empty.
        stdout

        Terraform used the selected providers to generate the following execution
        plan. Resource actions are indicated with the following symbols:
          ~ update in-place

        Terraform will perform the following actions:

          # aws_fsx_openzfs_volume.test will be updated in-place
          ~ resource "aws_fsx_openzfs_volume" "test" {
                id                               = "fsvol-0d1449f0ba72cf246"
                name                             = "tf-acc-test-8593924653345881072"
                tags                             = {}
                # (10 unchanged attributes hidden)

              - user_and_group_quotas {
                  - id                         = 0 -> null
                  - storage_capacity_quota_gib = 0 -> null
                  - type                       = "GROUP" -> null
                }
              - user_and_group_quotas {
                  - id                         = 0 -> null
                  - storage_capacity_quota_gib = 0 -> null
                  - type                       = "USER" -> null
                }
                # (2 unchanged blocks hidden)
            }

        Plan: 0 to add, 1 to change, 0 to destroy.
--- PASS: TestAccFSxOpenZFSVolume_name (1057.51s)
=== CONT  TestAccFSxOpenZFSVolume_nfsExports
--- FAIL: TestAccFSxOpenZFSVolume_userAndGroupQuotas (778.11s)
=== CONT  TestAccFSxOpenZFSVolume_storageCapacity
--- PASS: TestAccFSxOpenZFSFileSystem_throughputCapacity (1269.32s)
=== CONT  TestAccFSxOpenZFSVolume_recordSizeKib
--- PASS: TestAccFSxOpenZFSVolume_nfsExports (1032.34s)
=== CONT  TestAccFSxOpenZFSVolume_readOnly
--- PASS: TestAccFSxOpenZFSVolume_storageCapacity (1022.60s)
=== CONT  TestAccFSxOpenZFSVolume_dataCompressionType
--- PASS: TestAccFSxOpenZFSVolume_recordSizeKib (1044.49s)
=== CONT  TestAccFSxOpenZFSVolume_disappears
--- PASS: TestAccFSxOpenZFSVolume_disappears (815.04s)
=== CONT  TestAccFSxOpenZFSVolume_copyTags
--- PASS: TestAccFSxOpenZFSVolume_dataCompressionType (1001.99s)
=== CONT  TestAccFSxOpenZFSVolume_tags
--- PASS: TestAccFSxOpenZFSVolume_readOnly (1021.45s)
=== CONT  TestAccFSxOpenZFSVolume_parentVolume
--- PASS: TestAccFSxOpenZFSVolume_tags (882.95s)
=== CONT  TestAccFSxOpenZFSFileSystem_multiAZ
--- PASS: TestAccFSxOpenZFSVolume_parentVolume (896.20s)
=== CONT  TestAccFSxOpenZFSFileSystem_automaticBackupRetentionDays
--- PASS: TestAccFSxOpenZFSVolume_copyTags (967.24s)
=== CONT  TestAccFSxOpenZFSFileSystem_kmsKeyID
--- PASS: TestAccFSxOpenZFSFileSystem_kmsKeyID (733.53s)
=== CONT  TestAccFSxOpenZFSVolume_basic
--- PASS: TestAccFSxOpenZFSFileSystem_automaticBackupRetentionDays (886.28s)
=== CONT  TestAccFSxOpenZFSFileSystem_weeklyMaintenanceStartTime
--- PASS: TestAccFSxOpenZFSFileSystem_multiAZ (988.42s)
=== CONT  TestAccFSxOpenZFSFileSystem_disappears
--- PASS: TestAccFSxOpenZFSVolume_basic (822.03s)
=== CONT  TestAccFSxOpenZFSFileSystem_rootVolume
--- PASS: TestAccFSxOpenZFSFileSystem_weeklyMaintenanceStartTime (821.43s)
=== CONT  TestAccFSxOpenZFSFileSystem_routeTableIDs
--- PASS: TestAccFSxOpenZFSFileSystem_disappears (748.71s)
=== CONT  TestAccFSxOpenZFSFileSystem_diskIops
--- PASS: TestAccFSxOpenZFSFileSystem_diskIops (783.62s)
--- PASS: TestAccFSxOpenZFSFileSystem_routeTableIDs (1109.79s)
--- PASS: TestAccFSxOpenZFSFileSystem_rootVolume (1536.94s)
FAIL
FAIL	github.com/hashicorp/terraform-provider-aws/internal/service/fsx	9964.705s
FAIL
make: *** [testacc] Error 1

Failure is unrelated to this change and occurs in CI.
…d 'snaplock_configuration.retention_period' are Optional+Computed.
@github-actions github-actions bot added sweeper Pertains to changes to or issues with the sweeper. generators Relates to code generators. size/XL Managed by automation to categorize the size of a PR. and removed size/M Managed by automation to categorize the size of a PR. labels Sep 25, 2023
% ACCTEST_TIMEOUT=720m make testacc TESTARGS='-run=TestAccFSxOpenZFSVolume_basic\|TestAccFSxOpenZFSVolume_copyTags' PKG=fsx
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/fsx/... -v -count 1 -parallel 20  -run=TestAccFSxOpenZFSVolume_basic\|TestAccFSxOpenZFSVolume_copyTags -timeout 720m
=== RUN   TestAccFSxOpenZFSVolume_basic
=== PAUSE TestAccFSxOpenZFSVolume_basic
=== RUN   TestAccFSxOpenZFSVolume_copyTags
=== PAUSE TestAccFSxOpenZFSVolume_copyTags
=== CONT  TestAccFSxOpenZFSVolume_basic
=== CONT  TestAccFSxOpenZFSVolume_copyTags
--- PASS: TestAccFSxOpenZFSVolume_basic (839.04s)
--- PASS: TestAccFSxOpenZFSVolume_copyTags (960.33s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/service/fsx	965.817s
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 🚀.

% ACCTEST_TIMEOUT=720m make testacc TESTARGS='-run=TestAccFSxONTAPVolume_' PKG=fsx ACCTEST_PARALLELISM=3
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/fsx/... -v -count 1 -parallel 3  -run=TestAccFSxONTAPVolume_ -timeout 720m
=== RUN   TestAccFSxONTAPVolume_basic
=== PAUSE TestAccFSxONTAPVolume_basic
=== RUN   TestAccFSxONTAPVolume_disappears
=== PAUSE TestAccFSxONTAPVolume_disappears
=== RUN   TestAccFSxONTAPVolume_copyTagsToBackups
=== PAUSE TestAccFSxONTAPVolume_copyTagsToBackups
=== RUN   TestAccFSxONTAPVolume_junctionPath
=== PAUSE TestAccFSxONTAPVolume_junctionPath
=== RUN   TestAccFSxONTAPVolume_name
=== PAUSE TestAccFSxONTAPVolume_name
=== RUN   TestAccFSxONTAPVolume_ontapVolumeType
=== PAUSE TestAccFSxONTAPVolume_ontapVolumeType
=== RUN   TestAccFSxONTAPVolume_securityStyle
=== PAUSE TestAccFSxONTAPVolume_securityStyle
=== RUN   TestAccFSxONTAPVolume_size
=== PAUSE TestAccFSxONTAPVolume_size
=== RUN   TestAccFSxONTAPVolume_snapshotPolicy
=== PAUSE TestAccFSxONTAPVolume_snapshotPolicy
=== RUN   TestAccFSxONTAPVolume_storageEfficiency
=== PAUSE TestAccFSxONTAPVolume_storageEfficiency
=== RUN   TestAccFSxONTAPVolume_tags
=== PAUSE TestAccFSxONTAPVolume_tags
=== RUN   TestAccFSxONTAPVolume_tieringPolicy
=== PAUSE TestAccFSxONTAPVolume_tieringPolicy
=== CONT  TestAccFSxONTAPVolume_basic
=== CONT  TestAccFSxONTAPVolume_securityStyle
=== CONT  TestAccFSxONTAPVolume_junctionPath
--- PASS: TestAccFSxONTAPVolume_basic (2533.47s)
=== CONT  TestAccFSxONTAPVolume_storageEfficiency
--- PASS: TestAccFSxONTAPVolume_junctionPath (2898.90s)
=== CONT  TestAccFSxONTAPVolume_tieringPolicy
--- PASS: TestAccFSxONTAPVolume_securityStyle (3004.54s)
=== CONT  TestAccFSxONTAPVolume_tags
--- PASS: TestAccFSxONTAPVolume_storageEfficiency (2947.20s)
=== CONT  TestAccFSxONTAPVolume_copyTagsToBackups
--- PASS: TestAccFSxONTAPVolume_tags (2583.50s)
=== CONT  TestAccFSxONTAPVolume_disappears
--- PASS: TestAccFSxONTAPVolume_tieringPolicy (3182.21s)
=== CONT  TestAccFSxONTAPVolume_snapshotPolicy
--- PASS: TestAccFSxONTAPVolume_copyTagsToBackups (2763.04s)
=== CONT  TestAccFSxONTAPVolume_name
--- PASS: TestAccFSxONTAPVolume_disappears (2677.67s)
=== CONT  TestAccFSxONTAPVolume_size
--- PASS: TestAccFSxONTAPVolume_snapshotPolicy (2836.79s)
=== CONT  TestAccFSxONTAPVolume_ontapVolumeType
--- PASS: TestAccFSxONTAPVolume_size (2887.59s)
--- PASS: TestAccFSxONTAPVolume_ontapVolumeType (2320.79s)
--- PASS: TestAccFSxONTAPVolume_name (3100.82s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/service/fsx	11349.381s
% ACCTEST_TIMEOUT=720m make testacc TESTARGS='-run=TestAccFSxOpenZFSVolume_\|TestAccFSxOpenZFSFileSystem_' PKG=fsx ACCTEST_PARALLELISM=3
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/fsx/... -v -count 1 -parallel 3  -run=TestAccFSxOpenZFSVolume_\|TestAccFSxOpenZFSFileSystem_ -timeout 720m
=== RUN   TestAccFSxOpenZFSFileSystem_basic
=== PAUSE TestAccFSxOpenZFSFileSystem_basic
=== RUN   TestAccFSxOpenZFSFileSystem_diskIops
=== PAUSE TestAccFSxOpenZFSFileSystem_diskIops
=== RUN   TestAccFSxOpenZFSFileSystem_disappears
=== PAUSE TestAccFSxOpenZFSFileSystem_disappears
=== RUN   TestAccFSxOpenZFSFileSystem_rootVolume
=== PAUSE TestAccFSxOpenZFSFileSystem_rootVolume
=== RUN   TestAccFSxOpenZFSFileSystem_securityGroupIDs
=== PAUSE TestAccFSxOpenZFSFileSystem_securityGroupIDs
=== RUN   TestAccFSxOpenZFSFileSystem_tags
=== PAUSE TestAccFSxOpenZFSFileSystem_tags
=== RUN   TestAccFSxOpenZFSFileSystem_copyTags
=== PAUSE TestAccFSxOpenZFSFileSystem_copyTags
=== RUN   TestAccFSxOpenZFSFileSystem_throughput
=== PAUSE TestAccFSxOpenZFSFileSystem_throughput
=== RUN   TestAccFSxOpenZFSFileSystem_storageType
=== PAUSE TestAccFSxOpenZFSFileSystem_storageType
=== RUN   TestAccFSxOpenZFSFileSystem_weeklyMaintenanceStartTime
=== PAUSE TestAccFSxOpenZFSFileSystem_weeklyMaintenanceStartTime
=== RUN   TestAccFSxOpenZFSFileSystem_automaticBackupRetentionDays
=== PAUSE TestAccFSxOpenZFSFileSystem_automaticBackupRetentionDays
=== RUN   TestAccFSxOpenZFSFileSystem_kmsKeyID
=== PAUSE TestAccFSxOpenZFSFileSystem_kmsKeyID
=== RUN   TestAccFSxOpenZFSFileSystem_dailyAutomaticBackupStartTime
=== PAUSE TestAccFSxOpenZFSFileSystem_dailyAutomaticBackupStartTime
=== RUN   TestAccFSxOpenZFSFileSystem_throughputCapacity
=== PAUSE TestAccFSxOpenZFSFileSystem_throughputCapacity
=== RUN   TestAccFSxOpenZFSFileSystem_storageCapacity
=== PAUSE TestAccFSxOpenZFSFileSystem_storageCapacity
=== RUN   TestAccFSxOpenZFSFileSystem_deploymentType
=== PAUSE TestAccFSxOpenZFSFileSystem_deploymentType
=== RUN   TestAccFSxOpenZFSFileSystem_multiAZ
=== PAUSE TestAccFSxOpenZFSFileSystem_multiAZ
=== RUN   TestAccFSxOpenZFSFileSystem_routeTableIDs
=== PAUSE TestAccFSxOpenZFSFileSystem_routeTableIDs
=== RUN   TestAccFSxOpenZFSVolume_basic
=== PAUSE TestAccFSxOpenZFSVolume_basic
=== RUN   TestAccFSxOpenZFSVolume_disappears
=== PAUSE TestAccFSxOpenZFSVolume_disappears
=== RUN   TestAccFSxOpenZFSVolume_parentVolume
=== PAUSE TestAccFSxOpenZFSVolume_parentVolume
=== RUN   TestAccFSxOpenZFSVolume_tags
=== PAUSE TestAccFSxOpenZFSVolume_tags
=== RUN   TestAccFSxOpenZFSVolume_copyTags
=== PAUSE TestAccFSxOpenZFSVolume_copyTags
=== RUN   TestAccFSxOpenZFSVolume_name
=== PAUSE TestAccFSxOpenZFSVolume_name
=== RUN   TestAccFSxOpenZFSVolume_dataCompressionType
=== PAUSE TestAccFSxOpenZFSVolume_dataCompressionType
=== RUN   TestAccFSxOpenZFSVolume_readOnly
=== PAUSE TestAccFSxOpenZFSVolume_readOnly
=== RUN   TestAccFSxOpenZFSVolume_recordSizeKib
=== PAUSE TestAccFSxOpenZFSVolume_recordSizeKib
=== RUN   TestAccFSxOpenZFSVolume_storageCapacity
=== PAUSE TestAccFSxOpenZFSVolume_storageCapacity
=== RUN   TestAccFSxOpenZFSVolume_nfsExports
=== PAUSE TestAccFSxOpenZFSVolume_nfsExports
=== RUN   TestAccFSxOpenZFSVolume_userAndGroupQuotas
=== PAUSE TestAccFSxOpenZFSVolume_userAndGroupQuotas
=== CONT  TestAccFSxOpenZFSFileSystem_basic
=== CONT  TestAccFSxOpenZFSFileSystem_deploymentType
=== CONT  TestAccFSxOpenZFSFileSystem_storageType
--- PASS: TestAccFSxOpenZFSFileSystem_storageType (678.10s)
=== CONT  TestAccFSxOpenZFSFileSystem_securityGroupIDs
--- PASS: TestAccFSxOpenZFSFileSystem_basic (779.98s)
=== CONT  TestAccFSxOpenZFSFileSystem_throughput
--- PASS: TestAccFSxOpenZFSFileSystem_deploymentType (1501.91s)
=== CONT  TestAccFSxOpenZFSFileSystem_copyTags
--- PASS: TestAccFSxOpenZFSFileSystem_securityGroupIDs (1359.14s)
=== CONT  TestAccFSxOpenZFSFileSystem_tags
--- PASS: TestAccFSxOpenZFSFileSystem_throughput (1289.23s)
=== CONT  TestAccFSxOpenZFSFileSystem_dailyAutomaticBackupStartTime
--- PASS: TestAccFSxOpenZFSFileSystem_copyTags (772.71s)
=== CONT  TestAccFSxOpenZFSFileSystem_storageCapacity
--- PASS: TestAccFSxOpenZFSFileSystem_tags (734.05s)
=== CONT  TestAccFSxOpenZFSFileSystem_throughputCapacity
--- PASS: TestAccFSxOpenZFSFileSystem_dailyAutomaticBackupStartTime (744.93s)
=== CONT  TestAccFSxOpenZFSVolume_name
--- PASS: TestAccFSxOpenZFSFileSystem_storageCapacity (842.47s)
=== CONT  TestAccFSxOpenZFSVolume_userAndGroupQuotas
    openzfs_volume_test.go:448: Step 1/3 error: After applying this test step and performing a `terraform refresh`, the plan was not empty.
        stdout
        
        
        Terraform used the selected providers to generate the following execution
        plan. Resource actions are indicated with the following symbols:
          ~ update in-place
        
        Terraform will perform the following actions:
        
          # aws_fsx_openzfs_volume.test will be updated in-place
          ~ resource "aws_fsx_openzfs_volume" "test" {
                id                               = "fsvol-0d1449f0ba72cf246"
                name                             = "tf-acc-test-8593924653345881072"
                tags                             = {}
                # (10 unchanged attributes hidden)
        
        
              - user_and_group_quotas {
                  - id                         = 0 -> null
                  - storage_capacity_quota_gib = 0 -> null
                  - type                       = "GROUP" -> null
                }
              - user_and_group_quotas {
                  - id                         = 0 -> null
                  - storage_capacity_quota_gib = 0 -> null
                  - type                       = "USER" -> null
                }
                # (2 unchanged blocks hidden)
            }
        
        Plan: 0 to add, 1 to change, 0 to destroy.
--- PASS: TestAccFSxOpenZFSVolume_name (1057.51s)
=== CONT  TestAccFSxOpenZFSVolume_nfsExports
--- FAIL: TestAccFSxOpenZFSVolume_userAndGroupQuotas (778.11s)
=== CONT  TestAccFSxOpenZFSVolume_storageCapacity
--- PASS: TestAccFSxOpenZFSFileSystem_throughputCapacity (1269.32s)
=== CONT  TestAccFSxOpenZFSVolume_recordSizeKib
--- PASS: TestAccFSxOpenZFSVolume_nfsExports (1032.34s)
=== CONT  TestAccFSxOpenZFSVolume_readOnly
--- PASS: TestAccFSxOpenZFSVolume_storageCapacity (1022.60s)
=== CONT  TestAccFSxOpenZFSVolume_dataCompressionType
--- PASS: TestAccFSxOpenZFSVolume_recordSizeKib (1044.49s)
=== CONT  TestAccFSxOpenZFSVolume_disappears
--- PASS: TestAccFSxOpenZFSVolume_disappears (815.04s)
=== CONT  TestAccFSxOpenZFSVolume_copyTags
--- PASS: TestAccFSxOpenZFSVolume_dataCompressionType (1001.99s)
=== CONT  TestAccFSxOpenZFSVolume_tags
--- PASS: TestAccFSxOpenZFSVolume_readOnly (1021.45s)
=== CONT  TestAccFSxOpenZFSVolume_parentVolume
--- PASS: TestAccFSxOpenZFSVolume_tags (882.95s)
=== CONT  TestAccFSxOpenZFSFileSystem_multiAZ
--- PASS: TestAccFSxOpenZFSVolume_parentVolume (896.20s)
=== CONT  TestAccFSxOpenZFSFileSystem_automaticBackupRetentionDays
--- PASS: TestAccFSxOpenZFSVolume_copyTags (967.24s)
=== CONT  TestAccFSxOpenZFSFileSystem_kmsKeyID
--- PASS: TestAccFSxOpenZFSFileSystem_kmsKeyID (733.53s)
=== CONT  TestAccFSxOpenZFSVolume_basic
--- PASS: TestAccFSxOpenZFSFileSystem_automaticBackupRetentionDays (886.28s)
=== CONT  TestAccFSxOpenZFSFileSystem_weeklyMaintenanceStartTime
--- PASS: TestAccFSxOpenZFSFileSystem_multiAZ (988.42s)
=== CONT  TestAccFSxOpenZFSFileSystem_disappears
--- PASS: TestAccFSxOpenZFSVolume_basic (822.03s)
=== CONT  TestAccFSxOpenZFSFileSystem_rootVolume
--- PASS: TestAccFSxOpenZFSFileSystem_weeklyMaintenanceStartTime (821.43s)
=== CONT  TestAccFSxOpenZFSFileSystem_routeTableIDs
--- PASS: TestAccFSxOpenZFSFileSystem_disappears (748.71s)
=== CONT  TestAccFSxOpenZFSFileSystem_diskIops
--- PASS: TestAccFSxOpenZFSFileSystem_diskIops (783.62s)
--- PASS: TestAccFSxOpenZFSFileSystem_routeTableIDs (1109.79s)
--- PASS: TestAccFSxOpenZFSFileSystem_rootVolume (1536.94s)
FAIL
FAIL	github.com/hashicorp/terraform-provider-aws/internal/service/fsx	9964.705s
FAIL
make: *** [testacc] Error 1

Failure is unrelated to this change and is occurring in CI.

% ACCTEST_TIMEOUT=720m make testacc TESTARGS='-run=TestAccFSxONTAPVolume_basic\|TestAccFSxONTAPVolume_tieringPolicy\|TestAccFSxONTAPVolume_snaplock' PKG=fsx ACCTEST_PARALLELISM=3
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/fsx/... -v -count 1 -parallel 3  -run=TestAccFSxONTAPVolume_basic\|TestAccFSxONTAPVolume_tieringPolicy\|TestAccFSxONTAPVolume_snaplock -timeout 720m
=== RUN   TestAccFSxONTAPVolume_basic
=== PAUSE TestAccFSxONTAPVolume_basic
=== RUN   TestAccFSxONTAPVolume_snaplock
=== PAUSE TestAccFSxONTAPVolume_snaplock
=== RUN   TestAccFSxONTAPVolume_tieringPolicy
=== PAUSE TestAccFSxONTAPVolume_tieringPolicy
=== CONT  TestAccFSxONTAPVolume_basic
=== CONT  TestAccFSxONTAPVolume_tieringPolicy
--- PASS: TestAccFSxONTAPVolume_snaplock (2647.30s)
--- PASS: TestAccFSxONTAPVolume_basic (2504.46s)
--- PASS: TestAccFSxONTAPVolume_tieringPolicy (3230.55s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/service/fsx	3235.470s
% ACCTEST_TIMEOUT=720m make testacc TESTARGS='-run=TestAccFSxOpenZFSVolume_basic\|TestAccFSxOpenZFSVolume_copyTags' PKG=fsx
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/fsx/... -v -count 1 -parallel 20  -run=TestAccFSxOpenZFSVolume_basic\|TestAccFSxOpenZFSVolume_copyTags -timeout 720m
=== RUN   TestAccFSxOpenZFSVolume_basic
=== PAUSE TestAccFSxOpenZFSVolume_basic
=== RUN   TestAccFSxOpenZFSVolume_copyTags
=== PAUSE TestAccFSxOpenZFSVolume_copyTags
=== CONT  TestAccFSxOpenZFSVolume_basic
=== CONT  TestAccFSxOpenZFSVolume_copyTags
--- PASS: TestAccFSxOpenZFSVolume_basic (839.04s)
--- PASS: TestAccFSxOpenZFSVolume_copyTags (960.33s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/service/fsx	965.817s

@ewbankkit
Copy link
Contributor

@coreylane Thanks for the contribution 🎉 👏.

@ewbankkit ewbankkit merged commit 06b125c into hashicorp:main Sep 26, 2023
41 checks passed
@github-actions github-actions bot added this to the v5.19.0 milestone Sep 26, 2023
@hashicorp hashicorp deleted a comment from github-actions bot Sep 26, 2023
@github-actions
Copy link

This functionality has been released in v5.19.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 Oct 29, 2023
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. generators Relates to code generators. service/fsx Issues and PRs that pertain to the fsx service. size/XL Managed by automation to categorize the size of a PR. sweeper Pertains to changes to or issues with the sweeper. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure.
Projects
None yet
5 participants