Logs are not showing in few Steps - Drone Server/Agent version 1.1.0

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

It looks like the plugin configuration in your example is using the 0.8 syntax. You need to update the configuration to the 1.0 syntax. See https://docs.drone.io/config/pipeline/migrating/#plugins

Thank you so much. I will try as you said and get back to you.