Skip to content

Commit

Permalink
Deprecation of Kitchen-Terraform
Browse files Browse the repository at this point in the history
Fixes #36t
  • Loading branch information
brettcurtis committed Apr 27, 2024
1 parent dbc397c commit a04c07e
Show file tree
Hide file tree
Showing 9 changed files with 16 additions and 42 deletions.
32 changes: 0 additions & 32 deletions .github/workflows/kitchen.yml

This file was deleted.

10 changes: 5 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ permissions:
id-token: write

jobs:
default:
name: "Default"
uses: osinfra-io/github-terraform-called-workflows/.github/workflows/[email protected]
tests:
name: Tests
uses: osinfra-io/github-terraform-gcp-called-workflows/.github/workflows/[email protected]
if: github.actor != 'dependabot[bot]'
with:
service_account: "plt-lz-testing-github@ptl-lz-terraform-tf91-sb.iam.gserviceaccount.com"
service_account: plt-lz-testing-github@ptl-lz-terraform-tf91-sb.iam.gserviceaccount.com
terraform_version: ${{ vars.TERRAFORM_VERSION }}
workload_identity_provider: "projects/746490462722/locations/global/workloadIdentityPools/github-actions/providers/github-actions-oidc"
workload_identity_provider: projects/746490462722/locations/global/workloadIdentityPools/github-actions/providers/github-actions-oidc
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ repos:
- id: check-symlinks

- repo: https://github.com/antonbabenko/pre-commit-terraform
rev: v1.88.4
rev: v1.89.1
hooks:
- id: terraform_fmt

Expand Down
2 changes: 2 additions & 0 deletions empty.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# This is currently required so we can initialize Terraform and run tests.
# https://github.com/hashicorp/terraform/issues/35040
3 changes: 0 additions & 3 deletions fixtures/default/tests/default.tftest.hcl

This file was deleted.

7 changes: 7 additions & 0 deletions tests/default.tftest.hcl
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
run "default" {
command = apply

module {
source = "./tests/fixtures/default"
}
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module "test" {
source = "../../regional"
source = "../../../regional"

client_certs = var.client_certs

Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit a04c07e

Please sign in to comment.