cloudposse / terraform-github-repository-webhooks Goto Github PK
View Code? Open in Web Editor NEWTerraform module to provision webhooks on a set of GitHub repositories
Home Page: https://cloudposse.com/accelerate
License: Apache License 2.0
Terraform module to provision webhooks on a set of GitHub repositories
Home Page: https://cloudposse.com/accelerate
License: Apache License 2.0
│ Error: Incompatible provider version
│
│ Provider registry.terraform.io/hashicorp/github v3.0.0 does not have a
│ package available for your current platform, darwin_arm64.
│
│ Provider releases are separate from Terraform CLI releases, so not all
│ providers are available for all platforms. Other versions of this provider
│ may have different platforms supported.
Found a bug? Maybe our Slack Community can help.
The Terraform Github provider was updated to remove the anonymous
access flag. This was unfortunately done in a minor release. The current pessimistic constraint of ~> 2.2
fails, as the change appeared after 2.8.1 in 2.9.0.
See this change.
The module would continue to cleanly apply with the given constraint.
Steps to reproduce the behavior:
An example can be seen in this PR.
N/A
Terraform version: 0.12.24
Github Provider version: 2.9.0
It can probably be fixed by setting the constraint to ~> 2.8.0
or >= 2.2, <2.9
. Another potential fix is to adapt the module to use the newer provider, assuming there is equivalent functionality to the anonymous access now.
Upstream issue here, though I suspect that will result in just a clarification, and perhaps CHANGELOG change.
application/json
is an incorrect default value to use for the webhook_content_type
variablecontent_type
in the github api are json
& form
webhook_url
is wrong variable and should be github_webhook_url
Found a bug? Maybe our Slack Community can help.
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.
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
These updates have been manually edited so Renovate will no longer make changes. To discard all commits and start over, click on a checkbox.
main.tf
versions.tf
github 3.0.0
local >= 1.2
hashicorp/terraform >= 0.13.0
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.