-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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
resource/aws_codebuild_project: Support report build status for GitHub source type #5156
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.
otherwise LGTM 👍
@@ -194,6 +194,7 @@ The following arguments are supported: | |||
* `git_clone_depth` - (Optional) Truncate git history to this many commits. | |||
* `insecure_ssl` - (Optional) Ignore SSL warnings when connecting to source control. | |||
* `location` - (Optional) The location of the source code from git or s3. | |||
* `report_build_status` - (Optional) Set to `true` to report the status of a build's start and finish to your source provider. This option is only valid when your source provider is GitHub. |
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.
does this want a blue info box?
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.
Hmm that verbiage was from the SDK documentation right before it said If this is set and you use a different source provider, an invalidInputException is thrown.
-- a situation which we handle automatically here. I think it is important to note the restriction with the specific argument but not to the point where we clutter the resource documentation with a separate callout box.
This has been released in version 1.28.0 of the AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks! |
Closes #5153
The
source
hash changes are expected and valid without state migration. Thesource
attribute should really be aschema.TypeList
.Changes proposed in this pull request:
source
report_build_status
argumentsource
type
ReportBuildStatus
forGITHUB
source
type
Output from acceptance testing: