Skip to content
This repository was archived by the owner on May 29, 2024. It is now read-only.

Commit 438adc9

Browse files
authored
Merge pull request #7 from stilvoid/master
Fix cfn template errors
2 parents 9b870c7 + ae9b962 commit 438adc9

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

templates/main.template

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
AWSTemplateFormatVersion: '2010-09-09'
22
Description: Workshop about AWS WAF and WAF Security Automations Solution (uksb-1q1gt3g5d)
33
Metadata:
4-
Version: '0.4'
4+
Version: '0.5'
55
AWS::CloudFormation::Interface:
66
ParameterGroups:
77
- Label:
@@ -93,4 +93,5 @@ Resources:
9393
TemplateURL: ./instance.template
9494
TimeoutInMinutes: 30
9595
Outputs:
96-
TheSiteUrl: !GetAtt TheInstanceStack.Outputs.TheSiteUrl
96+
TheSiteUrl:
97+
Value: !GetAtt TheInstanceStack.Outputs.TheSiteUrl

templates/network.template

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ Resources:
1717
Type: AWS::EC2::VPC
1818
Properties:
1919
CidrBlock: !Ref 'TheVpcRange'
20-
EnableDnsHostnames: 'True'
21-
EnableDnsSupport: 'True'
20+
EnableDnsHostnames: true
21+
EnableDnsSupport: true
2222
InstanceTenancy: default
2323
Tags:
2424
- Key: Name
@@ -31,7 +31,7 @@ Resources:
3131
- !GetAZs
3232
Ref: AWS::Region
3333
CidrBlock: !Ref 'TheSubnetRange'
34-
MapPublicIpOnLaunch: 'True'
34+
MapPublicIpOnLaunch: true
3535
Tags:
3636
- Key: Name
3737
Value: !Sub '${AWS::StackName}-SUBNET'
@@ -44,7 +44,7 @@ Resources:
4444
- !GetAZs
4545
Ref: AWS::Region
4646
CidrBlock: !Ref 'TheOtherSubnetRange'
47-
MapPublicIpOnLaunch: 'True'
47+
MapPublicIpOnLaunch: true
4848
Tags:
4949
- Key: Name
5050
Value: !Sub '${AWS::StackName}-OTHERSUBNET'

0 commit comments

Comments
 (0)