We'd like to use the Github pages functionality of the terraform provider, however currently it doesn't support the github pages 'public' option: https://github.com/google/go-github/blob/178169fc04bc4a05ca48f98709cdd02ab5b556e3/github/repos_pages.go#L21
Terraform Version
v1.1.4
Affected Resource(s)
Terraform Configuration Files
resource "github_repository" "example" {
name = "example"
description = "My awesome web page"
private = true
pages {
source {
branch = "main"
path = "/docs"
}
# TODO: Doesn't work
public = false
}
}
Expected Behavior
Should be able to configure 'public = false' to limit visibility of github pages.
Actual Behavior
Option not yet supported.