You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Amazon Linux 1 ended support on 12/31/2023 and it looks like the AMI is no longer available for use. Functions that query for the Amazon Linux AMI's are returning empty lists now due to the hardcoded name "*amzn-, such as:
The name needs to be updated to Amazon Linux 2 to continue to work.
Example: amzn2-ami-hvm-*-x86_64*
To Reproduce
Query the AWS API:
# This returns empty list
aws ec2 describe-images --owners amazon --filters "Name=root-device-type,Values=ebs""Name=architecture,Values=x86_64""Name=block-device-mapping.volume-type,Values=gp2""Name=virtualization-type,Values=hvm""Name=name,Values=*amzn-ami-hvm-*-x86_64*"# This returns list of available AMI ID's
aws ec2 describe-images --owners amazon --filters "Name=root-device-type,Values=ebs""Name=architecture,Values=x86_64""Name=block-device-mapping.volume-type,Values=gp2""Name=virtualization-type,Values=hvm""Name=name,Values=*amzn2-ami-hvm-*-x86_64*"
Expected behavior
Update the aws ami module to use Amazon Linux 2 AMI's
Nice to have
Terminal output
Screenshots
Versions
Terratest version:
Environment details (Ubuntu 20.04, Windows 10, etc.):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Describe the bug
Amazon Linux 1 ended support on 12/31/2023 and it looks like the AMI is no longer available for use. Functions that query for the Amazon Linux AMI's are returning empty lists now due to the hardcoded name
"*amzn-
, such as:The name needs to be updated to Amazon Linux 2 to continue to work.
Example:
amzn2-ami-hvm-*-x86_64*
To Reproduce
Query the AWS API:
Expected behavior
Update the
aws ami
module to use Amazon Linux 2 AMI'sNice to have
Versions
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: