terrascan icon indicating copy to clipboard operation
terrascan copied to clipboard

No support for Terraform v1.x

Open nikolay opened this issue 2 years ago • 9 comments

I get errors regarding the move statement.

nikolay avatar Jul 19 '22 22:07 nikolay

+1 I got errors when using lifecycle block in data resources. In addition, postcondition is also not supported in lifecycle blocks of resources.

waheedshahani avatar Aug 25 '22 09:08 waheedshahani

Also missing support for TF 1.3.0 optional() with second argument, the attribute default value.

variables.tf:5,27-74: Invalid type specification; Optional attribute modifier expects only one argument: the attribute type.```

ambis avatar Sep 26 '22 11:09 ambis

Also missing support for the resource/ifecycle/precondition block:

resource "resource_unit" "this" {
    lifecycle {
        precondition {
        }
    }
}

danielwoodz avatar Nov 02 '22 00:11 danielwoodz

any updates?

babebort avatar Dec 05 '22 21:12 babebort

Also missing support for TF 1.3.0 optional() with second argument, the attribute default value.

variables.tf:5,27-74: Invalid type specification; Optional attribute modifier expects only one argument: the attribute type.```

Thank you for the info. With terraform version 0.14.11, this issue will not occur

suoyunqing avatar Feb 13 '23 08:02 suoyunqing

Any update on this issue? The terrascan is effectively useless with latest 1.3 :-( and there is 1.4 RC already

mloskot avatar Feb 24 '23 20:02 mloskot

Any update on this issue? The terrascan is effectively useless with latest 1.3 :-( and there is 1.4 RC already

I am using TERRAFORM_VERSION: '1.3.5' same problem here

maxmanus96 avatar May 23 '23 12:05 maxmanus96

Another request for an update on this issue please! We are using TF 1.4.x and have currently had to drop usage of Terrascan in many of our pipelines 😞

rfk-nc avatar Jun 09 '23 09:06 rfk-nc

I'm using terraform 1.6.x and have the same issue. Any plans for update?

MichalSino avatar Nov 14 '23 13:11 MichalSino