<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>策略即代码 on SRE工程实践</title><link>https://www.sre.wang/tags/%E7%AD%96%E7%95%A5%E5%8D%B3%E4%BB%A3%E7%A0%81/</link><description>Recent content in 策略即代码 on SRE工程实践</description><image><title>SRE工程实践</title><url>https://www.sre.wang/share-card-square.jpg</url><link>https://www.sre.wang/share-card-square.jpg</link></image><generator>Hugo -- gohugo.io</generator><language>zh-cn</language><lastBuildDate>Wed, 07 Oct 2026 00:37:30 +0800</lastBuildDate><atom:link href="https://www.sre.wang/tags/%E7%AD%96%E7%95%A5%E5%8D%B3%E4%BB%A3%E7%A0%81/index.xml" rel="self" type="application/rss+xml"/><item><title>自建 Terraform 后端撑到 30 人团队就裂了：迁移 HCP Terraform 的 6 个工程决策与 TCO 实录</title><link>https://www.sre.wang/posts/terraform-hcp-cloud-migration/</link><pubDate>Wed, 07 Oct 2026 00:37:30 +0800</pubDate><guid>https://www.sre.wang/posts/terraform-hcp-cloud-migration/</guid><description>团队从 5 人长到 30 人后，自建的 Terraform 后端（S3 + 锁 + CI 脚本）开始频繁出事故：状态锁打架、谁都能 apply、没有审批流、凭据散落。本文记录我迁移到 HCP Terraform（原 Terraform Cloud）的 6 个关键工程决策：SaaS 与私有化部署选型、Workspace 组织模型、状态迁移踩坑、Sentinel 策略即代码、CI/CD 集成、以及一份真实的 TCO 账本，附 OpenTofu 自建替代对比。</description></item></channel></rss>