-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
138 additions
and
23 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,6 +36,10 @@ jobs: | |
with: | ||
terraform_version: ${{ matrix.terraform-version }} | ||
terraform_wrapper: false # script interferes with parsing of plan | ||
- name: Install Terragrunt | ||
uses: autero1/[email protected] | ||
with: | ||
terragrunt_version: latest | ||
- run: make test-e2e | ||
|
||
end-to-end-tests-check: | ||
|
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 @@ | ||
v0.4.1 | ||
v0.5.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
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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
weight: 7 | ||
title: "Use a specific Terraform binary" | ||
description: Tfautomv allows using any Terraform binary or wrapper. | ||
--- | ||
|
||
# Use a specific Terraform binary | ||
|
||
Under the hood, `tfautomv` runs `terraform`. You can replace `terraform` with | ||
any other binary with the `-terraform-bin` flag. | ||
|
||
For example, you can use Terragrunt as a Terraform wrapper: | ||
|
||
```bash | ||
tfautomv -terraform-bin=terragrunt | ||
``` |
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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
variable "prefix" { | ||
type = string | ||
} | ||
|
||
resource "random_pet" "original_first" { | ||
prefix = var.prefix | ||
length = 1 | ||
} | ||
|
||
resource "random_pet" "original_second" { | ||
prefix = var.prefix | ||
length = 2 | ||
} | ||
|
||
resource "random_pet" "original_third" { | ||
prefix = var.prefix | ||
length = 3 | ||
} |
3 changes: 3 additions & 0 deletions
3
internal/e2e/testdata/terragrunt/original-code/terragrunt.hcl
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,3 @@ | ||
inputs = { | ||
prefix = "my-" | ||
} |
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,18 @@ | ||
variable "prefix" { | ||
type = string | ||
} | ||
|
||
resource "random_pet" "refactored_first" { | ||
prefix = var.prefix | ||
length = 1 | ||
} | ||
|
||
resource "random_pet" "refactored_second" { | ||
prefix = var.prefix | ||
length = 2 | ||
} | ||
|
||
resource "random_pet" "refactored_third" { | ||
prefix = var.prefix | ||
length = 3 | ||
} |
3 changes: 3 additions & 0 deletions
3
internal/e2e/testdata/terragrunt/refactored-code/terragrunt.hcl
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,3 @@ | ||
inputs = { | ||
prefix = "my-" | ||
} |