Sha256: 1e850642eb07631e728d150dbc985f61463e05923d0dda51208954e9c0197414

Contents?: true

Size: 1.08 KB

Versions: 21

Compression:

Stored size: 1.08 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.
[--subnets=one two three]  # Subnets
[--vpc-id=VPC_ID]          # Vpc id
[--filename=FILENAME]      # Name of the settings file to create w/o extension.
                           # Default: default
```

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
ufo-4.4.3 docs/_reference/ufo-network-init.md
ufo-4.4.2 docs/_reference/ufo-network-init.md
ufo-4.4.1 docs/_reference/ufo-network-init.md
ufo-4.4.0 docs/_reference/ufo-network-init.md
ufo-4.3.1 docs/_reference/ufo-network-init.md
ufo-4.3.0 docs/_reference/ufo-network-init.md
ufo-4.2.0 docs/_reference/ufo-network-init.md
ufo-4.1.10 docs/_reference/ufo-network-init.md
ufo-4.1.9 docs/_reference/ufo-network-init.md
ufo-4.1.8 docs/_reference/ufo-network-init.md
ufo-4.1.7 docs/_reference/ufo-network-init.md
ufo-4.1.6 docs/_reference/ufo-network-init.md
ufo-4.1.5 docs/_reference/ufo-network-init.md
ufo-4.1.4 docs/_reference/ufo-network-init.md
ufo-4.1.2 docs/_reference/ufo-network-init.md
ufo-4.1.1 docs/_reference/ufo-network-init.md
ufo-4.1.0 docs/_reference/ufo-network-init.md
ufo-4.0.3 docs/_reference/ufo-network-init.md
ufo-4.0.2 docs/_reference/ufo-network-init.md
ufo-4.0.1 docs/_reference/ufo-network-init.md