Azure devOps Task Warning – ‘Terraform Load Output’ version 1 (TerraformOutput@1) is dependent on a Node version (10) that is end-of-life

I have created a Azure devOps Pipeline with a task to output a human readable Terraform plan.

I have the below pipeline task that was working without warnings…

 - task: TerraformOutput@1
   enabled: true
   inputs:
     outputFilePath: $(System.DefaultWorkingDirectory)/deployment_layer/network/tfplan'
     artifactName: 'tfplan'

I am now getting a warning:

##[warning]Task ‘Terraform Load Output’ version 1 (TerraformOutput@1) is dependent on a Node version (10) that is end-of-life.

Contact the extension owner for an updated version of the task. Task maintainers should review Node upgrade guidance: https://aka.ms/node-runner-guidance

I have a look at the url but could not work out how what they were saying could relate back to my task to resolve the warning.

I’ll try and find a similar ‘task’ that creates and publishes as a tab a human readable Terraform Plan – anyone else used a different task type to do this other than ‘TerraformOutput@1’?

- task: TerraformOutput@1
  enabled: true
  displayName: "Create human readbale plan"
  inputs:
    outputFilePath: '$(System.DefaultWorkingDirectory)/deployment_layer/re_id/tfplan'
    artifactName: 'tfplan'

1

I can get the same warning when using the TerraformOutput@1 task in Azure DevOps.

It indicates that the pipeline task is using the end-of-life node version. The warning is from the task itself.

Refer to the TerraformOutput task configuration: task.json

  "execution": {
    "Node10": {
      "target": "src/index.js"
    }
  }

We need to contact the Extension developer to update the node version that the extension depends on. As shared by jessehouwing, we can create issue feedback ticket in the Extension site.

Based on my test, this warning does not affect the use of the task for the time being. You can ignore this warning and continue to use it.

I’ll try and find a similar ‘task’ that creates and publishes as a tab a human readable Terraform Plan – anyone else used a different task type to do this other than ‘TerraformOutput@1’?

I am afraid that there is no out-of-box pipeline tasks(built-in or extension tasks) can achieve the same feature(show the terraform plan output in the Pipeline tab).

For a workaround, we can use terraform show command to convert the tfplan file to a human readable format and use logging command to output the file to pipeline task.

Here is an example:

steps:
- task: TerraformTaskV4@4
  inputs:
    provider: 'azurerm'
    command: 'init'
    xxx
- task: TerraformTaskV4@4
  inputs:
    provider: 'azurerm'
    command: 'plan'
    commandOptions: '-out=tfplan'
    environmentServiceNameAzureRM: 'xx'
- task: TerraformTaskV4@4
  inputs:
    provider: 'azurerm'
    command: 'show'
    commandOptions: 'tfplan -no-color'
    outputTo: 'file'
    outputFormat: 'default'
    fileName: 'tfplan.md'
    environmentServiceNameAzureRM: 'xx'
- bash: | 
    ls -la
    sed -i '1 i```' tfplan.md
    echo '```' >> tfplan.md
    echo "##vso[task.uploadsummary]$(System.DefaultWorkingDirectory)/tfplan.md"

Result:

In this case, we can see the human readable terraform output in the Pipeline tab.

Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa Dịch vụ tổ chức sự kiện 5 sao Thông tin về chúng tôi Dịch vụ sinh nhật bé trai Dịch vụ sinh nhật bé gái Sự kiện trọn gói Các tiết mục giải trí Dịch vụ bổ trợ Tiệc cưới sang trọng Dịch vụ khai trương Tư vấn tổ chức sự kiện Hình ảnh sự kiện Cập nhật tin tức Liên hệ ngay Thuê chú hề chuyên nghiệp Tiệc tất niên cho công ty Trang trí tiệc cuối năm Tiệc tất niên độc đáo Sinh nhật bé Hải Đăng Sinh nhật đáng yêu bé Khánh Vân Sinh nhật sang trọng Bích Ngân Tiệc sinh nhật bé Thanh Trang Dịch vụ ông già Noel Xiếc thú vui nhộn Biểu diễn xiếc quay đĩa Dịch vụ tổ chức tiệc uy tín Khám phá dịch vụ của chúng tôi Tiệc sinh nhật cho bé trai Trang trí tiệc cho bé gái Gói sự kiện chuyên nghiệp Chương trình giải trí hấp dẫn Dịch vụ hỗ trợ sự kiện Trang trí tiệc cưới đẹp Khởi đầu thành công với khai trương Chuyên gia tư vấn sự kiện Xem ảnh các sự kiện đẹp Tin mới về sự kiện Kết nối với đội ngũ chuyên gia Chú hề vui nhộn cho tiệc sinh nhật Ý tưởng tiệc cuối năm Tất niên độc đáo Trang trí tiệc hiện đại Tổ chức sinh nhật cho Hải Đăng Sinh nhật độc quyền Khánh Vân Phong cách tiệc Bích Ngân Trang trí tiệc bé Thanh Trang Thuê dịch vụ ông già Noel chuyên nghiệp Xem xiếc khỉ đặc sắc Xiếc quay đĩa thú vị
Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa
Thiết kế website Thiết kế website Thiết kế website Cách kháng tài khoản quảng cáo Mua bán Fanpage Facebook Dịch vụ SEO Tổ chức sinh nhật