Testing Environment as Code: Testing Your Terraform and Pulumi Infrastructure Infrastructure code breaks. An S3 bucket gets configured with public ACLs. A security group rule opens port 22 to the world.