<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>toranoana-lab</author_name>
  <author_url>https://blog.hatena.ne.jp/toranoana-lab/</author_url>
  <blog_title>虎の穴ラボ技術ブログ</blog_title>
  <blog_url>https://toranoana-lab.hatenablog.com/</blog_url>
  <categories>
    <anon>技術エントリ</anon>
    <anon>AWS</anon>
    <anon>AI</anon>
  </categories>
  <description>はじめに こんにちは、とらのあなラボの服部です。 AIにアプリのコードを書かせるのは、もはや日常です。 ただ、使っていて気になることがありました。AIの出してくる設計が、インフラから浮いているのです。コードとしては筋が通っているのに、「どんなインフラの上で、どんな制約で動くか」が抜けています。 この記事で言いたいのは、IaCをアプリと同じ土俵に置けば、AIはインフラとアプリを一貫して設計できる、ということです。今回は AWS CDK で、S3バケットなどのインフラ側も、それを叩くアプリ側も、どちらもAIに作らせました。その成果を、S3起点の処理を例に説明します。 課題：AIの設計はアプリ層で閉…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftoranoana-lab.hatenablog.com%2Fentry%2F2026%2F06%2F03%2F100000&quot; title=&quot;インフラもアプリも同じAIに書かせたら、境界面のズレが消えた - 虎の穴ラボ技術ブログ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/t/toranoana-lab/20260528/20260528103517.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2026-06-03 10:00:00</published>
  <title>インフラもアプリも同じAIに書かせたら、境界面のズレが消えた</title>
  <type>rich</type>
  <url>https://toranoana-lab.hatenablog.com/entry/2026/06/03/100000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
