عرض عملي: إعادة بناء البنية التحتية التي أُنشئت يدويًا كشيفرة
في هذا الدرس 3 موضوعات
هذا الدرس مخطط له. يعرض المخطط أدناه الموضوعات التي سيغطيها، ولم يُنشر الدرس الكامل بعد.
نص الدروس والتمارين باللغة الإنجليزية، بينما تبقى واجهة الموقع وعناوين الدروس بالعربية.
في هذا الدرس
recreate the MID-056 environment from code. Prepares MID-058-LAB1.
تفاصيل المخطط المبدئي
خطوة بخطوة
- Create the remote state backend with locking.
- Write
network,database, andstoragemodules from the MID-056 design; call them fromenvs/dev. - Planned mistake: run
applywithout 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. - Apply, then change a security group in the console and show the drift in the next plan.
- 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 -/+.
التطبيق
طبّق هذا الدرس بمختبر الوحدة وتمارينها واختبارها.
تعليم الدرس كمكتمل اختياري ويمكنك التراجع عنه في أي وقت. يبقى تقدمك محفوظًا في هذا المتصفح.