From 64c32c22366988f16cdd7167dee489956c93aafa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Wei=C3=9Fe?= <66256922+daniel-weisse@users.noreply.github.com> Date: Mon, 5 Feb 2024 15:46:57 +0100 Subject: [PATCH] ci: make instance type configurable for provider sample (#2893) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Make default instance type configurable for provider sample * Set TDX instance type when running TDX provider e2e test * Fix missing attestation variant when setting up stub config in provider e2e test --------- Signed-off-by: Daniel Weiße --- .github/workflows/e2e-test-provider-example.yml | 14 +++++++++++++- .../examples/full/aws/main.tf | 5 +++-- .../examples/full/azure/main.tf | 5 +++-- .../examples/full/gcp/main.tf | 5 +++-- 4 files changed, 22 insertions(+), 7 deletions(-) diff --git a/.github/workflows/e2e-test-provider-example.yml b/.github/workflows/e2e-test-provider-example.yml index 89c6a63b3..8e81029da 100644 --- a/.github/workflows/e2e-test-provider-example.yml +++ b/.github/workflows/e2e-test-provider-example.yml @@ -301,6 +301,18 @@ jobs: EOF cat _override.tf + - name: Create Azure TDX Terraform overrides + if: inputs.attestationVariant == 'azure-tdx' + working-directory: ${{ github.workspace }}/cluster + shell: bash + run: | + cat >> _override.tf <