File tree Expand file tree Collapse file tree 1 file changed +31
-26
lines changed
Expand file tree Collapse file tree 1 file changed +31
-26
lines changed Original file line number Diff line number Diff line change 3535# logo: docs/logo.png
3636
3737# License of this project
38- license : ' Apache2 '
38+ license : ' APACHE2 '
3939
4040# Canonical GitHub repo
4141github_repo : hadenlabs/terraform-github-repository
@@ -67,41 +67,46 @@ usage: |-
6767 name = "repository-example"
6868 description = "github repository for repository"
6969 visibility = "public"
70-
70+ settings = {
71+ auto_init = true
72+ has_issues = true
73+ has_wiki = true
74+ has_projects = true
7175 }
76+ }
7277
73- module "main_with_key" {
74- source = "hadenlabs/repository/github"
75- version = "0.4.0"
76-
77- providers = {
78- github = github
79- }
78+ module "main_with_key" {
79+ source = "hadenlabs/repository/github"
80+ version = "0.4.0"
8081
81- name = "repository-example-with-key"
82- description = "github repository for repository"
83- visibility = "public"
84- key = "/usr/etc/key/user.pub"
85- read_only = false
82+ providers = {
83+ github = github
8684 }
8785
88- module "main_with_secrets" {
89- source = "hadenlabs/repository/github"
90- version = "0.4.0"
86+ name = "repository-example-with-key"
87+ description = "github repository for repository"
88+ visibility = "public"
89+ key = "/usr/etc/key/user.pub"
90+ read_only = false
91+ }
9192
92- providers = {
93- github = github
94- }
93+ module "main_with_secrets" {
94+ source = "hadenlabs/repository/ github"
95+ version = "0.4.0"
9596
96- name = "repository-example-with-key"
97- description = "github repository for repository"
98- visibility = "public"
99- secrets = {
100- key= value
101- }
97+ providers = {
98+ github = github
99+ }
102100
101+ name = "repository-example-with-key"
102+ description = "github repository for repository"
103+ visibility = "public"
104+ secrets = {
105+ key= value
103106 }
104107
108+ }
109+
105110 ```
106111
107112 Full working example can be found in [example](./example) folder.
You can’t perform that action at this time.
0 commit comments