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
As the AMI is currently not available in the marketplace, can we comment this section out in data.tf temporarily until resolved?
Deployment will fail unable to find the correct AMI-ID.
data "aws_ami" "avi" {
most_recent = true
owners = ["aws-marketplace"]
filter {
name = "name"
values = ["Avi*Controller-${var.avi_version}-*"]
}
}
Reproduction steps
Run TF module with a custom_ami variable defined. This will result in a failure to find any objects. Debugging in Terraform confirms it says the AMI-ID is incorrect. Commenting this section out resolves the issue for now.
Expected behavior
The Terraform module should be able to locate purely based off of the AMI id itself, versus any other AMI properties. If an AMI is specified, a version should also not be needed. Something like:
count = var.custom_ami != null : 1 : 0
Additional context
No response
The text was updated successfully, but these errors were encountered:
Describe the bug
As the AMI is currently not available in the marketplace, can we comment this section out in data.tf temporarily until resolved?
Deployment will fail unable to find the correct AMI-ID.
Reproduction steps
Run TF module with a custom_ami variable defined. This will result in a failure to find any objects. Debugging in Terraform confirms it says the AMI-ID is incorrect. Commenting this section out resolves the issue for now.
Expected behavior
The Terraform module should be able to locate purely based off of the AMI id itself, versus any other AMI properties. If an AMI is specified, a version should also not be needed. Something like:
count = var.custom_ami != null : 1 : 0
Additional context
No response
The text was updated successfully, but these errors were encountered: