Skip to content

Commit

Permalink
docs: remove computed:true from network data
Browse files Browse the repository at this point in the history
so the list is rendered in the description
  • Loading branch information
mavogel committed May 17, 2021
1 parent 2f8cf8f commit dce9b7a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
18 changes: 9 additions & 9 deletions docs/resources/container.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ resource "docker_image" "ubuntu" {
- **gateway** (String, Deprecated) The network gateway of the container.
- **ip_address** (String, Deprecated) The IP address of the container.
- **ip_prefix_length** (Number, Deprecated) The IP prefix length of the container.
- **network_data** (List of Object) The data of the networks the container is connected to (see [below for nested schema](#nestedatt--network_data))
- **network_data** (Block List) The data of the networks the container is connected to (see [below for nested schema](#nestedblock--network_data))

<a id="nestedblock--capabilities"></a>
### Nested Schema for `capabilities`
Expand Down Expand Up @@ -276,18 +276,18 @@ Optional:
- **volume_name** (String) The name of the docker volume which should be mounted.


<a id="nestedatt--network_data"></a>
<a id="nestedblock--network_data"></a>
### Nested Schema for `network_data`

Read-Only:

- **gateway** (String)
- **global_ipv6_address** (String)
- **global_ipv6_prefix_length** (Number)
- **ip_address** (String)
- **ip_prefix_length** (Number)
- **ipv6_gateway** (String)
- **network_name** (String)
- **gateway** (String, Deprecated) The network gateway of the container.
- **global_ipv6_address** (String) The IPV6 address of the container
- **global_ipv6_prefix_length** (Number) The IPV6 prefix length address of the container
- **ip_address** (String, Deprecated) The IP address of the container.
- **ip_prefix_length** (Number, Deprecated) The IP prefix length of the container.
- **ipv6_gateway** (String) The IPV6 gateway of the container
- **network_name** (String) The name of the network

## Import

Expand Down
1 change: 0 additions & 1 deletion internal/provider/resource_docker_container.go
Original file line number Diff line number Diff line change
Expand Up @@ -574,7 +574,6 @@ func resourceDockerContainer() *schema.Resource {
"network_data": {
Type: schema.TypeList,
Description: "The data of the networks the container is connected to",
Computed: true,
Elem: &schema.Resource{
Schema: map[string]*schema.Schema{
"network_name": {
Expand Down

0 comments on commit dce9b7a

Please sign in to comment.