Skip to content

Commit b6dc90d

Browse files
Update AWS provider/module and generated content (#490)
Co-authored-by: bendrucker <[email protected]>
1 parent 47bea0a commit b6dc90d

15 files changed

+83
-21
lines changed

aws/mock/ec2.go

Lines changed: 33 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ go 1.20
44

55
require (
66
github.com/agext/levenshtein v1.2.2 // indirect
7-
github.com/aws/aws-sdk-go v1.44.255
7+
github.com/aws/aws-sdk-go v1.44.262
88
github.com/dave/dst v0.27.2
99
github.com/fatih/color v1.13.0 // indirect
1010
github.com/golang/mock v1.6.0

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ github.com/agext/levenshtein v1.2.2/go.mod h1:JEDfjyjHDjOF/1e4FlBE/PkbqA9OfWu2ki
33
github.com/apparentlymart/go-textseg/v13 v13.0.0 h1:Y+KvPE1NYz0xl601PVImeQfFyEy6iT90AvPUL1NNfNw=
44
github.com/apparentlymart/go-textseg/v13 v13.0.0/go.mod h1:ZK2fH7c4NqDTLtiYLvIkEghdlcqw7yxLeM89kiTRPUo=
55
github.com/aws/aws-sdk-go v1.31.9/go.mod h1:5zCpMtNQVjRREroY7sYe8lOMRSxkhG6MZveU8YkpAk0=
6-
github.com/aws/aws-sdk-go v1.44.255 h1:tOd7OP5V6BeHhANksc7CFB/ILS2mHj3kRhTfZKFnsS0=
7-
github.com/aws/aws-sdk-go v1.44.255/go.mod h1:aVsgQcEevwlmQ7qHE9I3h+dtQgpqhFB+i8Phjh7fkwI=
6+
github.com/aws/aws-sdk-go v1.44.262 h1:gyXpcJptWoNkK+DiAiaBltlreoWKQXjAIh6FRh60F+I=
7+
github.com/aws/aws-sdk-go v1.44.262/go.mod h1:aVsgQcEevwlmQ7qHE9I3h+dtQgpqhFB+i8Phjh7fkwI=
88
github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E=
99
github.com/dave/dst v0.27.2 h1:4Y5VFTkhGLC1oddtNwuxxe36pnyLxMFXT51FOzH8Ekc=
1010
github.com/dave/dst v0.27.2/go.mod h1:jHh6EOibnHgcUW3WjKHisiooEkYwqpHLBSX1iOBhEyc=

rules/models/aws-sdk-go

Submodule aws-sdk-go updated 160 files

rules/models/aws_appautoscaling_policy_invalid_scalable_dimension.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ func NewAwsAppautoscalingPolicyInvalidScalableDimensionRule() *AwsAppautoscaling
4545
"elasticache:replication-group:NodeGroups",
4646
"elasticache:replication-group:Replicas",
4747
"neptune:cluster:ReadReplicaCount",
48+
"sagemaker:variant:DesiredProvisionedConcurrency",
4849
},
4950
}
5051
}

rules/models/aws_appautoscaling_scheduled_action_invalid_scalable_dimension.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ func NewAwsAppautoscalingScheduledActionInvalidScalableDimensionRule() *AwsAppau
4545
"elasticache:replication-group:NodeGroups",
4646
"elasticache:replication-group:Replicas",
4747
"neptune:cluster:ReadReplicaCount",
48+
"sagemaker:variant:DesiredProvisionedConcurrency",
4849
},
4950
}
5051
}

rules/models/aws_appautoscaling_target_invalid_scalable_dimension.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ func NewAwsAppautoscalingTargetInvalidScalableDimensionRule() *AwsAppautoscaling
4545
"elasticache:replication-group:NodeGroups",
4646
"elasticache:replication-group:Replicas",
4747
"neptune:cluster:ReadReplicaCount",
48+
"sagemaker:variant:DesiredProvisionedConcurrency",
4849
},
4950
}
5051
}

rules/models/aws_glue_dev_endpoint_invalid_worker_type.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ func NewAwsGlueDevEndpointInvalidWorkerTypeRule() *AwsGlueDevEndpointInvalidWork
2929
"G.1X",
3030
"G.2X",
3131
"G.025X",
32+
"G.4X",
33+
"G.8X",
3234
},
3335
}
3436
}

rules/models/aws_glue_ml_transform_invalid_worker_type.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ func NewAwsGlueMlTransformInvalidWorkerTypeRule() *AwsGlueMlTransformInvalidWork
2929
"G.1X",
3030
"G.2X",
3131
"G.025X",
32+
"G.4X",
33+
"G.8X",
3234
},
3335
}
3436
}

rules/models/aws_instance_invalid_type.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -668,6 +668,11 @@ func NewAwsInstanceInvalidTypeRule() *AwsInstanceInvalidTypeRule {
668668
"m6idn.metal",
669669
"r6in.metal",
670670
"r6idn.metal",
671+
"inf2.xlarge",
672+
"inf2.8xlarge",
673+
"inf2.24xlarge",
674+
"inf2.48xlarge",
675+
"trn1n.32xlarge",
671676
},
672677
}
673678
}

0 commit comments

Comments
 (0)