Fix pointers in AWS CloudFormation template