Ravindra BagaleCourses & study guides मराठी

Ravi Sir's Cards › DevOps

Chapter 38: Terraform CLI Commands fmt validate plan apply state and more: मराठी Cards

English cards · Chapter उघडा

उजळणी (Revision) cards

fmt आणि validate: free checks. छोट्या चुका पूर्ण plan किंवा एक review round वाया घालवतात. दोन free commands त्या काही seconds मध्ये पकडतात.
उजळणी (Revision) card 1 of 7: fmt आणि validate: free checks · PNG download करा · Card page उघडा

Lesson: 38.1 fmt and validate — the free checks

plan, show आणि saved plan files. Plan करून, थांबून, मग परत apply चालवलं तर cloud बदललेलं असू शकतं, आणि apply review झालेल्यापेक्षा वेगळं करू शकतो.
उजळणी (Revision) card 2 of 7: plan, show आणि saved plan files · PNG download करा · Card page उघडा

Lesson: 38.2 plan, show and saved plan files

apply, destroy, आणि -target हे emergency tool का. -target फक्त एक resource apply करतो. बाकीचं skip होतं, म्हणून state आणि code जुळत नाहीत.
उजळणी (Revision) card 3 of 7: apply, destroy, आणि -target हे emergency tool का · PNG download करा · Card page उघडा

Lesson: 38.3 apply and destroy — and why -target is an emergency tool

state list, show, mv आणि rm. कधी कधी state मध्ये बघावं लागतं किंवा दुरुस्ती करावी लागते. JSON file हाताने edit केली तर ती बिघडू शकते.
उजळणी (Revision) card 4 of 7: state list, show, mv आणि rm · PNG download करा · Card page उघडा

Lesson: 38.4 state list, show, mv and rm

terraform output: state मधून results वाचा. Scripts आणि लोकांना console न उघडता URLs आणि IPs सारख्या values हव्या असतात.
उजळणी (Revision) card 5 of 7: terraform output: state मधून results वाचा · PNG download करा · Card page उघडा

Lesson: 38.5 output — read results from state

taint विरुद्ध -replace. कधी कधी resource आतून बिघडलेला असतो पण त्याचा code बदललेला नसतो, म्हणून Terraform ला काहीच करायचं दिसत नाही.
उजळणी (Revision) card 6 of 7: taint विरुद्ध -replace · PNG download करा · Card page उघडा

Lesson: 38.6 taint versus -replace

refresh-only आणि graph. लोक Terraform बाहेर बदल करतात तेव्हा काहीच न बदलता फरक बघता यायला हवा.
उजळणी (Revision) card 7 of 7: refresh-only आणि graph · PNG download करा · Card page उघडा

Lesson: 38.7 refresh-only and graph

मुलाखत (Interview) cards

terraform fmt आणि terraform validate काय check करतात? fmt formatting fix करतो: indentation आणि alignment. validate code स्वतः check करतो: syntax, argument names, types आणि references. दोघेही AWS ला call करत नाहीत.
मुलाखत (Interview) card 1 of 7: terraform fmt आणि terraform validate काय check करतात? · PNG download करा · Card page उघडा

Lesson: 38.1 fmt and validate — the free checks

CI मध्ये apply आधी -out ने plan का save करायचा? Saved plan file नेमके बदल नोंदते. terraform apply tfplan फक्त तेच बदल apply करतो. ती नसेल तर apply नवीन plan बनवतो, जो code किंवा cloud बदलल्यास वेगळा असू शकतो.
मुलाखत (Interview) card 2 of 7: CI मध्ये apply आधी -out ने plan का save करायचा? · PNG download करा · Card page उघडा

Lesson: 38.2 plan, show and saved plan files

terraform apply -target धोक्याचं का? -target फक्त नाव दिलेला resource आणि त्याच्या dependencies apply करतो. Code मधले बाकीचे बदल skip होतात, म्हणून code आणि state जुळत नाहीत, आणि पुढचा पूर्ण plan धक्का देऊ शकतो.
मुलाखत (Interview) card 3 of 7: terraform apply -target धोक्याचं का? · PNG download करा · Card page उघडा

Lesson: 38.3 apply and destroy — and why -target is an emergency tool

terraform state rm काय करतो? state rm resource फक्त Terraform च्या state मधून काढतो. खरा resource cloud मध्ये चालूच राहतो, पण Terraform तो manage करत नाही.
मुलाखत (Interview) card 4 of 7: terraform state rm काय करतो? · PNG download करा · Card page उघडा

Lesson: 38.4 state list, show, mv and rm

Scripts Terraform outputs कसे वाचतात? terraform output -raw name एक value quotes शिवाय print करतो, shell साठी चांगलं. -json tools साठी सगळे outputs JSON मध्ये देतो. दोन्ही plan न करता state मधून वाचतात.
मुलाखत (Interview) card 5 of 7: Scripts Terraform outputs कसे वाचतात? · PNG download करा · Card page उघडा

Lesson: 38.5 output — read results from state

terraform taint ची जागा कशाने घेतली, आणि का? terraform apply -replace=ADDRESS ने taint ची जागा घेतली. taint review शिवाय लगेच state mark करायचा; -replace आधी plan मध्ये replacement दाखवतो.
मुलाखत (Interview) card 6 of 7: terraform taint ची जागा कशाने घेतली, आणि का? · PNG download करा · Card page उघडा

Lesson: 38.6 taint versus -replace

terraform plan -refresh-only कशासाठी वापरतात? तो खरं cloud state पेक्षा कसं वेगळं आहे ते दाखवतो, resources मध्ये बदल न सुचवता. मग apply -refresh-only खऱ्या values state मध्ये save करतो.
मुलाखत (Interview) card 7 of 7: terraform plan -refresh-only कशासाठी वापरतात? · PNG download करा · Card page उघडा

Lesson: 38.7 refresh-only and graph

तुलना (Comparison) cards

terraform fmt vs terraform validate. fmt: Terraform files standard style मध्ये format करतो.validate: code valid आहे का ते check करतो (syntax, names, types).
तुलना (Comparison) card 1 of 3: terraform fmt vs terraform validate · PNG download करा · Card page उघडा

Lesson: Chapter 38: Terraform CLI Commands fmt validate plan apply state and more

terraform taint vs -replace. दोन्ही Terraform ला एक resource परत बनवायला लावतात.taint: state mark करणारा जुना command.-replace: plan आणि apply वरचा option.
तुलना (Comparison) card 2 of 3: terraform taint vs -replace · PNG download करा · Card page उघडा

Lesson: Chapter 38: Terraform CLI Commands fmt validate plan apply state and more

refresh-only vs normal apply. apply -refresh-only: खऱ्या cloud च्या values state मध्ये copy करतो.normal apply: खरे resources code शी जुळेपर्यंत बदलतो.
तुलना (Comparison) card 3 of 3: refresh-only vs normal apply · PNG download करा · Card page उघडा

Lesson: Chapter 38: Terraform CLI Commands fmt validate plan apply state and more