-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Feat: support terragrunt * refactor based PR comments * fixed rename
- Loading branch information
1 parent
44faf46
commit 3723fa7
Showing
10 changed files
with
182 additions
and
57 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 |
---|---|---|
|
@@ -46,3 +46,5 @@ Icon | |
Network Trash Folder | ||
Temporary Items | ||
.apdisk | ||
hcl | ||
tf |
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,31 @@ | ||
package common | ||
|
||
import "github.com/hashicorp/hcl/v2/hclwrite" | ||
|
||
type IACType string | ||
|
||
const ( | ||
Terraform IACType = "terraform" | ||
Terragrunt IACType = "terragrunt" | ||
) | ||
|
||
type Version struct { | ||
Major int | ||
Minor int | ||
} | ||
|
||
type TaggingArgs struct { | ||
Filter string | ||
Dir string | ||
Tags string | ||
Matches []string | ||
IsSkipTerratagFiles bool | ||
Rename bool | ||
IACType IACType | ||
TFVersion Version | ||
} | ||
|
||
type TerratagLocal struct { | ||
Found map[string]hclwrite.Tokens | ||
Added string | ||
} |
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
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
Oops, something went wrong.