Skip to content

Commit

Permalink
Doc updates
Browse files Browse the repository at this point in the history
  • Loading branch information
danischm committed Apr 20, 2024
1 parent 0c762b4 commit 48ced6a
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 40 deletions.
40 changes: 20 additions & 20 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ Configuring a Network-group Object using YAML:
existing:
fmc:
domains:
- name: Global
objects:
networks:
- name: any-ipv4
- name: Global
objects:
networks:
- name: any-ipv4
```
#### `data/fmc.yaml`
Expand All @@ -35,22 +35,22 @@ existing:
fmc:
name: MyFMC1
domains:
- name: Global
objects:
hosts:
- name: MyHost1
ip: 10.10.10.10
- name: MyHost2
ip: 20.20.20.20
network_groups:
- name: MyNetworkGroup1
objects:
- MyHost1
- any-ipv4
- name: MyNetworkGroup2
objects:
- MyNetworkGroup1
- MyHost2
- name: Global
objects:
hosts:
- name: MyHost1
ip: 10.10.10.10
- name: MyHost2
ip: 20.20.20.20
network_groups:
- name: MyNetworkGroup1
objects:
- MyHost1
- any-ipv4
- name: MyNetworkGroup2
objects:
- MyNetworkGroup1
- MyHost2
```

#### `main.tf`
Expand Down
40 changes: 20 additions & 20 deletions examples/network_groups/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ Note that this example will create resources. Resources can be destroyed with `t
existing:
fmc:
domains:
- name: Global
objects:
networks:
- name: any-ipv4
- name: Global
objects:
networks:
- name: any-ipv4
```
#### `data/fmc.yaml`
Expand All @@ -49,22 +49,22 @@ existing:
fmc:
name: MyFMC1
domains:
- name: Global
objects:
hosts:
- name: MyHost1
ip: 10.10.10.10
- name: MyHost2
ip: 20.20.20.20
network_groups:
- name: MyNetworkGroup1
objects:
- MyHost1
- any-ipv4
- name: MyNetworkGroup2
objects:
- MyNetworkGroup1
- MyHost2
- name: Global
objects:
hosts:
- name: MyHost1
ip: 10.10.10.10
- name: MyHost2
ip: 20.20.20.20
network_groups:
- name: MyNetworkGroup1
objects:
- MyHost1
- any-ipv4
- name: MyNetworkGroup2
objects:
- MyNetworkGroup1
- MyHost2
```

#### `main.tf`
Expand Down

0 comments on commit 48ced6a

Please sign in to comment.