Folder not appearing after creating it in Terraform

Hi everyone. I’ve created a folder in Terraform userdata. However, the folder doesn’t appear after commiting and pushing the changes to the repo and running Terraform. I’ve used the code below. What’s weird is I’ve created other folders before in the same userdata with no issues.

mkdir -p /home/$username/Inbound/Access\ Control

Found the fix. Terminating the AWS instance forces the folders to appear