ecs_deployer 2.1.10 → 2.1.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ecs_deployer/scheduled_task/target.rb +1 -9
- data/lib/ecs_deployer/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a83e52f4f3970e5e4f643f1a7165cdf9c21edae6d13bc1a6f4b2736853e736a2
|
4
|
+
data.tar.gz: 7568960ed56f6ddd5ac03cc24807bf7cae12621070297b2efb60b309aaf85295
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0eef768e3d5b2218fbbfee5702bc88354760cf8289e1bd2df5561b052fe4177e953437fc89954d1b72b18e1b2385a4885d255081ef81ec1c060db104a7d04334
|
7
|
+
data.tar.gz: fbed1f5b6f11494165150962f2c1b92eb79306dea6faf9255aa02fc44ab01ef41f38b910a4ad26fe78d55e2b703be78f96ecc3769039e4326e15b21a18f1609c
|
@@ -2,7 +2,7 @@ module EcsDeployer
|
|
2
2
|
module ScheduledTask
|
3
3
|
class Target
|
4
4
|
attr_reader :id
|
5
|
-
attr_accessor :
|
5
|
+
attr_accessor :cloudwatch_event_role_arn, :task_definition_arn, :task_count, :task_role_arn
|
6
6
|
|
7
7
|
# @param [String] cluster
|
8
8
|
# @param [String] id
|
@@ -19,14 +19,6 @@ module EcsDeployer
|
|
19
19
|
@container_overrides = []
|
20
20
|
end
|
21
21
|
|
22
|
-
def cloudwatch_event_role(cloudwatch_event_role)
|
23
|
-
@cloudwatch_event_role_arn = Aws::IAM::Role.new(cloudwatch_event_role, @aws_options).arn
|
24
|
-
end
|
25
|
-
|
26
|
-
def task_role(task_role)
|
27
|
-
@task_role_arn = Aws::IAM::Role.new(task_role, @aws_options).arn
|
28
|
-
end
|
29
|
-
|
30
22
|
# @param [String] name
|
31
23
|
# @param [Array] command
|
32
24
|
# @param [Hash] environments
|
data/lib/ecs_deployer/version.rb
CHANGED