
Cloudformation
- 8 installs
- 1 repo stars
- Updated July 29, 2026
- full-statck-skills/devops-skills
Guides AWS CloudFormation templates, stacks, nested stacks, parameters, and change sets for infrastructure as code.
About
Provides guidance for AWS CloudFormation including templates, stacks, parameters, and IaC automation. A developer uses it to define and manage AWS infrastructure as code.
- Nested stacks and cross-stack references
- Change sets to preview stack updates
Cloudformation by the numbers
- 8 all-time installs (skills.sh)
- Ranked #863 of 1,039 Cloud & Infrastructure skills by installs in the Skillselion catalog
- Data as of Jul 30, 2026 (Skillselion catalog sync)
npx skills add https://github.com/full-statck-skills/devops-skills --skill cloudformationAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 8 |
|---|---|
| repo stars | ★ 1 |
| Last updated | July 29, 2026 |
| Repository | full-statck-skills/devops-skills ↗ |
What it does
Guides AWS CloudFormation templates, stacks, nested stacks, parameters, and change sets for infrastructure as code.
Files
When to use this skill
Use this skill whenever the user wants to:
- 编写或调试 CloudFormation 模板(YAML/JSON)
- 创建和管理 AWS 资源(EC2、S3、RDS、Lambda 等)
- 配置 CloudFormation stacks、nested stacks、stack sets
- 使用 CloudFormation 最佳实践实现基础设施自动化
How to use this skill
1. 模板结构:AWSTemplateFormatVersion、Description、Parameters、Resources、Outputs。 2. 工作流:创建堆栈 → 更新堆栈 → 删除堆栈;使用变更集预览变更。 3. 嵌套堆栈:将重复使用的资源封装为 nested stack,提高复用性。 4. Cross-stack references:通过 Export/Import-Value 在堆栈间共享资源。
Best Practices
- 使用 YAML 格式替代 JSON,便于版本控制和 Code Review。
- 敏感信息用 Parameter + NoEcho 或 Secrets Manager,不在模板中硬编码。
- 使用 Mappings 和 Conditions 实现环境差异化配置。
- 堆栈名称加环境前缀(dev-、prod-),避免冲突。
Keywords
cloudformation, aws, infrastructure as code, cloudformation template, 亚马逊云科技, aws iac, 基础设施自动化
能力边界
✅ 适用场景
- 当你需要使用此技能对应的技术栈时
- 当项目需要遵循最佳实践时
- 当需要快速上手或深入理解核心概念时
⚠️ 需要注意
- 复杂业务逻辑需要结合具体场景调整
- 性能优化需要根据实际数据量评估
❌ 不适用场景
- 不相关的技术栈或框架
- 需要完全自定义的特殊场景
常见陷阱 (Gotchas)
1. 版本兼容性:注意框架版本与依赖库的兼容性,不同版本 API 可能有差异 2. 配置文件格式:配置文件格式错误是最常见的问题,建议使用编辑器的语法检查 3. 环境变量:确保所有必要的环境变量已正确设置,敏感信息不要硬编码 4. 依赖冲突:多版本共存时注意依赖冲突,使用 lock 文件锁定版本 5. 性能陷阱:大数据量场景下注意性能优化,避免 N+1 查询等常见问题
使用流程
Step 1: 环境准备
确保开发环境已安装必要的依赖和工具。
Step 2: 配置初始化
根据项目需求进行基础配置。
Step 3: 核心功能使用
按照示例代码实现核心功能。
Step 4: 测试验证
运行测试确保功能正常。
Step 5: 部署上线
完成开发后进行部署和监控。
Apache License 2.0
Copyright [yyyy] [name of copyright owner]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.