public inbox for kdevops@lists.linux.dev
 help / color / mirror / Atom feed
From: cel@kernel.org
To: <kdevops@lists.linux.dev>
Cc: Chuck Lever <chuck.lever@oracle.com>
Subject: [RFC PATCH 1/3] aws: Add support for the us-east availability zone
Date: Fri,  8 Nov 2024 15:50:38 -0500	[thread overview]
Message-ID: <20241108205040.571326-2-cel@kernel.org> (raw)
In-Reply-To: <20241108205040.571326-1-cel@kernel.org>

From: Chuck Lever <chuck.lever@oracle.com>

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 <chuck.lever@oracle.com>
---
 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
-- 
2.47.0


  reply	other threads:[~2024-11-08 20:50 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-08 20:50 [RFC PATCH 0/3] Enable AWS for users in US/Eastern cel
2024-11-08 20:50 ` cel [this message]
2024-11-08 20:50 ` [RFC PATCH 2/3] aws: Update the description of "m5ad.4xlarge" cel
2024-11-08 20:50 ` [RFC PATCH 3/3] aws: Add "m5ad.2xlarge" instance type cel
2024-11-09  0:02 ` [RFC PATCH 0/3] Enable AWS for users in US/Eastern Luis Chamberlain

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20241108205040.571326-2-cel@kernel.org \
    --to=cel@kernel.org \
    --cc=chuck.lever@oracle.com \
    --cc=kdevops@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox