Resource: aws_pinpoint_sms_channel

Use the aws_pinpoint_sms_channel resource to manage Pinpoint SMS Channels.

Example Usage

resource "aws_pinpoint_sms_channel" "sms" {
  application_id = aws_pinpoint_app.app.application_id
}

resource "aws_pinpoint_app" "app" {}

Argument Reference

This resource supports the following arguments:

Attribute Reference

This resource exports the following attributes in addition to the arguments above:

Import

In Terraform v1.5.0 and later, use an import block to import the Pinpoint SMS Channel using the application_id. For example:

import {
  to = aws_pinpoint_sms_channel.sms
  id = "application-id"
}

Using terraform import, import the Pinpoint SMS Channel using the application_id. For example:

% terraform import aws_pinpoint_sms_channel.sms application-id