-
-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: test setup action using OpenTofu (#2133)
* ci: test setup action using OpenTofu * ci: fix duplicated id * chore: update .terraform.lock.hcl --------- Co-authored-by: suzuki-shunsuke-app[bot] <91834585+suzuki-shunsuke-app[bot]@users.noreply.github.com>
- Loading branch information
1 parent
5cff56e
commit c454711
Showing
9 changed files
with
136 additions
and
2 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
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,2 @@ | ||
packages: | ||
- name: opentofu/[email protected] |
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 @@ | ||
resource "null_resource" "foo" {} |
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 @@ | ||
provider "null" {} |
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,9 @@ | ||
terraform { | ||
required_version = ">= 1.0" | ||
required_providers { | ||
null = { | ||
source = "hashicorp/null" | ||
version = "3.2.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 @@ | ||
{} |
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,61 @@ | ||
--- | ||
plan_workflow_name: test | ||
|
||
label_prefixes: | ||
tfmigrate: "migrate:" | ||
skip_terraform_by_renovate: true | ||
renovate_terraform_labels: | ||
- terraform | ||
providers_lock_opts: -platform=linux_amd64 -platform=darwin_arm64 | ||
tfcmt_plan_patch: true | ||
# conftest_policy_directory: conftest-policy | ||
|
||
# skip_create_pr: true | ||
|
||
terraform_command: tofu | ||
|
||
conftest: | ||
policies: | ||
- policy: js/test/conftest/policy | ||
tf: true | ||
|
||
update_local_path_module_caller: | ||
enabled: true | ||
|
||
trivy: | ||
enabled: true | ||
tfsec: | ||
enabled: false | ||
tflint: | ||
enabled: true | ||
fix: true | ||
|
||
scaffold_working_directory: | ||
skip_adding_aqua_packages: true | ||
|
||
# aqua: | ||
# update_checksum: | ||
# # Update aqua-checksums.json in `setup` action | ||
# enabled: true # default is false | ||
# skip_push: false # default is false | ||
# prune: true # default is false | ||
|
||
update_related_pull_requests: | ||
enabled: true | ||
|
||
drift_detection: | ||
enabled: false | ||
issue_repo_owner: suzuki-shunsuke | ||
issue_repo_name: tfaction | ||
minimum_detection_interval: 1 | ||
num_of_issues: 1 | ||
|
||
replace: | ||
patterns: | ||
- regexp: /services/ | ||
replace: / | ||
|
||
target_groups: | ||
- working_directory: setup/test/ | ||
target: setup/test/ | ||
template_dir: js/test/templates/aws |