Member-only story
Template error: every Fn::Join object requires two parameters, (1) a string delimiter and (2) a list of strings to be joined or a function that returns a list of strings (such as Fn::GetAZs) to be joined.
I seem to be making this error a lot because AWS CloudShell is “fixing” my template indentation
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
⚙️ Check out my series on Automating Cybersecurity Metrics | Code.
🔒 Related Stories: Bugs | AWS Security | Secure Code
💻 Free Content on Jobs in Cybersecurity | ✉️ Sign up for the Email List
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I’ve gotten this single error too many times already today so documenting it in case anyone else is stuck on it. I happen to be working on inital admin scripts for a new AWS account in my latest series. Normally I don’t recommend CloudShell but it’s the easiest way to deploy the initial user and required policies.
So I’m usign CloudShell and I have some Join statements. And every time I copy and paste for one thing, CloudShell does not handle that well at all, as I’ve written before. I hope that will be fixed when AWS releases Amazon Linux 2023 in CloudShell.
In addition, when I copy and paste lines of code or move them around CloudShell…









