Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Circular reference when creating a BYOC trunk with a sip domain as both "from" and termination domain #122

Open
russell-wave opened this issue Dec 22, 2022 · 1 comment
Labels
code-generation issue deals with generated code status: help wanted requesting help from the community type: twilio enhancement feature request on Twilio's roadmap

Comments

@russell-wave
Copy link

russell-wave commented Dec 22, 2022

Issue Summary

Circular reference when creating a BYOC trunk with a sip domain as both "from" and termination domain

Steps to Reproduce

  1. create a terraform file with the resources below

Code Snippet

resource "twilio_voice_byoc_trunks_v1" "my_byoc" {
    from_domain_sid = twilio_api_accounts_sip_domains.my_sip_domain.sid
}

resource "twilio_api_accounts_sip_domains" "my_sip_domain" {
  domain_name = "myexample.sip.twilio.com"
  byoc_trunk_sid = twilio_voice_byoc_trunks_v1.my_byoc.sid
}

Exception/Log

Error: Cycle ... 

Technical details:

  • terraform-provider-twilio version: 0.8.12
  • terraform version: 1.0.11

Ran into this today, it's something that is completely possible to do from the UI but not from terraform.

I was hoping that there would be a work-around of having separate "from" and "termination" domains but this doesn't seem to be possible either at the moment which makes it afik impossible to configure the from domain with terraform

@childish-sambino
Copy link
Contributor

This issue has been added to our internal backlog to be prioritized. Pull requests and +1s on the issue summary will help it move up the backlog (ref: DI-1325).

@childish-sambino childish-sambino added type: twilio enhancement feature request on Twilio's roadmap status: help wanted requesting help from the community code-generation issue deals with generated code labels Dec 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code-generation issue deals with generated code status: help wanted requesting help from the community type: twilio enhancement feature request on Twilio's roadmap
Projects
None yet
Development

No branches or pull requests

2 participants