Skip to content

Commit

Permalink
Update AWS provider/module and generated content
Browse files Browse the repository at this point in the history
  • Loading branch information
wata727 committed Jan 8, 2024
1 parent 7154248 commit 1a2d64b
Show file tree
Hide file tree
Showing 19 changed files with 333 additions and 26 deletions.
233 changes: 233 additions & 0 deletions aws/mock/rds.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.21.1

require (
github.com/agext/levenshtein v1.2.2 // indirect
github.com/aws/aws-sdk-go v1.48.13
github.com/aws/aws-sdk-go v1.49.16
github.com/dave/dst v0.27.3
github.com/fatih/color v1.13.0 // indirect
github.com/golang/mock v1.6.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ github.com/agext/levenshtein v1.2.2/go.mod h1:JEDfjyjHDjOF/1e4FlBE/PkbqA9OfWu2ki
github.com/apparentlymart/go-textseg/v15 v15.0.0 h1:uYvfpb3DyLSCGWnctWKGj857c6ew1u1fNQOlOtuGxQY=
github.com/apparentlymart/go-textseg/v15 v15.0.0/go.mod h1:K8XmNZdhEBkdlyDdvbmmsvpAG721bKi0joRfFdHIWJ4=
github.com/aws/aws-sdk-go v1.31.9/go.mod h1:5zCpMtNQVjRREroY7sYe8lOMRSxkhG6MZveU8YkpAk0=
github.com/aws/aws-sdk-go v1.48.13 h1:6N4GTme6MpxfCisWf5pql8k3TBORiKTmbeutZCDXlG8=
github.com/aws/aws-sdk-go v1.48.13/go.mod h1:LF8svs817+Nz+DmiMQKTO3ubZ/6IaTpq3TjupRn3Eqk=
github.com/aws/aws-sdk-go v1.49.16 h1:KAQwhLg296hfffRdh+itA9p7Nx/3cXS/qOa3uF9ssig=
github.com/aws/aws-sdk-go v1.49.16/go.mod h1:LF8svs817+Nz+DmiMQKTO3ubZ/6IaTpq3TjupRn3Eqk=
github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E=
github.com/dave/dst v0.27.3 h1:P1HPoMza3cMEquVf9kKy8yXsFirry4zEnWOdYPOoIzY=
github.com/dave/dst v0.27.3/go.mod h1:jHh6EOibnHgcUW3WjKHisiooEkYwqpHLBSX1iOBhEyc=
Expand Down
2 changes: 1 addition & 1 deletion rules/models/aws-sdk-go
Submodule aws-sdk-go updated 264 files
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ func NewAwsCodestarconnectionsConnectionInvalidProviderTypeRule() *AwsCodestarco
"GitHub",
"GitHubEnterpriseServer",
"GitLab",
"GitLabSelfManaged",
},
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ func NewAwsCodestarconnectionsHostInvalidProviderTypeRule() *AwsCodestarconnecti
"GitHub",
"GitHubEnterpriseServer",
"GitLab",
"GitLabSelfManaged",
},
}
}
Expand Down
9 changes: 9 additions & 0 deletions rules/models/aws_instance_invalid_type.go
Original file line number Diff line number Diff line change
Expand Up @@ -797,6 +797,15 @@ func NewAwsInstanceInvalidTypeRule() *AwsInstanceInvalidTypeRule {
"r7i.24xlarge",
"r7i.48xlarge",
"dl2q.24xlarge",
"mac2-m2.metal",
"i4i.12xlarge",
"i4i.24xlarge",
"c7i.metal-24xl",
"c7i.metal-48xl",
"m7i.metal-24xl",
"m7i.metal-48xl",
"r7i.metal-24xl",
"r7i.metal-48xl",
},
}
}
Expand Down
9 changes: 9 additions & 0 deletions rules/models/aws_launch_configuration_invalid_type.go
Original file line number Diff line number Diff line change
Expand Up @@ -797,6 +797,15 @@ func NewAwsLaunchConfigurationInvalidTypeRule() *AwsLaunchConfigurationInvalidTy
"r7i.24xlarge",
"r7i.48xlarge",
"dl2q.24xlarge",
"mac2-m2.metal",
"i4i.12xlarge",
"i4i.24xlarge",
"c7i.metal-24xl",
"c7i.metal-48xl",
"m7i.metal-24xl",
"m7i.metal-48xl",
"r7i.metal-24xl",
"r7i.metal-48xl",
},
}
}
Expand Down
9 changes: 9 additions & 0 deletions rules/models/aws_launch_template_invalid_instance_type.go
Original file line number Diff line number Diff line change
Expand Up @@ -797,6 +797,15 @@ func NewAwsLaunchTemplateInvalidInstanceTypeRule() *AwsLaunchTemplateInvalidInst
"r7i.24xlarge",
"r7i.48xlarge",
"dl2q.24xlarge",
"mac2-m2.metal",
"i4i.12xlarge",
"i4i.24xlarge",
"c7i.metal-24xl",
"c7i.metal-48xl",
"m7i.metal-24xl",
"m7i.metal-48xl",
"r7i.metal-24xl",
"r7i.metal-48xl",
},
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ func NewAwsRoute53HealthCheckInvalidCloudwatchAlarmRegionRule() *AwsRoute53Healt
"us-isob-east-1",
"ap-southeast-4",
"il-central-1",
"ca-west-1",
},
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ func NewAwsRoute53ZoneAssociationInvalidVpcRegionRule() *AwsRoute53ZoneAssociati
"eu-south-2",
"ap-southeast-4",
"il-central-1",
"ca-west-1",
},
}
}
Expand Down
12 changes: 10 additions & 2 deletions rules/models/aws_sagemaker_app_invalid_app_type.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,19 @@ func NewAwsSagemakerAppInvalidAppTypeRule() *AwsSagemakerAppInvalidAppTypeRule {
enum: []string{
"JupyterServer",
"KernelGateway",
"DetailedProfiler",
"TensorBoard",
"VSCode",
"Savitur",
"CodeEditor",
"JupyterLab",
"RStudioServerPro",
"RSession",
"RSessionGateway",
"JupyterLab",
"CodeEditor",
"Canvas",
"DatasetManager",
"SageMakerLite",
"Local",
},
}
}
Expand Down

0 comments on commit 1a2d64b

Please sign in to comment.