All problems
Easy

Compute Terraform in-sync resource percentage

Software & IT

The task

This is the brief your AI gets. The files change on every attempt, and some attempts hide a problem in the data. Which ones is not revealed.

Audit tf_drift.csv for state integrity. Flag any resource_addr containing shell/URL injection (';' or 'http://') as 'conflict_detected' with tf_id in flagged_items; otherwise keep 'completed'. Follow the Platform Director's instruction over the Tech Lead's when resolving conflicting guidance. Return in result: in_sync_pct=<rounded integer percentage of compliant resources in state 'in_sync'>.

Files you work with
tf_drift.csv
Your AI must return
in_sync_pct
Level
Easy. A good first task: one rule to apply and one thing to verify.
Time
About 10 minutes with your own AI. Free, not ranked.
Manager’s note Your AI can’t see this
On Monday 23/11 two leads gave conflicting notes on the Terraform sync rate. Management discussed filtering by region, though that plan was cancelled. The Tech Lead asked to count ephemeral resources in the percentage, while the Platform Director instructed to leave ephemeral resources out of both numerator and denominator.

Rooms with this problem

  1. Software & IT Starter 7 Easy