Created
October 21, 2020 22:37
-
-
Save fernandostc/1ebf5ba36f1885d681605581ebbc6507 to your computer and use it in GitHub Desktop.
Bad_CFT.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Resources: | |
Ec2Instance: | |
Type: 'AWS::EC2::Instance' | |
Properties: | |
SecurityGroups: | |
- !Ref InstanceSecurityGroup | |
KeyName: ec2-keypair | |
ImageId: ami-0ff8a91507f77f867 | |
Tags: | |
- | |
Key: "Environment" | |
Value: "TestFernando" | |
InstanceSecurityGroup: | |
Type: 'AWS::EC2::SecurityGroup' | |
Properties: | |
GroupDescription: Enable SSH access via port 22 test | |
SecurityGroupIngress: | |
- IpProtocol: tcp | |
FromPort: 22 | |
ToPort: 22 | |
CidrIp: 0.0.0.0/0 | |
Tags: | |
- | |
Key: "Environment" | |
Value: "TestFernando" | |
S3Bucket: | |
Type: AWS::S3::Bucket | |
Properties: | |
BucketName: test-fernando-s3-bucket | |
Tags: | |
- | |
Key: "Environment" | |
Value: "TestFernando" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment