跳到內容

部署

  1. 複製儲存庫

    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。