Pragmatic AI Labs

IAC from Zero

本课程是 Rust for Data Engineering 专项课程 的一部分

Noah Gift

位教师:Noah Gift

包含在 Coursera Plus

深入了解一个主题并学习基础知识。
初级 等级

推荐体验

3 小时 完成
灵活的计划
自行安排学习进度
深入了解一个主题并学习基础知识。
初级 等级

推荐体验

3 小时 完成
灵活的计划
自行安排学习进度

您将学到什么

  • Build IAC solutions

  • Comprehend Rust binary advantages in IAC

要了解的详细信息

可分享的证书

添加到您的领英档案

最近已更新!

May 2026

作业

1 项作业

授课语言:英语(English)
91% of learners achieved a positive career outcome

了解顶级公司的员工如何掌握热门技能

Petrobras, TATA, Danone, Capgemini, P&G 和 L'Oreal 的徽标

积累特定领域的专业知识

本课程是 Rust for Data Engineering 专项课程 专项课程的一部分
在注册此课程时,您还会同时注册此专项课程。
  • 向行业专家学习新概念
  • 获得对主题或工具的基础理解
  • 通过实践项目培养工作相关技能
  • 获得可共享的职业证书

该课程共有5个模块

Imperative bash scripts drift the moment a sysadmin SSHs into a host and types a one-off `apt install`. Declarative IAC says "here is the end state" and the tool figures out the diff. The same config converges from any starting point. Plan-then-apply is the universal IAC contract: every tool from Terraform to forjar shows you what will change before it changes anything. forjar is a single Rust binary, and state lives in Git as BLAKE3-hashed YAML.

涵盖的内容

3个视频3篇阅读材料

Terraform's remote state is a JSON file in an S3 bucket plus a Consul or DynamoDB lock; forjar writes state as a BLAKE3-hashed YAML file next to your config and commits it to Git. The operational consequence: Terraform needs a state-recovery runbook for the day someone deletes the S3 bucket; forjar's recovery is `git checkout`. OpenTofu's `terraform plan -out=plan.tfplan` writes a binary file that `terraform apply plan.tfplan` later consumes, and forjar's BLAKE3 lock file IS the saved plan. In this module you'll inspect where state lives, see saved plans in action, and read JSON plan output to understand what changes IAC will make before applying.

涵盖的内容

3个视频2篇阅读材料

Terraform 1.12 ships `lifecycle.ignore_changes` for fields the API mutates, `moved` blocks for refactor-without-destroy, and `removed` blocks for legitimate deletions. Forjar implements the same three primitives with one syntactic twist: it requires you to declare the destination resource exists in your config before a `moved` block resolves, which catches the move-to-a-rename-you-forgot bug at plan time. OpenTofu 1.8 added early evaluation of `for_each` keys so a `moved` block can target a dynamic key without hitting the partial-state error Terraform 1.5 throws. In this module you'll learn how lifecycle blocks rename, ignore, and remove resources without destroying them.

涵盖的内容

3个视频2篇阅读材料

Drift is what separates the diagram you drew from the cluster you have. This module contrasts Terraform's slow, expensive plan -refresh-only — which polls every cloud API for every resource — with forjar's local BLAKE3 hash compare against the lock file that catches drift in milliseconds with zero network calls. You will also see how OpenTofu 1.5 check blocks add post-apply health checks that warn (but do not block), while forjar's C1-C10 contracts are property tests asserted on every apply. The final piece is cross-stack imports: terraform_remote_state silently consumes whatever the upstream produced, but forjar pins the imported hash and refuses to apply on mismatch.

涵盖的内容

3个视频2篇阅读材料

This capstone module ties testing, state encryption, and a live canary fleet into one production-grade picture. You will see Terraform's .tftest.hcl testing DSL with run blocks and assert conditions on plan/apply outputs as the unit-test layer for infrastructure configs, and how forjar's plan-test mode resolves the DAG and renders the YAML diff with zero apply and zero destroy. You will then contrast OpenTofu 1.7's state_encryption (AES-GCM at rest via AWS KMS) against forjar's BLAKE3-signed manifest where any mutation along plan-to-apply invalidates the signature and aborts. The capstone canary-fleet demo edits a managed greeting, runs apply, watches forjar restore content, and proves all 10 C1-C10 claims hold against a live primary-plus-canary fleet.

涵盖的内容

3个视频4篇阅读材料1个作业

获得职业证书

将此证书添加到您的 LinkedIn 个人资料、简历或履历中。在社交媒体和绩效考核中分享。

位教师

Noah Gift
Pragmatic AI Labs
58 门课程3,782 名学生

提供方

Pragmatic AI Labs

从 Software Development 浏览更多内容

人们为什么选择 Coursera 来帮助自己实现职业发展

Felipe M.

自 2018开始学习的学生
''能够按照自己的速度和节奏学习课程是一次很棒的经历。只要符合自己的时间表和心情,我就可以学习。'

Jennifer J.

自 2020开始学习的学生
''我直接将从课程中学到的概念和技能应用到一个令人兴奋的新工作项目中。'

Larry W.

自 2021开始学习的学生
''如果我的大学不提供我需要的主题课程,Coursera 便是最好的去处之一。'

Chaitanya A.

''学习不仅仅是在工作中做的更好:它远不止于此。Coursera 让我无限制地学习。'

常见问题