انتقل إلى المحتوى
أمين أبوزيد
درس مخطط لهMID-058-L06

عرض عملي: إعادة بناء البنية التحتية التي أُنشئت يدويًا كشيفرة

  • الدرس 6 من 6
  • Mid-level
في هذا الدرس 3 موضوعات

هذا الدرس مخطط له. يعرض المخطط أدناه الموضوعات التي سيغطيها، ولم يُنشر الدرس الكامل بعد.

نص الدروس والتمارين باللغة الإنجليزية، بينما تبقى واجهة الموقع وعناوين الدروس بالعربية.

في هذا الدرس

recreate the MID-056 environment from code. Prepares MID-058-LAB1.

تفاصيل المخطط المبدئي

خطوة بخطوة

  1. Create the remote state backend with locking.
  2. Write network, database, and storage modules from the MID-056 design; call them from envs/dev.
  3. Planned mistake: run apply without reading the plan and it tries to replace the database. Fix: read the plan, spot the -/+ replacement, and adjust the change (or use a lifecycle rule) before applying.
  4. Apply, then change a security group in the console and show the drift in the next plan.
  5. Destroy and recreate everything from code alone; compare the result with the MID-056 environment.

اختبر فهمك

What in a plan warns of data loss?

أظهر الإجابة

A resource marked for replacement or destroy, such as -/+.

التطبيق

طبّق هذا الدرس بمختبر الوحدة وتمارينها واختبارها.

المختبر والتمارين الاختبار

تعليم الدرس كمكتمل اختياري ويمكنك التراجع عنه في أي وقت. يبقى تقدمك محفوظًا في هذا المتصفح.

اكتب للبحث في المستويات والمراحل والوحدات والدروس.