Skip to content
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

support configuring repository as a template repository #327

Closed
skeggse opened this issue Jan 17, 2020 · 1 comment
Closed

support configuring repository as a template repository #327

skeggse opened this issue Jan 17, 2020 · 1 comment

Comments

@skeggse
Copy link

skeggse commented Jan 17, 2020

Terraform Version

N/a

Affected Resource(s)

Please list the resources as a list, for example:

  • github_repository

Terraform Configuration Files

resource "github_repository" "repo" {
  name        = "client"
  is_template = true
}

Debug Output

N/a

Panic Output

N/a

Expected Behavior

I'd like Terraform to support the template repository feature on the repository end - where the repository is specified as a template for use elsewhere. This is supported in go-github per google/go-github#1236.

Actual Behavior

Error: Unsupported argument

  on template.tf line 3, in resource "github_repository" "repo":
   2:   is_template = true

An argument named "is_template" is not expected here.

Steps to Reproduce

  • terraform validate
  • terraform apply

Important Factoids

N/a

References

@jcudit
Copy link
Contributor

jcudit commented Feb 24, 2020

@jcudit jcudit closed this as completed in f33a8a0 Apr 2, 2020
jcudit pushed a commit that referenced this issue Apr 2, 2020
kfcampbell pushed a commit to kfcampbell/terraform-provider-github that referenced this issue Jul 26, 2022
kfcampbell pushed a commit to kfcampbell/terraform-provider-github that referenced this issue Jul 26, 2022
kfcampbell pushed a commit to kfcampbell/terraform-provider-github that referenced this issue Jul 26, 2022
kfcampbell pushed a commit to kfcampbell/terraform-provider-github that referenced this issue Jul 26, 2022
…configure-repo-as-template

Gh 327 configure repo as template
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants