From 535408866a90f757b770c0fd846a33fc074806c1 Mon Sep 17 00:00:00 2001 From: Harry Date: Tue, 24 Sep 2024 09:34:40 -0700 Subject: [PATCH] Test --- .github/workflows/java-eks-canary.yml | 2 +- terraform/java/ec2/asg/main.tf | 2 +- terraform/java/ec2/asg/variables.tf | 4 ++++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/java-eks-canary.yml b/.github/workflows/java-eks-canary.yml index 3baf7eb4e..3a9b4e954 100644 --- a/.github/workflows/java-eks-canary.yml +++ b/.github/workflows/java-eks-canary.yml @@ -27,4 +27,4 @@ jobs: with: aws-region: ${{ matrix.aws-region }} test-cluster-name: 'e2e-python-canary-test' - caller-workflow-name: 'appsignals-e2e-eks-canary-test' + caller-workflow-name: 'appsignals-e2e-eks-canary-test' \ No newline at end of file diff --git a/terraform/java/ec2/asg/main.tf b/terraform/java/ec2/asg/main.tf index d7559fcec..f30ee4b7b 100644 --- a/terraform/java/ec2/asg/main.tf +++ b/terraform/java/ec2/asg/main.tf @@ -61,7 +61,7 @@ data "aws_ami" "ami" { } filter { name = "architecture" - values = ["x86_64"] + values = [var.cpu_architecture] } filter { name = "image-type" diff --git a/terraform/java/ec2/asg/variables.tf b/terraform/java/ec2/asg/variables.tf index 65efa382c..72b70243d 100644 --- a/terraform/java/ec2/asg/variables.tf +++ b/terraform/java/ec2/asg/variables.tf @@ -43,4 +43,8 @@ variable "get_adot_jar_command" { variable "canary_type" { default = "java-ec2-asg" +} + +variable "cpu_architecture" { + default = "x86_64" } \ No newline at end of file