# What is Infrastructure from Code?

DevFeed: [What is Infrastructure from Code?](<https://devfeed.tech/articles/what-is-infrastructure-from-code-17860.md>)

Original publisher: [Read original article](<https://encore.dev/blog/what-is-infrastructure-from-code>)

Author: Ivan Cernja

Published: 2026-03-17T00:00:00Z

Content type: article

Language: en

Sources: [Encore Updates](<https://devfeed.tech/sources/encore-updates.md>)

Topics: [Code](<https://devfeed.tech/topics/code.md>), [Cloud](<https://devfeed.tech/topics/cloud.md>), [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>), [Terraform](<https://devfeed.tech/topics/terraform.md>), [Databases](<https://devfeed.tech/topics/databases.md>), [AWS IAM](<https://devfeed.tech/topics/aws-iam.md>), [Caching](<https://devfeed.tech/topics/caching.md>), [Amazon Simple Queue Service (SQS)](<https://devfeed.tech/topics/amazon-simple-queue-service-sqs.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [ai-agents](<https://devfeed.tech/tags/ai-agents.md>), [aws](<https://devfeed.tech/tags/aws.md>), [caching](<https://devfeed.tech/tags/caching.md>), [cloud](<https://devfeed.tech/tags/cloud.md>), [code](<https://devfeed.tech/tags/code.md>), [database](<https://devfeed.tech/tags/database.md>), [infrastructure](<https://devfeed.tech/tags/infrastructure.md>), [least-privilege](<https://devfeed.tech/tags/least-privilege.md>), [message-queue](<https://devfeed.tech/tags/message-queue.md>), [terraform](<https://devfeed.tech/tags/terraform.md>)

## AI overview

The article explains Infrastructure from Code (IFC), an approach that declares infrastructure such as databases, queues, and scheduled jobs in application code. It describes how frameworks derive cloud resources from those declarations and argues that AI-generated application changes have increased the need to keep infrastructure synchronized.

## Source excerpt

How it works, why AI made it urgent, and what the trade-offs are.