Skip to content

data-source/alicloud_ess_scalinggroups: add attributes of stop_instance_timeout, scaling_policy, enable_desired_capacity, monitor_group_id, system_suspended, removing_capacity, pending_capacity, stopped_capacity, spot_capacity, standby_capacity, protected_capacity, removing_wait_capacity, pending_wait_capacity, init_capacity, desired_capacity, max_instance_lifetime, multi_az_policy, group_type, resource_group_id, spot_instance_remedy, spot_instance_pools, on_demand_percentage_above_base_capacity, on_demand_base_capacity, spot_allocation_strategy, allocation_strategy and az_balance. #13140

data-source/alicloud_ess_scalinggroups: add attributes of stop_instance_timeout, scaling_policy, enable_desired_capacity, monitor_group_id, system_suspended, removing_capacity, pending_capacity, stopped_capacity, spot_capacity, standby_capacity, protected_capacity, removing_wait_capacity, pending_wait_capacity, init_capacity, desired_capacity, max_instance_lifetime, multi_az_policy, group_type, resource_group_id, spot_instance_remedy, spot_instance_pools, on_demand_percentage_above_base_capacity, on_demand_base_capacity, spot_allocation_strategy, allocation_strategy and az_balance.

data-source/alicloud_ess_scalinggroups: add attributes of stop_instance_timeout, scaling_policy, enable_desired_capacity, monitor_group_id, system_suspended, removing_capacity, pending_capacity, stopped_capacity, spot_capacity, standby_capacity, protected_capacity, removing_wait_capacity, pending_wait_capacity, init_capacity, desired_capacity, max_instance_lifetime, multi_az_policy, group_type, resource_group_id, spot_instance_remedy, spot_instance_pools, on_demand_percentage_above_base_capacity, on_demand_base_capacity, spot_allocation_strategy, allocation_strategy and az_balance. #13140

name: Golangci-Lint
on:
pull_request:
paths:
- .github/workflows/acctest-terraform-lint.yml.yml
- alicloud/*.go
jobs:
# golangci-lint-review-log:
# name: golangci-lint-with-review-log
# runs-on: ubuntu-latest
# steps:
# - name: Check out code into the Go module directory
# uses: actions/checkout@v2
# - name: golangci-lint
# uses: reviewdog/action-golangci-lint@v2
# with:
# go_version: '1.19.3'
# golangci_lint_flags: '--timeout=25m --disable-all -E gofmt ./alicloud'
# level: info
# reporter: github-pr-check
errcheck:
name: runner / errcheck
runs-on: ubuntu-latest
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: errcheck
uses: reviewdog/action-golangci-lint@v2
with:
golangci_lint_flags: '--tests=false --timeout=25m --disable-all -E errcheck'
tool_name: errcheck
level: info
reviewdog_version: 'v0.20.2'
golangci_lint_version: 'v1.59.1'