Hi, I have installed Drone Server and Agent on AWS ECS. It’s working without any issue except the fact some of the steps are not showing logs. When Job is actually running at that time logs are showing up and trailing correctly but as soon as the job ends logs are gone. Added screen print of the same.
I have encountered this issue only with a few steps.
---
kind: pipeline
name: drone
steps:
- name: plan
image: "jmccann/drone-terraform:5"
plan: true
actions:
- validate
- plan
secrets:
- source: aws_access_key
target: TF_VAR_access_key
- source: aws_secret_key
target: TF_VAR_secret_key
remote:
backend: S3
config:
bucket: some_bucket
key: usw2/terraform.state
region: us-west-2
- name: destroy
image: "jmccann/drone-terraform:5"
plan: true
secrets:
- source: aws_access_key
target: TF_VAR_access_key
- source: aws_secret_key
target: TF_VAR_secret_key
actions:
- plan-destroy
- destroy
remote:
backend: S3
config:
bucket: some_bucket
key: usw2/terraform.state
region: us-west-2
Kindly help. Thanks