Question 50
Before adopting VCS-driven HCP Terraform workflow to start remote plans from connected version-control updates, which statement sets an accurate boundary?
- A speculative plan from a pull request is not the same as an authorized apply run.
- An API workflow must still authenticate and choose the intended workspace.
- It is not identical to a local CLI workspace's implementation.
- Its workspace settings determine whether runs need approval or are automatically applied.
- An agent requires setup and does not make inaccessible endpoints public.
Explanation
Correct Answer
D:For VCS-driven HCP Terraform workflow in the task to start remote plans from connected version-control updates, the important caution is: Its workspace settings determine whether runs need approval or are automatically applied. The reason this matters is its actual behavior: A VCS-connected workspace can queue runs when matching configuration changes are committed.
Incorrect Answers
A:The proposed warning belongs to Remote run approval, which serves the different goal to review a planned change in the HCP Terraform run interface before apply, rather than to VCS-driven HCP Terraform workflow: An HCP workspace can separate planning and apply confirmation for controlled changes. The question concerns VCS-driven HCP Terraform workflow acting to start remote plans from connected version-control updates, not a limit of Remote run approval.
B:The proposed warning belongs to HCP Terraform API-driven run, which serves the different goal to queue runs through an API integration instead of only direct Git events, rather than to VCS-driven HCP Terraform workflow: The HCP Terraform API can support workflows that upload configuration and trigger managed runs. The question concerns VCS-driven HCP Terraform workflow acting to start remote plans from connected version-control updates, not a limit of HCP Terraform API-driven run.
C:The proposed warning belongs to HCP Terraform workspace, which serves the different goal to isolate the state, variables, and run history for one managed infrastructure unit, rather than to VCS-driven HCP Terraform workflow: An HCP Terraform workspace organizes a Terraform run context with its own state and configuration connection. The question concerns VCS-driven HCP Terraform workflow acting to start remote plans from connected version-control updates, not a limit of HCP Terraform workspace.
E:The proposed warning belongs to HCP Terraform agent, which serves the different goal to execute Terraform with network access to private environments, rather than to VCS-driven HCP Terraform workflow: An HCP Terraform agent can run work in an operator-controlled environment and connect to private resources. The question concerns VCS-driven HCP Terraform workflow acting to start remote plans from connected version-control updates, not a limit of HCP Terraform agent.
Question 51
A colleague recommends the Terraform concept "Data source lookup filters". Which use case best matches it?
- distinguish a provider-defined resource kind from its Terraform address label
- defer a read when its arguments depend on a resource still being created
- consume an assigned ID only after the provider supplies it
- identify a pre-existing infrastructure object using provider-supported search criteria
Explanation
Correct Answer
D:The practical result of Data source lookup filters, used to identify a pre-existing infrastructure object using provider-supported search criteria, is: Data source arguments let the provider identify an existing object, often by name or tags. A qualification for this effect is: A lookup that finds no suitable object can fail rather than creating one.
Incorrect Answers
A:That outcome applies to Resource type and local name, intended to distinguish a provider-defined resource kind from its Terraform address label, rather than the question's feature Data source lookup filters: A resource block has both a resource type and local name, forming references like aws_vpc.main. Unlike Resource type and local name, Data source lookup filters is intended to identify a pre-existing infrastructure object using provider-supported search criteria, not to distinguish a provider-defined resource kind from its Terraform address label.
B:That outcome applies to Data source dependency scheduling, intended to defer a read when its arguments depend on a resource still being created, rather than the question's feature Data source lookup filters: Terraform tracks references to determine whether a data-source read can run during planning or must wait. Unlike Data source dependency scheduling, Data source lookup filters is intended to identify a pre-existing infrastructure object using provider-supported search criteria, not to defer a read when its arguments depend on a resource still being created.
C:That outcome applies to Resource attributes computed by provider, intended to consume an assigned ID only after the provider supplies it, rather than the question's feature Data source lookup filters: Computed attributes are often unknown during planning and become available after the provider creates or reads an object. Unlike Resource attributes computed by provider, Data source lookup filters is intended to identify a pre-existing infrastructure object using provider-supported search criteria, not to consume an assigned ID only after the provider supplies it.
Question 52
A reviewer is asked to choose a mechanism to specify an end state rather than every API request. Which mechanism most directly meets this particular need?
- Infrastructure as code definition
- Idempotent reconciliation
- Declarative infrastructure model
- Terraform resource declaration
Explanation
Correct Answer
C:The task is to specify an end state rather than every API request; Declarative infrastructure model directly supports that requirement: A declarative model states the desired objects and lets Terraform determine an execution path from configuration and state. Its relevant boundary is: It does not mean Terraform can automatically infer missing provider configuration.
Incorrect Answers
A:Infrastructure as code definition is designed to represent desired infrastructure in reviewable configuration files, whereas this task is to specify an end state rather than every API request: Infrastructure as code describes infrastructure through machine-readable files instead of relying only on manual console operations. Against Declarative infrastructure model, its limitation is: The configuration still needs a tool and credentials to change actual systems.
B:Idempotent reconciliation is designed to repeat an apply without recreating already matching resources, whereas this task is to specify an end state rather than every API request: Terraform compares desired configuration with prior state and refreshed remote information and normally plans no change when they agree. Against Declarative infrastructure model, its limitation is: An external drift or changed input can still cause a nonempty plan.
D:Terraform resource declaration is designed to describe one managed infrastructure object in a configuration, whereas this task is to specify an end state rather than every API request: A resource block represents an object that Terraform will create, update, or destroy through a provider. Against Declarative infrastructure model, its limitation is: A resource declaration is not the same as a read-only data lookup.
Question 53
Before continuing an infrastructure rollout, the operator must declare an import target for normal planning and apply. Which mechanism most directly meets this particular need?
- Import resource address matching
- Import without recreation
- Configuration-driven import block
- terraform import CLI
Explanation
Correct Answer
C:The task is to declare an import target for normal planning and apply; Configuration-driven import block directly supports that requirement: An import block can specify a resource address and provider-specific identity for import. Its relevant boundary is: The matching managed resource configuration must exist or be generated appropriately.
Incorrect Answers
A:Import resource address matching is designed to map a discovered object to the intended Terraform resource instance address, whereas this task is to declare an import target for normal planning and apply: Import uses a Terraform resource address that corresponds to the configuration intended to manage the object. Against Configuration-driven import block, its limitation is: A remote object ID is not interchangeable with the Terraform address.
B:Import without recreation is designed to adopt an existing object rather than creating a new duplicate, whereas this task is to declare an import target for normal planning and apply: Import connects an existing provider object to the Terraform state mapping. Against Configuration-driven import block, its limitation is: A post-import plan must still be checked for configuration differences.
D:terraform import CLI is designed to bring a pre-existing remote object under a resource address in Terraform state, whereas this task is to declare an import target for normal planning and apply: terraform import ADDRESS ID binds the specified remote object to a declared resource instance. Against Configuration-driven import block, its limitation is: The import command alone does not generate a complete root configuration.
Question 54
A Terraform rollout has two separate requirements: first, separate proposing infrastructure changes from authorizing them; second, apply the reviewed plan artifact rather than recomputing from changed inputs. Which assignment of mechanisms correctly handles both responsibilities?
- First use Collaborative review before apply; then use Configuration change cycle.
- First use Saved plan promotion; then use Collaborative review before apply.
- First use Configuration change cycle; then use Dependency-aware parallelism.
- First use Collaborative review before apply; then use Saved plan promotion.
- First use Dependency-aware parallelism; then use Saved plan promotion.
Explanation
Correct Answer
D:The first requirement, to separate proposing infrastructure changes from authorizing them, is handled by Collaborative review before apply: Teams can share configuration and review a Terraform plan before a privileged apply runs. The second requirement, to apply the reviewed plan artifact rather than recomputing from changed inputs, is handled by Saved plan promotion: terraform plan -out creates a binary plan that terraform apply can execute by file name. Each of these mechanisms has a distinct responsibility.
Incorrect Answers
A:For the requested tasks to separate proposing infrastructure changes from authorizing them and apply the reviewed plan artifact rather than recomputing from changed inputs, the first candidate Collaborative review before apply addresses separate proposing infrastructure changes from authorizing them; the second candidate Configuration change cycle addresses modify desired resource arguments then inspect the resulting plan. This mapping fails because the second mechanism primarily supports the task to modify desired resource arguments then inspect the resulting plan; the actual requirements are separate proposing infrastructure changes from authorizing them first and apply the reviewed plan artifact rather than recomputing from changed inputs second.
B:For the requested tasks to separate proposing infrastructure changes from authorizing them and apply the reviewed plan artifact rather than recomputing from changed inputs, the first candidate Saved plan promotion addresses apply the reviewed plan artifact rather than recomputing from changed inputs; the second candidate Collaborative review before apply addresses separate proposing infrastructure changes from authorizing them. This mapping fails because the first mechanism primarily supports the task to apply the reviewed plan artifact rather than recomputing from changed inputs and the second mechanism primarily supports the task to separate proposing infrastructure changes from authorizing them; the actual requirements are separate proposing infrastructure changes from authorizing them first and apply the reviewed plan artifact rather than recomputing from changed inputs second.
C:For the requested tasks to separate proposing infrastructure changes from authorizing them and apply the reviewed plan artifact rather than recomputing from changed inputs, the first candidate Configuration change cycle addresses modify desired resource arguments then inspect the resulting plan; the second candidate Dependency-aware parallelism addresses allow independent resources to be managed concurrently within one run. This mapping fails because the first mechanism primarily supports the task to modify desired resource arguments then inspect the resulting plan and the second mechanism primarily supports the task to allow independent resources to be managed concurrently within one run; the actual requirements are separate proposing infrastructure changes from authorizing them first and apply the reviewed plan artifact rather than recomputing from changed inputs second.
E:For the requested tasks to separate proposing infrastructure changes from authorizing them and apply the reviewed plan artifact rather than recomputing from changed inputs, the first candidate Dependency-aware parallelism addresses allow independent resources to be managed concurrently within one run; the second candidate Saved plan promotion addresses apply the reviewed plan artifact rather than recomputing from changed inputs. This mapping fails because the first mechanism primarily supports the task to allow independent resources to be managed concurrently within one run; the actual requirements are separate proposing infrastructure changes from authorizing them first and apply the reviewed plan artifact rather than recomputing from changed inputs second.
Question 55
A Terraform rollout has two separate requirements: first, choose a particular path for a locally stored Terraform state file; second, retain a prior state snapshot while modifying local state. Which assignment of mechanisms correctly handles both responsibilities?
- First use Local state backup; then use Local backend configuration.
- First use Local backend configuration; then use Local state backup.
- First use Local backend and shared CI; then use Local state backup.
- First use Local backend configuration; then use Local state access controls.
- First use Local state access controls; then use Local backend and shared CI.
Explanation
Correct Answer
B:The first requirement, to choose a particular path for a locally stored Terraform state file, is handled by Local backend configuration: The local backend supports a path setting to change where state is written. The second requirement, to retain a prior state snapshot while modifying local state, is handled by Local state backup: Local state operations commonly create backup snapshots to aid recovery from mistakes. Each of these mechanisms has a distinct responsibility.
Incorrect Answers
A:For the requested tasks to choose a particular path for a locally stored Terraform state file and retain a prior state snapshot while modifying local state, the first candidate Local state backup addresses retain a prior state snapshot while modifying local state; the second candidate Local backend configuration addresses choose a particular path for a locally stored Terraform state file. This mapping fails because the first mechanism primarily supports the task to retain a prior state snapshot while modifying local state and the second mechanism primarily supports the task to choose a particular path for a locally stored Terraform state file; the actual requirements are choose a particular path for a locally stored Terraform state file first and retain a prior state snapshot while modifying local state second.
C:For the requested tasks to choose a particular path for a locally stored Terraform state file and retain a prior state snapshot while modifying local state, the first candidate Local backend and shared CI addresses avoid using workstation files as the source of truth for team deployments; the second candidate Local state backup addresses retain a prior state snapshot while modifying local state. This mapping fails because the first mechanism primarily supports the task to avoid using workstation files as the source of truth for team deployments; the actual requirements are choose a particular path for a locally stored Terraform state file first and retain a prior state snapshot while modifying local state second.
D:For the requested tasks to choose a particular path for a locally stored Terraform state file and retain a prior state snapshot while modifying local state, the first candidate Local backend configuration addresses choose a particular path for a locally stored Terraform state file; the second candidate Local state access controls addresses prevent unauthorized reading of saved infrastructure metadata. This mapping fails because the second mechanism primarily supports the task to prevent unauthorized reading of saved infrastructure metadata; the actual requirements are choose a particular path for a locally stored Terraform state file first and retain a prior state snapshot while modifying local state second.
E:For the requested tasks to choose a particular path for a locally stored Terraform state file and retain a prior state snapshot while modifying local state, the first candidate Local state access controls addresses prevent unauthorized reading of saved infrastructure metadata; the second candidate Local backend and shared CI addresses avoid using workstation files as the source of truth for team deployments. This mapping fails because the first mechanism primarily supports the task to prevent unauthorized reading of saved infrastructure metadata and the second mechanism primarily supports the task to avoid using workstation files as the source of truth for team deployments; the actual requirements are choose a particular path for a locally stored Terraform state file first and retain a prior state snapshot while modifying local state second.
Question 56
A change proposal relies on Data source lookup filters for the task to identify a pre-existing infrastructure object using provider-supported search criteria. Which limitation specifically applies to it?
- They should not be hard-coded when proper references are available.
- A data source does not automatically establish ownership over the queried object.
- A lookup that finds no suitable object can fail rather than creating one.
- It is not a read-only query against an object managed elsewhere.
- Changing the local name can change the state address unless migrated.
Explanation
Correct Answer
C:For Data source lookup filters in the task to identify a pre-existing infrastructure object using provider-supported search criteria, the important caution is: A lookup that finds no suitable object can fail rather than creating one. The reason this matters is its actual behavior: Data source arguments let the provider identify an existing object, often by name or tags.
Incorrect Answers
A:The proposed warning belongs to Resource attributes computed by provider, which serves the different goal to consume an assigned ID only after the provider supplies it, rather than to Data source lookup filters: Computed attributes are often unknown during planning and become available after the provider creates or reads an object. The question concerns Data source lookup filters acting to identify a pre-existing infrastructure object using provider-supported search criteria, not a limit of Resource attributes computed by provider.
B:The proposed warning belongs to Data source dependency scheduling, which serves the different goal to defer a read when its arguments depend on a resource still being created, rather than to Data source lookup filters: Terraform tracks references to determine whether a data-source read can run during planning or must wait. The question concerns Data source lookup filters acting to identify a pre-existing infrastructure object using provider-supported search criteria, not a limit of Data source dependency scheduling.
D:The proposed warning belongs to Managed resource block, which serves the different goal to ask Terraform to create and maintain an infrastructure object, rather than to Data source lookup filters: A resource block declares a managed object whose lifecycle Terraform reconciles through a provider. The question concerns Data source lookup filters acting to identify a pre-existing infrastructure object using provider-supported search criteria, not a limit of Managed resource block.
E:The proposed warning belongs to Resource type and local name, which serves the different goal to distinguish a provider-defined resource kind from its Terraform address label, rather than to Data source lookup filters: A resource block has both a resource type and local name, forming references like aws_vpc.main. The question concerns Data source lookup filters acting to identify a pre-existing infrastructure object using provider-supported search criteria, not a limit of Resource type and local name.
Question 57
A Terraform rollout has two separate requirements: first, reuse a published module from the Terraform Registry; second, select a Terraform module within a larger repository. Which assignment of mechanisms correctly handles both responsibilities?
- First use Public registry module source; then use Module source subdirectory.
- First use Registry module version selection; then use Module source subdirectory.
- First use Module source subdirectory; then use Public registry module source.
- First use Pinned Git module ref; then use Registry module version selection.
- First use Public registry module source; then use Pinned Git module ref.
Explanation
Correct Answer
A:The first requirement, to reuse a published module from the Terraform Registry, is handled by Public registry module source: Registry source addresses identify published module packages by namespace, name, and provider. The second requirement, to select a Terraform module within a larger repository, is handled by Module source subdirectory: The double-slash syntax in supported remote sources identifies a module subdirectory within the downloaded package. Each of these mechanisms has a distinct responsibility.
Incorrect Answers
B:For the requested tasks to reuse a published module from the Terraform Registry and select a Terraform module within a larger repository, the first candidate Registry module version selection addresses choose an explicit compatible release of a registry module; the second candidate Module source subdirectory addresses select a Terraform module within a larger repository. This mapping fails because the first mechanism primarily supports the task to choose an explicit compatible release of a registry module; the actual requirements are reuse a published module from the Terraform Registry first and select a Terraform module within a larger repository second.
C:For the requested tasks to reuse a published module from the Terraform Registry and select a Terraform module within a larger repository, the first candidate Module source subdirectory addresses select a Terraform module within a larger repository; the second candidate Public registry module source addresses reuse a published module from the Terraform Registry. This mapping fails because the first mechanism primarily supports the task to select a Terraform module within a larger repository and the second mechanism primarily supports the task to reuse a published module from the Terraform Registry; the actual requirements are reuse a published module from the Terraform Registry first and select a Terraform module within a larger repository second.
D:For the requested tasks to reuse a published module from the Terraform Registry and select a Terraform module within a larger repository, the first candidate Pinned Git module ref addresses use a chosen module branch, tag, or commit from a Git source; the second candidate Registry module version selection addresses choose an explicit compatible release of a registry module. This mapping fails because the first mechanism primarily supports the task to use a chosen module branch, tag, or commit from a Git source and the second mechanism primarily supports the task to choose an explicit compatible release of a registry module; the actual requirements are reuse a published module from the Terraform Registry first and select a Terraform module within a larger repository second.
E:For the requested tasks to reuse a published module from the Terraform Registry and select a Terraform module within a larger repository, the first candidate Public registry module source addresses reuse a published module from the Terraform Registry; the second candidate Pinned Git module ref addresses use a chosen module branch, tag, or commit from a Git source. This mapping fails because the second mechanism primarily supports the task to use a chosen module branch, tag, or commit from a Git source; the actual requirements are reuse a published module from the Terraform Registry first and select a Terraform module within a larger repository second.
Question 58
A Terraform rollout has two separate requirements: first, start remote plans from connected version-control updates; second, store workspace state centrally rather than on a personal machine. Which assignment of mechanisms correctly handles both responsibilities?
- First use VCS-driven HCP Terraform workflow; then use HCP Terraform state storage.
- First use VCS-driven HCP Terraform workflow; then use Remote run approval.
- First use Remote run approval; then use HCP Terraform API-driven run.
- First use HCP Terraform API-driven run; then use HCP Terraform state storage.
- First use HCP Terraform state storage; then use VCS-driven HCP Terraform workflow.
Explanation
Correct Answer
A:The first requirement, to start remote plans from connected version-control updates, is handled by VCS-driven HCP Terraform workflow: A VCS-connected workspace can queue runs when matching configuration changes are committed. The second requirement, to store workspace state centrally rather than on a personal machine, is handled by HCP Terraform state storage: HCP Terraform manages workspace state snapshots with controlled access and history. Each of these mechanisms has a distinct responsibility.
Incorrect Answers
B:For the requested tasks to start remote plans from connected version-control updates and store workspace state centrally rather than on a personal machine, the first candidate VCS-driven HCP Terraform workflow addresses start remote plans from connected version-control updates; the second candidate Remote run approval addresses review a planned change in the HCP Terraform run interface before apply. This mapping fails because the second mechanism primarily supports the task to review a planned change in the HCP Terraform run interface before apply; the actual requirements are start remote plans from connected version-control updates first and store workspace state centrally rather than on a personal machine second.
C:For the requested tasks to start remote plans from connected version-control updates and store workspace state centrally rather than on a personal machine, the first candidate Remote run approval addresses review a planned change in the HCP Terraform run interface before apply; the second candidate HCP Terraform API-driven run addresses queue runs through an API integration instead of only direct Git events. This mapping fails because the first mechanism primarily supports the task to review a planned change in the HCP Terraform run interface before apply and the second mechanism primarily supports the task to queue runs through an API integration instead of only direct Git events; the actual requirements are start remote plans from connected version-control updates first and store workspace state centrally rather than on a personal machine second.
D:For the requested tasks to start remote plans from connected version-control updates and store workspace state centrally rather than on a personal machine, the first candidate HCP Terraform API-driven run addresses queue runs through an API integration instead of only direct Git events; the second candidate HCP Terraform state storage addresses store workspace state centrally rather than on a personal machine. This mapping fails because the first mechanism primarily supports the task to queue runs through an API integration instead of only direct Git events; the actual requirements are start remote plans from connected version-control updates first and store workspace state centrally rather than on a personal machine second.
E:For the requested tasks to start remote plans from connected version-control updates and store workspace state centrally rather than on a personal machine, the first candidate HCP Terraform state storage addresses store workspace state centrally rather than on a personal machine; the second candidate VCS-driven HCP Terraform workflow addresses start remote plans from connected version-control updates. This mapping fails because the first mechanism primarily supports the task to store workspace state centrally rather than on a personal machine and the second mechanism primarily supports the task to start remote plans from connected version-control updates; the actual requirements are start remote plans from connected version-control updates first and store workspace state centrally rather than on a personal machine second.
Question 59
A colleague recommends the Terraform concept "Provider version constraint". Which use case best matches it?
- populate or update provider checksum selections in the lock file
- allow only nonbreaking versions in a specified range
- restrict acceptable versions of an infrastructure provider
- download required plugins into the initialized working environment
Explanation
Correct Answer
C:The practical result of Provider version constraint, used to restrict acceptable versions of an infrastructure provider, is: The version argument in required_providers expresses allowed provider versions, such as a compatible release series. A qualification for this effect is: The constraint is not the same as Terraform CLI required_version.
Incorrect Answers
A:That outcome applies to terraform providers lock, intended to populate or update provider checksum selections in the lock file, rather than the question's feature Provider version constraint: The providers lock command can record provider package checksums for selected target platforms. Unlike terraform providers lock, Provider version constraint is intended to restrict acceptable versions of an infrastructure provider, not to populate or update provider checksum selections in the lock file.
B:That outcome applies to Provider version compatibility operator, intended to allow only nonbreaking versions in a specified range, rather than the question's feature Provider version constraint: A constraint like ~> 5.2 permits compatible versions within that bound while excluding the next incompatible major range. Unlike Provider version compatibility operator, Provider version constraint is intended to restrict acceptable versions of an infrastructure provider, not to allow only nonbreaking versions in a specified range.
D:That outcome applies to Provider installation during init, intended to download required plugins into the initialized working environment, rather than the question's feature Provider version constraint: terraform init resolves provider dependencies and installs or reuses selected plugin packages. Unlike Provider installation during init, Provider version constraint is intended to restrict acceptable versions of an infrastructure provider, not to download required plugins into the initialized working environment.
Question 60
A Terraform rollout has two separate requirements: first, identify a pre-existing infrastructure object using provider-supported search criteria; second, distinguish a provider-defined resource kind from its Terraform address label. Which assignment of mechanisms correctly handles both responsibilities?
- First use Data source dependency scheduling; then use Resource type and local name.
- First use Resource type and local name; then use Data source lookup filters.
- First use Data source lookup filters; then use Resource attributes computed by provider.
- First use Data source lookup filters; then use Resource type and local name.
- First use Resource attributes computed by provider; then use Data source dependency scheduling.
Explanation
Correct Answer
D:The first requirement, to identify a pre-existing infrastructure object using provider-supported search criteria, is handled by Data source lookup filters: Data source arguments let the provider identify an existing object, often by name or tags. The second requirement, to distinguish a provider-defined resource kind from its Terraform address label, is handled by Resource type and local name: A resource block has both a resource type and local name, forming references like aws_vpc.main. Each of these mechanisms has a distinct responsibility.
Incorrect Answers
A:For the requested tasks to identify a pre-existing infrastructure object using provider-supported search criteria and distinguish a provider-defined resource kind from its Terraform address label, the first candidate Data source dependency scheduling addresses defer a read when its arguments depend on a resource still being created; the second candidate Resource type and local name addresses distinguish a provider-defined resource kind from its Terraform address label. This mapping fails because the first mechanism primarily supports the task to defer a read when its arguments depend on a resource still being created; the actual requirements are identify a pre-existing infrastructure object using provider-supported search criteria first and distinguish a provider-defined resource kind from its Terraform address label second.
B:For the requested tasks to identify a pre-existing infrastructure object using provider-supported search criteria and distinguish a provider-defined resource kind from its Terraform address label, the first candidate Resource type and local name addresses distinguish a provider-defined resource kind from its Terraform address label; the second candidate Data source lookup filters addresses identify a pre-existing infrastructure object using provider-supported search criteria. This mapping fails because the first mechanism primarily supports the task to distinguish a provider-defined resource kind from its Terraform address label and the second mechanism primarily supports the task to identify a pre-existing infrastructure object using provider-supported search criteria; the actual requirements are identify a pre-existing infrastructure object using provider-supported search criteria first and distinguish a provider-defined resource kind from its Terraform address label second.
C:For the requested tasks to identify a pre-existing infrastructure object using provider-supported search criteria and distinguish a provider-defined resource kind from its Terraform address label, the first candidate Data source lookup filters addresses identify a pre-existing infrastructure object using provider-supported search criteria; the second candidate Resource attributes computed by provider addresses consume an assigned ID only after the provider supplies it. This mapping fails because the second mechanism primarily supports the task to consume an assigned ID only after the provider supplies it; the actual requirements are identify a pre-existing infrastructure object using provider-supported search criteria first and distinguish a provider-defined resource kind from its Terraform address label second.
E:For the requested tasks to identify a pre-existing infrastructure object using provider-supported search criteria and distinguish a provider-defined resource kind from its Terraform address label, the first candidate Resource attributes computed by provider addresses consume an assigned ID only after the provider supplies it; the second candidate Data source dependency scheduling addresses defer a read when its arguments depend on a resource still being created. This mapping fails because the first mechanism primarily supports the task to consume an assigned ID only after the provider supplies it and the second mechanism primarily supports the task to defer a read when its arguments depend on a resource still being created; the actual requirements are identify a pre-existing infrastructure object using provider-supported search criteria first and distinguish a provider-defined resource kind from its Terraform address label second.