Skip to content

Commit

Permalink
docs: add descriptions on some fields
Browse files Browse the repository at this point in the history
  • Loading branch information
xabufr committed Oct 5, 2022
1 parent e0101eb commit d14996f
Showing 1 changed file with 10 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ func dataSourceGoogleComputeAddresses() *schema.Resource {
"name": {
Type: schema.TypeString,
Computed: true,
Description: `THe name of the IP address.`,
Description: `The name of the IP address.`,
},
"address": {
Type: schema.TypeString,
Expand Down Expand Up @@ -63,7 +63,8 @@ func dataSourceGoogleComputeAddresses() *schema.Resource {
Elem: &schema.Schema{
Type: schema.TypeString,
},
Computed: true,
Description: `Labels attached to this address`,
Computed: true,
},
<% end -%>
},
Expand Down Expand Up @@ -98,14 +99,16 @@ AND (scheduling.automaticRestart = true) """`,
},

"region": {
Type: schema.TypeString,
Optional: true,
Type: schema.TypeString,
Optional: true,
Description: `Region that should be considered to search addresses. All regions are considered if missing.`,
},

"project": {
Type: schema.TypeString,
Computed: true,
Optional: true,
Type: schema.TypeString,
Computed: true,
Optional: true,
Description: `The google project in which addresses are listed. Defaults to provider's configuration if missing.`,
},
},
}
Expand Down

0 comments on commit d14996f

Please sign in to comment.