-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmultiple-validation-errors.yaml
More file actions
32 lines (27 loc) · 940 Bytes
/
multiple-validation-errors.yaml
File metadata and controls
32 lines (27 loc) · 940 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
AWSTemplateFormatVersion: '2010-09-09'
Description: 'Template with multiple validation errors for testing enhanced error reporting'
Parameters:
Environment:
Type: String
Default: test
Resources:
InvalidParameter1:
Type: AWS::SSM::Parameter
Properties:
Name: !Sub "/${Environment}/validation-test/invalid1"
Type: InvalidType # Invalid type
Value: "test value"
InvalidParameter2:
Type: AWS::SSM::Parameter
Properties:
Name: !Sub "/${Environment}/validation-test/invalid2"
Type: String
Value: !Ref NonExistentResource # Reference to non-existent resource
InvalidBucket:
Type: AWS::S3::Bucket
Properties:
BucketName: "INVALID-BUCKET-NAME-WITH-UPPERCASE" # Invalid bucket name format
InvalidProperty: "This property doesn't exist" # Invalid property
Outputs:
InvalidOutput:
Value: !Ref AnotherNonExistentResource # Another invalid reference