PaloAltoNetworks / aws-vmseries-gwlb-poc

Mozilla Public License 2.0
2 stars 5 forks source link

Error: Your query returned no results. Please change your search criteria and try again. #2

Closed baseer216 closed 7 months ago

baseer216 commented 7 months ago

Describe the bug

Error: Your query returned no results. Please change your search criteria and try again. │ │ with module.vm-series.data.aws_ami.pa-vm, │ on ../modules/vm-series/main.tf line 11, in data "aws_ami" "pa-vm": │ 11: data "aws_ami" "pa-vm" {

Expected behavior

Terraform should find the correct PAN VM in AWS marketplace to deploy

Current behavior

Terraform is erroring out not being able to find the correct AMI in AWS marketplace

Possible solution

Steps to reproduce

1. 2. 3. 4.

Screenshots

Context

Your Environment

baseer216 commented 7 months ago

I was able to resolve the issue

  1. aws-vmseries-gwlb-poc/terraform/vmseries/security-vpc.auto.tfvars lines 181/182 has hardcoded values which I updated to the latest AMI

  2. aws-vmseries-gwlb-poc/terraform/modules/vpc/main.tf line 157 uses a name that is not being used in this lab anymore