Skip to content

bug: Module lacework_ecr failing due to variable #19

@rym-dd

Description

@rym-dd

Describe the bug
The module lacework_ecr is failing due to unexpected variable non_os_package_support.

Steps to reproduce
Add to your main.tf file :

module "lacework_ecr" {
  source  = "lacework/ecr/aws"
  version = "~> 0.1"
}

Run: terraform plan => It will fail

Remove from the module this variable https://github.com/lacework/terraform-aws-ecr/blob/main/main.tf#L39
Run: terraform plan => It will work.

Expected behavior
The module shouldn't fail due to this variable.

Screenshots

╷
│ Error: Unsupported argument
│ 
│   on .terraform/modules/lacework_ecr/main.tf line 39, in resource "lacework_integration_ecr" "iam_role":39:   non_os_package_support = var.non_os_package_support
│ 
│ An argument named "non_os_package_support" is not expected here.

Please complete the following information):

  • Terraform Version: [v1.0.7]
  • Module Version: [lacework/ecr/aws 0.3.0] [lacework/iam-role/aws 0.2.2]

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions