Skip to content

Commit

Permalink
more defaults cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelbauerinc committed Aug 1, 2024
1 parent dea2c52 commit b6230ac
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ func (r *FQDNConnectionResource) Schema(ctx context.Context, req resource.Schema
map[string]attr.Value{
"ani_override": types.StringValue("+12345678901"),
"ani_override_type": types.StringValue("always"),
"call_parking_enabled": types.BoolValue(true),
"call_parking_enabled": types.BoolValue(false),
"channel_limit": types.Int64Value(10),
"generate_ringback_tone": types.BoolValue(true),
"instant_ringback_enabled": types.BoolValue(false),
Expand Down
4 changes: 2 additions & 2 deletions provider/provider/internal/provider/number_order_resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@ func (r *NumberOrderResource) Schema(ctx context.Context, req resource.SchemaReq
},
"messaging_profile_id": schema.StringAttribute{
Description: "Messaging profile ID associated with the number order",
Required: false,
Computed: true,
Optional: true,
Computed: true,
Default: stringdefault.StaticString(""),
},
"billing_group_id": schema.StringAttribute{
Expand Down
7 changes: 4 additions & 3 deletions provider/provider/internal/provider/provider_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -272,9 +272,10 @@ func getOptionalNumberOrderConfig() string {
if includeNumberOrder {
return `
resource "telnyx_number_order" "this" {
connection_id = telnyx_texml_application.test.id
billing_group_id = telnyx_billing_group.test.id
customer_reference = "terraform-test-api-number"
connection_id = telnyx_texml_application.test.id
billing_group_id = telnyx_billing_group.test.id
customer_reference = "terraform-test-api-number"
messaging_profile_id = telnyx_messaging_profile.test.id
phone_numbers = [
{
phone_number = telnyx_phone_number_lookup.test.phone_numbers[0].phone_number
Expand Down

0 comments on commit b6230ac

Please sign in to comment.