-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
F/aws fsx windows file system: Support Support updating throughput_capacity and Storage_Capacity #15582
F/aws fsx windows file system: Support Support updating throughput_capacity and Storage_Capacity #15582
Conversation
…capacity without recreation of resource
…capacity without recreation of resource
…capacity without recreation of resource
…capacity without recreation of resource
…capacity without recreation of resource
…capacity without recreation of resource
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
--- PASS: TestAccAWSFsxWindowsFileSystem_StorageCapacity (3376.82s)
--- PASS: TestAccAWSFsxWindowsFileSystem_basic (3243.67s)
--- PASS: TestAccAWSFsxWindowsFileSystem_ThroughputCapacity (3338.47s)
LGTM 🚀 Thanks @nikhil-goenka for the contribution! Verified Acceptance Tests in Commercial (us-west-2) make testacc TEST=./aws/ TESTARGS='-run=TestAccAWSFsxWindowsFileSystem_ThroughputCapacity'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSFsxWindowsFileSystem_ThroughputCapacity -timeout 120m
=== RUN TestAccAWSFsxWindowsFileSystem_ThroughputCapacity
=== PAUSE TestAccAWSFsxWindowsFileSystem_ThroughputCapacity
=== CONT TestAccAWSFsxWindowsFileSystem_ThroughputCapacity
--- PASS: TestAccAWSFsxWindowsFileSystem_ThroughputCapacity (3631.91s)
PASS
ok github.com/terraform-providers/terraform-provider-aws/aws 3633.552s
make testacc TEST=./aws/ TESTARGS='-run=TestAccAWSFsxWindowsFileSystem_StorageCapacity'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSFsxWindowsFileSystem_StorageCapacity -timeout 120m
=== RUN TestAccAWSFsxWindowsFileSystem_StorageCapacity
=== PAUSE TestAccAWSFsxWindowsFileSystem_StorageCapacity
=== CONT TestAccAWSFsxWindowsFileSystem_StorageCapacity
--- PASS: TestAccAWSFsxWindowsFileSystem_StorageCapacity (3261.52s)
PASS
ok github.com/terraform-providers/terraform-provider-aws/aws 3263.013s
make testacc TEST=./aws/ TESTARGS='-run=TestAccAWSFsxWindowsFileSystem_basic'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSFsxWindowsFileSystem_basic -timeout 120m
=== RUN TestAccAWSFsxWindowsFileSystem_basic
=== PAUSE TestAccAWSFsxWindowsFileSystem_basic
=== CONT TestAccAWSFsxWindowsFileSystem_basic
--- PASS: TestAccAWSFsxWindowsFileSystem_basic (3277.35s)
PASS
ok github.com/terraform-providers/terraform-provider-aws/aws 3278.789s |
This has been released in version 3.17.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 for triage. Thanks! |
return nil, "", nil | ||
} | ||
|
||
return filesystem, aws.StringValue(filesystem.AdministrativeActions[0].Status), nil |
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.
This line is missing a length check on AdministrativeActions
, which can cause a panic. Created followup issue: #16440
|
||
func waitForFsxFileSystemUpdateOptimizing(conn *fsx.FSx, id string, timeout time.Duration) error { | ||
stateConf := &resource.StateChangeConf{ | ||
Pending: []string{fsx.StatusInProgress}, |
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.
Seems like FSx also uses a PENDING
status before it goes in progress. Created followup issue: #16440
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks! |
Community Note
Relates OR Closes #15558
Release note for CHANGELOG:
Output from acceptance testing: