Skip to content

Commit 78be2de

Browse files
committed
add dns_name to instance_resource
1 parent 3fa1b86 commit 78be2de

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

internal/provider/instance_resource.go

+7
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,13 @@ func (r *InstanceResource) Schema(ctx context.Context, req resource.SchemaReques
6363
stringplanmodifier.UseStateForUnknown(), // immutable
6464
},
6565
}),
66+
"dns_name": resourceenhancer.Attribute(ctx, schema.StringAttribute{
67+
MarkdownDescription: "The DNS name of the instance.",
68+
Computed: true,
69+
PlanModifiers: []planmodifier.String{
70+
stringplanmodifier.UseStateForUnknown(), // immutable
71+
},
72+
}),
6673
"id": resourceenhancer.Attribute(ctx, schema.StringAttribute{
6774
MarkdownDescription: "The unique ID of the instance.",
6875
Computed: true,

0 commit comments

Comments
 (0)