-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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_openzfs_file_system: add validation for disk_iops_configuration
#30299
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.
LGTM 🎉
$ make testacc PKG=fsx TESTS="TestAccFSxOpenzfsFileSystem_"
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/fsx/... -v -count 1 -parallel 20 -run='TestAccFSxOpenzfsFileSystem_' -timeout 180m
=== NAME TestAccFSxOpenzfsFileSystem_rootVolume
openzfs_file_system_test.go:158: Step 1/5 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_file_system.test will be updated in-place
~ resource "aws_fsx_openzfs_file_system" "test" {
id = "fs-0d8901615adbfec9f"
tags = {
"Name" = "tf-acc-test-2232193390143736802"
}
# (17 unchanged attributes hidden)
~ root_volume_configuration {
# (4 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)
}
# (1 unchanged block hidden)
}
Plan: 0 to add, 1 to change, 0 to destroy.
--- PASS: TestAccFSxOpenzfsFileSystem_disappears (849.45s)
--- PASS: TestAccFSxOpenzfsFileSystem_basic (855.28s)
--- FAIL: TestAccFSxOpenzfsFileSystem_rootVolume (860.69s)
--- PASS: TestAccFSxOpenzfsFileSystem_storageType (864.13s)
--- PASS: TestAccFSxOpenzfsFileSystem_diskIops (880.09s)
--- PASS: TestAccFSxOpenzfsFileSystem_kmsKeyID (881.18s)
--- PASS: TestAccFSxOpenzfsFileSystem_tags (902.93s)
--- PASS: TestAccFSxOpenzfsFileSystem_dailyAutomaticBackupStartTime (928.50s)
--- PASS: TestAccFSxOpenzfsFileSystem_copyTags (948.36s)
--- PASS: TestAccFSxOpenzfsFileSystem_weeklyMaintenanceStartTime (948.94s)
--- PASS: TestAccFSxOpenzfsFileSystem_storageCapacity (985.77s)
--- PASS: TestAccFSxOpenzfsFileSystem_automaticBackupRetentionDays (1007.29s)
--- PASS: TestAccFSxOpenzfsFileSystem_throughput (1465.07s)
--- PASS: TestAccFSxOpenzfsFileSystem_throughputCapacity (1506.10s)
--- PASS: TestAccFSxOpenzfsFileSystem_securityGroupIDs (1626.25s)
--- PASS: TestAccFSxOpenzfsFileSystem_deploymentType (1794.73s)
FAIL
FAIL github.com/hashicorp/terraform-provider-aws/internal/service/fsx 1798.154s
FAIL
make: *** [testacc] Error 1
This might be worth a changelog entry to call out the changed validation (and note the bug). |
This functionality has been released in v4.61.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
Relations
Relates #30058
References
https://docs.aws.amazon.com/fsx/latest/OpenZFSGuide/performance.html
Output from Acceptance Testing
Test failure unrelated to change and is failing in CI. Looks like returned default values