File tree Expand file tree Collapse file tree 2 files changed +11
-0
lines changed
terraform/data_replication Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -211,3 +211,10 @@ jobs:
211
211
set -e
212
212
terraform init -backend-config="env/${{ inputs.environment }}-backend.hcl" -upgrade
213
213
terraform apply ${{ runner.temp }}/tfplan
214
+ - name : Deploy db-access-service
215
+ run : |
216
+ task_definition_arn=$(terraform output -json | jq -r '.task_definition_arn.value')
217
+ aws ecs update-service \
218
+ --cluster mavis-${{ inputs.environment }}-data-replication \
219
+ --service mavis-${{ inputs.environment }}-data-replication \
220
+ --task-definition $task_definition_arn
Original file line number Diff line number Diff line change
1
+ output "task_definition_arn" {
2
+ description = " The task definition arn of the db access service"
3
+ value = module. db_access_service . task_definition . arn
4
+ }
You can’t perform that action at this time.
0 commit comments