Interview Prep/Terraform/Workflow and Providers

A new SaaS feature has no Terraform provider resource yet. What are your options?

IntermediateScenarioWorkflow and Providers
Answer

Situation read → Providers lag behind APIs; you still want it in code.

What I'd do →

  1. Check whether the newer awscc provider (Cloud Control API) already supports it.
  2. For AWS, wrap a CloudFormation template with aws_cloudformation_stack.
  3. As a last resort use terraform_data with local-exec calling the CLI/API, making it idempotent.
  4. Open an issue or PR with the provider, and leave a TODO to migrate.

Why → You keep the lifecycle and dependency graph in Terraform while waiting for first-class support.

Interview tip → Explain that local-exec hacks don't track drift, so label them clearly.

All Terraform questions Roadmap: Terraform

More on Workflow and Providers