File tree 2 files changed +17
-6
lines changed
2 files changed +17
-6
lines changed Original file line number Diff line number Diff line change 1
1
repos :
2
2
- repo : https://github.com/antonbabenko/pre-commit-terraform
3
- rev : v1.88.1
3
+ rev : v1.88.4
4
4
hooks :
5
5
- id : terraform_fmt
6
6
- id : terraform_wrapper_module_for_each
25
25
- ' --args=--only=terraform_unused_required_providers'
26
26
- id : terraform_validate
27
27
- repo : https://github.com/pre-commit/pre-commit-hooks
28
- rev : v4.5 .0
28
+ rev : v4.6 .0
29
29
hooks :
30
30
- id : check-merge-conflict
31
31
- id : end-of-file-fixer
Original file line number Diff line number Diff line change @@ -121,6 +121,12 @@ module "ecs_service" {
121
121
}
122
122
}
123
123
124
+ # Not required for fluent-bit, just an example
125
+ volumes_from = [{
126
+ sourceContainer = " fluent-bit"
127
+ readOnly = false
128
+ }]
129
+
124
130
memory_reservation = 100
125
131
}
126
132
}
@@ -179,15 +185,19 @@ module "ecs_task_definition" {
179
185
source = " ../../modules/service"
180
186
181
187
# Service
182
- name = " ${ local . name } -standalone"
183
- cluster_arn = module. ecs_cluster . arn
184
- create_service = false
188
+ name = " ${ local . name } -standalone"
189
+ cluster_arn = module. ecs_cluster . arn
185
190
186
191
# Task Definition
187
192
volume = {
188
193
ex-vol = {}
189
194
}
190
195
196
+ runtime_platform = {
197
+ cpu_architecture = " ARM64"
198
+ operating_system_family = " LINUX"
199
+ }
200
+
191
201
# Container definition(s)
192
202
container_definitions = {
193
203
al2023 = {
@@ -200,7 +210,8 @@ module "ecs_task_definition" {
200
210
}
201
211
]
202
212
203
- command = [" /usr/bin/cat" , " /etc/os-release" ]
213
+ command = [" echo hello world" ]
214
+ entrypoint = [" /usr/bin/sh" , " -c" ]
204
215
}
205
216
}
206
217
You can’t perform that action at this time.
0 commit comments