-
Notifications
You must be signed in to change notification settings - Fork 10
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
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
Labels
bugSomething isn't workingSomething isn't working