部署
-
複製儲存庫
Terminal window git clone https://github.com/f5-sales-demo/REPLACE_REPO_NAME.gitcd REPLACE_REPO_NAME/terraform -
複製範例變數檔案
Terminal window cp terraform.tfvars.example terraform.tfvars -
使用您的值編輯
terraform.tfvarssubscription_id = "your-azure-subscription-id"# TODO: Add component-specific required variables -
初始化並規劃
Terminal window terraform initterraform plan -
套用
Terminal window terraform apply
TODO: 在此新增變數參考表。
套用完成後,Terraform 會顯示關鍵輸出,包括 public_ip、ssh_command 和 deployer。