Skip to content

Commit fc3a7ac

Browse files
committed
sort order
1 parent c972239 commit fc3a7ac

File tree

204 files changed

+3922
-3914
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

204 files changed

+3922
-3914
lines changed

rules/models/aws_acmpca_certificate_invalid_signing_algorithm.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,13 @@ func NewAwsAcmpcaCertificateInvalidSigningAlgorithmRule() *AwsAcmpcaCertificateI
2525
resourceType: "aws_acmpca_certificate",
2626
attributeName: "signing_algorithm",
2727
enum: []string{
28-
"SHA384WITHECDSA",
29-
"SHA512WITHECDSA",
28+
"SHA256WITHECDSA",
3029
"SHA256WITHRSA",
30+
"SHA384WITHECDSA",
3131
"SHA384WITHRSA",
32+
"SHA512WITHECDSA",
3233
"SHA512WITHRSA",
3334
"SM3WITHSM2",
34-
"SHA256WITHECDSA",
3535
},
3636
}
3737
}

rules/models/aws_alb_invalid_ip_address_type.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ func NewAwsALBInvalidIPAddressTypeRule() *AwsALBInvalidIPAddressTypeRule {
2525
resourceType: "aws_alb",
2626
attributeName: "ip_address_type",
2727
enum: []string{
28-
"ipv4",
2928
"dualstack",
3029
"dualstack-without-public-ipv4",
30+
"ipv4",
3131
},
3232
}
3333
}

rules/models/aws_alb_invalid_load_balancer_type.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ func NewAwsALBInvalidLoadBalancerTypeRule() *AwsALBInvalidLoadBalancerTypeRule {
2626
attributeName: "load_balancer_type",
2727
enum: []string{
2828
"application",
29-
"network",
3029
"gateway",
30+
"network",
3131
},
3232
}
3333
}

rules/models/aws_alb_listener_invalid_protocol.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,13 @@ func NewAwsALBListenerInvalidProtocolRule() *AwsALBListenerInvalidProtocolRule {
2525
resourceType: "aws_alb_listener",
2626
attributeName: "protocol",
2727
enum: []string{
28+
"GENEVE",
2829
"HTTP",
2930
"HTTPS",
3031
"TCP",
32+
"TCP_UDP",
3133
"TLS",
3234
"UDP",
33-
"TCP_UDP",
34-
"GENEVE",
3535
},
3636
}
3737
}

rules/models/aws_alb_target_group_invalid_protocol.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ func NewAwsALBTargetGroupInvalidProtocolRule() *AwsALBTargetGroupInvalidProtocol
2525
resourceType: "aws_alb_target_group",
2626
attributeName: "protocol",
2727
enum: []string{
28-
"TCP_UDP",
2928
"GENEVE",
3029
"HTTP",
3130
"HTTPS",
3231
"TCP",
32+
"TCP_UDP",
3333
"TLS",
3434
"UDP",
3535
},

rules/models/aws_alb_target_group_invalid_target_type.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ func NewAwsALBTargetGroupInvalidTargetTypeRule() *AwsALBTargetGroupInvalidTarget
2525
resourceType: "aws_alb_target_group",
2626
attributeName: "target_type",
2727
enum: []string{
28+
"alb",
2829
"instance",
2930
"ip",
3031
"lambda",
31-
"alb",
3232
},
3333
}
3434
}

rules/models/aws_ami_invalid_architecture.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ func NewAwsAMIInvalidArchitectureRule() *AwsAMIInvalidArchitectureRule {
2525
resourceType: "aws_ami",
2626
attributeName: "architecture",
2727
enum: []string{
28+
"arm64",
29+
"arm64_mac",
2830
"i386",
2931
"x86_64",
30-
"arm64",
3132
"x86_64_mac",
32-
"arm64_mac",
3333
},
3434
}
3535
}

rules/models/aws_amplify_app_invalid_platform.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ func NewAwsAmplifyAppInvalidPlatformRule() *AwsAmplifyAppInvalidPlatformRule {
2626
attributeName: "platform",
2727
enum: []string{
2828
"WEB",
29-
"WEB_DYNAMIC",
3029
"WEB_COMPUTE",
30+
"WEB_DYNAMIC",
3131
},
3232
}
3333
}

rules/models/aws_amplify_branch_invalid_stage.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ func NewAwsAmplifyBranchInvalidStageRule() *AwsAmplifyBranchInvalidStageRule {
2525
resourceType: "aws_amplify_branch",
2626
attributeName: "stage",
2727
enum: []string{
28-
"PRODUCTION",
2928
"BETA",
3029
"DEVELOPMENT",
3130
"EXPERIMENTAL",
31+
"PRODUCTION",
3232
"PULL_REQUEST",
3333
},
3434
}

rules/models/aws_api_gateway_authorizer_invalid_type.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ func NewAwsAPIGatewayAuthorizerInvalidTypeRule() *AwsAPIGatewayAuthorizerInvalid
2525
resourceType: "aws_api_gateway_authorizer",
2626
attributeName: "type",
2727
enum: []string{
28-
"TOKEN",
29-
"REQUEST",
3028
"COGNITO_USER_POOLS",
29+
"REQUEST",
30+
"TOKEN",
3131
},
3232
}
3333
}

0 commit comments

Comments
 (0)