Skip to content

Commit

Permalink
fix: Allow ip_authentication_token to take computed value from telnyx
Browse files Browse the repository at this point in the history
  • Loading branch information
nickderobertis committed Aug 3, 2024
1 parent f89546f commit c351ae4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ func (r *FQDNConnectionResource) Schema(ctx context.Context, req resource.Schema
"generate_ringback_tone": types.BoolValue(true),
"instant_ringback_enabled": types.BoolValue(false),
"ip_authentication_method": types.StringValue("token"),
"ip_authentication_token": types.StringValue(""),
"ip_authentication_token": types.StringNull(),
"localization": types.StringValue("US"),
"outbound_voice_profile_id": types.StringValue(""),
"t38_reinvite_source": types.StringValue("customer"),
Expand Down Expand Up @@ -417,7 +417,6 @@ func (r *FQDNConnectionResource) Schema(ctx context.Context, req resource.Schema
Description: "IP authentication token",
Optional: true,
Computed: true,
Default: stringdefault.StaticString(""),
},
"localization": schema.StringAttribute{
Description: "Localization",
Expand Down
1 change: 0 additions & 1 deletion provider/provider/internal/provider/provider_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ resource "telnyx_fqdn_connection" "test" {
outbound = {
ani_override = "+12345678901"
ani_override_type = "always"
ip_authentication_token = "BBcD1234aBcD12345"
outbound_voice_profile_id = telnyx_outbound_voice_profile.test.id
}
}
Expand Down

0 comments on commit c351ae4

Please sign in to comment.