Skip to content

llama2-7b gives error in terraform apply (Azure) #35

@AI-Zebra

Description

@AI-Zebra

Input to deploy-aks.sh
Model to deploy: llama2-7b or falcon7b (default: falcon7b): llama2-7b

Plan: 9 to add, 0 to change, 0 to destroy.

│ Error: Invalid index

│ on main.tf line 297, in resource "kubernetes_deployment" "rag_server":
│ 297: value = "http://${kubernetes_service.falcon7b_service[0].status[0].load_balancer[0].ingress[0].ip}"
│ ├────────────────
│ │ kubernetes_service.falcon7b_service is empty tuple

│ The given key does not identify an element in this collection value: the collection has no elements.

The apply searched for falcon7b service where as it wont be applicable for llama-2.
Did any one else try this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions