Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,4 @@ jobs:
go-version: ${{ env.GO_VERSION }}
- uses: hashicorp/setup-terraform@v3
- run: go tool tfplugindocs validate
- run: go tool tfplugindocs generate
3 changes: 3 additions & 0 deletions internal/services/mongodb/instance.go
Original file line number Diff line number Diff line change
Expand Up @@ -189,16 +189,19 @@ func ResourceInstance() *schema.Resource {
Schema: map[string]*schema.Schema{
"id": {
Type: schema.TypeString,
Optional: true,
Computed: true,
Description: "ID of the public network",
},
"port": {
Type: schema.TypeInt,
Optional: true,
Computed: true,
Description: "TCP port of the endpoint",
},
"dns_record": {
Type: schema.TypeString,
Optional: true,
Computed: true,
Description: "The DNS record of your endpoint",
},
Expand Down
5 changes: 5 additions & 0 deletions internal/services/rdb/read_replica.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,26 +61,31 @@ func ResourceReadReplica() *schema.Resource {
"endpoint_id": {
Type: schema.TypeString,
Description: "UUID of the endpoint (UUID format).",
Optional: true,
Computed: true,
},
"ip": {
Type: schema.TypeString,
Description: "IPv4 address of the endpoint (IP address). Only one of ip and hostname may be set.",
Optional: true,
Computed: true,
},
"port": {
Type: schema.TypeInt,
Description: "TCP port of the endpoint.",
Optional: true,
Computed: true,
},
"name": {
Type: schema.TypeString,
Description: "Name of the endpoint.",
Optional: true,
Computed: true,
},
"hostname": {
Type: schema.TypeString,
Description: "Hostname of the endpoint. Only one of ip and hostname may be set.",
Optional: true,
Computed: true,
},
},
Expand Down
3 changes: 3 additions & 0 deletions internal/services/redis/cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -192,10 +192,12 @@ func ResourceCluster() *schema.Resource {
Schema: map[string]*schema.Schema{
"id": {
Type: schema.TypeString,
Optional: true,
Computed: true,
},
"port": {
Type: schema.TypeInt,
Optional: true,
Computed: true,
Description: "TCP port of the endpoint",
},
Expand All @@ -204,6 +206,7 @@ func ResourceCluster() *schema.Resource {
Elem: &schema.Schema{
Type: schema.TypeString,
},
Optional: true,
Computed: true,
},
},
Expand Down
Loading