How to Use the CloudFormation to automatically provision a WordPress website
Join function is used heavily in AWS CloudFormation. Take a look at Amazon document This function is convenient when set configuration in AWS Cloudformation. “/etc/cfn/hooks.d/cfn-auto-reloader.conf”: { “content”: { “Fn::Join”: [ “”, [ “[cfn-auto-reloader-hook]\n”, “triggers=post.update\n”, “path=Resources.WebServer.Metadata.AWS::CloudFormation::Init\n”, “action=/opt/aws/bin/cfn-init -v “, ” –stack “, { “Ref”: “AWS::StackName” }, ” –resource WebServer “, ” –configsets wordpress_install “, ” –region …
How to Use the CloudFormation to automatically provision a WordPress website Read More »