Sha256: 1c8d3179c3393c4d9649c2c11a0d9536f38d31478cadb36ab9b0203182017440

Contents?: true

Size: 1.15 KB

Versions: 24

Compression:

Stored size: 1.15 KB

Contents

---
title: ufo network init
reference: true
---

## Usage

    ufo network init

## Description

Creates network starter settings file.

## Examples

    ufo network init # will use default vpc and subnets
    ufo network init --vpc-id vpc-123
    ufo network init --vpc-id vpc-123 --subnets subnet-aaa subnet-bbb

If the `--vpc-id` option is set and the `--subnets` is not, then ufo generates files with all the associated subnets from the specified vpc id.

You can also specify name of the settings file to create with the `--filename` option.  Example.

    ufo network init --vpc-id vpc-123 --filename dev

The above command creates a `.ufo/settings/network/dev.yml` file.  You might want to then update your `.ufo/settings.yml` file and update the `network_profile` config to reference it.


## Options

```
[--force]                      # Bypass overwrite are you sure prompt for existing files.
[--ecs-subnets=one two three]  # ECS Subnets
[--elb-subnets=one two three]  # ELB Subnets
[--vpc-id=VPC_ID]              # Vpc id
[--filename=FILENAME]          # Name of the settings file to create w/o extension.
                               # Default: default
```

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
ufo-5.0.7 docs/_reference/ufo-network-init.md
ufo-5.0.6 docs/_reference/ufo-network-init.md
ufo-5.0.5 docs/_reference/ufo-network-init.md
ufo-5.0.4 docs/_reference/ufo-network-init.md
ufo-5.0.3 docs/_reference/ufo-network-init.md
ufo-5.0.2 docs/_reference/ufo-network-init.md
ufo-5.0.1 docs/_reference/ufo-network-init.md
ufo-5.0.0 docs/_reference/ufo-network-init.md
ufo-4.6.3 docs/_reference/ufo-network-init.md
ufo-4.6.2 docs/_reference/ufo-network-init.md
ufo-4.6.1 docs/_reference/ufo-network-init.md
ufo-4.6.0 docs/_reference/ufo-network-init.md
ufo-4.5.11 docs/_reference/ufo-network-init.md
ufo-4.5.10 docs/_reference/ufo-network-init.md
ufo-4.5.9 docs/_reference/ufo-network-init.md
ufo-4.5.8 docs/_reference/ufo-network-init.md
ufo-4.5.7 docs/_reference/ufo-network-init.md
ufo-4.5.6 docs/_reference/ufo-network-init.md
ufo-4.5.5 docs/_reference/ufo-network-init.md
ufo-4.5.4 docs/_reference/ufo-network-init.md