Skip to content

Commit 2d4123e

Browse files
Update AWS provider/module and generated content (#660)
Co-authored-by: wata727 <[email protected]>
1 parent dba9a43 commit 2d4123e

13 files changed

+44
-24
lines changed

rules/models/aws-sdk-ruby

Submodule aws-sdk-ruby updated 3208 files

rules/models/aws_codebuild_source_credential_invalid_auth_type.go

+1
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ func NewAwsCodebuildSourceCredentialInvalidAuthTypeRule() *AwsCodebuildSourceCre
2929
"BASIC_AUTH",
3030
"PERSONAL_ACCESS_TOKEN",
3131
"CODECONNECTIONS",
32+
"SECRETS_MANAGER",
3233
},
3334
}
3435
}

rules/models/aws_devicefarm_device_pool_invalid_project_arn.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ func NewAwsDevicefarmDevicePoolInvalidProjectArnRule() *AwsDevicefarmDevicePoolI
2929
attributeName: "project_arn",
3030
max: 1011,
3131
min: 32,
32-
pattern: regexp.MustCompile(`^arn:.+`),
32+
pattern: regexp.MustCompile(`^arn:aws:devicefarm:.+`),
3333
}
3434
}
3535

@@ -90,7 +90,7 @@ func (r *AwsDevicefarmDevicePoolInvalidProjectArnRule) Check(runner tflint.Runne
9090
if !r.pattern.MatchString(val) {
9191
runner.EmitIssue(
9292
r,
93-
fmt.Sprintf(`"%s" does not match valid pattern %s`, truncateLongMessage(val), `^arn:.+`),
93+
fmt.Sprintf(`"%s" does not match valid pattern %s`, truncateLongMessage(val), `^arn:aws:devicefarm:.+`),
9494
attribute.Expr.Range(),
9595
)
9696
}

rules/models/aws_devicefarm_network_profile_invalid_project_arn.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ func NewAwsDevicefarmNetworkProfileInvalidProjectArnRule() *AwsDevicefarmNetwork
2929
attributeName: "project_arn",
3030
max: 1011,
3131
min: 32,
32-
pattern: regexp.MustCompile(`^arn:.+`),
32+
pattern: regexp.MustCompile(`^arn:aws:devicefarm:.+`),
3333
}
3434
}
3535

@@ -90,7 +90,7 @@ func (r *AwsDevicefarmNetworkProfileInvalidProjectArnRule) Check(runner tflint.R
9090
if !r.pattern.MatchString(val) {
9191
runner.EmitIssue(
9292
r,
93-
fmt.Sprintf(`"%s" does not match valid pattern %s`, truncateLongMessage(val), `^arn:.+`),
93+
fmt.Sprintf(`"%s" does not match valid pattern %s`, truncateLongMessage(val), `^arn:aws:devicefarm:.+`),
9494
attribute.Expr.Range(),
9595
)
9696
}

rules/models/aws_devicefarm_upload_invalid_project_arn.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ func NewAwsDevicefarmUploadInvalidProjectArnRule() *AwsDevicefarmUploadInvalidPr
2929
attributeName: "project_arn",
3030
max: 1011,
3131
min: 32,
32-
pattern: regexp.MustCompile(`^arn:.+`),
32+
pattern: regexp.MustCompile(`^arn:aws:devicefarm:.+`),
3333
}
3434
}
3535

@@ -90,7 +90,7 @@ func (r *AwsDevicefarmUploadInvalidProjectArnRule) Check(runner tflint.Runner) e
9090
if !r.pattern.MatchString(val) {
9191
runner.EmitIssue(
9292
r,
93-
fmt.Sprintf(`"%s" does not match valid pattern %s`, truncateLongMessage(val), `^arn:.+`),
93+
fmt.Sprintf(`"%s" does not match valid pattern %s`, truncateLongMessage(val), `^arn:aws:devicefarm:.+`),
9494
attribute.Expr.Range(),
9595
)
9696
}

rules/models/aws_eks_node_group_invalid_ami_type.go

+2
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ func NewAwsEksNodeGroupInvalidAMITypeRule() *AwsEksNodeGroupInvalidAMITypeRule {
3939
"WINDOWS_FULL_2022_x86_64",
4040
"AL2023_x86_64_STANDARD",
4141
"AL2023_ARM_64_STANDARD",
42+
"AL2023_x86_64_NEURON",
43+
"AL2023_x86_64_NVIDIA",
4244
},
4345
}
4446
}

rules/models/aws_glue_connection_invalid_connection_type.go

+2
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ func NewAwsGlueConnectionInvalidConnectionTypeRule() *AwsGlueConnectionInvalidCo
3333
"MARKETPLACE",
3434
"CUSTOM",
3535
"SALESFORCE",
36+
"VIEW_VALIDATION_REDSHIFT",
37+
"VIEW_VALIDATION_ATHENA",
3638
},
3739
}
3840
}

rules/models/aws_kinesisanalyticsv2_application_invalid_runtime_environment.go

+1
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ func NewAwsKinesisanalyticsv2ApplicationInvalidRuntimeEnvironmentRule() *AwsKine
3636
"ZEPPELIN-FLINK-3_0",
3737
"FLINK-1_18",
3838
"FLINK-1_19",
39+
"FLINK-1_20",
3940
},
4041
}
4142
}

rules/models/aws_route53_health_check_invalid_cloudwatch_alarm_region.go

+1
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ func NewAwsRoute53HealthCheckInvalidCloudwatchAlarmRegionRule() *AwsRoute53Healt
6565
"ap-southeast-4",
6666
"il-central-1",
6767
"ca-west-1",
68+
"ap-southeast-5",
6869
},
6970
}
7071
}

rules/models/aws_route53_zone_association_invalid_vpc_region.go

+1
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ func NewAwsRoute53ZoneAssociationInvalidVpcRegionRule() *AwsRoute53ZoneAssociati
6464
"ap-southeast-4",
6565
"il-central-1",
6666
"ca-west-1",
67+
"ap-southeast-5",
6768
},
6869
}
6970
}

rules/tags/resources.go

+12
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tools/provider-schema/.terraform.lock.hcl

+16-16
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tools/provider-schema/schema.json

+1-1
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)