-
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
rd/transfer_server - add support for domain
#19691
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 🚀.
Commercial
% make testacc TEST=./aws TESTARGS='-run=TestAccAWSTransferServer_\|TestAccDataSourceAwsTransferServer_' ACCTEST_PARALLELISM=6
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 6 -run=TestAccAWSTransferServer_\|TestAccDataSourceAwsTransferServer_ -timeout 180m
=== RUN TestAccDataSourceAwsTransferServer_basic
=== PAUSE TestAccDataSourceAwsTransferServer_basic
=== RUN TestAccDataSourceAwsTransferServer_service_managed
=== PAUSE TestAccDataSourceAwsTransferServer_service_managed
=== RUN TestAccDataSourceAwsTransferServer_apigateway
=== PAUSE TestAccDataSourceAwsTransferServer_apigateway
=== RUN TestAccAWSTransferServer_basic
=== PAUSE TestAccAWSTransferServer_basic
=== RUN TestAccAWSTransferServer_domain
=== PAUSE TestAccAWSTransferServer_domain
=== RUN TestAccAWSTransferServer_disappears
=== PAUSE TestAccAWSTransferServer_disappears
=== RUN TestAccAWSTransferServer_securityPolicy
=== PAUSE TestAccAWSTransferServer_securityPolicy
=== RUN TestAccAWSTransferServer_vpc
=== PAUSE TestAccAWSTransferServer_vpc
=== RUN TestAccAWSTransferServer_protocols
=== PAUSE TestAccAWSTransferServer_protocols
=== RUN TestAccAWSTransferServer_apiGateway
=== PAUSE TestAccAWSTransferServer_apiGateway
=== RUN TestAccAWSTransferServer_forceDestroy
=== PAUSE TestAccAWSTransferServer_forceDestroy
=== RUN TestAccAWSTransferServer_hostKey
=== PAUSE TestAccAWSTransferServer_hostKey
=== RUN TestAccAWSTransferServer_vpcEndpointId
=== PAUSE TestAccAWSTransferServer_vpcEndpointId
=== CONT TestAccDataSourceAwsTransferServer_basic
=== CONT TestAccAWSTransferServer_vpc
=== CONT TestAccAWSTransferServer_basic
=== CONT TestAccAWSTransferServer_domain
=== CONT TestAccDataSourceAwsTransferServer_apigateway
=== CONT TestAccAWSTransferServer_securityPolicy
--- PASS: TestAccAWSTransferServer_domain (186.81s)
=== CONT TestAccAWSTransferServer_disappears
--- PASS: TestAccDataSourceAwsTransferServer_apigateway (194.20s)
=== CONT TestAccDataSourceAwsTransferServer_service_managed
--- PASS: TestAccAWSTransferServer_securityPolicy (233.23s)
=== CONT TestAccAWSTransferServer_hostKey
--- PASS: TestAccAWSTransferServer_basic (236.46s)
=== CONT TestAccAWSTransferServer_vpcEndpointId
--- PASS: TestAccAWSTransferServer_vpc (252.16s)
=== CONT TestAccAWSTransferServer_apiGateway
--- PASS: TestAccAWSTransferServer_disappears (176.34s)
=== CONT TestAccAWSTransferServer_forceDestroy
--- PASS: TestAccDataSourceAwsTransferServer_service_managed (183.05s)
=== CONT TestAccAWSTransferServer_protocols
--- PASS: TestAccAWSTransferServer_vpcEndpointId (154.65s)
--- PASS: TestAccAWSTransferServer_hostKey (183.69s)
--- PASS: TestAccDataSourceAwsTransferServer_basic (427.79s)
--- PASS: TestAccAWSTransferServer_apiGateway (214.83s)
--- PASS: TestAccAWSTransferServer_forceDestroy (188.76s)
--- PASS: TestAccAWSTransferServer_protocols (242.30s)
PASS
ok github.com/terraform-providers/terraform-provider-aws/aws 623.087s
GovCloud
% make testacc TEST=./aws TESTARGS='-run=TestAccAWSTransferServer_\|TestAccDataSourceAwsTransferServer_' ACCTEST_PARALLELISM=6
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 6 -run=TestAccAWSTransferServer_\|TestAccDataSourceAwsTransferServer_ -timeout 180m
=== RUN TestAccDataSourceAwsTransferServer_basic
=== PAUSE TestAccDataSourceAwsTransferServer_basic
=== RUN TestAccDataSourceAwsTransferServer_service_managed
=== PAUSE TestAccDataSourceAwsTransferServer_service_managed
=== RUN TestAccDataSourceAwsTransferServer_apigateway
=== PAUSE TestAccDataSourceAwsTransferServer_apigateway
=== RUN TestAccAWSTransferServer_basic
=== PAUSE TestAccAWSTransferServer_basic
=== RUN TestAccAWSTransferServer_domain
=== PAUSE TestAccAWSTransferServer_domain
=== RUN TestAccAWSTransferServer_disappears
=== PAUSE TestAccAWSTransferServer_disappears
=== RUN TestAccAWSTransferServer_securityPolicy
=== PAUSE TestAccAWSTransferServer_securityPolicy
=== RUN TestAccAWSTransferServer_vpc
=== PAUSE TestAccAWSTransferServer_vpc
=== RUN TestAccAWSTransferServer_protocols
=== PAUSE TestAccAWSTransferServer_protocols
=== RUN TestAccAWSTransferServer_apiGateway
=== PAUSE TestAccAWSTransferServer_apiGateway
=== RUN TestAccAWSTransferServer_forceDestroy
=== PAUSE TestAccAWSTransferServer_forceDestroy
=== RUN TestAccAWSTransferServer_hostKey
=== PAUSE TestAccAWSTransferServer_hostKey
=== RUN TestAccAWSTransferServer_vpcEndpointId
resource_aws_transfer_server_test.go:461: Transfer Server VPC_ENDPOINT endpoint type is not supported in GovCloud partition
--- SKIP: TestAccAWSTransferServer_vpcEndpointId (0.00s)
=== CONT TestAccDataSourceAwsTransferServer_basic
=== CONT TestAccAWSTransferServer_vpc
=== CONT TestAccAWSTransferServer_forceDestroy
=== CONT TestAccAWSTransferServer_apiGateway
=== CONT TestAccAWSTransferServer_hostKey
=== CONT TestAccAWSTransferServer_protocols
resource_aws_api_gateway_rest_api_test.go:1326: skipping test; Endpoint Configuration type EDGE is not supported in this partition (aws-us-gov)
=== CONT TestAccAWSTransferServer_apiGateway
resource_aws_api_gateway_rest_api_test.go:1326: skipping test; Endpoint Configuration type EDGE is not supported in this partition (aws-us-gov)
--- SKIP: TestAccAWSTransferServer_apiGateway (1.38s)
=== CONT TestAccAWSTransferServer_securityPolicy
--- SKIP: TestAccAWSTransferServer_protocols (1.38s)
=== CONT TestAccAWSTransferServer_domain
=== CONT TestAccAWSTransferServer_hostKey
provider_test.go:1103: skipping test for aws-us-gov/us-gov-west-1: Error running apply: exit status 1
2021/06/08 09:42:00 [DEBUG] Using modified User-Agent: Terraform/0.12.31 HashiCorp-terraform-exec/0.13.3
Error: error creating Transfer Server: InvalidRequestException: Invalid server type: PUBLIC
on terraform_plugin_test.tf line 2, in resource "aws_transfer_server" "test":
2: resource "aws_transfer_server" "test" {
--- SKIP: TestAccAWSTransferServer_hostKey (6.44s)
=== CONT TestAccAWSTransferServer_disappears
=== CONT TestAccAWSTransferServer_domain
provider_test.go:1103: skipping test for aws-us-gov/us-gov-west-1: Error running apply: exit status 1
2021/06/08 09:42:01 [DEBUG] Using modified User-Agent: Terraform/0.12.31 HashiCorp-terraform-exec/0.13.3
Error: error creating Transfer Server: InvalidRequestException: Invalid server type: PUBLIC
on terraform_plugin_test.tf line 2, in resource "aws_transfer_server" "test":
2: resource "aws_transfer_server" "test" {
=== CONT TestAccAWSTransferServer_securityPolicy
provider_test.go:1103: skipping test for aws-us-gov/us-gov-west-1: Error running apply: exit status 1
2021/06/08 09:42:01 [DEBUG] Using modified User-Agent: Terraform/0.12.31 HashiCorp-terraform-exec/0.13.3
Error: error creating Transfer Server: InvalidRequestException: Invalid server type: PUBLIC
on terraform_plugin_test.tf line 2, in resource "aws_transfer_server" "test":
2: resource "aws_transfer_server" "test" {
--- SKIP: TestAccAWSTransferServer_domain (5.79s)
=== CONT TestAccDataSourceAwsTransferServer_apigateway
--- SKIP: TestAccAWSTransferServer_securityPolicy (5.91s)
=== CONT TestAccAWSTransferServer_basic
=== CONT TestAccDataSourceAwsTransferServer_apigateway
resource_aws_api_gateway_rest_api_test.go:1326: skipping test; Endpoint Configuration type EDGE is not supported in this partition (aws-us-gov)
--- SKIP: TestAccDataSourceAwsTransferServer_apigateway (0.45s)
=== CONT TestAccDataSourceAwsTransferServer_service_managed
=== CONT TestAccDataSourceAwsTransferServer_basic
provider_test.go:1103: skipping test for aws-us-gov/us-gov-west-1: Error running apply: exit status 1
2021/06/08 09:42:02 [DEBUG] Using modified User-Agent: Terraform/0.12.31 HashiCorp-terraform-exec/0.13.3
Error: error creating Transfer Server: InvalidRequestException: Invalid server type: PUBLIC
on terraform_plugin_test.tf line 2, in resource "aws_transfer_server" "test":
2: resource "aws_transfer_server" "test" {}
--- SKIP: TestAccDataSourceAwsTransferServer_basic (8.17s)
=== CONT TestAccAWSTransferServer_forceDestroy
provider_test.go:1103: skipping test for aws-us-gov/us-gov-west-1: Error running apply: exit status 1
2021/06/08 09:42:00 [DEBUG] Using modified User-Agent: Terraform/0.12.31 HashiCorp-terraform-exec/0.13.3
Error: error creating Transfer Server: InvalidRequestException: Invalid server type: PUBLIC
on terraform_plugin_test.tf line 2, in resource "aws_transfer_server" "test":
2: resource "aws_transfer_server" "test" {
=== CONT TestAccAWSTransferServer_disappears
provider_test.go:1103: skipping test for aws-us-gov/us-gov-west-1: Error running apply: exit status 1
2021/06/08 09:42:05 [DEBUG] Using modified User-Agent: Terraform/0.12.31 HashiCorp-terraform-exec/0.13.3
Error: error creating Transfer Server: InvalidRequestException: Invalid server type: PUBLIC
on terraform_plugin_test.tf line 2, in resource "aws_transfer_server" "test":
2: resource "aws_transfer_server" "test" {}
--- SKIP: TestAccAWSTransferServer_disappears (5.23s)
=== CONT TestAccAWSTransferServer_basic
provider_test.go:1103: skipping test for aws-us-gov/us-gov-west-1: Error running apply: exit status 1
2021/06/08 09:42:06 [DEBUG] Using modified User-Agent: Terraform/0.12.31 HashiCorp-terraform-exec/0.13.3
Error: error creating Transfer Server: InvalidRequestException: Invalid server type: PUBLIC
on terraform_plugin_test.tf line 2, in resource "aws_transfer_server" "test":
2: resource "aws_transfer_server" "test" {}
--- SKIP: TestAccAWSTransferServer_basic (4.99s)
--- SKIP: TestAccAWSTransferServer_forceDestroy (13.13s)
=== CONT TestAccDataSourceAwsTransferServer_service_managed
provider_test.go:1103: skipping test for aws-us-gov/us-gov-west-1: Error running apply: exit status 1
2021/06/08 09:42:07 [DEBUG] Using modified User-Agent: Terraform/0.12.31 HashiCorp-terraform-exec/0.13.3
Error: error creating Transfer Server: InvalidRequestException: Invalid server type: PUBLIC
on terraform_plugin_test.tf line 42, in resource "aws_transfer_server" "test":
42: resource "aws_transfer_server" "test" {
--- SKIP: TestAccDataSourceAwsTransferServer_service_managed (11.66s)
--- PASS: TestAccAWSTransferServer_vpc (249.67s)
PASS
ok github.com/terraform-providers/terraform-provider-aws/aws 252.709s
This functionality has been released in v3.45.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. |
Community Note
Relates #17022
Output from acceptance testing: