Skip to content

[Enhancement]: aws_pinpointsmsvoicev2_phone_number #41697

@fogers777

Description

@fogers777

Description

Currently aws_pinpointsmsvoicev2_phone_number resource doesn't support SHORT_CODE, so we can't use it with short code numbers.

resource "aws_pinpointsmsvoicev2_phone_number" "short_code_number":
│ 38: number_type = "SHORT_CODE"

│ The provided value does not match any valid values.

│ Path: number_type
│ Given Value: SHORT_CODE
│ Valid Values: [LONG_CODE TOLL_FREE TEN_DLC SIMULATOR ]

as per https://github.com/aws/aws-sdk-go/blob/8d203ccff393340d080be0417d091cc60354449b/models/apis/pinpoint-sms-voice-v2/2022-03-31/api-2.json#L3153 it's available and supportes.

Also TwoWayChannelRole is also missing in aws_pinpointsmsvoicev2_phone_number, so would be great to add support for it too.

Thanks!

Affected Resource(s) and/or Data Source(s)

aws_pinpointsmsvoicev2_phone_number

Potential Terraform Configuration

References

No response

Would you like to implement a fix?

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementRequests to existing resources that expand the functionality or scope.service/pinpointsmsvoicev2Issues and PRs that pertain to the pinpointsmsvoicev2 service.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions