Sha256: 2ca266bcacc57c0a93f292484671addbf57d48601d9f2756a3bfbbd8ce3a0a90
Contents?: true
Size: 1.39 KB
Versions: 37
Compression:
Stored size: 1.39 KB
Contents
The properties in the file `.ufo/settings/cfn/default.yml` map directly to ufo's CloudFormation resources. It allows you to customize the resources. The keys get transform to CamelCase keys to work with the CloudFormation template. ### Example of Customization Let's customize the `AWS::ElasticLoadBalancingV2::TargetGroup` resource created by CloudFormation. We'll adjust the `deregistration_delay.timeout_seconds` to `8`. Here's the relevant section of the `.ufo/settings/cfn/default.yml` ``` target_group: ... target_group_attributes: - key: deregistration_delay.timeout_seconds value: 8 ``` The value will be injected to the generated CloudFormation template under the corresponding "TargetGroup Properties". The generated template looks something like this: ``` TargetGroup: Properties: ... TargetGroupAttributes: - Key: deregistration_delay.timeout_seconds Value: 8 ... ``` In this way, you can customize and override any properties associated with resources created by the ufo CloudFormation stack. Here's a list of the resources in the [cfn/stack.yml](https://github.com/tongueroo/ufo/blob/master/lib/cfn/stack.yml) that you can customize: * Ecs * EcsSecurityGroup * EcsSecurityGroupRule * Elb * ElbSecurityGroup * Listener * TargetGroup For the most up to date list check out the [cfn/stack.yml](https://github.com/tongueroo/ufo/blob/master/lib/cfn/stack.yml) source code directly.
Version data entries
37 entries across 37 versions & 1 rubygems