[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-hashicorp-terraform-test":3,"mdc-sp3r4h-key":37,"related-org-hashicorp-terraform-test":3136,"related-repo-hashicorp-terraform-test":3292},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":11,"stars":25,"repoUrl":26,"updatedAt":27,"license":28,"forks":29,"topics":30,"repo":32,"sourceUrl":35,"mdContent":36},"terraform-test","write and run Terraform infrastructure tests","Comprehensive guide for writing and running Terraform tests. Use when creating test files (.tftest.hcl), writing test scenarios with run blocks, validating infrastructure behavior with assertions, mocking providers and data sources, testing module outputs and resource configurations, or troubleshooting Terraform test syntax and execution.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},"hashicorp","HashiCorp","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Fhashicorp.png",[12,16,19,22],{"name":13,"slug":14,"type":15},"QA","qa","tag",{"name":17,"slug":18,"type":15},"Terraform","terraform",{"name":20,"slug":21,"type":15},"Infrastructure as Code","infrastructure-as-code",{"name":23,"slug":24,"type":15},"Testing","testing",728,"https:\u002F\u002Fgithub.com\u002Fhashicorp\u002Fagent-skills","2026-04-06T18:25:19.678725",null,104,[31],"doormat-managed",{"repoUrl":26,"stars":25,"forks":29,"topics":33,"description":34},[31],"A collection of Agent skills and Claude Code plugins for HashiCorp products.","https:\u002F\u002Fgithub.com\u002Fhashicorp\u002Fagent-skills\u002Ftree\u002FHEAD\u002Fterraform\u002Fcode-generation\u002Fskills\u002Fterraform-test","---\nname: terraform-test\ndescription: Comprehensive guide for writing and running Terraform tests. Use when creating test files (.tftest.hcl), writing test scenarios with run blocks, validating infrastructure behavior with assertions, mocking providers and data sources, testing module outputs and resource configurations, or troubleshooting Terraform test syntax and execution.\nmetadata:\n  copyright: Copyright IBM Corp. 2026\n  version: \"0.0.2\"\n---\n\n# Terraform Test\n\nTerraform's built-in testing framework validates that configuration updates don't introduce breaking changes. Tests run against temporary resources, protecting existing infrastructure and state files.\n\n## Reference Files\n\n- `references\u002FMOCK_PROVIDERS.md` — Mock provider syntax, common defaults, when to use mocks (Terraform 1.7.0+ only — skip if the user's version is below 1.7)\n- `references\u002FCI_CD.md` — GitHub Actions and GitLab CI pipeline examples\n- `references\u002FEXAMPLES.md` — Complete example test suite (unit, integration, and mock tests for a VPC module)\n\nRead the relevant reference file when the user asks about mocking, CI\u002FCD integration, or wants a full example.\n\n## Core Concepts\n\n- **Test file** (`.tftest.hcl` \u002F `.tftest.json`): Contains `run` blocks that validate your configuration\n- **Run block**: A single test scenario with optional variables, providers, and assertions\n- **Assert block**: Conditions that must be true for the test to pass\n- **Mock provider**: Simulates provider behavior without real infrastructure (Terraform 1.7.0+)\n- **Test modes**: `apply` (default, creates real resources) or `plan` (validates logic only)\n\n## File Structure\n\n```\nmy-module\u002F\n├── main.tf\n├── variables.tf\n├── outputs.tf\n└── tests\u002F\n    ├── defaults_unit_test.tftest.hcl         # plan mode — fast, no resources\n    ├── validation_unit_test.tftest.hcl        # plan mode\n    └── full_stack_integration_test.tftest.hcl # apply mode — creates real resources\n```\n\nUse `*_unit_test.tftest.hcl` for plan-mode tests and `*_integration_test.tftest.hcl` for apply-mode tests so they can be filtered separately in CI.\n\n## Test File Structure\n\n```hcl\n# Optional: test-wide settings\ntest {\n  parallel = true  # Enable parallel execution for all run blocks (default: false)\n}\n\n# Optional: file-level variables (highest precedence, override all other sources)\nvariables {\n  aws_region    = \"us-west-2\"\n  instance_type = \"t2.micro\"\n}\n\n# Optional: provider configuration\nprovider \"aws\" {\n  region = var.aws_region\n}\n\n# Required: at least one run block\nrun \"test_default_configuration\" {\n  command = plan\n\n  assert {\n    condition     = aws_instance.example.instance_type == \"t2.micro\"\n    error_message = \"Instance type should be t2.micro by default\"\n  }\n}\n```\n\n## Run Block\n\n```hcl\nrun \"test_name\" {\n  command  = plan  # or apply (default)\n  parallel = true  # optional, since v1.9.0\n\n  # Override file-level variables\n  variables {\n    instance_type = \"t3.large\"\n  }\n\n  # Reference a specific module\n  module {\n    source  = \".\u002Fmodules\u002Fvpc\"  # local or registry only (not git\u002Fhttp)\n    version = \"5.0.0\"          # registry modules only\n  }\n\n  # Control state isolation\n  state_key = \"shared_state\"  # since v1.9.0\n\n  # Plan behavior\n  plan_options {\n    mode    = refresh-only  # or normal (default)\n    refresh = true\n    replace = [aws_instance.example]\n    target  = [aws_instance.example]\n  }\n\n  # Assertions\n  assert {\n    condition     = aws_instance.example.id != \"\"\n    error_message = \"Instance should have a valid ID\"\n  }\n\n  # Expected failures (test passes if these fail)\n  expect_failures = [\n    var.instance_count\n  ]\n}\n```\n\n## Common Test Patterns\n\n### Validate outputs\n\n```hcl\nrun \"test_outputs\" {\n  command = plan\n\n  assert {\n    condition     = output.vpc_id != null\n    error_message = \"VPC ID output must be defined\"\n  }\n\n  assert {\n    condition     = can(regex(\"^vpc-\", output.vpc_id))\n    error_message = \"VPC ID should start with 'vpc-'\"\n  }\n}\n```\n\n### Conditional resources\n\n```hcl\nrun \"test_nat_gateway_disabled\" {\n  command = plan\n\n  variables {\n    create_nat_gateway = false\n  }\n\n  assert {\n    condition     = length(aws_nat_gateway.main) == 0\n    error_message = \"NAT gateway should not be created when disabled\"\n  }\n}\n```\n\n### Resource counts\n\n```hcl\nrun \"test_resource_count\" {\n  command = plan\n\n  variables {\n    instance_count = 3\n  }\n\n  assert {\n    condition     = length(aws_instance.workers) == 3\n    error_message = \"Should create exactly 3 worker instances\"\n  }\n}\n```\n\n### Tags\n\n```hcl\nrun \"test_resource_tags\" {\n  command = plan\n\n  variables {\n    common_tags = {\n      Environment = \"production\"\n      ManagedBy   = \"Terraform\"\n    }\n  }\n\n  assert {\n    condition     = aws_instance.example.tags[\"Environment\"] == \"production\"\n    error_message = \"Environment tag should be set correctly\"\n  }\n\n  assert {\n    condition     = aws_instance.example.tags[\"ManagedBy\"] == \"Terraform\"\n    error_message = \"ManagedBy tag should be set correctly\"\n  }\n}\n```\n\n### Data sources\n\n```hcl\nrun \"test_data_source_lookup\" {\n  command = plan\n\n  assert {\n    condition     = data.aws_ami.ubuntu.id != \"\"\n    error_message = \"Should find a valid Ubuntu AMI\"\n  }\n\n  assert {\n    condition     = can(regex(\"^ami-\", data.aws_ami.ubuntu.id))\n    error_message = \"AMI ID should be in correct format\"\n  }\n}\n```\n\n### Validation rules\n\n```hcl\nrun \"test_invalid_environment\" {\n  command = plan\n\n  variables {\n    environment = \"invalid\"\n  }\n\n  expect_failures = [\n    var.environment\n  ]\n}\n```\n\n### Sequential tests with dependencies\n\n```hcl\nrun \"setup_vpc\" {\n  command = apply\n\n  assert {\n    condition     = output.vpc_id != \"\"\n    error_message = \"VPC should be created\"\n  }\n}\n\nrun \"test_subnet_in_vpc\" {\n  command = plan\n\n  variables {\n    vpc_id = run.setup_vpc.vpc_id\n  }\n\n  assert {\n    condition     = aws_subnet.example.vpc_id == run.setup_vpc.vpc_id\n    error_message = \"Subnet should be in the VPC from setup_vpc\"\n  }\n}\n```\n\n### Plan options (refresh-only, targeted)\n\n```hcl\nrun \"test_refresh_only\" {\n  command = plan\n\n  plan_options {\n    mode = refresh-only\n  }\n\n  assert {\n    condition     = aws_instance.example.tags[\"Environment\"] == \"production\"\n    error_message = \"Tags should be refreshed correctly\"\n  }\n}\n\nrun \"test_specific_resource\" {\n  command = plan\n\n  plan_options {\n    target = [aws_instance.example]\n  }\n\n  assert {\n    condition     = aws_instance.example.instance_type == \"t2.micro\"\n    error_message = \"Targeted resource should be planned\"\n  }\n}\n```\n\n### Parallel modules\n\n```hcl\nrun \"test_networking_module\" {\n  command  = plan\n  parallel = true\n\n  module {\n    source = \".\u002Fmodules\u002Fnetworking\"\n  }\n\n  assert {\n    condition     = output.vpc_id != \"\"\n    error_message = \"VPC should be created\"\n  }\n}\n\nrun \"test_compute_module\" {\n  command  = plan\n  parallel = true\n\n  module {\n    source = \".\u002Fmodules\u002Fcompute\"\n  }\n\n  assert {\n    condition     = output.instance_id != \"\"\n    error_message = \"Instance should be created\"\n  }\n}\n```\n\n### State key sharing\n\n```hcl\nrun \"create_foundation\" {\n  command   = apply\n  state_key = \"foundation\"\n\n  assert {\n    condition     = aws_vpc.main.id != \"\"\n    error_message = \"Foundation VPC should be created\"\n  }\n}\n\nrun \"create_application\" {\n  command   = apply\n  state_key = \"foundation\"\n\n  variables {\n    vpc_id = run.create_foundation.vpc_id\n  }\n\n  assert {\n    condition     = aws_instance.app.vpc_id == run.create_foundation.vpc_id\n    error_message = \"Application should use foundation VPC\"\n  }\n}\n```\n\n### Cleanup ordering (S3 objects before bucket)\n\n```hcl\nrun \"create_bucket\" {\n  command = apply\n\n  assert {\n    condition     = aws_s3_bucket.example.id != \"\"\n    error_message = \"Bucket should be created\"\n  }\n}\n\nrun \"add_objects\" {\n  command = apply\n\n  assert {\n    condition     = length(aws_s3_object.files) > 0\n    error_message = \"Objects should be added\"\n  }\n}\n\n# Cleanup destroys in reverse: objects first, then bucket\n```\n\n### Multiple aliased providers\n\n```hcl\nprovider \"aws\" {\n  alias  = \"primary\"\n  region = \"us-west-2\"\n}\n\nprovider \"aws\" {\n  alias  = \"secondary\"\n  region = \"us-east-1\"\n}\n\nrun \"test_with_specific_provider\" {\n  command = plan\n\n  providers = {\n    aws = provider.aws.secondary\n  }\n\n  assert {\n    condition     = aws_instance.example.availability_zone == \"us-east-1a\"\n    error_message = \"Instance should be in us-east-1 region\"\n  }\n}\n```\n\n### Complex conditions\n\n```hcl\nassert {\n  condition = alltrue([\n    for subnet in aws_subnet.private :\n    can(regex(\"^10\\\\.0\\\\.\", subnet.cidr_block))\n  ])\n  error_message = \"All private subnets should use 10.0.0.0\u002F8 CIDR range\"\n}\n```\n\n## Cleanup\n\nResources are destroyed in **reverse run block order** after test completion. This matters for dependencies (e.g., S3 objects before bucket). Use `terraform test -no-cleanup` to skip cleanup for debugging.\n\n## Running Tests\n\n```bash\nterraform test                                        # all tests\nterraform test tests\u002Fdefaults.tftest.hcl             # specific file\nterraform test -filter=test_vpc_configuration        # by run block name\nterraform test -test-directory=integration-tests     # custom directory\nterraform test -verbose                              # detailed output\nterraform test -no-cleanup                           # skip resource cleanup\n```\n\n## Best Practices\n\n1. **Naming**: `*_unit_test.tftest.hcl` for plan mode, `*_integration_test.tftest.hcl` for apply mode\n2. **Test naming**: Use descriptive run block names that explain the scenario being tested\n3. **Default to plan**: Use `command = plan` unless you need to test real resource behavior\n4. **Use mocks** for external dependencies — faster and no credentials needed (see `references\u002FMOCK_PROVIDERS.md`)\n5. **Error messages**: Make them specific enough to diagnose failures without running the test again\n6. **Negative tests**: Use `expect_failures` to verify validation rules reject bad inputs\n7. **Variable coverage**: Test different variable combinations to validate all code paths — test variables have the highest precedence and override all other sources\n8. **Module sources**: Test files only support local paths and registry modules — not git or HTTP URLs\n9. **Parallel execution**: Use `parallel = true` for independent tests with different state files\n10. **Cleanup**: Integration tests destroy resources in reverse run block order automatically; use `-no-cleanup` for debugging\n11. **CI\u002FCD**: Run unit tests on every PR, integration tests on merge (see `references\u002FCI_CD.md`)\n\n## Troubleshooting\n\n| Issue | Solution |\n|-------|----------|\n| Assertion failures | Use `-verbose` to see actual vs expected values |\n| Missing credentials | Use mock providers for unit tests |\n| Unsupported module source | Convert git\u002FHTTP sources to local modules |\n| Tests interfering | Use `state_key` or separate modules for isolation |\n| Slow tests | Use `command = plan` and mocks; run integration tests separately |\n\n## References\n\n- [Terraform Testing Documentation](https:\u002F\u002Fdeveloper.hashicorp.com\u002Fterraform\u002Flanguage\u002Ftests)\n- [Terraform Test Command](https:\u002F\u002Fdeveloper.hashicorp.com\u002Fterraform\u002Fcli\u002Fcommands\u002Ftest)\n- [Testing Best Practices](https:\u002F\u002Fdeveloper.hashicorp.com\u002Fterraform\u002Flanguage\u002Ftests\u002Fbest-practices)\n",{"data":38,"body":42},{"name":4,"description":6,"metadata":39},{"copyright":40,"version":41},"Copyright IBM Corp. 2026","0.0.2",{"type":43,"children":44},"root",[45,53,59,66,105,110,116,210,216,228,249,255,486,492,795,801,808,911,917,1012,1018,1113,1119,1275,1281,1384,1390,1477,1483,1645,1651,1839,1845,2049,2055,2232,2238,2385,2391,2561,2567,2629,2635,2655,2661,2795,2801,2970,2976,3089,3095,3130],{"type":46,"tag":47,"props":48,"children":49},"element","h1",{"id":4},[50],{"type":51,"value":52},"text","Terraform Test",{"type":46,"tag":54,"props":55,"children":56},"p",{},[57],{"type":51,"value":58},"Terraform's built-in testing framework validates that configuration updates don't introduce breaking changes. Tests run against temporary resources, protecting existing infrastructure and state files.",{"type":46,"tag":60,"props":61,"children":63},"h2",{"id":62},"reference-files",[64],{"type":51,"value":65},"Reference Files",{"type":46,"tag":67,"props":68,"children":69},"ul",{},[70,83,94],{"type":46,"tag":71,"props":72,"children":73},"li",{},[74,81],{"type":46,"tag":75,"props":76,"children":78},"code",{"className":77},[],[79],{"type":51,"value":80},"references\u002FMOCK_PROVIDERS.md",{"type":51,"value":82}," — Mock provider syntax, common defaults, when to use mocks (Terraform 1.7.0+ only — skip if the user's version is below 1.7)",{"type":46,"tag":71,"props":84,"children":85},{},[86,92],{"type":46,"tag":75,"props":87,"children":89},{"className":88},[],[90],{"type":51,"value":91},"references\u002FCI_CD.md",{"type":51,"value":93}," — GitHub Actions and GitLab CI pipeline examples",{"type":46,"tag":71,"props":95,"children":96},{},[97,103],{"type":46,"tag":75,"props":98,"children":100},{"className":99},[],[101],{"type":51,"value":102},"references\u002FEXAMPLES.md",{"type":51,"value":104}," — Complete example test suite (unit, integration, and mock tests for a VPC module)",{"type":46,"tag":54,"props":106,"children":107},{},[108],{"type":51,"value":109},"Read the relevant reference file when the user asks about mocking, CI\u002FCD integration, or wants a full example.",{"type":46,"tag":60,"props":111,"children":113},{"id":112},"core-concepts",[114],{"type":51,"value":115},"Core Concepts",{"type":46,"tag":67,"props":117,"children":118},{},[119,154,164,174,184],{"type":46,"tag":71,"props":120,"children":121},{},[122,128,130,136,138,144,146,152],{"type":46,"tag":123,"props":124,"children":125},"strong",{},[126],{"type":51,"value":127},"Test file",{"type":51,"value":129}," (",{"type":46,"tag":75,"props":131,"children":133},{"className":132},[],[134],{"type":51,"value":135},".tftest.hcl",{"type":51,"value":137}," \u002F ",{"type":46,"tag":75,"props":139,"children":141},{"className":140},[],[142],{"type":51,"value":143},".tftest.json",{"type":51,"value":145},"): Contains ",{"type":46,"tag":75,"props":147,"children":149},{"className":148},[],[150],{"type":51,"value":151},"run",{"type":51,"value":153}," blocks that validate your configuration",{"type":46,"tag":71,"props":155,"children":156},{},[157,162],{"type":46,"tag":123,"props":158,"children":159},{},[160],{"type":51,"value":161},"Run block",{"type":51,"value":163},": A single test scenario with optional variables, providers, and assertions",{"type":46,"tag":71,"props":165,"children":166},{},[167,172],{"type":46,"tag":123,"props":168,"children":169},{},[170],{"type":51,"value":171},"Assert block",{"type":51,"value":173},": Conditions that must be true for the test to pass",{"type":46,"tag":71,"props":175,"children":176},{},[177,182],{"type":46,"tag":123,"props":178,"children":179},{},[180],{"type":51,"value":181},"Mock provider",{"type":51,"value":183},": Simulates provider behavior without real infrastructure (Terraform 1.7.0+)",{"type":46,"tag":71,"props":185,"children":186},{},[187,192,194,200,202,208],{"type":46,"tag":123,"props":188,"children":189},{},[190],{"type":51,"value":191},"Test modes",{"type":51,"value":193},": ",{"type":46,"tag":75,"props":195,"children":197},{"className":196},[],[198],{"type":51,"value":199},"apply",{"type":51,"value":201}," (default, creates real resources) or ",{"type":46,"tag":75,"props":203,"children":205},{"className":204},[],[206],{"type":51,"value":207},"plan",{"type":51,"value":209}," (validates logic only)",{"type":46,"tag":60,"props":211,"children":213},{"id":212},"file-structure",[214],{"type":51,"value":215},"File Structure",{"type":46,"tag":217,"props":218,"children":222},"pre",{"className":219,"code":221,"language":51},[220],"language-text","my-module\u002F\n├── main.tf\n├── variables.tf\n├── outputs.tf\n└── tests\u002F\n    ├── defaults_unit_test.tftest.hcl         # plan mode — fast, no resources\n    ├── validation_unit_test.tftest.hcl        # plan mode\n    └── full_stack_integration_test.tftest.hcl # apply mode — creates real resources\n",[223],{"type":46,"tag":75,"props":224,"children":226},{"__ignoreMap":225},"",[227],{"type":51,"value":221},{"type":46,"tag":54,"props":229,"children":230},{},[231,233,239,241,247],{"type":51,"value":232},"Use ",{"type":46,"tag":75,"props":234,"children":236},{"className":235},[],[237],{"type":51,"value":238},"*_unit_test.tftest.hcl",{"type":51,"value":240}," for plan-mode tests and ",{"type":46,"tag":75,"props":242,"children":244},{"className":243},[],[245],{"type":51,"value":246},"*_integration_test.tftest.hcl",{"type":51,"value":248}," for apply-mode tests so they can be filtered separately in CI.",{"type":46,"tag":60,"props":250,"children":252},{"id":251},"test-file-structure",[253],{"type":51,"value":254},"Test File Structure",{"type":46,"tag":217,"props":256,"children":260},{"className":257,"code":258,"language":259,"meta":225,"style":225},"language-hcl shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","# Optional: test-wide settings\ntest {\n  parallel = true  # Enable parallel execution for all run blocks (default: false)\n}\n\n# Optional: file-level variables (highest precedence, override all other sources)\nvariables {\n  aws_region    = \"us-west-2\"\n  instance_type = \"t2.micro\"\n}\n\n# Optional: provider configuration\nprovider \"aws\" {\n  region = var.aws_region\n}\n\n# Required: at least one run block\nrun \"test_default_configuration\" {\n  command = plan\n\n  assert {\n    condition     = aws_instance.example.instance_type == \"t2.micro\"\n    error_message = \"Instance type should be t2.micro by default\"\n  }\n}\n","hcl",[261],{"type":46,"tag":75,"props":262,"children":263},{"__ignoreMap":225},[264,275,284,293,302,312,321,330,339,348,356,364,373,382,391,399,407,416,425,434,442,451,460,469,478],{"type":46,"tag":265,"props":266,"children":269},"span",{"class":267,"line":268},"line",1,[270],{"type":46,"tag":265,"props":271,"children":272},{},[273],{"type":51,"value":274},"# Optional: test-wide settings\n",{"type":46,"tag":265,"props":276,"children":278},{"class":267,"line":277},2,[279],{"type":46,"tag":265,"props":280,"children":281},{},[282],{"type":51,"value":283},"test {\n",{"type":46,"tag":265,"props":285,"children":287},{"class":267,"line":286},3,[288],{"type":46,"tag":265,"props":289,"children":290},{},[291],{"type":51,"value":292},"  parallel = true  # Enable parallel execution for all run blocks (default: false)\n",{"type":46,"tag":265,"props":294,"children":296},{"class":267,"line":295},4,[297],{"type":46,"tag":265,"props":298,"children":299},{},[300],{"type":51,"value":301},"}\n",{"type":46,"tag":265,"props":303,"children":305},{"class":267,"line":304},5,[306],{"type":46,"tag":265,"props":307,"children":309},{"emptyLinePlaceholder":308},true,[310],{"type":51,"value":311},"\n",{"type":46,"tag":265,"props":313,"children":315},{"class":267,"line":314},6,[316],{"type":46,"tag":265,"props":317,"children":318},{},[319],{"type":51,"value":320},"# Optional: file-level variables (highest precedence, override all other sources)\n",{"type":46,"tag":265,"props":322,"children":324},{"class":267,"line":323},7,[325],{"type":46,"tag":265,"props":326,"children":327},{},[328],{"type":51,"value":329},"variables {\n",{"type":46,"tag":265,"props":331,"children":333},{"class":267,"line":332},8,[334],{"type":46,"tag":265,"props":335,"children":336},{},[337],{"type":51,"value":338},"  aws_region    = \"us-west-2\"\n",{"type":46,"tag":265,"props":340,"children":342},{"class":267,"line":341},9,[343],{"type":46,"tag":265,"props":344,"children":345},{},[346],{"type":51,"value":347},"  instance_type = \"t2.micro\"\n",{"type":46,"tag":265,"props":349,"children":351},{"class":267,"line":350},10,[352],{"type":46,"tag":265,"props":353,"children":354},{},[355],{"type":51,"value":301},{"type":46,"tag":265,"props":357,"children":359},{"class":267,"line":358},11,[360],{"type":46,"tag":265,"props":361,"children":362},{"emptyLinePlaceholder":308},[363],{"type":51,"value":311},{"type":46,"tag":265,"props":365,"children":367},{"class":267,"line":366},12,[368],{"type":46,"tag":265,"props":369,"children":370},{},[371],{"type":51,"value":372},"# Optional: provider configuration\n",{"type":46,"tag":265,"props":374,"children":376},{"class":267,"line":375},13,[377],{"type":46,"tag":265,"props":378,"children":379},{},[380],{"type":51,"value":381},"provider \"aws\" {\n",{"type":46,"tag":265,"props":383,"children":385},{"class":267,"line":384},14,[386],{"type":46,"tag":265,"props":387,"children":388},{},[389],{"type":51,"value":390},"  region = var.aws_region\n",{"type":46,"tag":265,"props":392,"children":394},{"class":267,"line":393},15,[395],{"type":46,"tag":265,"props":396,"children":397},{},[398],{"type":51,"value":301},{"type":46,"tag":265,"props":400,"children":402},{"class":267,"line":401},16,[403],{"type":46,"tag":265,"props":404,"children":405},{"emptyLinePlaceholder":308},[406],{"type":51,"value":311},{"type":46,"tag":265,"props":408,"children":410},{"class":267,"line":409},17,[411],{"type":46,"tag":265,"props":412,"children":413},{},[414],{"type":51,"value":415},"# Required: at least one run block\n",{"type":46,"tag":265,"props":417,"children":419},{"class":267,"line":418},18,[420],{"type":46,"tag":265,"props":421,"children":422},{},[423],{"type":51,"value":424},"run \"test_default_configuration\" {\n",{"type":46,"tag":265,"props":426,"children":428},{"class":267,"line":427},19,[429],{"type":46,"tag":265,"props":430,"children":431},{},[432],{"type":51,"value":433},"  command = plan\n",{"type":46,"tag":265,"props":435,"children":437},{"class":267,"line":436},20,[438],{"type":46,"tag":265,"props":439,"children":440},{"emptyLinePlaceholder":308},[441],{"type":51,"value":311},{"type":46,"tag":265,"props":443,"children":445},{"class":267,"line":444},21,[446],{"type":46,"tag":265,"props":447,"children":448},{},[449],{"type":51,"value":450},"  assert {\n",{"type":46,"tag":265,"props":452,"children":454},{"class":267,"line":453},22,[455],{"type":46,"tag":265,"props":456,"children":457},{},[458],{"type":51,"value":459},"    condition     = aws_instance.example.instance_type == \"t2.micro\"\n",{"type":46,"tag":265,"props":461,"children":463},{"class":267,"line":462},23,[464],{"type":46,"tag":265,"props":465,"children":466},{},[467],{"type":51,"value":468},"    error_message = \"Instance type should be t2.micro by default\"\n",{"type":46,"tag":265,"props":470,"children":472},{"class":267,"line":471},24,[473],{"type":46,"tag":265,"props":474,"children":475},{},[476],{"type":51,"value":477},"  }\n",{"type":46,"tag":265,"props":479,"children":481},{"class":267,"line":480},25,[482],{"type":46,"tag":265,"props":483,"children":484},{},[485],{"type":51,"value":301},{"type":46,"tag":60,"props":487,"children":489},{"id":488},"run-block",[490],{"type":51,"value":491},"Run Block",{"type":46,"tag":217,"props":493,"children":495},{"className":257,"code":494,"language":259,"meta":225,"style":225},"run \"test_name\" {\n  command  = plan  # or apply (default)\n  parallel = true  # optional, since v1.9.0\n\n  # Override file-level variables\n  variables {\n    instance_type = \"t3.large\"\n  }\n\n  # Reference a specific module\n  module {\n    source  = \".\u002Fmodules\u002Fvpc\"  # local or registry only (not git\u002Fhttp)\n    version = \"5.0.0\"          # registry modules only\n  }\n\n  # Control state isolation\n  state_key = \"shared_state\"  # since v1.9.0\n\n  # Plan behavior\n  plan_options {\n    mode    = refresh-only  # or normal (default)\n    refresh = true\n    replace = [aws_instance.example]\n    target  = [aws_instance.example]\n  }\n\n  # Assertions\n  assert {\n    condition     = aws_instance.example.id != \"\"\n    error_message = \"Instance should have a valid ID\"\n  }\n\n  # Expected failures (test passes if these fail)\n  expect_failures = [\n    var.instance_count\n  ]\n}\n",[496],{"type":46,"tag":75,"props":497,"children":498},{"__ignoreMap":225},[499,507,515,523,530,538,546,554,561,568,576,584,592,600,607,614,622,630,637,645,653,661,669,677,685,692,700,709,717,726,735,743,751,760,769,778,787],{"type":46,"tag":265,"props":500,"children":501},{"class":267,"line":268},[502],{"type":46,"tag":265,"props":503,"children":504},{},[505],{"type":51,"value":506},"run \"test_name\" {\n",{"type":46,"tag":265,"props":508,"children":509},{"class":267,"line":277},[510],{"type":46,"tag":265,"props":511,"children":512},{},[513],{"type":51,"value":514},"  command  = plan  # or apply (default)\n",{"type":46,"tag":265,"props":516,"children":517},{"class":267,"line":286},[518],{"type":46,"tag":265,"props":519,"children":520},{},[521],{"type":51,"value":522},"  parallel = true  # optional, since v1.9.0\n",{"type":46,"tag":265,"props":524,"children":525},{"class":267,"line":295},[526],{"type":46,"tag":265,"props":527,"children":528},{"emptyLinePlaceholder":308},[529],{"type":51,"value":311},{"type":46,"tag":265,"props":531,"children":532},{"class":267,"line":304},[533],{"type":46,"tag":265,"props":534,"children":535},{},[536],{"type":51,"value":537},"  # Override file-level variables\n",{"type":46,"tag":265,"props":539,"children":540},{"class":267,"line":314},[541],{"type":46,"tag":265,"props":542,"children":543},{},[544],{"type":51,"value":545},"  variables {\n",{"type":46,"tag":265,"props":547,"children":548},{"class":267,"line":323},[549],{"type":46,"tag":265,"props":550,"children":551},{},[552],{"type":51,"value":553},"    instance_type = \"t3.large\"\n",{"type":46,"tag":265,"props":555,"children":556},{"class":267,"line":332},[557],{"type":46,"tag":265,"props":558,"children":559},{},[560],{"type":51,"value":477},{"type":46,"tag":265,"props":562,"children":563},{"class":267,"line":341},[564],{"type":46,"tag":265,"props":565,"children":566},{"emptyLinePlaceholder":308},[567],{"type":51,"value":311},{"type":46,"tag":265,"props":569,"children":570},{"class":267,"line":350},[571],{"type":46,"tag":265,"props":572,"children":573},{},[574],{"type":51,"value":575},"  # Reference a specific module\n",{"type":46,"tag":265,"props":577,"children":578},{"class":267,"line":358},[579],{"type":46,"tag":265,"props":580,"children":581},{},[582],{"type":51,"value":583},"  module {\n",{"type":46,"tag":265,"props":585,"children":586},{"class":267,"line":366},[587],{"type":46,"tag":265,"props":588,"children":589},{},[590],{"type":51,"value":591},"    source  = \".\u002Fmodules\u002Fvpc\"  # local or registry only (not git\u002Fhttp)\n",{"type":46,"tag":265,"props":593,"children":594},{"class":267,"line":375},[595],{"type":46,"tag":265,"props":596,"children":597},{},[598],{"type":51,"value":599},"    version = \"5.0.0\"          # registry modules only\n",{"type":46,"tag":265,"props":601,"children":602},{"class":267,"line":384},[603],{"type":46,"tag":265,"props":604,"children":605},{},[606],{"type":51,"value":477},{"type":46,"tag":265,"props":608,"children":609},{"class":267,"line":393},[610],{"type":46,"tag":265,"props":611,"children":612},{"emptyLinePlaceholder":308},[613],{"type":51,"value":311},{"type":46,"tag":265,"props":615,"children":616},{"class":267,"line":401},[617],{"type":46,"tag":265,"props":618,"children":619},{},[620],{"type":51,"value":621},"  # Control state isolation\n",{"type":46,"tag":265,"props":623,"children":624},{"class":267,"line":409},[625],{"type":46,"tag":265,"props":626,"children":627},{},[628],{"type":51,"value":629},"  state_key = \"shared_state\"  # since v1.9.0\n",{"type":46,"tag":265,"props":631,"children":632},{"class":267,"line":418},[633],{"type":46,"tag":265,"props":634,"children":635},{"emptyLinePlaceholder":308},[636],{"type":51,"value":311},{"type":46,"tag":265,"props":638,"children":639},{"class":267,"line":427},[640],{"type":46,"tag":265,"props":641,"children":642},{},[643],{"type":51,"value":644},"  # Plan behavior\n",{"type":46,"tag":265,"props":646,"children":647},{"class":267,"line":436},[648],{"type":46,"tag":265,"props":649,"children":650},{},[651],{"type":51,"value":652},"  plan_options {\n",{"type":46,"tag":265,"props":654,"children":655},{"class":267,"line":444},[656],{"type":46,"tag":265,"props":657,"children":658},{},[659],{"type":51,"value":660},"    mode    = refresh-only  # or normal (default)\n",{"type":46,"tag":265,"props":662,"children":663},{"class":267,"line":453},[664],{"type":46,"tag":265,"props":665,"children":666},{},[667],{"type":51,"value":668},"    refresh = true\n",{"type":46,"tag":265,"props":670,"children":671},{"class":267,"line":462},[672],{"type":46,"tag":265,"props":673,"children":674},{},[675],{"type":51,"value":676},"    replace = [aws_instance.example]\n",{"type":46,"tag":265,"props":678,"children":679},{"class":267,"line":471},[680],{"type":46,"tag":265,"props":681,"children":682},{},[683],{"type":51,"value":684},"    target  = [aws_instance.example]\n",{"type":46,"tag":265,"props":686,"children":687},{"class":267,"line":480},[688],{"type":46,"tag":265,"props":689,"children":690},{},[691],{"type":51,"value":477},{"type":46,"tag":265,"props":693,"children":695},{"class":267,"line":694},26,[696],{"type":46,"tag":265,"props":697,"children":698},{"emptyLinePlaceholder":308},[699],{"type":51,"value":311},{"type":46,"tag":265,"props":701,"children":703},{"class":267,"line":702},27,[704],{"type":46,"tag":265,"props":705,"children":706},{},[707],{"type":51,"value":708},"  # Assertions\n",{"type":46,"tag":265,"props":710,"children":712},{"class":267,"line":711},28,[713],{"type":46,"tag":265,"props":714,"children":715},{},[716],{"type":51,"value":450},{"type":46,"tag":265,"props":718,"children":720},{"class":267,"line":719},29,[721],{"type":46,"tag":265,"props":722,"children":723},{},[724],{"type":51,"value":725},"    condition     = aws_instance.example.id != \"\"\n",{"type":46,"tag":265,"props":727,"children":729},{"class":267,"line":728},30,[730],{"type":46,"tag":265,"props":731,"children":732},{},[733],{"type":51,"value":734},"    error_message = \"Instance should have a valid ID\"\n",{"type":46,"tag":265,"props":736,"children":738},{"class":267,"line":737},31,[739],{"type":46,"tag":265,"props":740,"children":741},{},[742],{"type":51,"value":477},{"type":46,"tag":265,"props":744,"children":746},{"class":267,"line":745},32,[747],{"type":46,"tag":265,"props":748,"children":749},{"emptyLinePlaceholder":308},[750],{"type":51,"value":311},{"type":46,"tag":265,"props":752,"children":754},{"class":267,"line":753},33,[755],{"type":46,"tag":265,"props":756,"children":757},{},[758],{"type":51,"value":759},"  # Expected failures (test passes if these fail)\n",{"type":46,"tag":265,"props":761,"children":763},{"class":267,"line":762},34,[764],{"type":46,"tag":265,"props":765,"children":766},{},[767],{"type":51,"value":768},"  expect_failures = [\n",{"type":46,"tag":265,"props":770,"children":772},{"class":267,"line":771},35,[773],{"type":46,"tag":265,"props":774,"children":775},{},[776],{"type":51,"value":777},"    var.instance_count\n",{"type":46,"tag":265,"props":779,"children":781},{"class":267,"line":780},36,[782],{"type":46,"tag":265,"props":783,"children":784},{},[785],{"type":51,"value":786},"  ]\n",{"type":46,"tag":265,"props":788,"children":790},{"class":267,"line":789},37,[791],{"type":46,"tag":265,"props":792,"children":793},{},[794],{"type":51,"value":301},{"type":46,"tag":60,"props":796,"children":798},{"id":797},"common-test-patterns",[799],{"type":51,"value":800},"Common Test Patterns",{"type":46,"tag":802,"props":803,"children":805},"h3",{"id":804},"validate-outputs",[806],{"type":51,"value":807},"Validate outputs",{"type":46,"tag":217,"props":809,"children":811},{"className":257,"code":810,"language":259,"meta":225,"style":225},"run \"test_outputs\" {\n  command = plan\n\n  assert {\n    condition     = output.vpc_id != null\n    error_message = \"VPC ID output must be defined\"\n  }\n\n  assert {\n    condition     = can(regex(\"^vpc-\", output.vpc_id))\n    error_message = \"VPC ID should start with 'vpc-'\"\n  }\n}\n",[812],{"type":46,"tag":75,"props":813,"children":814},{"__ignoreMap":225},[815,823,830,837,844,852,860,867,874,881,889,897,904],{"type":46,"tag":265,"props":816,"children":817},{"class":267,"line":268},[818],{"type":46,"tag":265,"props":819,"children":820},{},[821],{"type":51,"value":822},"run \"test_outputs\" {\n",{"type":46,"tag":265,"props":824,"children":825},{"class":267,"line":277},[826],{"type":46,"tag":265,"props":827,"children":828},{},[829],{"type":51,"value":433},{"type":46,"tag":265,"props":831,"children":832},{"class":267,"line":286},[833],{"type":46,"tag":265,"props":834,"children":835},{"emptyLinePlaceholder":308},[836],{"type":51,"value":311},{"type":46,"tag":265,"props":838,"children":839},{"class":267,"line":295},[840],{"type":46,"tag":265,"props":841,"children":842},{},[843],{"type":51,"value":450},{"type":46,"tag":265,"props":845,"children":846},{"class":267,"line":304},[847],{"type":46,"tag":265,"props":848,"children":849},{},[850],{"type":51,"value":851},"    condition     = output.vpc_id != null\n",{"type":46,"tag":265,"props":853,"children":854},{"class":267,"line":314},[855],{"type":46,"tag":265,"props":856,"children":857},{},[858],{"type":51,"value":859},"    error_message = \"VPC ID output must be defined\"\n",{"type":46,"tag":265,"props":861,"children":862},{"class":267,"line":323},[863],{"type":46,"tag":265,"props":864,"children":865},{},[866],{"type":51,"value":477},{"type":46,"tag":265,"props":868,"children":869},{"class":267,"line":332},[870],{"type":46,"tag":265,"props":871,"children":872},{"emptyLinePlaceholder":308},[873],{"type":51,"value":311},{"type":46,"tag":265,"props":875,"children":876},{"class":267,"line":341},[877],{"type":46,"tag":265,"props":878,"children":879},{},[880],{"type":51,"value":450},{"type":46,"tag":265,"props":882,"children":883},{"class":267,"line":350},[884],{"type":46,"tag":265,"props":885,"children":886},{},[887],{"type":51,"value":888},"    condition     = can(regex(\"^vpc-\", output.vpc_id))\n",{"type":46,"tag":265,"props":890,"children":891},{"class":267,"line":358},[892],{"type":46,"tag":265,"props":893,"children":894},{},[895],{"type":51,"value":896},"    error_message = \"VPC ID should start with 'vpc-'\"\n",{"type":46,"tag":265,"props":898,"children":899},{"class":267,"line":366},[900],{"type":46,"tag":265,"props":901,"children":902},{},[903],{"type":51,"value":477},{"type":46,"tag":265,"props":905,"children":906},{"class":267,"line":375},[907],{"type":46,"tag":265,"props":908,"children":909},{},[910],{"type":51,"value":301},{"type":46,"tag":802,"props":912,"children":914},{"id":913},"conditional-resources",[915],{"type":51,"value":916},"Conditional resources",{"type":46,"tag":217,"props":918,"children":920},{"className":257,"code":919,"language":259,"meta":225,"style":225},"run \"test_nat_gateway_disabled\" {\n  command = plan\n\n  variables {\n    create_nat_gateway = false\n  }\n\n  assert {\n    condition     = length(aws_nat_gateway.main) == 0\n    error_message = \"NAT gateway should not be created when disabled\"\n  }\n}\n",[921],{"type":46,"tag":75,"props":922,"children":923},{"__ignoreMap":225},[924,932,939,946,953,961,968,975,982,990,998,1005],{"type":46,"tag":265,"props":925,"children":926},{"class":267,"line":268},[927],{"type":46,"tag":265,"props":928,"children":929},{},[930],{"type":51,"value":931},"run \"test_nat_gateway_disabled\" {\n",{"type":46,"tag":265,"props":933,"children":934},{"class":267,"line":277},[935],{"type":46,"tag":265,"props":936,"children":937},{},[938],{"type":51,"value":433},{"type":46,"tag":265,"props":940,"children":941},{"class":267,"line":286},[942],{"type":46,"tag":265,"props":943,"children":944},{"emptyLinePlaceholder":308},[945],{"type":51,"value":311},{"type":46,"tag":265,"props":947,"children":948},{"class":267,"line":295},[949],{"type":46,"tag":265,"props":950,"children":951},{},[952],{"type":51,"value":545},{"type":46,"tag":265,"props":954,"children":955},{"class":267,"line":304},[956],{"type":46,"tag":265,"props":957,"children":958},{},[959],{"type":51,"value":960},"    create_nat_gateway = false\n",{"type":46,"tag":265,"props":962,"children":963},{"class":267,"line":314},[964],{"type":46,"tag":265,"props":965,"children":966},{},[967],{"type":51,"value":477},{"type":46,"tag":265,"props":969,"children":970},{"class":267,"line":323},[971],{"type":46,"tag":265,"props":972,"children":973},{"emptyLinePlaceholder":308},[974],{"type":51,"value":311},{"type":46,"tag":265,"props":976,"children":977},{"class":267,"line":332},[978],{"type":46,"tag":265,"props":979,"children":980},{},[981],{"type":51,"value":450},{"type":46,"tag":265,"props":983,"children":984},{"class":267,"line":341},[985],{"type":46,"tag":265,"props":986,"children":987},{},[988],{"type":51,"value":989},"    condition     = length(aws_nat_gateway.main) == 0\n",{"type":46,"tag":265,"props":991,"children":992},{"class":267,"line":350},[993],{"type":46,"tag":265,"props":994,"children":995},{},[996],{"type":51,"value":997},"    error_message = \"NAT gateway should not be created when disabled\"\n",{"type":46,"tag":265,"props":999,"children":1000},{"class":267,"line":358},[1001],{"type":46,"tag":265,"props":1002,"children":1003},{},[1004],{"type":51,"value":477},{"type":46,"tag":265,"props":1006,"children":1007},{"class":267,"line":366},[1008],{"type":46,"tag":265,"props":1009,"children":1010},{},[1011],{"type":51,"value":301},{"type":46,"tag":802,"props":1013,"children":1015},{"id":1014},"resource-counts",[1016],{"type":51,"value":1017},"Resource counts",{"type":46,"tag":217,"props":1019,"children":1021},{"className":257,"code":1020,"language":259,"meta":225,"style":225},"run \"test_resource_count\" {\n  command = plan\n\n  variables {\n    instance_count = 3\n  }\n\n  assert {\n    condition     = length(aws_instance.workers) == 3\n    error_message = \"Should create exactly 3 worker instances\"\n  }\n}\n",[1022],{"type":46,"tag":75,"props":1023,"children":1024},{"__ignoreMap":225},[1025,1033,1040,1047,1054,1062,1069,1076,1083,1091,1099,1106],{"type":46,"tag":265,"props":1026,"children":1027},{"class":267,"line":268},[1028],{"type":46,"tag":265,"props":1029,"children":1030},{},[1031],{"type":51,"value":1032},"run \"test_resource_count\" {\n",{"type":46,"tag":265,"props":1034,"children":1035},{"class":267,"line":277},[1036],{"type":46,"tag":265,"props":1037,"children":1038},{},[1039],{"type":51,"value":433},{"type":46,"tag":265,"props":1041,"children":1042},{"class":267,"line":286},[1043],{"type":46,"tag":265,"props":1044,"children":1045},{"emptyLinePlaceholder":308},[1046],{"type":51,"value":311},{"type":46,"tag":265,"props":1048,"children":1049},{"class":267,"line":295},[1050],{"type":46,"tag":265,"props":1051,"children":1052},{},[1053],{"type":51,"value":545},{"type":46,"tag":265,"props":1055,"children":1056},{"class":267,"line":304},[1057],{"type":46,"tag":265,"props":1058,"children":1059},{},[1060],{"type":51,"value":1061},"    instance_count = 3\n",{"type":46,"tag":265,"props":1063,"children":1064},{"class":267,"line":314},[1065],{"type":46,"tag":265,"props":1066,"children":1067},{},[1068],{"type":51,"value":477},{"type":46,"tag":265,"props":1070,"children":1071},{"class":267,"line":323},[1072],{"type":46,"tag":265,"props":1073,"children":1074},{"emptyLinePlaceholder":308},[1075],{"type":51,"value":311},{"type":46,"tag":265,"props":1077,"children":1078},{"class":267,"line":332},[1079],{"type":46,"tag":265,"props":1080,"children":1081},{},[1082],{"type":51,"value":450},{"type":46,"tag":265,"props":1084,"children":1085},{"class":267,"line":341},[1086],{"type":46,"tag":265,"props":1087,"children":1088},{},[1089],{"type":51,"value":1090},"    condition     = length(aws_instance.workers) == 3\n",{"type":46,"tag":265,"props":1092,"children":1093},{"class":267,"line":350},[1094],{"type":46,"tag":265,"props":1095,"children":1096},{},[1097],{"type":51,"value":1098},"    error_message = \"Should create exactly 3 worker instances\"\n",{"type":46,"tag":265,"props":1100,"children":1101},{"class":267,"line":358},[1102],{"type":46,"tag":265,"props":1103,"children":1104},{},[1105],{"type":51,"value":477},{"type":46,"tag":265,"props":1107,"children":1108},{"class":267,"line":366},[1109],{"type":46,"tag":265,"props":1110,"children":1111},{},[1112],{"type":51,"value":301},{"type":46,"tag":802,"props":1114,"children":1116},{"id":1115},"tags",[1117],{"type":51,"value":1118},"Tags",{"type":46,"tag":217,"props":1120,"children":1122},{"className":257,"code":1121,"language":259,"meta":225,"style":225},"run \"test_resource_tags\" {\n  command = plan\n\n  variables {\n    common_tags = {\n      Environment = \"production\"\n      ManagedBy   = \"Terraform\"\n    }\n  }\n\n  assert {\n    condition     = aws_instance.example.tags[\"Environment\"] == \"production\"\n    error_message = \"Environment tag should be set correctly\"\n  }\n\n  assert {\n    condition     = aws_instance.example.tags[\"ManagedBy\"] == \"Terraform\"\n    error_message = \"ManagedBy tag should be set correctly\"\n  }\n}\n",[1123],{"type":46,"tag":75,"props":1124,"children":1125},{"__ignoreMap":225},[1126,1134,1141,1148,1155,1163,1171,1179,1187,1194,1201,1208,1216,1224,1231,1238,1245,1253,1261,1268],{"type":46,"tag":265,"props":1127,"children":1128},{"class":267,"line":268},[1129],{"type":46,"tag":265,"props":1130,"children":1131},{},[1132],{"type":51,"value":1133},"run \"test_resource_tags\" {\n",{"type":46,"tag":265,"props":1135,"children":1136},{"class":267,"line":277},[1137],{"type":46,"tag":265,"props":1138,"children":1139},{},[1140],{"type":51,"value":433},{"type":46,"tag":265,"props":1142,"children":1143},{"class":267,"line":286},[1144],{"type":46,"tag":265,"props":1145,"children":1146},{"emptyLinePlaceholder":308},[1147],{"type":51,"value":311},{"type":46,"tag":265,"props":1149,"children":1150},{"class":267,"line":295},[1151],{"type":46,"tag":265,"props":1152,"children":1153},{},[1154],{"type":51,"value":545},{"type":46,"tag":265,"props":1156,"children":1157},{"class":267,"line":304},[1158],{"type":46,"tag":265,"props":1159,"children":1160},{},[1161],{"type":51,"value":1162},"    common_tags = {\n",{"type":46,"tag":265,"props":1164,"children":1165},{"class":267,"line":314},[1166],{"type":46,"tag":265,"props":1167,"children":1168},{},[1169],{"type":51,"value":1170},"      Environment = \"production\"\n",{"type":46,"tag":265,"props":1172,"children":1173},{"class":267,"line":323},[1174],{"type":46,"tag":265,"props":1175,"children":1176},{},[1177],{"type":51,"value":1178},"      ManagedBy   = \"Terraform\"\n",{"type":46,"tag":265,"props":1180,"children":1181},{"class":267,"line":332},[1182],{"type":46,"tag":265,"props":1183,"children":1184},{},[1185],{"type":51,"value":1186},"    }\n",{"type":46,"tag":265,"props":1188,"children":1189},{"class":267,"line":341},[1190],{"type":46,"tag":265,"props":1191,"children":1192},{},[1193],{"type":51,"value":477},{"type":46,"tag":265,"props":1195,"children":1196},{"class":267,"line":350},[1197],{"type":46,"tag":265,"props":1198,"children":1199},{"emptyLinePlaceholder":308},[1200],{"type":51,"value":311},{"type":46,"tag":265,"props":1202,"children":1203},{"class":267,"line":358},[1204],{"type":46,"tag":265,"props":1205,"children":1206},{},[1207],{"type":51,"value":450},{"type":46,"tag":265,"props":1209,"children":1210},{"class":267,"line":366},[1211],{"type":46,"tag":265,"props":1212,"children":1213},{},[1214],{"type":51,"value":1215},"    condition     = aws_instance.example.tags[\"Environment\"] == \"production\"\n",{"type":46,"tag":265,"props":1217,"children":1218},{"class":267,"line":375},[1219],{"type":46,"tag":265,"props":1220,"children":1221},{},[1222],{"type":51,"value":1223},"    error_message = \"Environment tag should be set correctly\"\n",{"type":46,"tag":265,"props":1225,"children":1226},{"class":267,"line":384},[1227],{"type":46,"tag":265,"props":1228,"children":1229},{},[1230],{"type":51,"value":477},{"type":46,"tag":265,"props":1232,"children":1233},{"class":267,"line":393},[1234],{"type":46,"tag":265,"props":1235,"children":1236},{"emptyLinePlaceholder":308},[1237],{"type":51,"value":311},{"type":46,"tag":265,"props":1239,"children":1240},{"class":267,"line":401},[1241],{"type":46,"tag":265,"props":1242,"children":1243},{},[1244],{"type":51,"value":450},{"type":46,"tag":265,"props":1246,"children":1247},{"class":267,"line":409},[1248],{"type":46,"tag":265,"props":1249,"children":1250},{},[1251],{"type":51,"value":1252},"    condition     = aws_instance.example.tags[\"ManagedBy\"] == \"Terraform\"\n",{"type":46,"tag":265,"props":1254,"children":1255},{"class":267,"line":418},[1256],{"type":46,"tag":265,"props":1257,"children":1258},{},[1259],{"type":51,"value":1260},"    error_message = \"ManagedBy tag should be set correctly\"\n",{"type":46,"tag":265,"props":1262,"children":1263},{"class":267,"line":427},[1264],{"type":46,"tag":265,"props":1265,"children":1266},{},[1267],{"type":51,"value":477},{"type":46,"tag":265,"props":1269,"children":1270},{"class":267,"line":436},[1271],{"type":46,"tag":265,"props":1272,"children":1273},{},[1274],{"type":51,"value":301},{"type":46,"tag":802,"props":1276,"children":1278},{"id":1277},"data-sources",[1279],{"type":51,"value":1280},"Data sources",{"type":46,"tag":217,"props":1282,"children":1284},{"className":257,"code":1283,"language":259,"meta":225,"style":225},"run \"test_data_source_lookup\" {\n  command = plan\n\n  assert {\n    condition     = data.aws_ami.ubuntu.id != \"\"\n    error_message = \"Should find a valid Ubuntu AMI\"\n  }\n\n  assert {\n    condition     = can(regex(\"^ami-\", data.aws_ami.ubuntu.id))\n    error_message = \"AMI ID should be in correct format\"\n  }\n}\n",[1285],{"type":46,"tag":75,"props":1286,"children":1287},{"__ignoreMap":225},[1288,1296,1303,1310,1317,1325,1333,1340,1347,1354,1362,1370,1377],{"type":46,"tag":265,"props":1289,"children":1290},{"class":267,"line":268},[1291],{"type":46,"tag":265,"props":1292,"children":1293},{},[1294],{"type":51,"value":1295},"run \"test_data_source_lookup\" {\n",{"type":46,"tag":265,"props":1297,"children":1298},{"class":267,"line":277},[1299],{"type":46,"tag":265,"props":1300,"children":1301},{},[1302],{"type":51,"value":433},{"type":46,"tag":265,"props":1304,"children":1305},{"class":267,"line":286},[1306],{"type":46,"tag":265,"props":1307,"children":1308},{"emptyLinePlaceholder":308},[1309],{"type":51,"value":311},{"type":46,"tag":265,"props":1311,"children":1312},{"class":267,"line":295},[1313],{"type":46,"tag":265,"props":1314,"children":1315},{},[1316],{"type":51,"value":450},{"type":46,"tag":265,"props":1318,"children":1319},{"class":267,"line":304},[1320],{"type":46,"tag":265,"props":1321,"children":1322},{},[1323],{"type":51,"value":1324},"    condition     = data.aws_ami.ubuntu.id != \"\"\n",{"type":46,"tag":265,"props":1326,"children":1327},{"class":267,"line":314},[1328],{"type":46,"tag":265,"props":1329,"children":1330},{},[1331],{"type":51,"value":1332},"    error_message = \"Should find a valid Ubuntu AMI\"\n",{"type":46,"tag":265,"props":1334,"children":1335},{"class":267,"line":323},[1336],{"type":46,"tag":265,"props":1337,"children":1338},{},[1339],{"type":51,"value":477},{"type":46,"tag":265,"props":1341,"children":1342},{"class":267,"line":332},[1343],{"type":46,"tag":265,"props":1344,"children":1345},{"emptyLinePlaceholder":308},[1346],{"type":51,"value":311},{"type":46,"tag":265,"props":1348,"children":1349},{"class":267,"line":341},[1350],{"type":46,"tag":265,"props":1351,"children":1352},{},[1353],{"type":51,"value":450},{"type":46,"tag":265,"props":1355,"children":1356},{"class":267,"line":350},[1357],{"type":46,"tag":265,"props":1358,"children":1359},{},[1360],{"type":51,"value":1361},"    condition     = can(regex(\"^ami-\", data.aws_ami.ubuntu.id))\n",{"type":46,"tag":265,"props":1363,"children":1364},{"class":267,"line":358},[1365],{"type":46,"tag":265,"props":1366,"children":1367},{},[1368],{"type":51,"value":1369},"    error_message = \"AMI ID should be in correct format\"\n",{"type":46,"tag":265,"props":1371,"children":1372},{"class":267,"line":366},[1373],{"type":46,"tag":265,"props":1374,"children":1375},{},[1376],{"type":51,"value":477},{"type":46,"tag":265,"props":1378,"children":1379},{"class":267,"line":375},[1380],{"type":46,"tag":265,"props":1381,"children":1382},{},[1383],{"type":51,"value":301},{"type":46,"tag":802,"props":1385,"children":1387},{"id":1386},"validation-rules",[1388],{"type":51,"value":1389},"Validation rules",{"type":46,"tag":217,"props":1391,"children":1393},{"className":257,"code":1392,"language":259,"meta":225,"style":225},"run \"test_invalid_environment\" {\n  command = plan\n\n  variables {\n    environment = \"invalid\"\n  }\n\n  expect_failures = [\n    var.environment\n  ]\n}\n",[1394],{"type":46,"tag":75,"props":1395,"children":1396},{"__ignoreMap":225},[1397,1405,1412,1419,1426,1434,1441,1448,1455,1463,1470],{"type":46,"tag":265,"props":1398,"children":1399},{"class":267,"line":268},[1400],{"type":46,"tag":265,"props":1401,"children":1402},{},[1403],{"type":51,"value":1404},"run \"test_invalid_environment\" {\n",{"type":46,"tag":265,"props":1406,"children":1407},{"class":267,"line":277},[1408],{"type":46,"tag":265,"props":1409,"children":1410},{},[1411],{"type":51,"value":433},{"type":46,"tag":265,"props":1413,"children":1414},{"class":267,"line":286},[1415],{"type":46,"tag":265,"props":1416,"children":1417},{"emptyLinePlaceholder":308},[1418],{"type":51,"value":311},{"type":46,"tag":265,"props":1420,"children":1421},{"class":267,"line":295},[1422],{"type":46,"tag":265,"props":1423,"children":1424},{},[1425],{"type":51,"value":545},{"type":46,"tag":265,"props":1427,"children":1428},{"class":267,"line":304},[1429],{"type":46,"tag":265,"props":1430,"children":1431},{},[1432],{"type":51,"value":1433},"    environment = \"invalid\"\n",{"type":46,"tag":265,"props":1435,"children":1436},{"class":267,"line":314},[1437],{"type":46,"tag":265,"props":1438,"children":1439},{},[1440],{"type":51,"value":477},{"type":46,"tag":265,"props":1442,"children":1443},{"class":267,"line":323},[1444],{"type":46,"tag":265,"props":1445,"children":1446},{"emptyLinePlaceholder":308},[1447],{"type":51,"value":311},{"type":46,"tag":265,"props":1449,"children":1450},{"class":267,"line":332},[1451],{"type":46,"tag":265,"props":1452,"children":1453},{},[1454],{"type":51,"value":768},{"type":46,"tag":265,"props":1456,"children":1457},{"class":267,"line":341},[1458],{"type":46,"tag":265,"props":1459,"children":1460},{},[1461],{"type":51,"value":1462},"    var.environment\n",{"type":46,"tag":265,"props":1464,"children":1465},{"class":267,"line":350},[1466],{"type":46,"tag":265,"props":1467,"children":1468},{},[1469],{"type":51,"value":786},{"type":46,"tag":265,"props":1471,"children":1472},{"class":267,"line":358},[1473],{"type":46,"tag":265,"props":1474,"children":1475},{},[1476],{"type":51,"value":301},{"type":46,"tag":802,"props":1478,"children":1480},{"id":1479},"sequential-tests-with-dependencies",[1481],{"type":51,"value":1482},"Sequential tests with dependencies",{"type":46,"tag":217,"props":1484,"children":1486},{"className":257,"code":1485,"language":259,"meta":225,"style":225},"run \"setup_vpc\" {\n  command = apply\n\n  assert {\n    condition     = output.vpc_id != \"\"\n    error_message = \"VPC should be created\"\n  }\n}\n\nrun \"test_subnet_in_vpc\" {\n  command = plan\n\n  variables {\n    vpc_id = run.setup_vpc.vpc_id\n  }\n\n  assert {\n    condition     = aws_subnet.example.vpc_id == run.setup_vpc.vpc_id\n    error_message = \"Subnet should be in the VPC from setup_vpc\"\n  }\n}\n",[1487],{"type":46,"tag":75,"props":1488,"children":1489},{"__ignoreMap":225},[1490,1498,1506,1513,1520,1528,1536,1543,1550,1557,1565,1572,1579,1586,1594,1601,1608,1615,1623,1631,1638],{"type":46,"tag":265,"props":1491,"children":1492},{"class":267,"line":268},[1493],{"type":46,"tag":265,"props":1494,"children":1495},{},[1496],{"type":51,"value":1497},"run \"setup_vpc\" {\n",{"type":46,"tag":265,"props":1499,"children":1500},{"class":267,"line":277},[1501],{"type":46,"tag":265,"props":1502,"children":1503},{},[1504],{"type":51,"value":1505},"  command = apply\n",{"type":46,"tag":265,"props":1507,"children":1508},{"class":267,"line":286},[1509],{"type":46,"tag":265,"props":1510,"children":1511},{"emptyLinePlaceholder":308},[1512],{"type":51,"value":311},{"type":46,"tag":265,"props":1514,"children":1515},{"class":267,"line":295},[1516],{"type":46,"tag":265,"props":1517,"children":1518},{},[1519],{"type":51,"value":450},{"type":46,"tag":265,"props":1521,"children":1522},{"class":267,"line":304},[1523],{"type":46,"tag":265,"props":1524,"children":1525},{},[1526],{"type":51,"value":1527},"    condition     = output.vpc_id != \"\"\n",{"type":46,"tag":265,"props":1529,"children":1530},{"class":267,"line":314},[1531],{"type":46,"tag":265,"props":1532,"children":1533},{},[1534],{"type":51,"value":1535},"    error_message = \"VPC should be created\"\n",{"type":46,"tag":265,"props":1537,"children":1538},{"class":267,"line":323},[1539],{"type":46,"tag":265,"props":1540,"children":1541},{},[1542],{"type":51,"value":477},{"type":46,"tag":265,"props":1544,"children":1545},{"class":267,"line":332},[1546],{"type":46,"tag":265,"props":1547,"children":1548},{},[1549],{"type":51,"value":301},{"type":46,"tag":265,"props":1551,"children":1552},{"class":267,"line":341},[1553],{"type":46,"tag":265,"props":1554,"children":1555},{"emptyLinePlaceholder":308},[1556],{"type":51,"value":311},{"type":46,"tag":265,"props":1558,"children":1559},{"class":267,"line":350},[1560],{"type":46,"tag":265,"props":1561,"children":1562},{},[1563],{"type":51,"value":1564},"run \"test_subnet_in_vpc\" {\n",{"type":46,"tag":265,"props":1566,"children":1567},{"class":267,"line":358},[1568],{"type":46,"tag":265,"props":1569,"children":1570},{},[1571],{"type":51,"value":433},{"type":46,"tag":265,"props":1573,"children":1574},{"class":267,"line":366},[1575],{"type":46,"tag":265,"props":1576,"children":1577},{"emptyLinePlaceholder":308},[1578],{"type":51,"value":311},{"type":46,"tag":265,"props":1580,"children":1581},{"class":267,"line":375},[1582],{"type":46,"tag":265,"props":1583,"children":1584},{},[1585],{"type":51,"value":545},{"type":46,"tag":265,"props":1587,"children":1588},{"class":267,"line":384},[1589],{"type":46,"tag":265,"props":1590,"children":1591},{},[1592],{"type":51,"value":1593},"    vpc_id = run.setup_vpc.vpc_id\n",{"type":46,"tag":265,"props":1595,"children":1596},{"class":267,"line":393},[1597],{"type":46,"tag":265,"props":1598,"children":1599},{},[1600],{"type":51,"value":477},{"type":46,"tag":265,"props":1602,"children":1603},{"class":267,"line":401},[1604],{"type":46,"tag":265,"props":1605,"children":1606},{"emptyLinePlaceholder":308},[1607],{"type":51,"value":311},{"type":46,"tag":265,"props":1609,"children":1610},{"class":267,"line":409},[1611],{"type":46,"tag":265,"props":1612,"children":1613},{},[1614],{"type":51,"value":450},{"type":46,"tag":265,"props":1616,"children":1617},{"class":267,"line":418},[1618],{"type":46,"tag":265,"props":1619,"children":1620},{},[1621],{"type":51,"value":1622},"    condition     = aws_subnet.example.vpc_id == run.setup_vpc.vpc_id\n",{"type":46,"tag":265,"props":1624,"children":1625},{"class":267,"line":427},[1626],{"type":46,"tag":265,"props":1627,"children":1628},{},[1629],{"type":51,"value":1630},"    error_message = \"Subnet should be in the VPC from setup_vpc\"\n",{"type":46,"tag":265,"props":1632,"children":1633},{"class":267,"line":436},[1634],{"type":46,"tag":265,"props":1635,"children":1636},{},[1637],{"type":51,"value":477},{"type":46,"tag":265,"props":1639,"children":1640},{"class":267,"line":444},[1641],{"type":46,"tag":265,"props":1642,"children":1643},{},[1644],{"type":51,"value":301},{"type":46,"tag":802,"props":1646,"children":1648},{"id":1647},"plan-options-refresh-only-targeted",[1649],{"type":51,"value":1650},"Plan options (refresh-only, targeted)",{"type":46,"tag":217,"props":1652,"children":1654},{"className":257,"code":1653,"language":259,"meta":225,"style":225},"run \"test_refresh_only\" {\n  command = plan\n\n  plan_options {\n    mode = refresh-only\n  }\n\n  assert {\n    condition     = aws_instance.example.tags[\"Environment\"] == \"production\"\n    error_message = \"Tags should be refreshed correctly\"\n  }\n}\n\nrun \"test_specific_resource\" {\n  command = plan\n\n  plan_options {\n    target = [aws_instance.example]\n  }\n\n  assert {\n    condition     = aws_instance.example.instance_type == \"t2.micro\"\n    error_message = \"Targeted resource should be planned\"\n  }\n}\n",[1655],{"type":46,"tag":75,"props":1656,"children":1657},{"__ignoreMap":225},[1658,1666,1673,1680,1687,1695,1702,1709,1716,1723,1731,1738,1745,1752,1760,1767,1774,1781,1789,1796,1803,1810,1817,1825,1832],{"type":46,"tag":265,"props":1659,"children":1660},{"class":267,"line":268},[1661],{"type":46,"tag":265,"props":1662,"children":1663},{},[1664],{"type":51,"value":1665},"run \"test_refresh_only\" {\n",{"type":46,"tag":265,"props":1667,"children":1668},{"class":267,"line":277},[1669],{"type":46,"tag":265,"props":1670,"children":1671},{},[1672],{"type":51,"value":433},{"type":46,"tag":265,"props":1674,"children":1675},{"class":267,"line":286},[1676],{"type":46,"tag":265,"props":1677,"children":1678},{"emptyLinePlaceholder":308},[1679],{"type":51,"value":311},{"type":46,"tag":265,"props":1681,"children":1682},{"class":267,"line":295},[1683],{"type":46,"tag":265,"props":1684,"children":1685},{},[1686],{"type":51,"value":652},{"type":46,"tag":265,"props":1688,"children":1689},{"class":267,"line":304},[1690],{"type":46,"tag":265,"props":1691,"children":1692},{},[1693],{"type":51,"value":1694},"    mode = refresh-only\n",{"type":46,"tag":265,"props":1696,"children":1697},{"class":267,"line":314},[1698],{"type":46,"tag":265,"props":1699,"children":1700},{},[1701],{"type":51,"value":477},{"type":46,"tag":265,"props":1703,"children":1704},{"class":267,"line":323},[1705],{"type":46,"tag":265,"props":1706,"children":1707},{"emptyLinePlaceholder":308},[1708],{"type":51,"value":311},{"type":46,"tag":265,"props":1710,"children":1711},{"class":267,"line":332},[1712],{"type":46,"tag":265,"props":1713,"children":1714},{},[1715],{"type":51,"value":450},{"type":46,"tag":265,"props":1717,"children":1718},{"class":267,"line":341},[1719],{"type":46,"tag":265,"props":1720,"children":1721},{},[1722],{"type":51,"value":1215},{"type":46,"tag":265,"props":1724,"children":1725},{"class":267,"line":350},[1726],{"type":46,"tag":265,"props":1727,"children":1728},{},[1729],{"type":51,"value":1730},"    error_message = \"Tags should be refreshed correctly\"\n",{"type":46,"tag":265,"props":1732,"children":1733},{"class":267,"line":358},[1734],{"type":46,"tag":265,"props":1735,"children":1736},{},[1737],{"type":51,"value":477},{"type":46,"tag":265,"props":1739,"children":1740},{"class":267,"line":366},[1741],{"type":46,"tag":265,"props":1742,"children":1743},{},[1744],{"type":51,"value":301},{"type":46,"tag":265,"props":1746,"children":1747},{"class":267,"line":375},[1748],{"type":46,"tag":265,"props":1749,"children":1750},{"emptyLinePlaceholder":308},[1751],{"type":51,"value":311},{"type":46,"tag":265,"props":1753,"children":1754},{"class":267,"line":384},[1755],{"type":46,"tag":265,"props":1756,"children":1757},{},[1758],{"type":51,"value":1759},"run \"test_specific_resource\" {\n",{"type":46,"tag":265,"props":1761,"children":1762},{"class":267,"line":393},[1763],{"type":46,"tag":265,"props":1764,"children":1765},{},[1766],{"type":51,"value":433},{"type":46,"tag":265,"props":1768,"children":1769},{"class":267,"line":401},[1770],{"type":46,"tag":265,"props":1771,"children":1772},{"emptyLinePlaceholder":308},[1773],{"type":51,"value":311},{"type":46,"tag":265,"props":1775,"children":1776},{"class":267,"line":409},[1777],{"type":46,"tag":265,"props":1778,"children":1779},{},[1780],{"type":51,"value":652},{"type":46,"tag":265,"props":1782,"children":1783},{"class":267,"line":418},[1784],{"type":46,"tag":265,"props":1785,"children":1786},{},[1787],{"type":51,"value":1788},"    target = [aws_instance.example]\n",{"type":46,"tag":265,"props":1790,"children":1791},{"class":267,"line":427},[1792],{"type":46,"tag":265,"props":1793,"children":1794},{},[1795],{"type":51,"value":477},{"type":46,"tag":265,"props":1797,"children":1798},{"class":267,"line":436},[1799],{"type":46,"tag":265,"props":1800,"children":1801},{"emptyLinePlaceholder":308},[1802],{"type":51,"value":311},{"type":46,"tag":265,"props":1804,"children":1805},{"class":267,"line":444},[1806],{"type":46,"tag":265,"props":1807,"children":1808},{},[1809],{"type":51,"value":450},{"type":46,"tag":265,"props":1811,"children":1812},{"class":267,"line":453},[1813],{"type":46,"tag":265,"props":1814,"children":1815},{},[1816],{"type":51,"value":459},{"type":46,"tag":265,"props":1818,"children":1819},{"class":267,"line":462},[1820],{"type":46,"tag":265,"props":1821,"children":1822},{},[1823],{"type":51,"value":1824},"    error_message = \"Targeted resource should be planned\"\n",{"type":46,"tag":265,"props":1826,"children":1827},{"class":267,"line":471},[1828],{"type":46,"tag":265,"props":1829,"children":1830},{},[1831],{"type":51,"value":477},{"type":46,"tag":265,"props":1833,"children":1834},{"class":267,"line":480},[1835],{"type":46,"tag":265,"props":1836,"children":1837},{},[1838],{"type":51,"value":301},{"type":46,"tag":802,"props":1840,"children":1842},{"id":1841},"parallel-modules",[1843],{"type":51,"value":1844},"Parallel modules",{"type":46,"tag":217,"props":1846,"children":1848},{"className":257,"code":1847,"language":259,"meta":225,"style":225},"run \"test_networking_module\" {\n  command  = plan\n  parallel = true\n\n  module {\n    source = \".\u002Fmodules\u002Fnetworking\"\n  }\n\n  assert {\n    condition     = output.vpc_id != \"\"\n    error_message = \"VPC should be created\"\n  }\n}\n\nrun \"test_compute_module\" {\n  command  = plan\n  parallel = true\n\n  module {\n    source = \".\u002Fmodules\u002Fcompute\"\n  }\n\n  assert {\n    condition     = output.instance_id != \"\"\n    error_message = \"Instance should be created\"\n  }\n}\n",[1849],{"type":46,"tag":75,"props":1850,"children":1851},{"__ignoreMap":225},[1852,1860,1868,1876,1883,1890,1898,1905,1912,1919,1926,1933,1940,1947,1954,1962,1969,1976,1983,1990,1998,2005,2012,2019,2027,2035,2042],{"type":46,"tag":265,"props":1853,"children":1854},{"class":267,"line":268},[1855],{"type":46,"tag":265,"props":1856,"children":1857},{},[1858],{"type":51,"value":1859},"run \"test_networking_module\" {\n",{"type":46,"tag":265,"props":1861,"children":1862},{"class":267,"line":277},[1863],{"type":46,"tag":265,"props":1864,"children":1865},{},[1866],{"type":51,"value":1867},"  command  = plan\n",{"type":46,"tag":265,"props":1869,"children":1870},{"class":267,"line":286},[1871],{"type":46,"tag":265,"props":1872,"children":1873},{},[1874],{"type":51,"value":1875},"  parallel = true\n",{"type":46,"tag":265,"props":1877,"children":1878},{"class":267,"line":295},[1879],{"type":46,"tag":265,"props":1880,"children":1881},{"emptyLinePlaceholder":308},[1882],{"type":51,"value":311},{"type":46,"tag":265,"props":1884,"children":1885},{"class":267,"line":304},[1886],{"type":46,"tag":265,"props":1887,"children":1888},{},[1889],{"type":51,"value":583},{"type":46,"tag":265,"props":1891,"children":1892},{"class":267,"line":314},[1893],{"type":46,"tag":265,"props":1894,"children":1895},{},[1896],{"type":51,"value":1897},"    source = \".\u002Fmodules\u002Fnetworking\"\n",{"type":46,"tag":265,"props":1899,"children":1900},{"class":267,"line":323},[1901],{"type":46,"tag":265,"props":1902,"children":1903},{},[1904],{"type":51,"value":477},{"type":46,"tag":265,"props":1906,"children":1907},{"class":267,"line":332},[1908],{"type":46,"tag":265,"props":1909,"children":1910},{"emptyLinePlaceholder":308},[1911],{"type":51,"value":311},{"type":46,"tag":265,"props":1913,"children":1914},{"class":267,"line":341},[1915],{"type":46,"tag":265,"props":1916,"children":1917},{},[1918],{"type":51,"value":450},{"type":46,"tag":265,"props":1920,"children":1921},{"class":267,"line":350},[1922],{"type":46,"tag":265,"props":1923,"children":1924},{},[1925],{"type":51,"value":1527},{"type":46,"tag":265,"props":1927,"children":1928},{"class":267,"line":358},[1929],{"type":46,"tag":265,"props":1930,"children":1931},{},[1932],{"type":51,"value":1535},{"type":46,"tag":265,"props":1934,"children":1935},{"class":267,"line":366},[1936],{"type":46,"tag":265,"props":1937,"children":1938},{},[1939],{"type":51,"value":477},{"type":46,"tag":265,"props":1941,"children":1942},{"class":267,"line":375},[1943],{"type":46,"tag":265,"props":1944,"children":1945},{},[1946],{"type":51,"value":301},{"type":46,"tag":265,"props":1948,"children":1949},{"class":267,"line":384},[1950],{"type":46,"tag":265,"props":1951,"children":1952},{"emptyLinePlaceholder":308},[1953],{"type":51,"value":311},{"type":46,"tag":265,"props":1955,"children":1956},{"class":267,"line":393},[1957],{"type":46,"tag":265,"props":1958,"children":1959},{},[1960],{"type":51,"value":1961},"run \"test_compute_module\" {\n",{"type":46,"tag":265,"props":1963,"children":1964},{"class":267,"line":401},[1965],{"type":46,"tag":265,"props":1966,"children":1967},{},[1968],{"type":51,"value":1867},{"type":46,"tag":265,"props":1970,"children":1971},{"class":267,"line":409},[1972],{"type":46,"tag":265,"props":1973,"children":1974},{},[1975],{"type":51,"value":1875},{"type":46,"tag":265,"props":1977,"children":1978},{"class":267,"line":418},[1979],{"type":46,"tag":265,"props":1980,"children":1981},{"emptyLinePlaceholder":308},[1982],{"type":51,"value":311},{"type":46,"tag":265,"props":1984,"children":1985},{"class":267,"line":427},[1986],{"type":46,"tag":265,"props":1987,"children":1988},{},[1989],{"type":51,"value":583},{"type":46,"tag":265,"props":1991,"children":1992},{"class":267,"line":436},[1993],{"type":46,"tag":265,"props":1994,"children":1995},{},[1996],{"type":51,"value":1997},"    source = \".\u002Fmodules\u002Fcompute\"\n",{"type":46,"tag":265,"props":1999,"children":2000},{"class":267,"line":444},[2001],{"type":46,"tag":265,"props":2002,"children":2003},{},[2004],{"type":51,"value":477},{"type":46,"tag":265,"props":2006,"children":2007},{"class":267,"line":453},[2008],{"type":46,"tag":265,"props":2009,"children":2010},{"emptyLinePlaceholder":308},[2011],{"type":51,"value":311},{"type":46,"tag":265,"props":2013,"children":2014},{"class":267,"line":462},[2015],{"type":46,"tag":265,"props":2016,"children":2017},{},[2018],{"type":51,"value":450},{"type":46,"tag":265,"props":2020,"children":2021},{"class":267,"line":471},[2022],{"type":46,"tag":265,"props":2023,"children":2024},{},[2025],{"type":51,"value":2026},"    condition     = output.instance_id != \"\"\n",{"type":46,"tag":265,"props":2028,"children":2029},{"class":267,"line":480},[2030],{"type":46,"tag":265,"props":2031,"children":2032},{},[2033],{"type":51,"value":2034},"    error_message = \"Instance should be created\"\n",{"type":46,"tag":265,"props":2036,"children":2037},{"class":267,"line":694},[2038],{"type":46,"tag":265,"props":2039,"children":2040},{},[2041],{"type":51,"value":477},{"type":46,"tag":265,"props":2043,"children":2044},{"class":267,"line":702},[2045],{"type":46,"tag":265,"props":2046,"children":2047},{},[2048],{"type":51,"value":301},{"type":46,"tag":802,"props":2050,"children":2052},{"id":2051},"state-key-sharing",[2053],{"type":51,"value":2054},"State key sharing",{"type":46,"tag":217,"props":2056,"children":2058},{"className":257,"code":2057,"language":259,"meta":225,"style":225},"run \"create_foundation\" {\n  command   = apply\n  state_key = \"foundation\"\n\n  assert {\n    condition     = aws_vpc.main.id != \"\"\n    error_message = \"Foundation VPC should be created\"\n  }\n}\n\nrun \"create_application\" {\n  command   = apply\n  state_key = \"foundation\"\n\n  variables {\n    vpc_id = run.create_foundation.vpc_id\n  }\n\n  assert {\n    condition     = aws_instance.app.vpc_id == run.create_foundation.vpc_id\n    error_message = \"Application should use foundation VPC\"\n  }\n}\n",[2059],{"type":46,"tag":75,"props":2060,"children":2061},{"__ignoreMap":225},[2062,2070,2078,2086,2093,2100,2108,2116,2123,2130,2137,2145,2152,2159,2166,2173,2181,2188,2195,2202,2210,2218,2225],{"type":46,"tag":265,"props":2063,"children":2064},{"class":267,"line":268},[2065],{"type":46,"tag":265,"props":2066,"children":2067},{},[2068],{"type":51,"value":2069},"run \"create_foundation\" {\n",{"type":46,"tag":265,"props":2071,"children":2072},{"class":267,"line":277},[2073],{"type":46,"tag":265,"props":2074,"children":2075},{},[2076],{"type":51,"value":2077},"  command   = apply\n",{"type":46,"tag":265,"props":2079,"children":2080},{"class":267,"line":286},[2081],{"type":46,"tag":265,"props":2082,"children":2083},{},[2084],{"type":51,"value":2085},"  state_key = \"foundation\"\n",{"type":46,"tag":265,"props":2087,"children":2088},{"class":267,"line":295},[2089],{"type":46,"tag":265,"props":2090,"children":2091},{"emptyLinePlaceholder":308},[2092],{"type":51,"value":311},{"type":46,"tag":265,"props":2094,"children":2095},{"class":267,"line":304},[2096],{"type":46,"tag":265,"props":2097,"children":2098},{},[2099],{"type":51,"value":450},{"type":46,"tag":265,"props":2101,"children":2102},{"class":267,"line":314},[2103],{"type":46,"tag":265,"props":2104,"children":2105},{},[2106],{"type":51,"value":2107},"    condition     = aws_vpc.main.id != \"\"\n",{"type":46,"tag":265,"props":2109,"children":2110},{"class":267,"line":323},[2111],{"type":46,"tag":265,"props":2112,"children":2113},{},[2114],{"type":51,"value":2115},"    error_message = \"Foundation VPC should be created\"\n",{"type":46,"tag":265,"props":2117,"children":2118},{"class":267,"line":332},[2119],{"type":46,"tag":265,"props":2120,"children":2121},{},[2122],{"type":51,"value":477},{"type":46,"tag":265,"props":2124,"children":2125},{"class":267,"line":341},[2126],{"type":46,"tag":265,"props":2127,"children":2128},{},[2129],{"type":51,"value":301},{"type":46,"tag":265,"props":2131,"children":2132},{"class":267,"line":350},[2133],{"type":46,"tag":265,"props":2134,"children":2135},{"emptyLinePlaceholder":308},[2136],{"type":51,"value":311},{"type":46,"tag":265,"props":2138,"children":2139},{"class":267,"line":358},[2140],{"type":46,"tag":265,"props":2141,"children":2142},{},[2143],{"type":51,"value":2144},"run \"create_application\" {\n",{"type":46,"tag":265,"props":2146,"children":2147},{"class":267,"line":366},[2148],{"type":46,"tag":265,"props":2149,"children":2150},{},[2151],{"type":51,"value":2077},{"type":46,"tag":265,"props":2153,"children":2154},{"class":267,"line":375},[2155],{"type":46,"tag":265,"props":2156,"children":2157},{},[2158],{"type":51,"value":2085},{"type":46,"tag":265,"props":2160,"children":2161},{"class":267,"line":384},[2162],{"type":46,"tag":265,"props":2163,"children":2164},{"emptyLinePlaceholder":308},[2165],{"type":51,"value":311},{"type":46,"tag":265,"props":2167,"children":2168},{"class":267,"line":393},[2169],{"type":46,"tag":265,"props":2170,"children":2171},{},[2172],{"type":51,"value":545},{"type":46,"tag":265,"props":2174,"children":2175},{"class":267,"line":401},[2176],{"type":46,"tag":265,"props":2177,"children":2178},{},[2179],{"type":51,"value":2180},"    vpc_id = run.create_foundation.vpc_id\n",{"type":46,"tag":265,"props":2182,"children":2183},{"class":267,"line":409},[2184],{"type":46,"tag":265,"props":2185,"children":2186},{},[2187],{"type":51,"value":477},{"type":46,"tag":265,"props":2189,"children":2190},{"class":267,"line":418},[2191],{"type":46,"tag":265,"props":2192,"children":2193},{"emptyLinePlaceholder":308},[2194],{"type":51,"value":311},{"type":46,"tag":265,"props":2196,"children":2197},{"class":267,"line":427},[2198],{"type":46,"tag":265,"props":2199,"children":2200},{},[2201],{"type":51,"value":450},{"type":46,"tag":265,"props":2203,"children":2204},{"class":267,"line":436},[2205],{"type":46,"tag":265,"props":2206,"children":2207},{},[2208],{"type":51,"value":2209},"    condition     = aws_instance.app.vpc_id == run.create_foundation.vpc_id\n",{"type":46,"tag":265,"props":2211,"children":2212},{"class":267,"line":444},[2213],{"type":46,"tag":265,"props":2214,"children":2215},{},[2216],{"type":51,"value":2217},"    error_message = \"Application should use foundation VPC\"\n",{"type":46,"tag":265,"props":2219,"children":2220},{"class":267,"line":453},[2221],{"type":46,"tag":265,"props":2222,"children":2223},{},[2224],{"type":51,"value":477},{"type":46,"tag":265,"props":2226,"children":2227},{"class":267,"line":462},[2228],{"type":46,"tag":265,"props":2229,"children":2230},{},[2231],{"type":51,"value":301},{"type":46,"tag":802,"props":2233,"children":2235},{"id":2234},"cleanup-ordering-s3-objects-before-bucket",[2236],{"type":51,"value":2237},"Cleanup ordering (S3 objects before bucket)",{"type":46,"tag":217,"props":2239,"children":2241},{"className":257,"code":2240,"language":259,"meta":225,"style":225},"run \"create_bucket\" {\n  command = apply\n\n  assert {\n    condition     = aws_s3_bucket.example.id != \"\"\n    error_message = \"Bucket should be created\"\n  }\n}\n\nrun \"add_objects\" {\n  command = apply\n\n  assert {\n    condition     = length(aws_s3_object.files) > 0\n    error_message = \"Objects should be added\"\n  }\n}\n\n# Cleanup destroys in reverse: objects first, then bucket\n",[2242],{"type":46,"tag":75,"props":2243,"children":2244},{"__ignoreMap":225},[2245,2253,2260,2267,2274,2282,2290,2297,2304,2311,2319,2326,2333,2340,2348,2356,2363,2370,2377],{"type":46,"tag":265,"props":2246,"children":2247},{"class":267,"line":268},[2248],{"type":46,"tag":265,"props":2249,"children":2250},{},[2251],{"type":51,"value":2252},"run \"create_bucket\" {\n",{"type":46,"tag":265,"props":2254,"children":2255},{"class":267,"line":277},[2256],{"type":46,"tag":265,"props":2257,"children":2258},{},[2259],{"type":51,"value":1505},{"type":46,"tag":265,"props":2261,"children":2262},{"class":267,"line":286},[2263],{"type":46,"tag":265,"props":2264,"children":2265},{"emptyLinePlaceholder":308},[2266],{"type":51,"value":311},{"type":46,"tag":265,"props":2268,"children":2269},{"class":267,"line":295},[2270],{"type":46,"tag":265,"props":2271,"children":2272},{},[2273],{"type":51,"value":450},{"type":46,"tag":265,"props":2275,"children":2276},{"class":267,"line":304},[2277],{"type":46,"tag":265,"props":2278,"children":2279},{},[2280],{"type":51,"value":2281},"    condition     = aws_s3_bucket.example.id != \"\"\n",{"type":46,"tag":265,"props":2283,"children":2284},{"class":267,"line":314},[2285],{"type":46,"tag":265,"props":2286,"children":2287},{},[2288],{"type":51,"value":2289},"    error_message = \"Bucket should be created\"\n",{"type":46,"tag":265,"props":2291,"children":2292},{"class":267,"line":323},[2293],{"type":46,"tag":265,"props":2294,"children":2295},{},[2296],{"type":51,"value":477},{"type":46,"tag":265,"props":2298,"children":2299},{"class":267,"line":332},[2300],{"type":46,"tag":265,"props":2301,"children":2302},{},[2303],{"type":51,"value":301},{"type":46,"tag":265,"props":2305,"children":2306},{"class":267,"line":341},[2307],{"type":46,"tag":265,"props":2308,"children":2309},{"emptyLinePlaceholder":308},[2310],{"type":51,"value":311},{"type":46,"tag":265,"props":2312,"children":2313},{"class":267,"line":350},[2314],{"type":46,"tag":265,"props":2315,"children":2316},{},[2317],{"type":51,"value":2318},"run \"add_objects\" {\n",{"type":46,"tag":265,"props":2320,"children":2321},{"class":267,"line":358},[2322],{"type":46,"tag":265,"props":2323,"children":2324},{},[2325],{"type":51,"value":1505},{"type":46,"tag":265,"props":2327,"children":2328},{"class":267,"line":366},[2329],{"type":46,"tag":265,"props":2330,"children":2331},{"emptyLinePlaceholder":308},[2332],{"type":51,"value":311},{"type":46,"tag":265,"props":2334,"children":2335},{"class":267,"line":375},[2336],{"type":46,"tag":265,"props":2337,"children":2338},{},[2339],{"type":51,"value":450},{"type":46,"tag":265,"props":2341,"children":2342},{"class":267,"line":384},[2343],{"type":46,"tag":265,"props":2344,"children":2345},{},[2346],{"type":51,"value":2347},"    condition     = length(aws_s3_object.files) > 0\n",{"type":46,"tag":265,"props":2349,"children":2350},{"class":267,"line":393},[2351],{"type":46,"tag":265,"props":2352,"children":2353},{},[2354],{"type":51,"value":2355},"    error_message = \"Objects should be added\"\n",{"type":46,"tag":265,"props":2357,"children":2358},{"class":267,"line":401},[2359],{"type":46,"tag":265,"props":2360,"children":2361},{},[2362],{"type":51,"value":477},{"type":46,"tag":265,"props":2364,"children":2365},{"class":267,"line":409},[2366],{"type":46,"tag":265,"props":2367,"children":2368},{},[2369],{"type":51,"value":301},{"type":46,"tag":265,"props":2371,"children":2372},{"class":267,"line":418},[2373],{"type":46,"tag":265,"props":2374,"children":2375},{"emptyLinePlaceholder":308},[2376],{"type":51,"value":311},{"type":46,"tag":265,"props":2378,"children":2379},{"class":267,"line":427},[2380],{"type":46,"tag":265,"props":2381,"children":2382},{},[2383],{"type":51,"value":2384},"# Cleanup destroys in reverse: objects first, then bucket\n",{"type":46,"tag":802,"props":2386,"children":2388},{"id":2387},"multiple-aliased-providers",[2389],{"type":51,"value":2390},"Multiple aliased providers",{"type":46,"tag":217,"props":2392,"children":2394},{"className":257,"code":2393,"language":259,"meta":225,"style":225},"provider \"aws\" {\n  alias  = \"primary\"\n  region = \"us-west-2\"\n}\n\nprovider \"aws\" {\n  alias  = \"secondary\"\n  region = \"us-east-1\"\n}\n\nrun \"test_with_specific_provider\" {\n  command = plan\n\n  providers = {\n    aws = provider.aws.secondary\n  }\n\n  assert {\n    condition     = aws_instance.example.availability_zone == \"us-east-1a\"\n    error_message = \"Instance should be in us-east-1 region\"\n  }\n}\n",[2395],{"type":46,"tag":75,"props":2396,"children":2397},{"__ignoreMap":225},[2398,2405,2413,2421,2428,2435,2442,2450,2458,2465,2472,2480,2487,2494,2502,2510,2517,2524,2531,2539,2547,2554],{"type":46,"tag":265,"props":2399,"children":2400},{"class":267,"line":268},[2401],{"type":46,"tag":265,"props":2402,"children":2403},{},[2404],{"type":51,"value":381},{"type":46,"tag":265,"props":2406,"children":2407},{"class":267,"line":277},[2408],{"type":46,"tag":265,"props":2409,"children":2410},{},[2411],{"type":51,"value":2412},"  alias  = \"primary\"\n",{"type":46,"tag":265,"props":2414,"children":2415},{"class":267,"line":286},[2416],{"type":46,"tag":265,"props":2417,"children":2418},{},[2419],{"type":51,"value":2420},"  region = \"us-west-2\"\n",{"type":46,"tag":265,"props":2422,"children":2423},{"class":267,"line":295},[2424],{"type":46,"tag":265,"props":2425,"children":2426},{},[2427],{"type":51,"value":301},{"type":46,"tag":265,"props":2429,"children":2430},{"class":267,"line":304},[2431],{"type":46,"tag":265,"props":2432,"children":2433},{"emptyLinePlaceholder":308},[2434],{"type":51,"value":311},{"type":46,"tag":265,"props":2436,"children":2437},{"class":267,"line":314},[2438],{"type":46,"tag":265,"props":2439,"children":2440},{},[2441],{"type":51,"value":381},{"type":46,"tag":265,"props":2443,"children":2444},{"class":267,"line":323},[2445],{"type":46,"tag":265,"props":2446,"children":2447},{},[2448],{"type":51,"value":2449},"  alias  = \"secondary\"\n",{"type":46,"tag":265,"props":2451,"children":2452},{"class":267,"line":332},[2453],{"type":46,"tag":265,"props":2454,"children":2455},{},[2456],{"type":51,"value":2457},"  region = \"us-east-1\"\n",{"type":46,"tag":265,"props":2459,"children":2460},{"class":267,"line":341},[2461],{"type":46,"tag":265,"props":2462,"children":2463},{},[2464],{"type":51,"value":301},{"type":46,"tag":265,"props":2466,"children":2467},{"class":267,"line":350},[2468],{"type":46,"tag":265,"props":2469,"children":2470},{"emptyLinePlaceholder":308},[2471],{"type":51,"value":311},{"type":46,"tag":265,"props":2473,"children":2474},{"class":267,"line":358},[2475],{"type":46,"tag":265,"props":2476,"children":2477},{},[2478],{"type":51,"value":2479},"run \"test_with_specific_provider\" {\n",{"type":46,"tag":265,"props":2481,"children":2482},{"class":267,"line":366},[2483],{"type":46,"tag":265,"props":2484,"children":2485},{},[2486],{"type":51,"value":433},{"type":46,"tag":265,"props":2488,"children":2489},{"class":267,"line":375},[2490],{"type":46,"tag":265,"props":2491,"children":2492},{"emptyLinePlaceholder":308},[2493],{"type":51,"value":311},{"type":46,"tag":265,"props":2495,"children":2496},{"class":267,"line":384},[2497],{"type":46,"tag":265,"props":2498,"children":2499},{},[2500],{"type":51,"value":2501},"  providers = {\n",{"type":46,"tag":265,"props":2503,"children":2504},{"class":267,"line":393},[2505],{"type":46,"tag":265,"props":2506,"children":2507},{},[2508],{"type":51,"value":2509},"    aws = provider.aws.secondary\n",{"type":46,"tag":265,"props":2511,"children":2512},{"class":267,"line":401},[2513],{"type":46,"tag":265,"props":2514,"children":2515},{},[2516],{"type":51,"value":477},{"type":46,"tag":265,"props":2518,"children":2519},{"class":267,"line":409},[2520],{"type":46,"tag":265,"props":2521,"children":2522},{"emptyLinePlaceholder":308},[2523],{"type":51,"value":311},{"type":46,"tag":265,"props":2525,"children":2526},{"class":267,"line":418},[2527],{"type":46,"tag":265,"props":2528,"children":2529},{},[2530],{"type":51,"value":450},{"type":46,"tag":265,"props":2532,"children":2533},{"class":267,"line":427},[2534],{"type":46,"tag":265,"props":2535,"children":2536},{},[2537],{"type":51,"value":2538},"    condition     = aws_instance.example.availability_zone == \"us-east-1a\"\n",{"type":46,"tag":265,"props":2540,"children":2541},{"class":267,"line":436},[2542],{"type":46,"tag":265,"props":2543,"children":2544},{},[2545],{"type":51,"value":2546},"    error_message = \"Instance should be in us-east-1 region\"\n",{"type":46,"tag":265,"props":2548,"children":2549},{"class":267,"line":444},[2550],{"type":46,"tag":265,"props":2551,"children":2552},{},[2553],{"type":51,"value":477},{"type":46,"tag":265,"props":2555,"children":2556},{"class":267,"line":453},[2557],{"type":46,"tag":265,"props":2558,"children":2559},{},[2560],{"type":51,"value":301},{"type":46,"tag":802,"props":2562,"children":2564},{"id":2563},"complex-conditions",[2565],{"type":51,"value":2566},"Complex conditions",{"type":46,"tag":217,"props":2568,"children":2570},{"className":257,"code":2569,"language":259,"meta":225,"style":225},"assert {\n  condition = alltrue([\n    for subnet in aws_subnet.private :\n    can(regex(\"^10\\\\.0\\\\.\", subnet.cidr_block))\n  ])\n  error_message = \"All private subnets should use 10.0.0.0\u002F8 CIDR range\"\n}\n",[2571],{"type":46,"tag":75,"props":2572,"children":2573},{"__ignoreMap":225},[2574,2582,2590,2598,2606,2614,2622],{"type":46,"tag":265,"props":2575,"children":2576},{"class":267,"line":268},[2577],{"type":46,"tag":265,"props":2578,"children":2579},{},[2580],{"type":51,"value":2581},"assert {\n",{"type":46,"tag":265,"props":2583,"children":2584},{"class":267,"line":277},[2585],{"type":46,"tag":265,"props":2586,"children":2587},{},[2588],{"type":51,"value":2589},"  condition = alltrue([\n",{"type":46,"tag":265,"props":2591,"children":2592},{"class":267,"line":286},[2593],{"type":46,"tag":265,"props":2594,"children":2595},{},[2596],{"type":51,"value":2597},"    for subnet in aws_subnet.private :\n",{"type":46,"tag":265,"props":2599,"children":2600},{"class":267,"line":295},[2601],{"type":46,"tag":265,"props":2602,"children":2603},{},[2604],{"type":51,"value":2605},"    can(regex(\"^10\\\\.0\\\\.\", subnet.cidr_block))\n",{"type":46,"tag":265,"props":2607,"children":2608},{"class":267,"line":304},[2609],{"type":46,"tag":265,"props":2610,"children":2611},{},[2612],{"type":51,"value":2613},"  ])\n",{"type":46,"tag":265,"props":2615,"children":2616},{"class":267,"line":314},[2617],{"type":46,"tag":265,"props":2618,"children":2619},{},[2620],{"type":51,"value":2621},"  error_message = \"All private subnets should use 10.0.0.0\u002F8 CIDR range\"\n",{"type":46,"tag":265,"props":2623,"children":2624},{"class":267,"line":323},[2625],{"type":46,"tag":265,"props":2626,"children":2627},{},[2628],{"type":51,"value":301},{"type":46,"tag":60,"props":2630,"children":2632},{"id":2631},"cleanup",[2633],{"type":51,"value":2634},"Cleanup",{"type":46,"tag":54,"props":2636,"children":2637},{},[2638,2640,2645,2647,2653],{"type":51,"value":2639},"Resources are destroyed in ",{"type":46,"tag":123,"props":2641,"children":2642},{},[2643],{"type":51,"value":2644},"reverse run block order",{"type":51,"value":2646}," after test completion. This matters for dependencies (e.g., S3 objects before bucket). Use ",{"type":46,"tag":75,"props":2648,"children":2650},{"className":2649},[],[2651],{"type":51,"value":2652},"terraform test -no-cleanup",{"type":51,"value":2654}," to skip cleanup for debugging.",{"type":46,"tag":60,"props":2656,"children":2658},{"id":2657},"running-tests",[2659],{"type":51,"value":2660},"Running Tests",{"type":46,"tag":217,"props":2662,"children":2666},{"className":2663,"code":2664,"language":2665,"meta":225,"style":225},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","terraform test                                        # all tests\nterraform test tests\u002Fdefaults.tftest.hcl             # specific file\nterraform test -filter=test_vpc_configuration        # by run block name\nterraform test -test-directory=integration-tests     # custom directory\nterraform test -verbose                              # detailed output\nterraform test -no-cleanup                           # skip resource cleanup\n","bash",[2667],{"type":46,"tag":75,"props":2668,"children":2669},{"__ignoreMap":225},[2670,2690,2711,2732,2753,2774],{"type":46,"tag":265,"props":2671,"children":2672},{"class":267,"line":268},[2673,2678,2684],{"type":46,"tag":265,"props":2674,"children":2676},{"style":2675},"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B",[2677],{"type":51,"value":18},{"type":46,"tag":265,"props":2679,"children":2681},{"style":2680},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[2682],{"type":51,"value":2683}," test",{"type":46,"tag":265,"props":2685,"children":2687},{"style":2686},"--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic",[2688],{"type":51,"value":2689},"                                        # all tests\n",{"type":46,"tag":265,"props":2691,"children":2692},{"class":267,"line":277},[2693,2697,2701,2706],{"type":46,"tag":265,"props":2694,"children":2695},{"style":2675},[2696],{"type":51,"value":18},{"type":46,"tag":265,"props":2698,"children":2699},{"style":2680},[2700],{"type":51,"value":2683},{"type":46,"tag":265,"props":2702,"children":2703},{"style":2680},[2704],{"type":51,"value":2705}," tests\u002Fdefaults.tftest.hcl",{"type":46,"tag":265,"props":2707,"children":2708},{"style":2686},[2709],{"type":51,"value":2710},"             # specific file\n",{"type":46,"tag":265,"props":2712,"children":2713},{"class":267,"line":286},[2714,2718,2722,2727],{"type":46,"tag":265,"props":2715,"children":2716},{"style":2675},[2717],{"type":51,"value":18},{"type":46,"tag":265,"props":2719,"children":2720},{"style":2680},[2721],{"type":51,"value":2683},{"type":46,"tag":265,"props":2723,"children":2724},{"style":2680},[2725],{"type":51,"value":2726}," -filter=test_vpc_configuration",{"type":46,"tag":265,"props":2728,"children":2729},{"style":2686},[2730],{"type":51,"value":2731},"        # by run block name\n",{"type":46,"tag":265,"props":2733,"children":2734},{"class":267,"line":295},[2735,2739,2743,2748],{"type":46,"tag":265,"props":2736,"children":2737},{"style":2675},[2738],{"type":51,"value":18},{"type":46,"tag":265,"props":2740,"children":2741},{"style":2680},[2742],{"type":51,"value":2683},{"type":46,"tag":265,"props":2744,"children":2745},{"style":2680},[2746],{"type":51,"value":2747}," -test-directory=integration-tests",{"type":46,"tag":265,"props":2749,"children":2750},{"style":2686},[2751],{"type":51,"value":2752},"     # custom directory\n",{"type":46,"tag":265,"props":2754,"children":2755},{"class":267,"line":304},[2756,2760,2764,2769],{"type":46,"tag":265,"props":2757,"children":2758},{"style":2675},[2759],{"type":51,"value":18},{"type":46,"tag":265,"props":2761,"children":2762},{"style":2680},[2763],{"type":51,"value":2683},{"type":46,"tag":265,"props":2765,"children":2766},{"style":2680},[2767],{"type":51,"value":2768}," -verbose",{"type":46,"tag":265,"props":2770,"children":2771},{"style":2686},[2772],{"type":51,"value":2773},"                              # detailed output\n",{"type":46,"tag":265,"props":2775,"children":2776},{"class":267,"line":314},[2777,2781,2785,2790],{"type":46,"tag":265,"props":2778,"children":2779},{"style":2675},[2780],{"type":51,"value":18},{"type":46,"tag":265,"props":2782,"children":2783},{"style":2680},[2784],{"type":51,"value":2683},{"type":46,"tag":265,"props":2786,"children":2787},{"style":2680},[2788],{"type":51,"value":2789}," -no-cleanup",{"type":46,"tag":265,"props":2791,"children":2792},{"style":2686},[2793],{"type":51,"value":2794},"                           # skip resource cleanup\n",{"type":46,"tag":60,"props":2796,"children":2798},{"id":2797},"best-practices",[2799],{"type":51,"value":2800},"Best Practices",{"type":46,"tag":2802,"props":2803,"children":2804},"ol",{},[2805,2828,2838,2856,2873,2883,2900,2910,2920,2937,2954],{"type":46,"tag":71,"props":2806,"children":2807},{},[2808,2813,2814,2819,2821,2826],{"type":46,"tag":123,"props":2809,"children":2810},{},[2811],{"type":51,"value":2812},"Naming",{"type":51,"value":193},{"type":46,"tag":75,"props":2815,"children":2817},{"className":2816},[],[2818],{"type":51,"value":238},{"type":51,"value":2820}," for plan mode, ",{"type":46,"tag":75,"props":2822,"children":2824},{"className":2823},[],[2825],{"type":51,"value":246},{"type":51,"value":2827}," for apply mode",{"type":46,"tag":71,"props":2829,"children":2830},{},[2831,2836],{"type":46,"tag":123,"props":2832,"children":2833},{},[2834],{"type":51,"value":2835},"Test naming",{"type":51,"value":2837},": Use descriptive run block names that explain the scenario being tested",{"type":46,"tag":71,"props":2839,"children":2840},{},[2841,2846,2848,2854],{"type":46,"tag":123,"props":2842,"children":2843},{},[2844],{"type":51,"value":2845},"Default to plan",{"type":51,"value":2847},": Use ",{"type":46,"tag":75,"props":2849,"children":2851},{"className":2850},[],[2852],{"type":51,"value":2853},"command = plan",{"type":51,"value":2855}," unless you need to test real resource behavior",{"type":46,"tag":71,"props":2857,"children":2858},{},[2859,2864,2866,2871],{"type":46,"tag":123,"props":2860,"children":2861},{},[2862],{"type":51,"value":2863},"Use mocks",{"type":51,"value":2865}," for external dependencies — faster and no credentials needed (see ",{"type":46,"tag":75,"props":2867,"children":2869},{"className":2868},[],[2870],{"type":51,"value":80},{"type":51,"value":2872},")",{"type":46,"tag":71,"props":2874,"children":2875},{},[2876,2881],{"type":46,"tag":123,"props":2877,"children":2878},{},[2879],{"type":51,"value":2880},"Error messages",{"type":51,"value":2882},": Make them specific enough to diagnose failures without running the test again",{"type":46,"tag":71,"props":2884,"children":2885},{},[2886,2891,2892,2898],{"type":46,"tag":123,"props":2887,"children":2888},{},[2889],{"type":51,"value":2890},"Negative tests",{"type":51,"value":2847},{"type":46,"tag":75,"props":2893,"children":2895},{"className":2894},[],[2896],{"type":51,"value":2897},"expect_failures",{"type":51,"value":2899}," to verify validation rules reject bad inputs",{"type":46,"tag":71,"props":2901,"children":2902},{},[2903,2908],{"type":46,"tag":123,"props":2904,"children":2905},{},[2906],{"type":51,"value":2907},"Variable coverage",{"type":51,"value":2909},": Test different variable combinations to validate all code paths — test variables have the highest precedence and override all other sources",{"type":46,"tag":71,"props":2911,"children":2912},{},[2913,2918],{"type":46,"tag":123,"props":2914,"children":2915},{},[2916],{"type":51,"value":2917},"Module sources",{"type":51,"value":2919},": Test files only support local paths and registry modules — not git or HTTP URLs",{"type":46,"tag":71,"props":2921,"children":2922},{},[2923,2928,2929,2935],{"type":46,"tag":123,"props":2924,"children":2925},{},[2926],{"type":51,"value":2927},"Parallel execution",{"type":51,"value":2847},{"type":46,"tag":75,"props":2930,"children":2932},{"className":2931},[],[2933],{"type":51,"value":2934},"parallel = true",{"type":51,"value":2936}," for independent tests with different state files",{"type":46,"tag":71,"props":2938,"children":2939},{},[2940,2944,2946,2952],{"type":46,"tag":123,"props":2941,"children":2942},{},[2943],{"type":51,"value":2634},{"type":51,"value":2945},": Integration tests destroy resources in reverse run block order automatically; use ",{"type":46,"tag":75,"props":2947,"children":2949},{"className":2948},[],[2950],{"type":51,"value":2951},"-no-cleanup",{"type":51,"value":2953}," for debugging",{"type":46,"tag":71,"props":2955,"children":2956},{},[2957,2962,2964,2969],{"type":46,"tag":123,"props":2958,"children":2959},{},[2960],{"type":51,"value":2961},"CI\u002FCD",{"type":51,"value":2963},": Run unit tests on every PR, integration tests on merge (see ",{"type":46,"tag":75,"props":2965,"children":2967},{"className":2966},[],[2968],{"type":51,"value":91},{"type":51,"value":2872},{"type":46,"tag":60,"props":2971,"children":2973},{"id":2972},"troubleshooting",[2974],{"type":51,"value":2975},"Troubleshooting",{"type":46,"tag":2977,"props":2978,"children":2979},"table",{},[2980,2999],{"type":46,"tag":2981,"props":2982,"children":2983},"thead",{},[2984],{"type":46,"tag":2985,"props":2986,"children":2987},"tr",{},[2988,2994],{"type":46,"tag":2989,"props":2990,"children":2991},"th",{},[2992],{"type":51,"value":2993},"Issue",{"type":46,"tag":2989,"props":2995,"children":2996},{},[2997],{"type":51,"value":2998},"Solution",{"type":46,"tag":3000,"props":3001,"children":3002},"tbody",{},[3003,3024,3037,3050,3070],{"type":46,"tag":2985,"props":3004,"children":3005},{},[3006,3012],{"type":46,"tag":3007,"props":3008,"children":3009},"td",{},[3010],{"type":51,"value":3011},"Assertion failures",{"type":46,"tag":3007,"props":3013,"children":3014},{},[3015,3016,3022],{"type":51,"value":232},{"type":46,"tag":75,"props":3017,"children":3019},{"className":3018},[],[3020],{"type":51,"value":3021},"-verbose",{"type":51,"value":3023}," to see actual vs expected values",{"type":46,"tag":2985,"props":3025,"children":3026},{},[3027,3032],{"type":46,"tag":3007,"props":3028,"children":3029},{},[3030],{"type":51,"value":3031},"Missing credentials",{"type":46,"tag":3007,"props":3033,"children":3034},{},[3035],{"type":51,"value":3036},"Use mock providers for unit tests",{"type":46,"tag":2985,"props":3038,"children":3039},{},[3040,3045],{"type":46,"tag":3007,"props":3041,"children":3042},{},[3043],{"type":51,"value":3044},"Unsupported module source",{"type":46,"tag":3007,"props":3046,"children":3047},{},[3048],{"type":51,"value":3049},"Convert git\u002FHTTP sources to local modules",{"type":46,"tag":2985,"props":3051,"children":3052},{},[3053,3058],{"type":46,"tag":3007,"props":3054,"children":3055},{},[3056],{"type":51,"value":3057},"Tests interfering",{"type":46,"tag":3007,"props":3059,"children":3060},{},[3061,3062,3068],{"type":51,"value":232},{"type":46,"tag":75,"props":3063,"children":3065},{"className":3064},[],[3066],{"type":51,"value":3067},"state_key",{"type":51,"value":3069}," or separate modules for isolation",{"type":46,"tag":2985,"props":3071,"children":3072},{},[3073,3078],{"type":46,"tag":3007,"props":3074,"children":3075},{},[3076],{"type":51,"value":3077},"Slow tests",{"type":46,"tag":3007,"props":3079,"children":3080},{},[3081,3082,3087],{"type":51,"value":232},{"type":46,"tag":75,"props":3083,"children":3085},{"className":3084},[],[3086],{"type":51,"value":2853},{"type":51,"value":3088}," and mocks; run integration tests separately",{"type":46,"tag":60,"props":3090,"children":3092},{"id":3091},"references",[3093],{"type":51,"value":3094},"References",{"type":46,"tag":67,"props":3096,"children":3097},{},[3098,3110,3120],{"type":46,"tag":71,"props":3099,"children":3100},{},[3101],{"type":46,"tag":3102,"props":3103,"children":3107},"a",{"href":3104,"rel":3105},"https:\u002F\u002Fdeveloper.hashicorp.com\u002Fterraform\u002Flanguage\u002Ftests",[3106],"nofollow",[3108],{"type":51,"value":3109},"Terraform Testing Documentation",{"type":46,"tag":71,"props":3111,"children":3112},{},[3113],{"type":46,"tag":3102,"props":3114,"children":3117},{"href":3115,"rel":3116},"https:\u002F\u002Fdeveloper.hashicorp.com\u002Fterraform\u002Fcli\u002Fcommands\u002Ftest",[3106],[3118],{"type":51,"value":3119},"Terraform Test Command",{"type":46,"tag":71,"props":3121,"children":3122},{},[3123],{"type":46,"tag":3102,"props":3124,"children":3127},{"href":3125,"rel":3126},"https:\u002F\u002Fdeveloper.hashicorp.com\u002Fterraform\u002Flanguage\u002Ftests\u002Fbest-practices",[3106],[3128],{"type":51,"value":3129},"Testing Best Practices",{"type":46,"tag":3131,"props":3132,"children":3133},"style",{},[3134],{"type":51,"value":3135},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"items":3137,"total":418},[3138,3155,3167,3180,3194,3206,3220,3230,3241,3256,3268,3279],{"slug":3139,"name":3139,"fn":3140,"description":3141,"org":3142,"tags":3143,"stars":25,"repoUrl":26,"updatedAt":3154},"aws-ami-builder","build Amazon Machine Images with Packer","Build Amazon Machine Images (AMIs) with Packer using the amazon-ebs builder. Use when creating custom AMIs for EC2 instances.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3144,3147,3150,3151],{"name":3145,"slug":3146,"type":15},"AWS","aws",{"name":3148,"slug":3149,"type":15},"Deployment","deployment",{"name":20,"slug":21,"type":15},{"name":3152,"slug":3153,"type":15},"Packer","packer","2026-04-06T18:25:04.01571",{"slug":3156,"name":3156,"fn":3157,"description":3158,"org":3159,"tags":3160,"stars":25,"repoUrl":26,"updatedAt":3166},"azure-image-builder","build Azure managed images with Packer","Build Azure managed images and Azure Compute Gallery images with Packer. Use when creating custom images for Azure VMs.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3161,3164,3165],{"name":3162,"slug":3163,"type":15},"Azure","azure",{"name":3148,"slug":3149,"type":15},{"name":3152,"slug":3153,"type":15},"2026-04-06T18:25:06.590174",{"slug":3168,"name":3168,"fn":3169,"description":3170,"org":3171,"tags":3172,"stars":25,"repoUrl":26,"updatedAt":3179},"azure-verified-modules","develop certified Azure Verified Modules","Azure Verified Modules (AVM) requirements and best practices for developing certified Azure Terraform modules. Use when creating or reviewing Azure modules that need AVM certification.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3173,3174,3177,3178],{"name":3162,"slug":3163,"type":15},{"name":3175,"slug":3176,"type":15},"Compliance","compliance",{"name":20,"slug":21,"type":15},{"name":17,"slug":18,"type":15},"2026-04-06T18:25:16.88768",{"slug":3181,"name":3181,"fn":3182,"description":3183,"org":3184,"tags":3185,"stars":25,"repoUrl":26,"updatedAt":3193},"new-terraform-provider","scaffold new Terraform providers","Use this when scaffolding a new Terraform provider.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3186,3189,3192],{"name":3187,"slug":3188,"type":15},"Plugin Development","plugin-development",{"name":3190,"slug":3191,"type":15},"Templates","templates",{"name":17,"slug":18,"type":15},"2026-04-06T18:25:11.814973",{"slug":3195,"name":3195,"fn":3196,"description":3197,"org":3198,"tags":3199,"stars":25,"repoUrl":26,"updatedAt":3205},"provider-actions","implement Terraform Provider lifecycle actions","Implement Terraform Provider actions using the Plugin Framework. Use when developing imperative operations that execute at lifecycle events (before\u002Fafter create, update, destroy).",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3200,3203,3204],{"name":3201,"slug":3202,"type":15},"API Development","api-development",{"name":3187,"slug":3188,"type":15},{"name":17,"slug":18,"type":15},"2026-04-06T18:25:07.880533",{"slug":3207,"name":3207,"fn":3208,"description":3209,"org":3210,"tags":3211,"stars":25,"repoUrl":26,"updatedAt":3219},"provider-docs","generate and review Terraform provider documentation","Create, update, and review Terraform provider documentation for Terraform Registry using HashiCorp-recommended patterns, tfplugindocs templates, and schema descriptions. Use when adding or changing provider configuration, resources, data sources, ephemeral resources, list resources, functions, or guides; when validating generated docs; and when troubleshooting missing or incorrect Registry documentation.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3212,3215,3218],{"name":3213,"slug":3214,"type":15},"Documentation","documentation",{"name":3216,"slug":3217,"type":15},"Technical Writing","technical-writing",{"name":17,"slug":18,"type":15},"2026-04-06T18:25:09.261559",{"slug":3221,"name":3221,"fn":3222,"description":3223,"org":3224,"tags":3225,"stars":25,"repoUrl":26,"updatedAt":3229},"provider-resources","implement Terraform Provider resources and data sources","Implement Terraform Provider resources and data sources using the Plugin Framework. Use when developing CRUD operations, schema design, state management, and acceptance testing for provider resources.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3226,3227,3228],{"name":3201,"slug":3202,"type":15},{"name":3187,"slug":3188,"type":15},{"name":17,"slug":18,"type":15},"2026-04-06T18:25:10.56237",{"slug":3231,"name":3231,"fn":3232,"description":3233,"org":3234,"tags":3235,"stars":25,"repoUrl":26,"updatedAt":3240},"provider-test-patterns","implement Terraform provider acceptance test patterns","Terraform provider acceptance test patterns using terraform-plugin-testing with the Plugin Framework. Covers test structure, TestCase\u002FTestStep fields, ConfigStateChecks with custom statecheck.StateCheck implementations, plan checks, CompareValue for cross-step assertions, config helpers, import testing with ImportStateKind, sweepers, and scenario patterns (basic, update, disappears, validation, regression), and ephemeral resource testing with the echoprovider package. Use when writing, reviewing, or debugging provider acceptance tests, including questions about statecheck, plancheck, TestCheckFunc, CheckDestroy, ExpectError, import state verification, ephemeral resources, or how to structure test files.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3236,3237,3238,3239],{"name":3187,"slug":3188,"type":15},{"name":13,"slug":14,"type":15},{"name":17,"slug":18,"type":15},{"name":23,"slug":24,"type":15},"2026-04-06T18:25:14.352781",{"slug":3242,"name":3242,"fn":3243,"description":3244,"org":3245,"tags":3246,"stars":25,"repoUrl":26,"updatedAt":3255},"push-to-registry","push Packer build metadata to HCP registry","Push Packer build metadata to HCP Packer registry for tracking and managing image lifecycle. Use when integrating Packer builds with HCP Packer for version control and governance.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3247,3248,3251,3254],{"name":3148,"slug":3149,"type":15},{"name":3249,"slug":3250,"type":15},"Governance","governance",{"name":3252,"slug":3253,"type":15},"HCP","hcp",{"name":3152,"slug":3153,"type":15},"2026-04-06T18:25:02.749563",{"slug":3257,"name":3257,"fn":3258,"description":3259,"org":3260,"tags":3261,"stars":25,"repoUrl":26,"updatedAt":3267},"refactor-module","refactor Terraform configurations into reusable modules","Transform monolithic Terraform configurations into reusable, maintainable modules following HashiCorp's module design principles and community best practices.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3262,3265,3266],{"name":3263,"slug":3264,"type":15},"Architecture","architecture",{"name":20,"slug":21,"type":15},{"name":17,"slug":18,"type":15},"2026-04-06T18:25:20.953737",{"slug":3269,"name":3269,"fn":3270,"description":3271,"org":3272,"tags":3273,"stars":25,"repoUrl":26,"updatedAt":3278},"run-acceptance-tests","run acceptance tests for Terraform providers","Guide for running acceptance tests for a Terraform provider. Use this when asked to run an acceptance test or to run a test with the prefix `TestAcc`.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3274,3275,3276,3277],{"name":3187,"slug":3188,"type":15},{"name":13,"slug":14,"type":15},{"name":17,"slug":18,"type":15},{"name":23,"slug":24,"type":15},"2026-04-06T18:25:13.098191",{"slug":3280,"name":3280,"fn":3281,"description":3282,"org":3283,"tags":3284,"stars":25,"repoUrl":26,"updatedAt":3291},"terraform-policy","write and test Terraform policy files","Write, test, or convert Terraform Policy files (.policy.hcl, .policytest.hcl, Sentinel→tfpolicy). Triggers: policy.hcl, policytest, convert sentinel, tfpolicy, write a policy.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3285,3286,3287,3290],{"name":3175,"slug":3176,"type":15},{"name":20,"slug":21,"type":15},{"name":3288,"slug":3289,"type":15},"Security","security",{"name":17,"slug":18,"type":15},"2026-07-18T05:48:20.299442",{"items":3293,"total":409},[3294,3301,3307,3314,3320,3326,3332],{"slug":3139,"name":3139,"fn":3140,"description":3141,"org":3295,"tags":3296,"stars":25,"repoUrl":26,"updatedAt":3154},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3297,3298,3299,3300],{"name":3145,"slug":3146,"type":15},{"name":3148,"slug":3149,"type":15},{"name":20,"slug":21,"type":15},{"name":3152,"slug":3153,"type":15},{"slug":3156,"name":3156,"fn":3157,"description":3158,"org":3302,"tags":3303,"stars":25,"repoUrl":26,"updatedAt":3166},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3304,3305,3306],{"name":3162,"slug":3163,"type":15},{"name":3148,"slug":3149,"type":15},{"name":3152,"slug":3153,"type":15},{"slug":3168,"name":3168,"fn":3169,"description":3170,"org":3308,"tags":3309,"stars":25,"repoUrl":26,"updatedAt":3179},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3310,3311,3312,3313],{"name":3162,"slug":3163,"type":15},{"name":3175,"slug":3176,"type":15},{"name":20,"slug":21,"type":15},{"name":17,"slug":18,"type":15},{"slug":3181,"name":3181,"fn":3182,"description":3183,"org":3315,"tags":3316,"stars":25,"repoUrl":26,"updatedAt":3193},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3317,3318,3319],{"name":3187,"slug":3188,"type":15},{"name":3190,"slug":3191,"type":15},{"name":17,"slug":18,"type":15},{"slug":3195,"name":3195,"fn":3196,"description":3197,"org":3321,"tags":3322,"stars":25,"repoUrl":26,"updatedAt":3205},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3323,3324,3325],{"name":3201,"slug":3202,"type":15},{"name":3187,"slug":3188,"type":15},{"name":17,"slug":18,"type":15},{"slug":3207,"name":3207,"fn":3208,"description":3209,"org":3327,"tags":3328,"stars":25,"repoUrl":26,"updatedAt":3219},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3329,3330,3331],{"name":3213,"slug":3214,"type":15},{"name":3216,"slug":3217,"type":15},{"name":17,"slug":18,"type":15},{"slug":3221,"name":3221,"fn":3222,"description":3223,"org":3333,"tags":3334,"stars":25,"repoUrl":26,"updatedAt":3229},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3335,3336,3337],{"name":3201,"slug":3202,"type":15},{"name":3187,"slug":3188,"type":15},{"name":17,"slug":18,"type":15}]