Skip to content

Commit

Permalink
Merge branch 'main' into nodes-availability-zone
Browse files Browse the repository at this point in the history
  • Loading branch information
tbroden84 authored Jul 30, 2024
2 parents 3d44f0e + a20afd9 commit d3a0228
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
9 changes: 7 additions & 2 deletions cloudamqp/data_source_cloudamqp_nodes.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,14 @@ func dataSourceNodes() *schema.Resource {
Type: schema.TypeInt,
Computed: true,
},
"availability_zone": {
"hostname_internal": {
Type: schema.TypeString,
Computed: true,
},
"availability_zone": {
Type: schema.TypeString,
Computed: true,
},
},
},
},
Expand Down Expand Up @@ -113,7 +117,8 @@ func validateNodesSchemaAttribute(key string) bool {
"rmq_version",
"disk_size",
"additional_disk_size",
"availability_zone":
"hostname_internal",
"availability_zone":
return true
}
return false
Expand Down
1 change: 1 addition & 0 deletions docs/data-sources/nodes.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ ___
The `nodes` block consist of

* `hostname` - External hostname assigned to the node.
* `hostname_internal` - Internal hostname assigned to the node.
* `name` - Name of the node.
* `running` - Is the node running?
* `rabbitmq_version` - Currently configured Rabbit MQ version on the node.
Expand Down

0 comments on commit d3a0228

Please sign in to comment.