Resource: aws_chime_voice_connector_termination_credentials

Adds termination SIP credentials for the specified Amazon Chime Voice Connector.

Example Usage

resource "aws_chime_voice_connector" "default" {
  name               = "test"
  require_encryption = true
}

resource "aws_chime_voice_connector_termination" "default" {
  disabled           = true
  cps_limit          = 1
  cidr_allow_list    = ["50.35.78.96/31"]
  calling_regions    = ["US", "CA"]
  voice_connector_id = aws_chime_voice_connector.default.id
}

resource "aws_chime_voice_connector_termination_credentials" "default" {
  voice_connector_id = aws_chime_voice_connector.default.id

  credentials {
    username = "test"
    password = "test!"
  }

  depends_on = [aws_chime_voice_connector_termination.default]
}

Argument Reference

This resource supports the following arguments:

credentials

The SIP credentials used to authenticate requests to your Amazon Chime Voice Connector.

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 Chime Voice Connector Termination Credentials using the voice_connector_id. For example:

import {
  to = aws_chime_voice_connector_termination_credentials.default
  id = "abcdef1ghij2klmno3pqr4"
}

Using terraform import, import Chime Voice Connector Termination Credentials using the voice_connector_id. For example:

% terraform import aws_chime_voice_connector_termination_credentials.default abcdef1ghij2klmno3pqr4