Commit 745bfb39 authored by Spencer Williams's avatar Spencer Williams
Browse files

linting

parent ad28ebf5
......@@ -6,7 +6,7 @@ Parameters:
Type: AWS::EC2::KeyPair::KeyName
InstanceType:
AllowedValues:
- t2.micro
- t2.micro
ConstraintDescription: must be a valid EC2 instance type.
Default: t2.micro
Description: WebServer EC2 instance type
......@@ -32,15 +32,15 @@ Resources:
Properties:
UserData: !Base64
Fn::Join:
- ''
- [IPAddress=, !Ref 'IPAddress']
- ''
- [IPAddress=, !Ref 'IPAddress']
InstanceType: !Ref 'InstanceType'
SecurityGroups: [!Ref 'InstanceSecurityGroup']
KeyName: !Ref 'KeyName'
ImageId: !FindInMap
- RegionMap
- !Ref 'AWS::Region'
- AMI
- RegionMap
- !Ref 'AWS::Region'
- AMI
UserData:
Fn::Base64:
Fn::Sub: |
......@@ -121,14 +121,14 @@ Outputs:
Description: IP address of the newly created EC2 instance
Value: !Ref 'IPAddress'
WebsiteURL:
Value: !GetAtt [S3Bucket, WebsiteURL]
Description: URL for website hosted on S3
Value: !GetAtt [S3Bucket, WebsiteURL]
Description: URL for website hosted on S3
S3BucketName:
Value: !Join ['', ['s3://', !Ref 'S3Bucket']]
Description: Name of S3 bucket to hold website content
StackId:
Description: StackId
Value: !Ref "AWS::StackId"
Description: StackId
Value: !Ref "AWS::StackId"
StackName:
Description: StackName
Value: !Ref "AWS::StackName"
\ No newline at end of file
Value: !Ref "AWS::StackName"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment