-
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
Add and use 'testAccAvailableEc2InstanceTypeForAvailabilityZone' config generator #13091
Conversation
Removing WIP. |
Rebased to remove merge conflict and adapted $ make testacc TEST=./aws/ TESTARGS='-run=TestAccAWSVolumeAttachment_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws/ -v -count 1 -parallel 20 -run=TestAccAWSVolumeAttachment_ -timeout 120m
=== RUN TestAccAWSVolumeAttachment_basic
=== PAUSE TestAccAWSVolumeAttachment_basic
=== RUN TestAccAWSVolumeAttachment_skipDestroy
=== PAUSE TestAccAWSVolumeAttachment_skipDestroy
=== RUN TestAccAWSVolumeAttachment_attachStopped
=== PAUSE TestAccAWSVolumeAttachment_attachStopped
=== RUN TestAccAWSVolumeAttachment_update
=== PAUSE TestAccAWSVolumeAttachment_update
=== RUN TestAccAWSVolumeAttachment_disappears
=== PAUSE TestAccAWSVolumeAttachment_disappears
=== CONT TestAccAWSVolumeAttachment_basic
=== CONT TestAccAWSVolumeAttachment_update
=== CONT TestAccAWSVolumeAttachment_attachStopped
=== CONT TestAccAWSVolumeAttachment_disappears
=== CONT TestAccAWSVolumeAttachment_skipDestroy
--- PASS: TestAccAWSVolumeAttachment_disappears (106.67s)
--- PASS: TestAccAWSVolumeAttachment_skipDestroy (135.96s)
--- PASS: TestAccAWSVolumeAttachment_basic (136.05s)
--- PASS: TestAccAWSVolumeAttachment_attachStopped (160.20s)
--- PASS: TestAccAWSVolumeAttachment_update (162.13s)
PASS
ok github.com/terraform-providers/terraform-provider-aws/aws 162.213s |
… with 'testAccAvailableEc2InstanceTypeForAvailabilityZone'.
… available {}' with 'testAccAvailableEc2InstanceTypeForRegion'.
…fering available {}' with 'testAccAvailableEc2InstanceTypeForAvailabilityZone'.
…g available {}' with 'testAccAvailableEc2InstanceTypeForRegion'.
…ering available {}' with 'testAccAvailableEc2InstanceTypeForAvailabilityZone'.
… available {}' with 'testAccAvailableEc2InstanceTypeForAvailabilityZone'.
Rebased to remove merge conflicts. $ make testacc TEST=./aws/ TESTARGS='-run=TestAccAWSEIP_Instance_Reassociate'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSEIP_Instance_Reassociate -timeout 120m
=== RUN TestAccAWSEIP_Instance_Reassociate
=== PAUSE TestAccAWSEIP_Instance_Reassociate
=== CONT TestAccAWSEIP_Instance_Reassociate
--- PASS: TestAccAWSEIP_Instance_Reassociate (114.28s)
PASS
ok github.com/terraform-providers/terraform-provider-aws/aws 114.340s
$ make testacc TEST=./aws/ TESTARGS='-run=TestAccAWSCloudWatchMetricAlarm_AlarmActions_EC2Automate'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSCloudWatchMetricAlarm_AlarmActions_EC2Automate -timeout 120m
=== RUN TestAccAWSCloudWatchMetricAlarm_AlarmActions_EC2Automate
=== PAUSE TestAccAWSCloudWatchMetricAlarm_AlarmActions_EC2Automate
=== CONT TestAccAWSCloudWatchMetricAlarm_AlarmActions_EC2Automate
--- PASS: TestAccAWSCloudWatchMetricAlarm_AlarmActions_EC2Automate (159.57s)
PASS
ok github.com/terraform-providers/terraform-provider-aws/aws 159.622s
+ make testacc TEST=./aws/ TESTARGS=-run=TestAccAWSAMIFromInstance_
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 2 -run=TestAccAWSAMIFromInstance_ -timeout 120m
=== RUN TestAccAWSAMIFromInstance_basic
=== PAUSE TestAccAWSAMIFromInstance_basic
=== RUN TestAccAWSAMIFromInstance_tags
=== PAUSE TestAccAWSAMIFromInstance_tags
=== CONT TestAccAWSAMIFromInstance_basic
=== CONT TestAccAWSAMIFromInstance_tags
--- PASS: TestAccAWSAMIFromInstance_basic (351.44s)
--- PASS: TestAccAWSAMIFromInstance_tags (468.15s)
PASS
ok github.com/terraform-providers/terraform-provider-aws/aws 468.202s
+ make testacc TEST=./aws/ TESTARGS=-run=TestAccAWSVolumeAttachment_
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 2 -run=TestAccAWSVolumeAttachment_ -timeout 120m
=== RUN TestAccAWSVolumeAttachment_basic
=== PAUSE TestAccAWSVolumeAttachment_basic
=== RUN TestAccAWSVolumeAttachment_skipDestroy
=== PAUSE TestAccAWSVolumeAttachment_skipDestroy
=== RUN TestAccAWSVolumeAttachment_attachStopped
=== PAUSE TestAccAWSVolumeAttachment_attachStopped
=== RUN TestAccAWSVolumeAttachment_update
=== PAUSE TestAccAWSVolumeAttachment_update
=== RUN TestAccAWSVolumeAttachment_disappears
=== PAUSE TestAccAWSVolumeAttachment_disappears
=== CONT TestAccAWSVolumeAttachment_basic
=== CONT TestAccAWSVolumeAttachment_update
--- PASS: TestAccAWSVolumeAttachment_basic (109.28s)
=== CONT TestAccAWSVolumeAttachment_disappears
--- PASS: TestAccAWSVolumeAttachment_update (144.29s)
=== CONT TestAccAWSVolumeAttachment_attachStopped
--- PASS: TestAccAWSVolumeAttachment_disappears (100.25s)
=== CONT TestAccAWSVolumeAttachment_skipDestroy
--- PASS: TestAccAWSVolumeAttachment_skipDestroy (87.70s)
--- PASS: TestAccAWSVolumeAttachment_attachStopped (425.59s)
PASS
ok github.com/terraform-providers/terraform-provider-aws/aws 569.940s
+ make testacc TEST=./aws/ TESTARGS=-run=TestAccAWSStorageGatewayGateway_SmbActiveDirectorySettings
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 2 -run=TestAccAWSStorageGatewayGateway_SmbActiveDirectorySettings -timeout 120m
=== RUN TestAccAWSStorageGatewayGateway_SmbActiveDirectorySettings
=== PAUSE TestAccAWSStorageGatewayGateway_SmbActiveDirectorySettings
=== CONT TestAccAWSStorageGatewayGateway_SmbActiveDirectorySettings
--- PASS: TestAccAWSStorageGatewayGateway_SmbActiveDirectorySettings (787.36s)
PASS
ok github.com/terraform-providers/terraform-provider-aws/aws 787.421s
+ make testacc TEST=./aws/ TESTARGS=-run=TestAccAWSStorageGatewayGateway_GatewayType_FileS3
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 2 -run=TestAccAWSStorageGatewayGateway_GatewayType_FileS3 -timeout 120m
=== RUN TestAccAWSStorageGatewayGateway_GatewayType_FileS3
=== PAUSE TestAccAWSStorageGatewayGateway_GatewayType_FileS3
=== CONT TestAccAWSStorageGatewayGateway_GatewayType_FileS3
--- PASS: TestAccAWSStorageGatewayGateway_GatewayType_FileS3 (251.27s)
PASS
ok github.com/terraform-providers/terraform-provider-aws/aws 251.334s
+ make testacc TEST=./aws/ TESTARGS=-run=TestAccAWSStorageGatewayGateway_GatewayType_Cached
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 2 -run=TestAccAWSStorageGatewayGateway_GatewayType_Cached -timeout 120m
=== RUN TestAccAWSStorageGatewayGateway_GatewayType_Cached
=== PAUSE TestAccAWSStorageGatewayGateway_GatewayType_Cached
=== CONT TestAccAWSStorageGatewayGateway_GatewayType_Cached
--- PASS: TestAccAWSStorageGatewayGateway_GatewayType_Cached (228.53s)
PASS
ok github.com/terraform-providers/terraform-provider-aws/aws 228.587s |
Re-ran spot fleet request acceptance tests: $ make testacc TEST=./aws/ TESTARGS='-run=TestAccAWSSpotFleetRequest_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 2 -run=TestAccAWSSpotFleetRequest_ -timeout 120m
=== RUN TestAccAWSSpotFleetRequest_basic
=== PAUSE TestAccAWSSpotFleetRequest_basic
=== RUN TestAccAWSSpotFleetRequest_tags
=== PAUSE TestAccAWSSpotFleetRequest_tags
=== RUN TestAccAWSSpotFleetRequest_associatePublicIpAddress
=== PAUSE TestAccAWSSpotFleetRequest_associatePublicIpAddress
=== RUN TestAccAWSSpotFleetRequest_launchTemplate
=== PAUSE TestAccAWSSpotFleetRequest_launchTemplate
=== RUN TestAccAWSSpotFleetRequest_launchTemplate_multiple
=== PAUSE TestAccAWSSpotFleetRequest_launchTemplate_multiple
=== RUN TestAccAWSSpotFleetRequest_launchTemplateWithOverrides
=== PAUSE TestAccAWSSpotFleetRequest_launchTemplateWithOverrides
=== RUN TestAccAWSSpotFleetRequest_launchTemplateToLaunchSpec
=== PAUSE TestAccAWSSpotFleetRequest_launchTemplateToLaunchSpec
=== RUN TestAccAWSSpotFleetRequest_launchSpecToLaunchTemplate
=== PAUSE TestAccAWSSpotFleetRequest_launchSpecToLaunchTemplate
=== RUN TestAccAWSSpotFleetRequest_instanceInterruptionBehavior
=== PAUSE TestAccAWSSpotFleetRequest_instanceInterruptionBehavior
=== RUN TestAccAWSSpotFleetRequest_fleetType
=== PAUSE TestAccAWSSpotFleetRequest_fleetType
=== RUN TestAccAWSSpotFleetRequest_iamInstanceProfileArn
=== PAUSE TestAccAWSSpotFleetRequest_iamInstanceProfileArn
=== RUN TestAccAWSSpotFleetRequest_changePriceForcesNewRequest
=== PAUSE TestAccAWSSpotFleetRequest_changePriceForcesNewRequest
=== RUN TestAccAWSSpotFleetRequest_updateTargetCapacity
=== PAUSE TestAccAWSSpotFleetRequest_updateTargetCapacity
=== RUN TestAccAWSSpotFleetRequest_updateExcessCapacityTerminationPolicy
=== PAUSE TestAccAWSSpotFleetRequest_updateExcessCapacityTerminationPolicy
=== RUN TestAccAWSSpotFleetRequest_lowestPriceAzOrSubnetInRegion
=== PAUSE TestAccAWSSpotFleetRequest_lowestPriceAzOrSubnetInRegion
=== RUN TestAccAWSSpotFleetRequest_lowestPriceAzInGivenList
=== PAUSE TestAccAWSSpotFleetRequest_lowestPriceAzInGivenList
=== RUN TestAccAWSSpotFleetRequest_lowestPriceSubnetInGivenList
=== PAUSE TestAccAWSSpotFleetRequest_lowestPriceSubnetInGivenList
=== RUN TestAccAWSSpotFleetRequest_multipleInstanceTypesInSameAz
=== PAUSE TestAccAWSSpotFleetRequest_multipleInstanceTypesInSameAz
=== RUN TestAccAWSSpotFleetRequest_multipleInstanceTypesInSameSubnet
=== PAUSE TestAccAWSSpotFleetRequest_multipleInstanceTypesInSameSubnet
=== RUN TestAccAWSSpotFleetRequest_overriddingSpotPrice
=== PAUSE TestAccAWSSpotFleetRequest_overriddingSpotPrice
=== RUN TestAccAWSSpotFleetRequest_withoutSpotPrice
=== PAUSE TestAccAWSSpotFleetRequest_withoutSpotPrice
=== RUN TestAccAWSSpotFleetRequest_diversifiedAllocation
=== PAUSE TestAccAWSSpotFleetRequest_diversifiedAllocation
=== RUN TestAccAWSSpotFleetRequest_multipleInstancePools
=== PAUSE TestAccAWSSpotFleetRequest_multipleInstancePools
=== RUN TestAccAWSSpotFleetRequest_withWeightedCapacity
=== PAUSE TestAccAWSSpotFleetRequest_withWeightedCapacity
=== RUN TestAccAWSSpotFleetRequest_withEBSDisk
=== PAUSE TestAccAWSSpotFleetRequest_withEBSDisk
=== RUN TestAccAWSSpotFleetRequest_LaunchSpecification_EbsBlockDevice_KmsKeyId
=== PAUSE TestAccAWSSpotFleetRequest_LaunchSpecification_EbsBlockDevice_KmsKeyId
=== RUN TestAccAWSSpotFleetRequest_LaunchSpecification_RootBlockDevice_KmsKeyId
=== PAUSE TestAccAWSSpotFleetRequest_LaunchSpecification_RootBlockDevice_KmsKeyId
=== RUN TestAccAWSSpotFleetRequest_withTags
=== PAUSE TestAccAWSSpotFleetRequest_withTags
=== RUN TestAccAWSSpotFleetRequest_placementTenancyAndGroup
=== PAUSE TestAccAWSSpotFleetRequest_placementTenancyAndGroup
=== RUN TestAccAWSSpotFleetRequest_WithELBs
=== PAUSE TestAccAWSSpotFleetRequest_WithELBs
=== RUN TestAccAWSSpotFleetRequest_WithTargetGroups
=== PAUSE TestAccAWSSpotFleetRequest_WithTargetGroups
=== RUN TestAccAWSSpotFleetRequest_WithInstanceStoreAmi
--- SKIP: TestAccAWSSpotFleetRequest_WithInstanceStoreAmi (0.00s)
resource_aws_spot_fleet_request_test.go:1076: Test fails due to test harness constraints
=== RUN TestAccAWSSpotFleetRequest_disappears
=== PAUSE TestAccAWSSpotFleetRequest_disappears
=== CONT TestAccAWSSpotFleetRequest_basic
=== CONT TestAccAWSSpotFleetRequest_multipleInstanceTypesInSameAz
--- PASS: TestAccAWSSpotFleetRequest_multipleInstanceTypesInSameAz (273.52s)
=== CONT TestAccAWSSpotFleetRequest_disappears
--- PASS: TestAccAWSSpotFleetRequest_basic (274.21s)
=== CONT TestAccAWSSpotFleetRequest_WithTargetGroups
--- PASS: TestAccAWSSpotFleetRequest_disappears (356.73s)
=== CONT TestAccAWSSpotFleetRequest_WithELBs
--- PASS: TestAccAWSSpotFleetRequest_WithTargetGroups (389.64s)
=== CONT TestAccAWSSpotFleetRequest_placementTenancyAndGroup
--- PASS: TestAccAWSSpotFleetRequest_placementTenancyAndGroup (61.61s)
=== CONT TestAccAWSSpotFleetRequest_withTags
--- PASS: TestAccAWSSpotFleetRequest_WithELBs (329.12s)
=== CONT TestAccAWSSpotFleetRequest_LaunchSpecification_RootBlockDevice_KmsKeyId
--- PASS: TestAccAWSSpotFleetRequest_withTags (250.34s)
=== CONT TestAccAWSSpotFleetRequest_LaunchSpecification_EbsBlockDevice_KmsKeyId
--- PASS: TestAccAWSSpotFleetRequest_LaunchSpecification_RootBlockDevice_KmsKeyId (152.33s)
=== CONT TestAccAWSSpotFleetRequest_withEBSDisk
--- PASS: TestAccAWSSpotFleetRequest_LaunchSpecification_EbsBlockDevice_KmsKeyId (141.08s)
=== CONT TestAccAWSSpotFleetRequest_withWeightedCapacity
--- PASS: TestAccAWSSpotFleetRequest_withEBSDisk (273.58s)
=== CONT TestAccAWSSpotFleetRequest_multipleInstancePools
--- PASS: TestAccAWSSpotFleetRequest_withWeightedCapacity (286.36s)
=== CONT TestAccAWSSpotFleetRequest_diversifiedAllocation
--- PASS: TestAccAWSSpotFleetRequest_diversifiedAllocation (281.00s)
=== CONT TestAccAWSSpotFleetRequest_withoutSpotPrice
--- PASS: TestAccAWSSpotFleetRequest_multipleInstancePools (298.99s)
=== CONT TestAccAWSSpotFleetRequest_overriddingSpotPrice
--- PASS: TestAccAWSSpotFleetRequest_overriddingSpotPrice (285.70s)
=== CONT TestAccAWSSpotFleetRequest_multipleInstanceTypesInSameSubnet
--- PASS: TestAccAWSSpotFleetRequest_withoutSpotPrice (285.80s)
=== CONT TestAccAWSSpotFleetRequest_fleetType
--- PASS: TestAccAWSSpotFleetRequest_multipleInstanceTypesInSameSubnet (201.77s)
=== CONT TestAccAWSSpotFleetRequest_lowestPriceSubnetInGivenList
--- PASS: TestAccAWSSpotFleetRequest_fleetType (323.52s)
=== CONT TestAccAWSSpotFleetRequest_lowestPriceAzInGivenList
--- PASS: TestAccAWSSpotFleetRequest_lowestPriceSubnetInGivenList (286.32s)
=== CONT TestAccAWSSpotFleetRequest_lowestPriceAzOrSubnetInRegion
--- PASS: TestAccAWSSpotFleetRequest_lowestPriceAzInGivenList (244.69s)
=== CONT TestAccAWSSpotFleetRequest_updateExcessCapacityTerminationPolicy
--- PASS: TestAccAWSSpotFleetRequest_lowestPriceAzOrSubnetInRegion (252.36s)
=== CONT TestAccAWSSpotFleetRequest_updateTargetCapacity
--- PASS: TestAccAWSSpotFleetRequest_updateExcessCapacityTerminationPolicy (511.70s)
=== CONT TestAccAWSSpotFleetRequest_changePriceForcesNewRequest
--- PASS: TestAccAWSSpotFleetRequest_updateTargetCapacity (760.41s)
=== CONT TestAccAWSSpotFleetRequest_iamInstanceProfileArn
--- PASS: TestAccAWSSpotFleetRequest_changePriceForcesNewRequest (564.99s)
=== CONT TestAccAWSSpotFleetRequest_launchTemplateWithOverrides
--- PASS: TestAccAWSSpotFleetRequest_iamInstanceProfileArn (275.08s)
=== CONT TestAccAWSSpotFleetRequest_instanceInterruptionBehavior
--- PASS: TestAccAWSSpotFleetRequest_launchTemplateWithOverrides (202.16s)
=== CONT TestAccAWSSpotFleetRequest_launchSpecToLaunchTemplate
--- PASS: TestAccAWSSpotFleetRequest_instanceInterruptionBehavior (284.50s)
=== CONT TestAccAWSSpotFleetRequest_launchTemplateToLaunchSpec
--- PASS: TestAccAWSSpotFleetRequest_launchSpecToLaunchTemplate (564.43s)
=== CONT TestAccAWSSpotFleetRequest_launchTemplate
--- PASS: TestAccAWSSpotFleetRequest_launchTemplateToLaunchSpec (568.03s)
=== CONT TestAccAWSSpotFleetRequest_launchTemplate_multiple
--- PASS: TestAccAWSSpotFleetRequest_launchTemplate (274.88s)
=== CONT TestAccAWSSpotFleetRequest_associatePublicIpAddress
--- PASS: TestAccAWSSpotFleetRequest_launchTemplate_multiple (270.57s)
=== CONT TestAccAWSSpotFleetRequest_tags
--- PASS: TestAccAWSSpotFleetRequest_associatePublicIpAddress (262.48s)
--- PASS: TestAccAWSSpotFleetRequest_tags (266.34s)
PASS
ok github.com/terraform-providers/terraform-provider-aws/aws 5135.401s |
This looks good, @ewbankkit ! |
This has been released in version 3.0.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
Closes #13083.
Release note for CHANGELOG:
Output from acceptance testing: