Commit 9f2eb75
resource/aws_launch_template: Prevent downstream resource errors with unconfigured partition numbers (hashicorp#13239)
Output from acceptance testing:
```
--- PASS: TestAccAWSAutoScalingGroup_ALB_TargetGroups (171.95s)
--- PASS: TestAccAWSAutoScalingGroup_ALB_TargetGroups_ELBCapacity (285.70s)
--- PASS: TestAccAWSAutoScalingGroup_autoGeneratedName (118.21s)
--- PASS: TestAccAWSAutoScalingGroup_basic (289.54s)
--- PASS: TestAccAWSAutoScalingGroup_classicVpcZoneIdentifier (126.69s)
--- PASS: TestAccAWSAutoScalingGroup_emptyAvailabilityZones (78.93s)
--- PASS: TestAccAWSAutoScalingGroup_enablingMetrics (236.84s)
--- PASS: TestAccAWSAutoScalingGroup_initialLifecycleHook (254.46s)
--- PASS: TestAccAWSAutoScalingGroup_launchTemplate (39.84s)
--- PASS: TestAccAWSAutoScalingGroup_LaunchTemplate_IAMInstanceProfile (63.24s)
--- PASS: TestAccAWSAutoScalingGroup_launchTemplate_update (196.20s)
--- PASS: TestAccAWSAutoScalingGroup_launchTempPartitionNum (170.82s)
--- PASS: TestAccAWSAutoScalingGroup_LoadBalancers (693.58s)
--- PASS: TestAccAWSAutoScalingGroup_MaxInstanceLifetime (79.29s)
--- PASS: TestAccAWSAutoScalingGroup_MixedInstancesPolicy (49.05s)
--- PASS: TestAccAWSAutoScalingGroup_MixedInstancesPolicy_InstancesDistribution_OnDemandAllocationStrategy (42.20s)
--- PASS: TestAccAWSAutoScalingGroup_MixedInstancesPolicy_InstancesDistribution_OnDemandBaseCapacity (106.01s)
--- PASS: TestAccAWSAutoScalingGroup_MixedInstancesPolicy_InstancesDistribution_OnDemandPercentageAboveBaseCapacity (51.32s)
--- PASS: TestAccAWSAutoScalingGroup_MixedInstancesPolicy_InstancesDistribution_SpotAllocationStrategy (170.25s)
--- PASS: TestAccAWSAutoScalingGroup_MixedInstancesPolicy_InstancesDistribution_SpotInstancePools (74.39s)
--- PASS: TestAccAWSAutoScalingGroup_MixedInstancesPolicy_InstancesDistribution_SpotMaxPrice (49.26s)
--- PASS: TestAccAWSAutoScalingGroup_MixedInstancesPolicy_LaunchTemplate_LaunchTemplateSpecification_LaunchTemplateName (48.53s)
--- PASS: TestAccAWSAutoScalingGroup_MixedInstancesPolicy_LaunchTemplate_LaunchTemplateSpecification_Version (68.41s)
--- PASS: TestAccAWSAutoScalingGroup_MixedInstancesPolicy_LaunchTemplate_Override_InstanceType (73.56s)
--- PASS: TestAccAWSAutoScalingGroup_MixedInstancesPolicy_LaunchTemplate_Override_WeightedCapacity (142.65s)
--- PASS: TestAccAWSAutoScalingGroup_namePrefix (47.08s)
--- PASS: TestAccAWSAutoScalingGroup_serviceLinkedRoleARN (76.81s)
--- PASS: TestAccAWSAutoScalingGroup_suspendingProcesses (237.62s)
--- PASS: TestAccAWSAutoScalingGroup_tags (199.87s)
--- PASS: TestAccAWSAutoScalingGroup_TargetGroupArns (341.68s)
--- PASS: TestAccAWSAutoScalingGroup_terminationPolicies (114.77s)
--- PASS: TestAccAWSAutoScalingGroup_VpcUpdates (78.67s)
--- PASS: TestAccAWSAutoScalingGroup_WithLoadBalancer (642.03s)
--- PASS: TestAccAWSAutoScalingGroup_WithLoadBalancer_ToTargetGroup (320.77s)
--- PASS: TestAccAWSAutoScalingGroup_withMetrics (70.40s)
--- PASS: TestAccAWSAutoScalingGroup_withPlacementGroup (166.42s)
--- PASS: TestAccAWSLaunchTemplate_associatePublicIPAddress (26.93s)
--- PASS: TestAccAWSLaunchTemplate_basic (7.90s)
--- PASS: TestAccAWSLaunchTemplate_BlockDeviceMappings_EBS (43.93s)
--- PASS: TestAccAWSLaunchTemplate_BlockDeviceMappings_EBS_DeleteOnTermination (70.32s)
--- PASS: TestAccAWSLaunchTemplate_capacityReservation_preference (8.37s)
--- PASS: TestAccAWSLaunchTemplate_capacityReservation_target (10.16s)
--- PASS: TestAccAWSLaunchTemplate_cpuOptions (7.90s)
--- PASS: TestAccAWSLaunchTemplate_creditSpecification_nonBurstable (8.79s)
--- PASS: TestAccAWSLaunchTemplate_creditSpecification_t2 (8.45s)
--- PASS: TestAccAWSLaunchTemplate_creditSpecification_t3 (8.57s)
--- PASS: TestAccAWSLaunchTemplate_data (8.40s)
--- PASS: TestAccAWSLaunchTemplate_description (13.69s)
--- PASS: TestAccAWSLaunchTemplate_disappears (6.42s)
--- PASS: TestAccAWSLaunchTemplate_EbsOptimized (30.29s)
--- PASS: TestAccAWSLaunchTemplate_ElasticInferenceAccelerator (13.65s)
--- PASS: TestAccAWSLaunchTemplate_hibernation (18.80s)
--- PASS: TestAccAWSLaunchTemplate_IamInstanceProfile_EmptyConfigurationBlock (7.20s)
--- PASS: TestAccAWSLaunchTemplate_instanceMarketOptions (51.48s)
--- PASS: TestAccAWSLaunchTemplate_licenseSpecification (8.73s)
--- PASS: TestAccAWSLaunchTemplate_metadataOptions (8.15s)
--- PASS: TestAccAWSLaunchTemplate_networkInterface (12.63s)
--- PASS: TestAccAWSLaunchTemplate_networkInterface_ipv6AddressCount (8.55s)
--- PASS: TestAccAWSLaunchTemplate_networkInterface_ipv6Addresses (9.18s)
--- PASS: TestAccAWSLaunchTemplate_networkInterfaceAddresses (12.71s)
--- PASS: TestAccAWSLaunchTemplate_placement_partitionNum (14.94s)
--- PASS: TestAccAWSLaunchTemplate_tags (13.82s)
--- PASS: TestAccAWSLaunchTemplate_update (47.24s)
--- PASS: TestAccAWSLaunchTemplateDataSource_associatePublicIPAddress (26.16s)
--- PASS: TestAccAWSLaunchTemplateDataSource_basic (13.70s)
--- PASS: TestAccAWSLaunchTemplateDataSource_filter_basic (13.86s)
--- PASS: TestAccAWSLaunchTemplateDataSource_filter_tags (13.62s)
--- PASS: TestAccAWSLaunchTemplateDataSource_metadataOptions (13.55s)
```1 parent e488bec commit 9f2eb75
2 files changed
Lines changed: 89 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2061 | 2061 | | |
2062 | 2062 | | |
2063 | 2063 | | |
| 2064 | + | |
| 2065 | + | |
| 2066 | + | |
| 2067 | + | |
| 2068 | + | |
| 2069 | + | |
| 2070 | + | |
| 2071 | + | |
| 2072 | + | |
| 2073 | + | |
| 2074 | + | |
| 2075 | + | |
| 2076 | + | |
| 2077 | + | |
| 2078 | + | |
| 2079 | + | |
| 2080 | + | |
| 2081 | + | |
| 2082 | + | |
| 2083 | + | |
| 2084 | + | |
| 2085 | + | |
| 2086 | + | |
| 2087 | + | |
| 2088 | + | |
| 2089 | + | |
| 2090 | + | |
| 2091 | + | |
| 2092 | + | |
| 2093 | + | |
| 2094 | + | |
| 2095 | + | |
| 2096 | + | |
| 2097 | + | |
| 2098 | + | |
2064 | 2099 | | |
2065 | 2100 | | |
2066 | 2101 | | |
| |||
4035 | 4070 | | |
4036 | 4071 | | |
4037 | 4072 | | |
| 4073 | + | |
| 4074 | + | |
| 4075 | + | |
| 4076 | + | |
| 4077 | + | |
| 4078 | + | |
| 4079 | + | |
| 4080 | + | |
| 4081 | + | |
| 4082 | + | |
| 4083 | + | |
| 4084 | + | |
| 4085 | + | |
| 4086 | + | |
| 4087 | + | |
| 4088 | + | |
| 4089 | + | |
| 4090 | + | |
| 4091 | + | |
| 4092 | + | |
| 4093 | + | |
| 4094 | + | |
| 4095 | + | |
| 4096 | + | |
| 4097 | + | |
| 4098 | + | |
| 4099 | + | |
| 4100 | + | |
| 4101 | + | |
| 4102 | + | |
| 4103 | + | |
| 4104 | + | |
| 4105 | + | |
| 4106 | + | |
| 4107 | + | |
| 4108 | + | |
| 4109 | + | |
| 4110 | + | |
| 4111 | + | |
| 4112 | + | |
| 4113 | + | |
| 4114 | + | |
| 4115 | + | |
| 4116 | + | |
| 4117 | + | |
| 4118 | + | |
| 4119 | + | |
| 4120 | + | |
| 4121 | + | |
| 4122 | + | |
| 4123 | + | |
| 4124 | + | |
| 4125 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1706 | 1706 | | |
1707 | 1707 | | |
1708 | 1708 | | |
1709 | | - | |
| 1709 | + | |
1710 | 1710 | | |
1711 | 1711 | | |
1712 | 1712 | | |
| |||
0 commit comments