You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<!--- A clear and concise description of what the bug is -->
12
+
13
+
**To Reproduce**
14
+
15
+
<!--- Steps to reproduce the behavior -->
16
+
17
+
**Expected behavior**
18
+
19
+
<!--- A clear and concise description of what you expected to happen -->
20
+
21
+
**Please complete the following information about the solution:**
22
+
23
+
-[ ] Version: [e.g. v1.0.0]
24
+
25
+
To get the version of the solution, you can look at the description of the created CloudFormation stack. For example, "_(SO0009) - The AWS CloudFormation template for deployment of the aws-centralized-logging. Version v1.0.0_". You can also find the version from [releases](https://github.com/aws-solutions/aws-centralized-logging/releases)
26
+
27
+
-[ ] Region: [e.g. us-east-1]
28
+
-[ ] Was the solution modified from the version published on this repository?
29
+
-[ ] If the answer to the previous question was yes, are the changes available on GitHub?
30
+
-[ ] Provide the logs by enabling the debug mode in the hub template.
31
+
**Screenshots**
32
+
If applicable, add screenshots to help explain your problem (please **DO NOT include sensitive information**).
## NOTE THAT the region is appended to the DIST_BUCKET_NAME (DIST_BUCKET_NAME-REGION) when deployed, so creating a bucket with only Bucket_Name will not work.
53
57
```
54
58
59
+
change the working directory to the deployment folder
60
+
61
+
```
62
+
cd deployment
63
+
```
64
+
55
65
Run the build script.
56
66
57
67
```
@@ -82,60 +92,88 @@ Deploy the Workspaces Cost Optimizer solution to your account by launching a new
82
92
83
93
<pre>
84
94
|-deployment/
85
-
|-build-open-source-dist.sh
86
95
|-build-s3-dist.sh
87
96
|-run-unit-tests.sh
88
97
|-workspaces-cost-optimizer.template
98
+
|-workspaces-cost-optimizer-spoke.template
89
99
|-source/
90
-
|-ecs/
91
-
|-utils/
92
-
|-decimal_encoder.py
93
-
|-solutions_metrics.py
94
-
|-directory_reader.py
95
-
|-metrics_helper.py
96
-
|-workspaces_helper.py
97
-
|-app.py
98
-
|-tests/
99
-
|-test_metrics_helper.py
100
-
|-test_workspaces_helper.py
101
-
|-docker
100
+
|-account_registration_provider/
101
+
|__tests__/
102
+
|__init__.py
103
+
|-conftest.py
104
+
|-test_account_registration_provider.py
105
+
|__init__.py
106
+
|-account_registration_provider.py
107
+
|-docker/
102
108
|-docker-build.sh
103
109
|-docker-clean.sh
104
110
|-docker-run.sh
105
-
|-lambda/
106
-
|-create-task.py
107
-
|-uuid-helper.py
111
+
|-lib/
112
+
|__tests__/
113
+
|__init__.py
114
+
|-conftest.py
115
+
|-test_cfnresponse.py
116
+
|-cfnresponse.py
117
+
|-register_spoke_lambda/
118
+
|__tests__/
119
+
|__init__.py
120
+
|-conftest.py
121
+
|-test_dynamodb.py
122
+
|-test_register_spoke_accounts.py
123
+
|-test_request_event.py
124
+
|__init__.py
125
+
|-dynamo_table.py
126
+
|-register_spoke_accounts.py
127
+
|-request_event.py
128
+
|-uuid_helper/
129
+
|__tests__/
130
+
|__init__.py
131
+
|-conftest.py
132
+
|-test_uuid_helper.py
133
+
|__init__.py
134
+
|-uuid_helper.py
135
+
|-workspaces_app/
136
+
|-workspaces_app/
137
+
|__tests__/
138
+
|__init__.py
139
+
|-conftest.py
140
+
|-test_account_registry.py
141
+
|-test_directory_reader.py
142
+
|-test_metrics_helper.py
143
+
|-test_workspaces_helper.py
144
+
|-utils/
145
+
|__tests__/
146
+
|__init__.py
147
+
|-conftest.py
148
+
|-test_s3_utils.py
149
+
|-test_timer.py
150
+
|__init__.py
151
+
|-decimal_encoder.py
152
+
|-s3_utils.py
153
+
|-solutions_metrics.py
154
+
|-timer.py
155
+
|-directory_reader.py
156
+
|-metrics_helper.py
157
+
|-workspaces_helper.py
158
+
|-main.py
108
159
|-requirements.txt
109
160
|-testing_requirements.txt
110
161
|-architecture_diagram.png
111
162
|-Dockerfile
112
163
|-.gitignore
113
-
|-.viperlightignore
114
-
|-.viperlightrc
115
164
|-buildspec.yml
116
165
|-CHANGELOG.md
117
166
|-CODE_OF_CONDUCT.md
118
167
|-CONTRIBUTING.md
119
168
|-LICENSE.txt
120
169
|-NOTICE.txt
121
170
|-README.md
171
+
|-sonar-project.properties
122
172
</pre>
123
173
124
174
125
175
################################################
126
176
127
-
-------------
128
-
## Optimization Engine
129
-
130
-
- source/engine/wco.py - depends on source/engine/lib/directory_reader.py
131
-
- source/engine/lib/directory_reader.py depends on workspaces_helper
132
-
- source/engine/lib/workspaces_helper.py depends on metrics_helper
0 commit comments