Nicolas De Loof
2544307f55
drop GetEcsTaskExecutionRole which is not in used anymore
...
We need to define a way for compose-user to declare additional Policies
to be added to TaskExecutionRole
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-08-17 21:25:45 +02:00
Nicolas De Loof
3e30f2cd1a
Create CloudWatch LogGroup and IAM TaskExecutionRole
...
As part of the CloudFormation template, create a LogGroup and configure
task with awslogs log-driver. Also create a dedicated IAM Role, with
AmazonECSTaskExecutionRolePolicy. This one will later be fine-tuned to
grant access to secrets/config and other AWS resources according to
custom extensions
close #42
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-08-17 21:25:45 +02:00
aiordache
4a6fec63d2
yet another rebase
...
Signed-off-by: aiordache <anca.iordache@docker.com>
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-08-17 21:25:41 +02:00
aiordache
cec44fbb7b
move to sdk
...
Signed-off-by: aiordache <anca.iordache@docker.com>
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-08-17 21:25:41 +02:00
Nicolas De Loof
b6be4a0ac3
Use `WithContext` SDK APIs so we can implement cancelation
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-08-17 21:25:40 +02:00
Nicolas De Loof
4642bfa172
Fix linter warnings
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-08-17 21:25:39 +02:00
Nicolas De Loof
4138dcfb5a
Split API interface by required SDK func per command
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-04-28 10:59:00 +02:00
Nicolas De Loof
3d8d982d4a
format
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-04-28 10:59:00 +02:00
Nicolas De Loof
8c0fee5abf
Define amazon.API as a simplified and currated interface over AWS SDK
...
This makes code simpler to read and easier to mock within tests
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-04-28 10:59:00 +02:00
Nicolas De Loof
87f053d710
Detect stack already exists
...
This will later be used to switch to ChangeSet logic
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-04-22 15:37:39 +02:00
Nicolas De Loof
0972776e6d
Ingress description to include service being exposed
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-04-21 14:48:51 +02:00
Nicolas De Loof
b70f01d2f4
Adopt CloudFormation to create ECS app from compose.yaml
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-04-21 11:38:52 +02:00
Nicolas De Loof
4e72d1892a
Prefer AWS API interface over actual implementation
...
This will help introduce mock-based tests
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-04-20 13:47:38 +02:00