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

r/github_repository: Add license_template and gitignore_template #24

Merged
merged 1 commit into from
Jun 28, 2017

Conversation

grubernaut
Copy link
Contributor

Allows a user to specify a license_template as well as a gitignore_template. These attributes can only be set during Create. Otherwise they are ignored.

$ make testacc TEST=./github TESTARGS="-run=TestAccGithubRepository_templates"
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./github -v -run=TestAccGithubRepository_templates -timeout 120m
=== RUN   TestAccGithubRepository_templates
--- PASS: TestAccGithubRepository_templates (2.74s)
PASS
ok      github.com/terraform-providers/terraform-provider-github/github 2.745s

Fixes: #20, #21

@grubernaut grubernaut added the Type: Feature New feature or request label Jun 28, 2017
Allows a user to specify a `license_template` as well as a `gitignore_template`. These attributes can only be set during `Create`. Otherwise they are ignored.

```
$ make testacc TEST=./github TESTARGS="-run=TestAccGithubRepository_templates"
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./github -v -run=TestAccGithubRepository_templates -timeout 120m
=== RUN   TestAccGithubRepository_templates
--- PASS: TestAccGithubRepository_templates (2.74s)
PASS
ok      github.com/terraform-providers/terraform-provider-github/github 2.745s
```
@stack72
Copy link
Contributor

stack72 commented Jun 28, 2017

LGTM! Nice work :)

@grubernaut grubernaut merged commit b7719e8 into master Jun 28, 2017
@grubernaut grubernaut deleted the f-add-license-gitignore-template branch June 28, 2017 21:16
kfcampbell pushed a commit to kfcampbell/terraform-provider-github that referenced this pull request Jul 26, 2022
…ense-gitignore-template

r/github_repository: Add license_template and gitignore_template
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants