Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.
The question specifically states "how". The provider is the only component of Terraform that know HOW to create, update, delete a resource, as it knows all the specifics.
B. Terraform core
Terraform core is responsible for reading the configuration, generating the execution plan, and applying the changes by interacting with the providers.
The Terraform provider determines how Terraform creates, updates, or deletes resources.
Providers are responsible for translating Terraform configurations into API requests that manipulate resources in the target environment. Each provider implements the necessary operations for a specific type of infrastructure, such as AWS, Azure, or Google Cloud Platform.
When Terraform applies a configuration, it reads the provider information from the configuration and uses it to interact with the target environment. The provider then manages the lifecycle of the resources by creating, updating, or deleting them as needed.
Note that while the Terraform configuration defines the desired state of the resources, and the Terraform core is responsible for managing the planning and execution of changes, it is ultimately the provider that determines how those changes are implemented in the target environment.
The Terraform provider determines how Terraform interacts with a specific API or service provider to create, update, or delete resources. The provider translates Terraform configuration files into API requests, and then interacts with the API to manage resources on the service provider.
C. Terraform provider determines how Terraform creates, updates, or deletes resources.
A provider is responsible for understanding API interactions and exposing resources. Providers can represent physical resources like compute instances, or abstract resources like DNS records. A provider is responsible for translating the Terraform configuration into API calls to the underlying service, and for handling the response from the service.
The Terraform configuration specifies which provider to use for each resource block. The provider block itself specifies the configuration necessary to connect to the API of a particular service, such as credentials or endpoint information.
The Terraform configuration is the main input for Terraform, defining the desired state of the resources in the infrastructure. It is the definition of how Terraform should create, update, or delete resources in order to reach the desired state.
State file should be included; because The State File determines how Terraform creates, updates, or deletes resources. The state file is a JSON file that is used to persistently store all the resources created by Terraform. It stores the state of the resources, as well as their properties, so that Terraform knows what actions to take on the next run.
Applying a Terraform configuration is the process of creating, updating, and destroying real infrastructure objects in order to make their settings match the configuration.
https://developer.hashicorp.com/terraform/language/resources/behavior
A. Terraform configuration
The Terraform configuration determines how Terraform creates, updates, or deletes resources. It is written in HashiCorp Configuration Language (HCL) and it includes the resources that will be managed by Terraform, their properties, and the dependencies between them. The configuration is read by the Terraform core and used to generate an execution plan that is then passed to the Terraform provider to make the necessary changes to the infrastructure.
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
gekkehenk
Highly Voted 1 year, 5 months agoManguu
Highly Voted 1 year, 3 months ago7b5b962
Most Recent 2 weeks, 6 days agoStanislav4907
1 year, 2 months agocamps
1 year, 3 months agoAtila50
1 year, 3 months agoDavid_C_90
1 year, 3 months agorotimislaw
1 year, 4 months agoprincajen
1 year, 4 months agocrickmeister
1 year, 4 months agoagmesas
1 year, 5 months agoAbuu
1 year, 5 months agodkd123
1 year, 5 months agoozbeyucel
1 year, 5 months agoAbuu
1 year, 5 months agoAbuu
1 year, 5 months agoAgil09
1 year, 5 months agoZeppoonstream
1 year, 5 months ago