-
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
Change EC2 Instance root volume size without re-creating #12620
Change EC2 Instance root volume size without re-creating #12620
Conversation
…ation Fixes: #768 make testacc TEST=./aws TESTARGS='-run=TestAccAWSInstance_changeRootBlockDeviceVolumeSize' ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./aws -v -run=TestAccAWSInstance_changeRootBlockDeviceVolumeSize -timeout 120m === RUN TestAccAWSInstance_changeRootBlockDeviceVolumeSize --- PASS: TestAccAWSInstance_changeRootBlockDeviceVolumeSize (514.63s) PASS ok github.com/terraform-providers/terraform-provider-aws/aws 514.642s
… volume is useable in that state
abe01fa
to
8f146ff
Compare
a46b4eb
to
229333c
Compare
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.
A few minor items, otherwise should be good. Optimistically approving if testing passes after adjustments.
--- PASS: TestAccAWSInstance_addSecondaryInterface (122.31s)
--- PASS: TestAccAWSInstance_addSecurityGroupNetworkInterface (122.67s)
--- PASS: TestAccAWSInstance_associatePublic_defaultPrivate (64.73s)
--- PASS: TestAccAWSInstance_associatePublic_defaultPublic (75.18s)
--- PASS: TestAccAWSInstance_associatePublic_explicitPrivate (68.66s)
--- PASS: TestAccAWSInstance_associatePublic_explicitPublic (66.56s)
--- PASS: TestAccAWSInstance_associatePublic_overridePrivate (91.00s)
--- PASS: TestAccAWSInstance_associatePublic_overridePublic (75.07s)
--- PASS: TestAccAWSInstance_associatePublicIPAndPrivateIP (74.73s)
--- PASS: TestAccAWSInstance_basic (159.50s)
--- PASS: TestAccAWSInstance_blockDevices (80.22s)
--- PASS: TestAccAWSInstance_changeInstanceType (334.90s)
--- PASS: TestAccAWSInstance_CreditSpecification_Empty_NonBurstable (312.25s)
--- PASS: TestAccAWSInstance_creditSpecification_isNotAppliedToNonBurstable (102.67s)
--- PASS: TestAccAWSInstance_creditSpecification_standardCpuCredits (86.54s)
--- PASS: TestAccAWSInstance_creditSpecification_standardCpuCredits_t2Tot3Taint (419.52s)
--- PASS: TestAccAWSInstance_creditSpecification_unknownCpuCredits_t2 (75.88s)
--- PASS: TestAccAWSInstance_creditSpecification_unknownCpuCredits_t3 (311.93s)
--- PASS: TestAccAWSInstance_creditSpecification_unlimitedCpuCredits (91.99s)
--- PASS: TestAccAWSInstance_creditSpecification_unlimitedCpuCredits_t2Tot3Taint (423.78s)
--- PASS: TestAccAWSInstance_creditSpecification_unspecifiedDefaultsToStandard (101.01s)
--- PASS: TestAccAWSInstance_CreditSpecification_UnspecifiedToEmpty_NonBurstable (98.01s)
--- PASS: TestAccAWSInstance_creditSpecification_updateCpuCredits (132.57s)
--- PASS: TestAccAWSInstance_creditSpecificationT3_standardCpuCredits (76.27s)
--- PASS: TestAccAWSInstance_creditSpecificationT3_unlimitedCpuCredits (103.46s)
--- PASS: TestAccAWSInstance_creditSpecificationT3_unspecifiedDefaultsToUnlimited (61.87s)
--- PASS: TestAccAWSInstance_creditSpecificationT3_updateCpuCredits (118.21s)
--- PASS: TestAccAWSInstance_disableApiTermination (107.31s)
--- PASS: TestAccAWSInstance_disappears (226.03s)
--- PASS: TestAccAWSInstance_EbsBlockDevice_KmsKeyArn (97.63s)
--- PASS: TestAccAWSInstance_EbsRootDevice_basic (63.62s)
--- PASS: TestAccAWSInstance_EbsRootDevice_ModifyAll (152.77s)
--- PASS: TestAccAWSInstance_EbsRootDevice_ModifyDeleteOnTermination (121.64s)
--- PASS: TestAccAWSInstance_EbsRootDevice_ModifyIOPS (132.01s)
--- PASS: TestAccAWSInstance_EbsRootDevice_ModifySize (122.18s)
--- PASS: TestAccAWSInstance_EbsRootDevice_ModifyType (122.59s)
--- PASS: TestAccAWSInstance_EbsRootDevice_MultipleBlockDevices_ModifyDeleteOnTermination (96.93s)
--- PASS: TestAccAWSInstance_EbsRootDevice_MultipleBlockDevices_ModifySize (125.78s)
--- PASS: TestAccAWSInstance_forceNewAndTagsDrift (255.68s)
--- PASS: TestAccAWSInstance_getPasswordData_falseToTrue (134.80s)
--- PASS: TestAccAWSInstance_getPasswordData_trueToFalse (160.99s)
--- PASS: TestAccAWSInstance_GP2IopsDevice (182.43s)
--- PASS: TestAccAWSInstance_GP2WithIopsValue (94.65s)
--- PASS: TestAccAWSInstance_hibernation (206.34s)
--- PASS: TestAccAWSInstance_inDefaultVpcBySgId (83.33s)
--- PASS: TestAccAWSInstance_inDefaultVpcBySgName (73.75s)
--- PASS: TestAccAWSInstance_instanceProfileChange (164.48s)
--- PASS: TestAccAWSInstance_ipv6_supportAddressCount (84.50s)
--- PASS: TestAccAWSInstance_ipv6_supportAddressCountWithIpv4 (99.10s)
--- PASS: TestAccAWSInstance_ipv6AddressCountAndSingleAddressCausesError (15.72s)
--- PASS: TestAccAWSInstance_keyPairCheck (174.73s)
--- PASS: TestAccAWSInstance_metadataOptions (113.03s)
--- PASS: TestAccAWSInstance_multipleRegions (164.47s)
--- PASS: TestAccAWSInstance_NetworkInstanceRemovingAllSecurityGroups (82.26s)
--- PASS: TestAccAWSInstance_NetworkInstanceSecurityGroups (76.31s)
--- PASS: TestAccAWSInstance_NetworkInstanceVPCSecurityGroupIDs (77.33s)
--- PASS: TestAccAWSInstance_noAMIEphemeralDevices (175.46s)
--- PASS: TestAccAWSInstance_placementGroup (66.09s)
--- PASS: TestAccAWSInstance_primaryNetworkInterface (86.38s)
--- PASS: TestAccAWSInstance_primaryNetworkInterfaceSourceDestCheck (76.65s)
--- PASS: TestAccAWSInstance_privateIP (74.48s)
--- PASS: TestAccAWSInstance_RootBlockDevice_KmsKeyArn (313.08s)
--- PASS: TestAccAWSInstance_rootBlockDeviceMismatch (64.24s)
--- PASS: TestAccAWSInstance_rootInstanceStore (79.33s)
--- PASS: TestAccAWSInstance_sourceDestCheck (136.65s)
--- PASS: TestAccAWSInstance_tags (207.62s)
--- PASS: TestAccAWSInstance_UserData_EmptyStringToUnspecified (86.80s)
--- PASS: TestAccAWSInstance_UserData_UnspecifiedToEmptyString (81.27s)
--- PASS: TestAccAWSInstance_userDataBase64 (221.77s)
--- PASS: TestAccAWSInstance_volumeTags (113.18s)
--- PASS: TestAccAWSInstance_volumeTagsComputed (103.94s)
--- PASS: TestAccAWSInstance_vpc (85.97s)
--- PASS: TestAccAWSInstance_withIamInstanceProfile (219.37s)
--- PASS: TestAccAWSInstanceDataSource_AzUserData (273.70s)
--- PASS: TestAccAWSInstanceDataSource_basic (268.08s)
--- PASS: TestAccAWSInstanceDataSource_blockDevices (106.01s)
--- PASS: TestAccAWSInstanceDataSource_creditSpecification (88.93s)
--- PASS: TestAccAWSInstanceDataSource_EbsBlockDevice_KmsKeyId (126.69s)
--- PASS: TestAccAWSInstanceDataSource_getPasswordData_falseToTrue (138.18s)
--- PASS: TestAccAWSInstanceDataSource_getPasswordData_trueToFalse (155.75s)
--- PASS: TestAccAWSInstanceDataSource_GetUserData (119.26s)
--- PASS: TestAccAWSInstanceDataSource_GetUserData_NoUserData (125.23s)
--- PASS: TestAccAWSInstanceDataSource_gp2IopsDevice (97.60s)
--- PASS: TestAccAWSInstanceDataSource_keyPair (80.24s)
--- PASS: TestAccAWSInstanceDataSource_metadataOptions (117.67s)
--- PASS: TestAccAWSInstanceDataSource_PlacementGroup (65.98s)
--- PASS: TestAccAWSInstanceDataSource_privateIP (89.75s)
--- PASS: TestAccAWSInstanceDataSource_RootBlockDevice_KmsKeyId (112.14s)
--- PASS: TestAccAWSInstanceDataSource_rootInstanceStore (106.41s)
--- PASS: TestAccAWSInstanceDataSource_SecurityGroups (241.64s)
--- PASS: TestAccAWSInstanceDataSource_tags (117.86s)
--- PASS: TestAccAWSInstanceDataSource_VPC (200.57s)
--- PASS: TestAccAWSInstanceDataSource_VPCSecurityGroups (88.62s)
--- PASS: TestAccAWSInstancesDataSource_basic (195.26s)
--- PASS: TestAccAWSInstancesDataSource_instance_state_names (171.88s)
--- PASS: TestAccAWSInstancesDataSource_tags (202.67s)
--- PASS: TestAccAWSSpotInstanceRequest_basic (109.96s)
--- PASS: TestAccAWSSpotInstanceRequest_getPasswordData (260.07s)
--- PASS: TestAccAWSSpotInstanceRequest_NetworkInterfaceAttributes (74.52s)
--- PASS: TestAccAWSSpotInstanceRequest_SubnetAndSGAndPublicIpAddress (93.08s)
--- PASS: TestAccAWSSpotInstanceRequest_validUntil (91.97s)
--- PASS: TestAccAWSSpotInstanceRequest_vpc (116.23s)
--- PASS: TestAccAWSSpotInstanceRequest_withBlockDuration (78.95s)
--- PASS: TestAccAWSSpotInstanceRequest_withLaunchGroup (113.04s)
--- PASS: TestAccAWSSpotInstanceRequest_withoutSpotPrice (58.49s)
--- PASS: TestAccAWSSpotInstanceRequestInterruptHibernate (289.76s)
--- PASS: TestAccAWSSpotInstanceRequestInterruptStop (290.03s)
--- PASS: TestAccAWSSSMAssociation_basic (75.83s)
--- PASS: TestAccAWSSSMAssociation_rateControl (15.49s)
--- PASS: TestAccAWSSSMAssociation_withAssociationName (17.23s)
--- PASS: TestAccAWSSSMAssociation_withAssociationNameAndScheduleExpression (15.64s)
--- PASS: TestAccAWSSSMAssociation_withAutomationTargetParamName (24.75s)
--- PASS: TestAccAWSSSMAssociation_withComplianceSeverity (21.99s)
--- PASS: TestAccAWSSSMAssociation_withDocumentVersion (10.79s)
--- PASS: TestAccAWSSSMAssociation_withOutputLocation (33.64s)
--- PASS: TestAccAWSSSMAssociation_withParameters (13.89s)
--- PASS: TestAccAWSSSMAssociation_withScheduleExpression (39.35s)
--- PASS: TestAccAWSSSMAssociation_withTargets (19.13s)
This has been released in version 2.58.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! |
This PR picks up on the work done by @viscat in #1396 to allow changing EC2 instance root volume size without re-creating the instance.
Community Note
Closes #1396
Closes #768
Closes #8729
Closes #4219
Closes #4196
Closes #609
Closes #418
Closes #172
Closes #139
Closes #105
Release note for CHANGELOG:
Output from acceptance testing: