Skip to content

Error: Module is incompatible with count, for_each, and depends_on #5

@jajera

Description

@jajera

handle

│ Error: Module is incompatible with count, for_each, and depends_on
│ 
│   on ../../main.tf line 25, in module "s3_bucket":25:   count = var.create_s3_logging_bucket ? 1 : 0
│ 
│ The module at module.ecs_cluster_fargate.module.s3_bucket is a legacy module which contains its own local provider configurations, and so calls to it
│ may not use the count, for_each, or depends_on arguments.
│ 
│ If you also control the module "registry.terraform.io/tfstack/s3/aws", consider updating this module to instead expect provider configurations to be
│ passed by its caller.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions