-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtemplate-management.tf.example
27 lines (22 loc) · 1.24 KB
/
template-management.tf.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# 1 - Copy this file to your intended name ($org-$repoName), removing .example from its name.
# 2 - Replace -org- with the appropriate Github organization. The org name must match a github provider alias.
# For management repositories, the 'zbmowrey' organization is the current standard. If that changes, this
# template will be updated.
# 3 - Replace "template" with your chosen app name. This should be a kebab-case repository name.
# If a web application, name the repository after the domain.
# 4 - Modify terraform.tfvars->cf_distributions to include an object for this new app,
# setting the value to empty string for each environment. Update this variable in
# the zbmowrey-cloud-admin/version-control workspace to include the # new values.
# 5 - Terraform Plan. On success, commit changes and push a feature branch, then generate a 'main' PR.
module "repo-org-template" {
providers = {
github = github.-org-
}
source = "./modules/repository"
github_org = "-org-"
repository_base_name = "template"
repository_description = "Give_Me_a_Description"
repository_visibility = "public"
create_develop = false
create_staging = false
}