{
  "version": 4,
  "terraform_version": "1.8.0",
  "serial": 891,
  "lineage": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
  "outputs": {
    "api_endpoint": {
      "value": "https://finstack-internal.com",
      "type": "string"
    },
    "rds_endpoint": {
      "value": "rds-prod-analytics-01.f7k3m9p2xqrs.ap-southeast-1.rds.amazonaws.com",
      "type": "string"
    },
    "vpc_id": {
      "value": "vpc-0a1b2c3d4e5f67890",
      "type": "string"
    }
  },
  "resources": [
    {
      "mode": "managed",
      "type": "aws_instance",
      "name": "api",
      "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]",
      "instances": [
        {
          "attributes": {
            "id": "i-0a1b2c3d4e5f67890",
            "ami": "ami-0c55b159cbfafe1f0",
            "instance_type": "t3.xlarge",
            "private_ip": "10.0.4.22",
            "public_ip": null,
            "subnet_id": "subnet-0a1b2c3d4e5f6789",
            "security_groups": [
              "sg-0a1b2c3d4e5f6789"
            ],
            "key_name": "finstack-prod",
            "tags": {
              "Name": "finstack-platform-api-prod",
              "Environment": "production",
              "Team": "platform",
              "ManagedBy": "terraform"
            }
          }
        }
      ]
    },
    {
      "mode": "managed",
      "type": "aws_db_instance",
      "name": "primary",
      "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]",
      "instances": [
        {
          "attributes": {
            "id": "finstack-prod-db",
            "engine": "mysql",
            "engine_version": "8.0.36",
            "instance_class": "db.r6g.xlarge",
            "allocated_storage": 500,
            "multi_az": true,
            "endpoint": "rds-prod-analytics-01.f7k3m9p2xqrs.ap-southeast-1.rds.amazonaws.com:3306",
            "username": "app_readwrite",
            "password": "kP$9vLm2!xRnT7qW#fBj4hYs",
            "vpc_security_group_ids": [
              "sg-0db1a2b3c4d5e6f78"
            ]
          }
        }
      ]
    },
    {
      "mode": "managed",
      "type": "aws_s3_bucket",
      "name": "backups",
      "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]",
      "instances": [
        {
          "attributes": {
            "id": "finstack-prod-backups",
            "bucket": "finstack-prod-backups",
            "region": "ap-southeast-1",
            "versioning": [
              {
                "enabled": true
              }
            ],
            "server_side_encryption_configuration": [
              {
                "rule": [
                  {
                    "apply_server_side_encryption_by_default": [
                      {
                        "sse_algorithm": "aws:kms"
                      }
                    ]
                  }
                ]
              }
            ]
          }
        }
      ]
    },
    {
      "mode": "managed",
      "type": "aws_elasticache_cluster",
      "name": "redis",
      "provider": "provider[\"registry.terraform.io/hashicorp/aws\"]",
      "instances": [
        {
          "attributes": {
            "cluster_id": "redis-prod-01",
            "engine": "redis",
            "engine_version": "7.2",
            "node_type": "cache.r6g.large",
            "num_cache_nodes": 3,
            "parameter_group_name": "default.redis7"
          }
        }
      ]
    }
  ]
}