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

HTTP 404 error with empty error text #23

Open
gzurowski opened this issue Jul 19, 2024 · 0 comments
Open

HTTP 404 error with empty error text #23

gzurowski opened this issue Jul 19, 2024 · 0 comments

Comments

@gzurowski
Copy link

I am attempting to apply the following simple template:

resource "improvmx_domain" "retracted_domain" {
  domain = "retracted.domain"
}

resource "improvmx_email_forward" "user1" {
  domain            = improvmx_domain.retracted_domain.domain
  alias_name        = "user1"
  destination_email = "[email protected]"
}

resource "improvmx_email_forward" "user2" {
  domain            = improvmx_domain.retracted_domain.domain
  alias_name        = "user2"
  destination_email = "[email protected]"
}

resource "improvmx_email_forward" "info" {
  domain            = improvmx_domain.retracted_domain.domain
  alias_name        = "info"
  destination_email = "${improvmx_email_forward.user1.destination_email},${improvmx_email_forward.user2.destination_email}"
}

This will result in the following error on first attempt:

improvmx_domain.retracted_domain: Creating...
improvmx_domain.retracted_domain: Creation complete after 1s [id=retracted.domain]
improvmx_email_forward.user1: Creating...
improvmx_email_forward.user2: Creating...
improvmx_email_forward.user2: Creation complete after 0s [id=5025340]
improvmx_email_forward.user1: Creation complete after 0s [id=5025341]
improvmx_email_forward.info: Creating...
╷
│ Error: HTTP response code 404, error text: []
│
│   with improvmx_email_forward.info,
│   on main.tf line 18, in resource "improvmx_email_forward" "info":
│   18: resource "improvmx_email_forward" "info" {
│
╵

A second attempt will succeed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant