-
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_volume support snapshot_policy
argument
#32530
r/aws_fsx_ontap_volume support snapshot_policy
argument
#32530
Conversation
Community NoteVoting for Prioritization
For Submitters
|
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.
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! 😃
Any update on this one? |
…rrors like 'BadRequest: Invalid fields provided for a DP volume. JunctionPath, StorageEfficiency, SnapshotPolicy and SecurityStyle cannot be specified for a DP Volume'.
% 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.
…: 0 or 2; Actual: 1]'.
% 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
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.
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
@coreylane Thanks for the contribution 🎉 👏. |
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! |
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. |
Description
Adds support for the
snapshot_policy
argument to theaws_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