Skip to content

Commit

Permalink
Update AWS provider/module and generated content (#583)
Browse files Browse the repository at this point in the history
Co-authored-by: bendrucker <[email protected]>
  • Loading branch information
github-actions[bot] and bendrucker authored Dec 6, 2023
1 parent f7f2af6 commit a99388e
Show file tree
Hide file tree
Showing 14 changed files with 548 additions and 21 deletions.
516 changes: 516 additions & 0 deletions aws/mock/elasticache.go

Large diffs are not rendered by default.

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.5
github.com/aws/aws-sdk-go v1.48.11
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.5 h1:cp3inTx9trQNCNZV/Id5S5egpilBXKdF32uKtb1LszI=
github.com/aws/aws-sdk-go v1.48.5/go.mod h1:LF8svs817+Nz+DmiMQKTO3ubZ/6IaTpq3TjupRn3Eqk=
github.com/aws/aws-sdk-go v1.48.11 h1:9YbiSbaF/jWi+qLRl+J5dEhr2mcbDYHmKg2V7RBcD5M=
github.com/aws/aws-sdk-go v1.48.11/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 187 files
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ func NewAwsAppautoscalingPolicyInvalidScalableDimensionRule() *AwsAppautoscaling
"elasticache:replication-group:Replicas",
"neptune:cluster:ReadReplicaCount",
"sagemaker:variant:DesiredProvisionedConcurrency",
"sagemaker:inference-component:DesiredCopyCount",
},
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ func NewAwsAppautoscalingScheduledActionInvalidScalableDimensionRule() *AwsAppau
"elasticache:replication-group:Replicas",
"neptune:cluster:ReadReplicaCount",
"sagemaker:variant:DesiredProvisionedConcurrency",
"sagemaker:inference-component:DesiredCopyCount",
},
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ func NewAwsAppautoscalingTargetInvalidScalableDimensionRule() *AwsAppautoscaling
"elasticache:replication-group:Replicas",
"neptune:cluster:ReadReplicaCount",
"sagemaker:variant:DesiredProvisionedConcurrency",
"sagemaker:inference-component:DesiredCopyCount",
},
}
}
Expand Down
1 change: 1 addition & 0 deletions rules/models/aws_s3_bucket_object_invalid_storage_class.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ func NewAwsS3BucketObjectInvalidStorageClassRule() *AwsS3BucketObjectInvalidStor
"OUTPOSTS",
"GLACIER_IR",
"SNOW",
"EXPRESS_ONEZONE",
},
}
}
Expand Down
1 change: 1 addition & 0 deletions rules/models/aws_s3_object_copy_invalid_storage_class.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ func NewAwsS3ObjectCopyInvalidStorageClassRule() *AwsS3ObjectCopyInvalidStorageC
"OUTPOSTS",
"GLACIER_IR",
"SNOW",
"EXPRESS_ONEZONE",
},
}
}
Expand Down
2 changes: 2 additions & 0 deletions rules/models/aws_sagemaker_app_invalid_app_type.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ func NewAwsSagemakerAppInvalidAppTypeRule() *AwsSagemakerAppInvalidAppTypeRule {
"TensorBoard",
"RStudioServerPro",
"RSessionGateway",
"JupyterLab",
"CodeEditor",
},
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ func NewAwsSagemakerStudioLifecycleConfigInvalidStudioLifecycleConfigAppTypeRule
enum: []string{
"JupyterServer",
"KernelGateway",
"JupyterLab",
"CodeEditor",
},
}
}
Expand Down
2 changes: 2 additions & 0 deletions rules/tags/resources.go

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

32 changes: 16 additions & 16 deletions tools/provider-schema/.terraform.lock.hcl

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

2 changes: 1 addition & 1 deletion tools/provider-schema/schema.json

Large diffs are not rendered by default.

0 comments on commit a99388e

Please sign in to comment.