官术网_书友最值得收藏!

Outputs

Just like AWS resources, CloudFormation stacks can also have return values, called outputs. These values are entirely user defined. If you don't specify any outputs, then nothing is returned when your stack is completed.

Outputs can come in handy when you are using a CI/CD tool to create your CloudFormation stacks. For example, you might like to output the public hostname of an ELB so your CI/CD tool can turn it into a clickable link within the job output.

You'll also use them when your are linking together pieces of your layer cake. You may want to reference an S3 bucket or security group created in another stack. This is much easier to do with the new cross-stack references feature, which we'll discuss later in this chapter. You can expect to see the Ref and Fn::GetAtt functions a lot in the output section of any CloudFormation template.

主站蜘蛛池模板: 弥渡县| 福海县| 大安市| 蒲江县| 汝南县| 漳浦县| 黄浦区| 周口市| 安溪县| 平潭县| 准格尔旗| 巩义市| 新建县| 黄骅市| 永城市| 双辽市| 都兰县| 大邑县| 张北县| 喜德县| 贵德县| 逊克县| 渑池县| 拉萨市| 高阳县| 农安县| 静海县| 镇江市| 滕州市| 广宁县| 广汉市| 黎川县| 定远县| 平邑县| 栖霞市| 化隆| 凉山| 江达县| 亚东县| 井研县| 南通市|