The amount of untested AI code being pushed directly to cloud staging is getting wild

Is anyone else dealing with junior devs or product managers blindly throwing AI-generated configs into staging without checking dependencies? We had our main dev cluster lock up twice this week because someone pasted an auto-generated deployment script that created a recursive loop in our build pipeline. It feels like “vibe coding” has completely taken over, and suddenly people expect the infrastructure layer to just magically heal itself whenever broken YAML gets pushed. Spent most of yesterday afternoon cleaning up orphaned resources and re-architecting our environment boundaries. I was browsing through some modular cloud architecture breakdowns while trying to clean up our setup, and it just made me realize how much bloat we’ve accumulated over the past year. If your underlying infrastructure rules aren’t strictly isolated, AI tools will literally find every single crack and break it. Genuinely considering locking down PR permissions for configuration files until people learn to actually validate what their LLMs are outputting. How is your team handling this lately?


Related discussions:

I made a free, open source tool to deploy remote Gaming machines on AWS
How do I get into devops and not overwhelmed?
How to do CI/CD for an API? Struggling with the intuition of multi local/staging/prod environments
Me-South-1 Down?
Passed AWS SSA certification. My experience.
5 things that you dint know about AWS.
AWS Devops Engineer
Time in between Associate and Professional Exams
Best learning resources for aws devops professional certification.
Passed Certified SysOps Admin today via online proctored exam by Pearson Vue
Passed SysOps Administrator today, what next ?
What’s next in cloud computing?
Can I go from SA-Associate to DevOps Pro?
Need help on AWS Devops exam DOP-C01 preparation
Gathering material for CCP (No cloud experience - Sysadmin experience), looking for advice
I failed.
Advice for certification/study path to the AWS DevOps Certification
What are the most in-demand certifications?
Getting re-certified (DevOps Pro and Security)
AWS Crash Course For DevOps Engineers - Part 3/7
People who have passed DevOps Pro, what were your scores on the TutorialsDojo Practice tests?
Does anyone have experience with a training/cert school called "Unique System Skills, LLC"? The PA Unemployment Office offered me a grant to take an AWS cert (other certs available too) but they have almost no web presence, and no one talks about them?
Is A Cloud Guru "DevOps" learning pathway a good way to learn DevOps or are there better options?
Gunning for the DevOps professional cert by the end of August, only having CP and Dev Associate
How to recertify for AWS DevOps
Certification Plans
spare a voucher please
Solutions architect professional vs Devops professional
Aws devops certification path
AWS DevOps Engineer Professional (DOP-C02)
How to go with preparing for AWS DevOps certification after getting a Developer Cert
Devops engineer professional vs sap
AWS Devops
What is the best AWS cert path to DevOps certification
To be developer
Best Place for AWS cert Resources?
aCloudguru - Cloud Servers
Job alternatives to get me a security position working in the cloud
Best AWS and DevOps Course in Hyderabad | Azure Data Factory Training institution in Hyderabad
AWS Certs route?
Do Certifications Really Help You Land a Tech Job?
Help Needed: What Should Be My Next Certification Step?
Despite the Pearson issues, I passed the Devops but…
Adrian's Cantril's Certified DevOps Engineer - Professional course was a HUGE letdown
CodeCommit and DevOps professional
Devops Engineer exam without developer associate?
Will CodeCommit, Pipeline, Build, Deploy be removed from the developer exam?
AWS Cert to take
Passes SAP-C02 in 1st attempt
AWS SME inperson workshop
Help
Is it possible to at least an Entry job with AWS certs but no degree
Devops engineer cert
Certification for experienced IT professional
Linux
Five years in DevOps trying to get in management or leadership
Passed the AWS Solutions architect Professional (SAP-CO2) - AMA
Anyone have DevOps Pro study suggestions? Previous two attempts are fails, and have tried several resources.
Passed SysOps Associate on the very last day
Experienced People Need Advice.
Confused about my study plan for SAA
Passed DOP-C02
Studying for DevOps pro.
5 AWS Certs in 1 Year — Everything I Learned (Resources, Strategy & My Full Journey)
En que pensar ahora?
AWS SA Pro was worth it for me
What certs/qualifications can I get as a Backend/DevOps to be more qualified and hirable?
Will cloudtrail be able to log "All" api request?
CDK pipeline for multiple branches at the same time
I took the AWS Purity Test, I think I may spend too much time in AWS….
AWS Data Center Manager Salary
For people that use dependent stacks in AWS CDK - How do you avoid CFN trying to delete stuff in the wrong order?

Why do juniors and PMs have permission to do this?

Pushed to cloud staging? Try prod lmao

How is my team handling this lately? Lots of drinking.

wait untill you get to the billing side of this lol, llms will happily be like “sure we’ll stand up a redshift cluster for this single 10-row dataset” and suddenly you are paying $3k a month

This is what CI/CD pipelines are for.

This is the future tbh. It will come down to llm judges, validations, tests, etc

More PR review automation - CodeRabbit with some custom steering to reflect our standards, checkov, etc.

You can build deterministic checks on pushes to avoid this. Yoy can do it at the source with policy enforced hooks or later in the pipeline. Junior devs are going to junior dev but it’s up to orgs to build the rules.

Same as always.

Junior pushed something that broke prod? It’s not the junior’s fault, it’s on whoever gave them access.

Lock things down. If someone demands for more access, ask if they’re willing and capable to accept liability on consequences of mistakes. If not, ask them to come to you with approval of whoever is willing to sign off for their access.

Not really, all terraform has to be reviewed before being pushed.

Side note, was this post a paid advertisement: https://www.reddit.com/r/energy_work/comments/1vbwpom/trying_grounding_after_dealing_with_sleep_and/ ? Or do you just really like grounding mats? You know they’re BS right?

We deal with most of this in both CI/CD and scope access. In essence, an engineer will never have more access than the scope of their team, so if you have say, 1000 microservices and they own 20, they don’t have access to the rest. Within that scope is pretty much everything (sources, buckets, RDS, Pods on EKS [but not EKS itself, they don’t have kubectl or AWS access], so at most they will be able to screw themselves. Granted, that can still be painful, but at least the pain has a tag and a cost allocation, and with GitOps it’s a revert away to be brought back to tolerable levels.

No matter how advanced the models get, LLMs still need direction.

based on recent events you could argue “The amount of untested AI code being pushed directly to cloud is getting wild”

YOLO

And now that we can write code so fast, there’s much less excuse for not having good tests

This.

Literally it’s being pushed to staging so your CI flows can trigger and run the tests… so the Ai can go back to coding instead of having to locally validate.

the tell here isn’t the AI, it’s that staging locked up twice - that means staging is your only real gate and it shares blast radius with your build pipeline, so bad config hits something that matters before anything checks it. we fixed the same mess by moving validation in front of the environment (policy/plan check on the PR, no direct apply) instead of locking juniors out after the fact - the AI just finds the missing gate faster than a person would. locking down permissions treats the symptom; the missing pre-environment check is the actual bug.

To… push code?

Code that can lock up a cluster? Yeah that’s crazy.