-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generate Hashicorp Configuration Language (HCL) by default (#31)
### Background and Links * Generating HCL is better than generating JSON; debugging and switching to manual writing are easier ### Changes and Testing * Flip the HCL default * Allow formatting with `tofu` * Bump versions ### Questions and Followup * How to migrate to OpenTofu generally? Support both `terraform` and `tofu` on the command line for a time? (Does an environment variable or detection function choose?) Or cut over hard? * How to adopt `asdf`? (Or is there a better alternative?) Can we get to a place where GitHub Actions continuously tests the same developer environment setup steps we expect people to run on their local development machines?
- Loading branch information
Showing
19 changed files
with
252 additions
and
280 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
v18.16.0 | ||
v20.9.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
3.12.1 | ||
3.12.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
1.8.2 |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# AUTOGENERATED by helicopyter | ||
|
||
terraform { | ||
required_providers { | ||
github = { | ||
version = "6.2.2" | ||
source = "integrations/github" | ||
} | ||
} | ||
} | ||
|
||
provider "github" { | ||
} | ||
|
||
resource "github_membership" "christopher_covington" { | ||
role = "admin" | ||
username = "covracer" | ||
} | ||
|
||
resource "github_membership" "darren_pham" { | ||
role = "admin" | ||
username = "darpham" | ||
} | ||
|
||
resource "github_membership" "duncan_tormey" { | ||
role = "admin" | ||
username = "DuncanTormey" | ||
} | ||
|
||
resource "github_membership" "james_braza" { | ||
role = "admin" | ||
username = "jamesbraza" | ||
} | ||
|
||
resource "github_membership" "matt_fowler" { | ||
role = "admin" | ||
username = "mattefowler" | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# AUTOGENERATED by helicopyter | ||
|
||
locals { | ||
cona = "demo" | ||
} | ||
|
||
locals { | ||
envi = terraform.workspace | ||
} | ||
|
||
resource "null_resource" "this" { | ||
provisioner "local-exec" { | ||
command = "echo $envi" | ||
environment = { | ||
envi = "${local.envi}" | ||
} | ||
} | ||
} | ||
|
||
variable "gash" { | ||
type = string | ||
} | ||
|
||
output "gash" { | ||
value = var.gash | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
# AUTOGENERATED by helicopyter | ||
|
||
terraform { | ||
required_providers { | ||
github = { | ||
version = "6.2.2" | ||
source = "integrations/github" | ||
} | ||
} | ||
} | ||
|
||
provider "github" { | ||
} | ||
|
||
resource "github_repository" "airdjang" { | ||
allow_auto_merge = true | ||
allow_merge_commit = false | ||
allow_rebase_merge = true | ||
allow_squash_merge = true | ||
allow_update_branch = true | ||
delete_branch_on_merge = true | ||
description = "Airflow + Django" | ||
has_downloads = false | ||
has_issues = true | ||
has_projects = false | ||
has_wiki = false | ||
merge_commit_message = "PR_BODY" | ||
merge_commit_title = "PR_TITLE" | ||
name = "airdjang" | ||
squash_merge_commit_message = "PR_BODY" | ||
squash_merge_commit_title = "PR_TITLE" | ||
topics = [ | ||
"airflow", | ||
"django", | ||
"python" | ||
] | ||
} | ||
|
||
resource "github_repository" "allowedflare" { | ||
allow_auto_merge = true | ||
allow_merge_commit = false | ||
allow_rebase_merge = true | ||
allow_squash_merge = true | ||
allow_update_branch = true | ||
delete_branch_on_merge = true | ||
description = "Intranet connectivity for Django and more" | ||
has_downloads = false | ||
has_issues = true | ||
has_projects = false | ||
has_wiki = false | ||
merge_commit_message = "PR_BODY" | ||
merge_commit_title = "PR_TITLE" | ||
name = "allowedflare" | ||
squash_merge_commit_message = "PR_BODY" | ||
squash_merge_commit_title = "PR_TITLE" | ||
topics = [ | ||
"django", | ||
"python" | ||
] | ||
} | ||
|
||
resource "github_repository" "helicopyter" { | ||
allow_auto_merge = true | ||
allow_merge_commit = false | ||
allow_rebase_merge = true | ||
allow_squash_merge = true | ||
allow_update_branch = true | ||
delete_branch_on_merge = true | ||
description = "Python-defined infrastructure" | ||
has_downloads = false | ||
has_issues = true | ||
has_projects = false | ||
has_wiki = false | ||
merge_commit_message = "PR_BODY" | ||
merge_commit_title = "PR_TITLE" | ||
name = "helicopyter" | ||
squash_merge_commit_message = "PR_BODY" | ||
squash_merge_commit_title = "PR_TITLE" | ||
topics = [ | ||
"ansible", | ||
"cdktf", | ||
"python", | ||
"terraform" | ||
] | ||
} |
Oops, something went wrong.