-
-
Notifications
You must be signed in to change notification settings - Fork 355
feat: Add base URL for GitHub Enterprise #244
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Add base URL for GitHub Enterprise #244
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, but just a minor comment.
variable "github_base_url" { | ||
description = "Github base URL to use when creating webhook (when using GitHub Enterprise)" | ||
type = string | ||
default = "" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
default = "" | |
default = null |
Accoding to the docs for base_url
it is optional, so it should be null
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, sorry about that and thanks for suggestion!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, please fix the docs (to make CI green).
637220c
to
edc2d8e
Compare
edc2d8e
to
0b65204
Compare
## [3.7.0](v3.6.0...v3.7.0) (2022-01-17) ### Features * Add base URL for GitHub Enterprise ([#244](#244)) ([4195ea2](4195ea2))
This PR is included in version 3.7.0 🎉 |
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Description
Add base URL for use with GitHub Enterprise.
Motivation and Context
Currently, the only way to use the module with GItHub Enterprise is via injecting the provider configuration. However, in recent versions of Terraform,
terraform validate
will treat it as an error. Adding a variable solves this issue.Breaking Changes
No known.
How Has This Been Tested?
examples/*
projects