-
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/storagegateway_smb_file_share - add support for notification_policy
and access_based_enumeration
+ validations.
#16414
r/storagegateway_smb_file_share - add support for notification_policy
and access_based_enumeration
+ validations.
#16414
Conversation
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 TEST=./aws TESTARGS='-run=TestAccAWSStorageGatewaySmbFileShare_accessBasedEnumeration\|TestAccAWSStorageGatewaySmbFileShare_notificationPolicy'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSStorageGatewaySmbFileShare_accessBasedEnumeration\|TestAccAWSStorageGatewaySmbFileShare_notificationPolicy -timeout 120m
=== RUN TestAccAWSStorageGatewaySmbFileShare_accessBasedEnumeration
=== PAUSE TestAccAWSStorageGatewaySmbFileShare_accessBasedEnumeration
=== RUN TestAccAWSStorageGatewaySmbFileShare_notificationPolicy
=== PAUSE TestAccAWSStorageGatewaySmbFileShare_notificationPolicy
=== CONT TestAccAWSStorageGatewaySmbFileShare_accessBasedEnumeration
=== CONT TestAccAWSStorageGatewaySmbFileShare_notificationPolicy
--- PASS: TestAccAWSStorageGatewaySmbFileShare_accessBasedEnumeration (358.74s)
--- PASS: TestAccAWSStorageGatewaySmbFileShare_notificationPolicy (379.62s)
PASS
ok github.com/terraform-providers/terraform-provider-aws/aws 379.700s
$ make testacc TEST=./aws TESTARGS='-run=TestAccAWSStorageGatewaySmbFileShare_Authentication_ActiveDirectory\|TestAccAWSStorageGatewaySmbFileShare_Authentication_GuestAccess'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSStorageGatewaySmbFileShare_Authentication_ActiveDirectory\|TestAccAWSStorageGatewaySmbFileShare_Authentication_GuestAccess -timeout 120m
=== RUN TestAccAWSStorageGatewaySmbFileShare_Authentication_ActiveDirectory
=== PAUSE TestAccAWSStorageGatewaySmbFileShare_Authentication_ActiveDirectory
=== RUN TestAccAWSStorageGatewaySmbFileShare_Authentication_GuestAccess
=== PAUSE TestAccAWSStorageGatewaySmbFileShare_Authentication_GuestAccess
=== CONT TestAccAWSStorageGatewaySmbFileShare_Authentication_ActiveDirectory
=== CONT TestAccAWSStorageGatewaySmbFileShare_Authentication_GuestAccess
--- PASS: TestAccAWSStorageGatewaySmbFileShare_Authentication_GuestAccess (222.26s)
--- PASS: TestAccAWSStorageGatewaySmbFileShare_Authentication_ActiveDirectory (794.34s)
PASS
ok github.com/terraform-providers/terraform-provider-aws/aws 794.402s
LGTM 🚀 Thanks @DrFaust92 Note that the test failure in GovCloud is a known issue and is covered in: #16172 Verified Acceptance Tests in Commercial (us-west-2) make testacc TEST=./aws TESTARGS='-run=TestAccAWSStorageGatewaySmbFileShare_accessBasedEnumeration\|TestAccAWSStorageGatewaySmbFileShare_notificationPolicy'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSStorageGatewaySmbFileShare_accessBasedEnumeration\|TestAccAWSStorageGatewaySmbFileShare_notificationPolicy -timeout 120m
=== RUN TestAccAWSStorageGatewaySmbFileShare_accessBasedEnumeration
=== PAUSE TestAccAWSStorageGatewaySmbFileShare_accessBasedEnumeration
=== RUN TestAccAWSStorageGatewaySmbFileShare_notificationPolicy
=== PAUSE TestAccAWSStorageGatewaySmbFileShare_notificationPolicy
=== CONT TestAccAWSStorageGatewaySmbFileShare_accessBasedEnumeration
=== CONT TestAccAWSStorageGatewaySmbFileShare_notificationPolicy
--- PASS: TestAccAWSStorageGatewaySmbFileShare_accessBasedEnumeration (333.24s)
--- PASS: TestAccAWSStorageGatewaySmbFileShare_notificationPolicy (364.64s)
PASS
ok github.com/terraform-providers/terraform-provider-aws/aws 366.321s
make testacc TEST=./aws TESTARGS='-run=TestAccAWSStorageGatewaySmbFileShare_Authentication_ActiveDirectory\|TestAccAWSStorageGatewaySmbFileShare_Authentication_GuestAccess'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSStorageGatewaySmbFileShare_Authentication_ActiveDirectory\|TestAccAWSStorageGatewaySmbFileShare_Authentication_GuestAccess -timeout 120m
=== RUN TestAccAWSStorageGatewaySmbFileShare_Authentication_ActiveDirectory
=== PAUSE TestAccAWSStorageGatewaySmbFileShare_Authentication_ActiveDirectory
=== RUN TestAccAWSStorageGatewaySmbFileShare_Authentication_GuestAccess
=== PAUSE TestAccAWSStorageGatewaySmbFileShare_Authentication_GuestAccess
=== CONT TestAccAWSStorageGatewaySmbFileShare_Authentication_ActiveDirectory
=== CONT TestAccAWSStorageGatewaySmbFileShare_Authentication_GuestAccess
--- PASS: TestAccAWSStorageGatewaySmbFileShare_Authentication_GuestAccess (186.40s)
--- PASS: TestAccAWSStorageGatewaySmbFileShare_Authentication_ActiveDirectory (760.79s)
PASS
ok github.com/terraform-providers/terraform-provider-aws/aws 762.630s Verified Acceptance Tests in GovCloud (us-gov-west-1) make testacc TEST=./aws TESTARGS='-run=TestAccAWSStorageGatewaySmbFileShare_accessBasedEnumeration\|TestAccAWSStorageGatewaySmbFileShare_notificationPolicy'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSStorageGatewaySmbFileShare_accessBasedEnumeration\|TestAccAWSStorageGatewaySmbFileShare_notificationPolicy -timeout 120m
=== RUN TestAccAWSStorageGatewaySmbFileShare_accessBasedEnumeration
=== PAUSE TestAccAWSStorageGatewaySmbFileShare_accessBasedEnumeration
=== RUN TestAccAWSStorageGatewaySmbFileShare_notificationPolicy
=== PAUSE TestAccAWSStorageGatewaySmbFileShare_notificationPolicy
=== CONT TestAccAWSStorageGatewaySmbFileShare_accessBasedEnumeration
=== CONT TestAccAWSStorageGatewaySmbFileShare_notificationPolicy
--- PASS: TestAccAWSStorageGatewaySmbFileShare_notificationPolicy (326.31s)
--- PASS: TestAccAWSStorageGatewaySmbFileShare_accessBasedEnumeration (358.29s)
PASS
ok github.com/terraform-providers/terraform-provider-aws/aws 359.892s
make testacc TEST=./aws TESTARGS='-run=TestAccAWSStorageGatewaySmbFileShare_Authentication_ActiveDirectory\|TestAccAWSStorageGatewaySmbFileShare_Authentication_GuestAccess'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSStorageGatewaySmbFileShare_Authentication_ActiveDirectory\|TestAccAWSStorageGatewaySmbFileShare_Authentication_GuestAccess -timeout 120m
=== RUN TestAccAWSStorageGatewaySmbFileShare_Authentication_ActiveDirectory
=== PAUSE TestAccAWSStorageGatewaySmbFileShare_Authentication_ActiveDirectory
=== RUN TestAccAWSStorageGatewaySmbFileShare_Authentication_GuestAccess
=== PAUSE TestAccAWSStorageGatewaySmbFileShare_Authentication_GuestAccess
=== CONT TestAccAWSStorageGatewaySmbFileShare_Authentication_ActiveDirectory
=== CONT TestAccAWSStorageGatewaySmbFileShare_Authentication_GuestAccess
=== CONT TestAccAWSStorageGatewaySmbFileShare_Authentication_ActiveDirectory
resource_aws_storagegateway_smb_file_share_test.go:23: Step 1/2 error: Error running apply: 2020/11/26 10:24:48 [DEBUG] Using modified User-Agent: Terraform/0.12.29 HashiCorp-terraform-exec/0.10.0
Error: ClientException: Simple AD directory creation is currently not supported in this region. : RequestId: 4f546ea7-0334-4f5e-a4f7-e1b55ceb51b4 : RequestId: 4f546ea7-0334-4f5e-a4f7-e1b55ceb51b4
{
RespMetadata: {
StatusCode: 400,
RequestID: "4f546ea7-0334-4f5e-a4f7-e1b55ceb51b4"
},
Message_: "Simple AD directory creation is currently not supported in this region. : RequestId: 4f546ea7-0334-4f5e-a4f7-e1b55ceb51b4 : RequestId: 4f546ea7-0334-4f5e-a4f7-e1b55ceb51b4",
RequestId: "4f546ea7-0334-4f5e-a4f7-e1b55ceb51b4"
}
--- FAIL: TestAccAWSStorageGatewaySmbFileShare_Authentication_ActiveDirectory (20.81s)
--- PASS: TestAccAWSStorageGatewaySmbFileShare_Authentication_GuestAccess (235.85s)
FAIL
FAIL github.com/terraform-providers/terraform-provider-aws/aws 237.450s
FAIL
make: *** [testacc] Error 1 |
This has been released in version 3.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 for triage. Thanks! |
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
Release note for CHANGELOG:
Output from acceptance testing: