File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33* In Progress *
44
5- This folder contains examples of how the differnt modules can be used.
5+ This folder contains examples of how the different modules can be used.
Original file line number Diff line number Diff line change @@ -46,6 +46,7 @@ resource "null_resource" "post_repo_creation" {
4646 #!/bin/bash
4747 set -e
4848 # Clone the template and push it to the new repo
49+ rm -rf cruft-template
4950 mkdir cruft-template
5051 cd cruft-template
5152 cruft create ${ var . cruft_template_url } --extra-context '{"project_name": "${ var . project_name } ", "project_slug": "${ var . project_slug } "}' --no-input
@@ -54,7 +55,7 @@ resource "null_resource" "post_repo_creation" {
5455 git init
5556 git config user.email "nomail@dbt.com"
5657 git config user.name "Created by Terraform"
57- git add *
58+ git add -A
5859 git commit -m "Initial commit from Terraform and cruft"
5960 git branch -M main
6061 git remote add origin ${ local . https_url_with_pat }
Original file line number Diff line number Diff line change 11variable "github_token" {
22 description = " GitHub token to crate repos"
33 type = string
4+ sensitive = true
45}
56
67variable "project_slug" {
@@ -16,4 +17,4 @@ variable "project_name" {
1617variable "cruft_template_url" {
1718 description = " URL for the Cruft template"
1819 type = string
19- }
20+ }
You can’t perform that action at this time.
0 commit comments