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
Error: Your query returned no results. Please change your search criteria and try again.
which comes from data "aws_ami" "nat_instance" in nat-instance.tf.
According to this page, maintenance support ended 2023-12-01. They recommend using NAT gateways, or creating your own NAT instance AMI.
The nat_instance_ami_id parameter in the docs notes the phasing out of the AWS AMI.
Expected Behavior
Given this stems from AWS, the solution is probably to provide a clear error to the user if nat_instance_enabled = true and nat_instance_ami_id not specified. In other words, if users want to use NAT instances, they must provide their own AMIs.
I'm using v 0.39.8 of the module. I've checked the latest code in data "aws_ami" "nat_instance" in nat-instance.tf and it appears it would have the same problem.
The text was updated successfully, but these errors were encountered:
Describe the Bug
It seems AWS no longer offers a NAT instance AMI.
When
nat_instance_enabled=true
, it causeswhich comes from
data "aws_ami" "nat_instance"
innat-instance.tf
.According to this page, maintenance support ended 2023-12-01. They recommend using NAT gateways, or creating your own NAT instance AMI.
The
nat_instance_ami_id
parameter in the docs notes the phasing out of the AWS AMI.Expected Behavior
Given this stems from AWS, the solution is probably to provide a clear error to the user if
nat_instance_enabled = true
and nat_instance_ami_id not specified. In other words, if users want to use NAT instances, they must provide their own AMIs.Steps to Reproduce
Screenshots
No response
Environment
No response
Additional Context
I'm using v 0.39.8 of the module. I've checked the latest code in
data "aws_ami" "nat_instance"
innat-instance.tf
and it appears it would have the same problem.The text was updated successfully, but these errors were encountered: