From patchwork Fri Nov 8 20:50:38 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chuck Lever X-Patchwork-Id: 13868966 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 70C8017A5BE for ; Fri, 8 Nov 2024 20:50:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731099044; cv=none; b=mmj4k19EtC2Myz9ppopFHZapeZ02wL5Lw7Qq6LTUi8nqD3EzSIWSt+VI+kdeXgA/EiMDd2Awr9+hYrPpMn4WyP40wdiom8sZNRzXZ05yqEDyWj2Ron4+mBvdCQwpFzKmg6ArV/eXNGQm35a/ftHAcTorG4ZKLOsfUEJzs/LfSHM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731099044; c=relaxed/simple; bh=q1xO2Apoxr4IB8+kYoeSr8PdVw1soJycmwrB4FRyM+g=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=tNfbsz39rl2zqkg+GdMLWIXcXa4oH9z+ifIFWt3vv2Un/fPhmdP0d1gO5J/cPzAH0PgqpipMpck7dAjcmdGUHwyUmYYI+dclv6wMeGXfW+No/qZKxncYCUhlh34EMvTzLxfpc9f6cY4dEj4NfpmL1sbeLobNAoJKqRipxNpDD20= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=VjccqTCx; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="VjccqTCx" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C1F9CC4CED2; Fri, 8 Nov 2024 20:50:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1731099044; bh=q1xO2Apoxr4IB8+kYoeSr8PdVw1soJycmwrB4FRyM+g=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=VjccqTCxYvudxabjk91KQH/wQAOTzekIwGKsS132wksEVgq9h/Y2jYTxTxcGqfb6V qsEJ2/PlYhNRNVRSw5dkmyxGNt/EyhJ2h5Z3ul+PgkjIcZChY2QmT1DrHolSNKMXEi 2GNb+oEZ6rcU3rRP+YIrWz+kPArNbobMRq9jaGb/729nQF8FP051/bGSI8g/Yuj8GV vtpPIW5hNMRqeXFFfVp+ylzy/C/mDpq3Rz7aUdv6hVZL8EaMTbqh6eboqs0/ZM9vnD 10bRitB4vhdPfMYU5iRsJ6RZRwPwGR1WMAFQ20pflEe+h39PUSyt8aflmGnFFGekO9 CMV5DFx7Kxutw== From: cel@kernel.org To: Cc: Chuck Lever Subject: [RFC PATCH 1/3] aws: Add support for the us-east availability zone Date: Fri, 8 Nov 2024 15:50:38 -0500 Message-ID: <20241108205040.571326-2-cel@kernel.org> X-Mailer: git-send-email 2.47.0 In-Reply-To: <20241108205040.571326-1-cel@kernel.org> References: <20241108205040.571326-1-cel@kernel.org> Precedence: bulk X-Mailing-List: kdevops@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Chuck Lever AWS steers my instances into us_east-1 or us_east-2, as I am in the US/Eastern time zone. Signed-off-by: Chuck Lever --- terraform/aws/Kconfig | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/terraform/aws/Kconfig b/terraform/aws/Kconfig index a94045afcfee..7c134e957f6e 100644 --- a/terraform/aws/Kconfig +++ b/terraform/aws/Kconfig @@ -4,6 +4,11 @@ choice prompt "AWS region to use" default TERRAFORM_AWS_US_WEST_2 +config TERRAFORM_AWS_US_EAST_1 + bool "us-east-1 - N. Virginia" + help + This option will set the AWS region to us-east-1. + config TERRAFORM_AWS_US_WEST_1 bool "us-west-1 - North California" help @@ -54,6 +59,7 @@ config TERRAFORM_AWS_REGION string default "us-west-2" if TERRAFORM_AWS_US_WEST_2 default "us-west-1" if TERRAFORM_AWS_US_WEST_1 + default "us-east-1" if TERRAFORM_AWS_US_EAST_1 if TERRAFORM_AWS_US_WEST_2 @@ -93,6 +99,7 @@ config TERRAFORM_AWS_AV_REGION default "us-west-1b" if TERRAFORM_AWS_AV_REGION_WEST_1B default "us-west-2b" if TERRAFORM_AWS_AV_REGION_WEST_2B default "us-west-2d" if TERRAFORM_AWS_AV_REGION_WEST_2D + default "us-east-1a" if TERRAFORM_AWS_US_EAST_1 choice prompt "AWS AMI owner" @@ -123,6 +130,12 @@ config TERRAFORM_AWS_RHEL9_X86_64 help This option will set AWS AMI owner to RHEL9 for x86_64. +config TERRAFORM_AWS_RHEL9_X86_64_EAST + bool "RHEL9 x86_64 - ami-0de7e7cc68b747751" + depends on TARGET_ARCH_X86_64 && TERRAFORM_AWS_US_EAST_1 + help + This option will set AWS AMI owner to RHEL9 for x86_64. + config TERRAFORM_AWS_RHEL9_ARM64 bool "RHEL9 x86_64 - ami-08911268ee09cb08e" depends on TARGET_ARCH_ARM64 && TERRAFORM_AWS_US_WEST_2 @@ -209,7 +222,7 @@ config TERRAFORM_AWS_AMI_OWNER string default TERRAFORM_AWS_AMI_DEBIAN_OWNER if TERRAFORM_AWS_AMI_DEBIAN default "137112412989" if TERRAFORM_AWS_AMI_AMAZON_X86_64 || TERRAFORM_AWS_AMI_AMAZON_ARM64 - default "309956199498" if TERRAFORM_AWS_RHEL9_X86_64 || TERRAFORM_AWS_RHEL9_ARM64 + default "309956199498" if TERRAFORM_AWS_RHEL9_X86_64 || TERRAFORM_AWS_RHEL9_ARM64 || TERRAFORM_AWS_RHEL9_X86_64_EAST default "013907871322" if TERRAFORM_AWS_SLE15_SP4_X86_64 || TERRAFORM_AWS_SLE15_SP4_ARM64 help This option will set AWS AMI owner. @@ -225,6 +238,7 @@ config TERRAFORM_AWS_NS default "al2023-*-x86_64" if TARGET_ARCH_X86_64 && TERRAFORM_AWS_AMI_AMAZON_X86_64 default "al2023-*-arm64" if TARGET_ARCH_ARM64 && TERRAFORM_AWS_AMI_AMAZON_ARM64 default "RHEL-9.*x86_64-*" if TARGET_ARCH_X86_64 && TERRAFORM_AWS_RHEL9_X86_64 + default "RHEL-9.*x86_64-*" if TARGET_ARCH_X86_64 && TERRAFORM_AWS_RHEL9_X86_64_EAST default "RHEL-9.*arm64-*" if TARGET_ARCH_ARM64 && TERRAFORM_AWS_RHEL9_ARM64 default "suse-sles-15-sp4-*x86_64" if TARGET_ARCH_X86_64 && TERRAFORM_AWS_SLE15_SP4_X86_64 default "suse-sles-15-sp4-*arm64" if TARGET_ARCH_ARM64 && TERRAFORM_AWS_SLE15_SP4_ARM64