main.tf494 B
View on GitHubterraform {
required_providers {
null = {
source = "hashicorp/null"
version = "~> 3.2"
}
}
}
# Mock VPC component for demonstrating Atmos migration from native Terraform.
# Uses null_resource so no cloud credentials are needed.
resource "null_resource" "vpc" {
triggers = {
cidr_block = var.cidr_block
environment = var.environment
enable_dns_hostnames = var.enable_dns_hostnames
tags = jsonencode(var.tags)
}
}