Skip to content
This repository was archived by the owner on Mar 8, 2022. It is now read-only.
This repository was archived by the owner on Mar 8, 2022. It is now read-only.

auth0_branding fails with an error  #380

@RishikeshDarandale

Description

@RishikeshDarandale

Description

When added auth0_branding resource, got an error saying Error: 404 Not Found: Template does not exist.

Terraform Version

Terraform v0.14.9
+ provider registry.terraform.io/alexkappa/auth0 v0.21.0
+ provider registry.terraform.io/hashicorp/local v2.0.0

Your version of Terraform is out of date! The latest version
is 0.15.0. You can update by downloading from https://www.terraform.io/downloads.html

Affected Resource(s)

  • auth0_branding

Terraform Configuration Files

# This was already existing with 0.20.0 version and imported using terraform import
resource "auth0_tenant" "tenant" {
  friendly_name   = "My Tenant"
  enabled_locales = ["en"]
  flags {
    enable_public_signup_user_exists_error = true
    enable_custom_domain_in_emails         = true
  }
  universal_login {
    colors {
      primary         = "#0059d6"
      page_background = "#000000"
    }
  }
}

# this is also an existing resource
resource "auth0_prompt" "prompt" {
  universal_login_experience = "new"
}

resource "auth0_branding" "my-brand" {
  logo_url = "<my_image_link>"
  colors {
    primary = "#0059d6"
    page_background = "#000000"
  }
}

terraform plan showed below changes

An execution plan has been generated and is shown below.
Resource actions are indicated with the following symbols:
  + create

Terraform will perform the following actions:

  # auth0_branding.transformco-brand will be created
  + resource "auth0_branding" "my-brand" {
      + favicon_url = (known after apply)
      + id          = (known after apply)
      + logo_url    = "<my_image_url>"

      + colors {
          + page_background = "#000000"
          + primary         = "#0059d6"
        }
    }

Once applied above changes, the changes got reflected in tenant. But, failed with error mentioned above.

Expected Behavior

Resource should be created without any error.

Actual Behavior

The resource got created and I see the updated values under my tenant! But, failed with below error

Error: 404 Not Found: Template does not exist.

Steps to Reproduce

  1. terraform apply

Debug Output

Panic Output

Important Factoids

  • Using custom domain with tenant
  • As shown colors were already defined under auth0_tenant resource.
  • Using new universal login

References

  • #0000

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions