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

Version Path
ufo-5.0.0 docs/_includes/cfn-customize.md
ufo-4.6.3 docs/_includes/cfn-customize.md
ufo-4.6.2 docs/_includes/cfn-customize.md
ufo-4.6.1 docs/_includes/cfn-customize.md
ufo-4.6.0 docs/_includes/cfn-customize.md
ufo-4.5.11 docs/_includes/cfn-customize.md
ufo-4.5.10 docs/_includes/cfn-customize.md
ufo-4.5.9 docs/_includes/cfn-customize.md
ufo-4.5.8 docs/_includes/cfn-customize.md
ufo-4.5.7 docs/_includes/cfn-customize.md
ufo-4.5.6 docs/_includes/cfn-customize.md
ufo-4.5.5 docs/_includes/cfn-customize.md
ufo-4.5.4 docs/_includes/cfn-customize.md
ufo-4.5.3 docs/_includes/cfn-customize.md
ufo-4.5.2 docs/_includes/cfn-customize.md
ufo-4.5.1 docs/_includes/cfn-customize.md
ufo-4.5.0 docs/_includes/cfn-customize.md
ufo-4.4.3 docs/_includes/cfn-customize.md
ufo-4.4.2 docs/_includes/cfn-customize.md
ufo-4.4.1 docs/_includes/cfn-customize.md