ข้ามไปยังเนื้อหา

การติดตั้ง

  1. โคลน repository

    Terminal window
    git clone https://github.com/f5-sales-demo/REPLACE_REPO_NAME.git
    cd REPLACE_REPO_NAME/terraform
  2. คัดลอกไฟล์ตัวแปรตัวอย่าง

    Terminal window
    cp terraform.tfvars.example terraform.tfvars
  3. แก้ไข terraform.tfvars ด้วยค่าของคุณ

    subscription_id = "your-azure-subscription-id"
    # TODO: Add component-specific required variables
  4. เริ่มต้นและวางแผน

    Terminal window
    terraform init
    terraform plan
  5. นำไปใช้งาน

    Terminal window
    terraform apply

TODO: เพิ่มตารางอ้างอิงตัวแปรที่นี่

หลังจากนำไปใช้งานแล้ว Terraform จะแสดงผลลัพธ์สำคัญ ได้แก่ public_ip, ssh_command และ deployer