@@ -21,34 +21,10 @@ Resources:
2121 ApplicationName : !Ref application
2222 EnvironmentName : BETA
2323 OptionSettings :
24- - Namespace : aws:elasticbeanstalk:application:environment
25- OptionName : AWS_REGION
26- Value : !Ref AWS::Region
27- - Namespace : aws:elasticbeanstalk:application:environment
28- OptionName : NOTIFICATION_TOPIC
29- Value : !Ref notificationTopic
30- - Namespace : aws:elasticbeanstalk:application:environment
31- OptionName : NOTIFICATION_EMAIL
32- Value : !Ref emailAddress
33- - Namespace : aws:elasticbeanstalk:application:environment
34- OptionName : USER_TABLE
35- Value : !Ref userTable
36- - Namespace : aws:elasticbeanstalk:application:environment
37- OptionName : SESSION_TABLE
38- Value : !Ref sessionTable
39- - Namespace : aws:elasticbeanstalk:application:environment
40- OptionName : GAME_TABLE
41- Value : !Ref gameTable
42- - Namespace : aws:elasticbeanstalk:application:environment
43- OptionName : MOVE_TABLE
44- Value : !Ref moveTable
45- - Namespace : aws:elasticbeanstalk:application:environment
46- OptionName : STATE_TABLE
47- Value : !Ref stateTable
4824 - Namespace : aws:autoscaling:launchconfiguration
4925 OptionName : IamInstanceProfile
5026 Value : !Ref instanceProfile
51- PlatformArn : arn:aws:elasticbeanstalk:::platform/Java 8 running on 64bit Amazon Linux
27+ PlatformArn : arn:aws:elasticbeanstalk:::platform/Corretto 8 running on 64bit Amazon Linux 2
5228 VersionLabel : !Ref version
5329 instanceProfile :
5430 Type : AWS::IAM::InstanceProfile
@@ -99,77 +75,6 @@ Resources:
9975 Effect : Allow
10076 Resource : ' *'
10177 Path : /
102- notificationTopic :
103- Type : AWS::SNS::Topic
104- userTable :
105- Type : AWS::DynamoDB::Table
106- Properties :
107- KeySchema :
108- HashKeyElement : {AttributeName: id, AttributeType: S}
109- ProvisionedThroughput : {ReadCapacityUnits: 2, WriteCapacityUnits: 2}
110- sessionTable :
111- Type : AWS::DynamoDB::Table
112- Properties :
113- KeySchema :
114- HashKeyElement : {AttributeName: id, AttributeType: S}
115- ProvisionedThroughput : {ReadCapacityUnits: 2, WriteCapacityUnits: 2}
116- gameTable :
117- Type : AWS::DynamoDB::Table
118- Properties :
119- AttributeDefinitions :
120- - AttributeName : " id"
121- AttributeType : " S"
122- - AttributeName : " session"
123- AttributeType : " S"
124- KeySchema :
125- - AttributeName : " id"
126- KeyType : " HASH"
127- GlobalSecondaryIndexes :
128- - IndexName : " session-index"
129- KeySchema :
130- - AttributeName : " session"
131- KeyType : " HASH"
132- ProvisionedThroughput : {ReadCapacityUnits: 2, WriteCapacityUnits: 2}
133- Projection : { ProjectionType: ALL }
134- ProvisionedThroughput : {ReadCapacityUnits: 2, WriteCapacityUnits: 2}
135- moveTable :
136- Type : AWS::DynamoDB::Table
137- Properties :
138- AttributeDefinitions :
139- - AttributeName : " id"
140- AttributeType : " S"
141- - AttributeName : " game"
142- AttributeType : " S"
143- KeySchema :
144- - AttributeName : " id"
145- KeyType : " HASH"
146- GlobalSecondaryIndexes :
147- - IndexName : " game-index"
148- KeySchema :
149- - AttributeName : " game"
150- KeyType : " HASH"
151- ProvisionedThroughput : {ReadCapacityUnits: 2, WriteCapacityUnits: 2}
152- Projection : { ProjectionType: ALL }
153- ProvisionedThroughput : {ReadCapacityUnits: 2, WriteCapacityUnits: 2}
154- stateTable :
155- Type : AWS::DynamoDB::Table
156- Properties :
157- AttributeDefinitions :
158- - AttributeName : " id"
159- AttributeType : " S"
160- - AttributeName : " game"
161- AttributeType : " S"
162- KeySchema :
163- - AttributeName : " id"
164- KeyType : " HASH"
165- GlobalSecondaryIndexes :
166- - IndexName : " game-index"
167- KeySchema :
168- - AttributeName : " game"
169- KeyType : " HASH"
170- ProvisionedThroughput : {ReadCapacityUnits: 2, WriteCapacityUnits: 2}
171- Projection : { ProjectionType: ALL }
172- ProvisionedThroughput : {ReadCapacityUnits: 2, WriteCapacityUnits: 2}
17378Outputs :
17479 endpoint :
17580 Description : Website URL
0 commit comments