diff --git a/aws/cloudformation-template-ipsec.json b/aws/cloudformation-template-ipsec.json index ed5d266..95cc0c7 100644 --- a/aws/cloudformation-template-ipsec.json +++ b/aws/cloudformation-template-ipsec.json @@ -310,7 +310,6 @@ "Metadata": {}, "DependsOn": [ "VpnRouteTable", - "VpnServerVolume", "KeyPairCreation", "AMIInfoFunction", "VpnSecurityGroup", @@ -355,21 +354,6 @@ }, "Metadata": {} }, - "VpnServerVolume": { - "Type": "AWS::EC2::Volume", - "Properties": { - "AvailabilityZone": { - "Fn::Select": [ - "0", - { - "Fn::GetAZs": "" - } - ] - }, - "Size": 8 - }, - "Metadata": {} - }, "VpcInternetGateway": { "Type": "AWS::EC2::InternetGateway", "Properties": {}, @@ -378,7 +362,7 @@ "VpnVpc" ] }, - "EC2SRTA4VJU5": { + "SubnetRouteTableAssociation": { "Type": "AWS::EC2::SubnetRouteTableAssociation", "Properties": { "RouteTableId": { @@ -529,17 +513,6 @@ "Action": [ "sts:AssumeRole" ] - }, - { - "Effect": "Allow", - "Principal": { - "Service": [ - "ec2.amazonaws.com" - ] - }, - "Action": [ - "sts:AssumeRole" - ] } ] }, @@ -572,7 +545,7 @@ "Effect": "Allow", "Principal": { "Service": [ - "s3.amazonaws.com" + "ec2.amazonaws.com" ] }, "Action": [ @@ -590,7 +563,7 @@ "Statement": [ { "Effect": "Allow", - "Action": "s3:UploadObject", + "Action": "s3:PutObject", "Resource": [ { "Fn::Join": [ @@ -644,19 +617,6 @@ } }, "Metadata": {} - }, - "EC2VA41EUF": { - "Type": "AWS::EC2::VolumeAttachment", - "Properties": { - "Device": "/dev/sdh", - "VolumeId": { - "Ref": "VpnServerVolume" - }, - "InstanceId": { - "Ref": "VpnInstance" - } - }, - "Metadata": {} } }, "Parameters": { @@ -770,4 +730,4 @@ } } } -} \ No newline at end of file +}