Terraform вопросы и ответы для интервью
Связанные сравнения
Вопрос 6. What is the purpose of 'terraform init'?
'terraform init' initializes a Terraform working directory, downloading necessary plugins and setting up the backend for storing the Terraform state.
Вопрос 7. Explain the difference between 'terraform apply' and 'terraform plan'.
'terraform plan' shows the execution plan without actually applying the changes, while 'terraform apply' executes the plan and makes the changes to the infrastructure.
Вопрос 8. What is a Terraform provider?
A Terraform provider is a plugin that enables Terraform to interact with a specific cloud, infrastructure, or service provider, allowing resource creation and management.
Вопрос 9. How can you create a reusable Terraform module?
To create a reusable Terraform module, define input variables, outputs, and use the module in other configurations. Organize the module in a separate directory with a 'main.tf' file.
Вопрос 10. What is remote backend in Terraform?
A remote backend in Terraform is a centralized location where Terraform stores its state file. It allows collaboration among team members and supports features like locking and state versioning.
Самое полезное по оценкам пользователей: