cloudposse / cloudposse/terraform-github-repository-webhooks

Module incompatible with Terraform 1.2.0

Open
#37 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
HCL
Stars
29
Forks
28
PR merge metrics
No merged PRs in 30d

Description

Found a bug? Maybe our [Slack Community](https://slack.cloudposse.com) can help.

[![Slack Community](https://slack.cloudposse.com/badge.svg)](https://slack.cloudposse.com)

## Describe the Bug
Running a module (which uses this one) with Terraform 1.2.0 an error is thrown:

```

│ Error: Module is incompatible with count, for_each, and depends_on

│ on database.tf line 90, in module "rds_postgres_serverless":
│ 90: aws_route53_zone.private

│ The module at module.api.module.ecs_codepipeline.module.github_webhooks 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/cloudposse/repository-webhooks/github", consider
│ updating this module to instead expect provider configurations to be passed
│ by its caller.

```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.