# Terraform: universal login primary and background colors

**URL:** <https://community.auth0.com/t/terraform-universal-login-primary-and-background-colors/109360>\
**Category:** Get Help\
**Tags:** branding, new-universal-login-page-templates\
**Created:** [June 15, 2023, 11:02pm UTC](https://community.auth0.com/t/terraform-universal-login-primary-and-background-colors/109360 "2023-06-15T23:02:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![j.lewis](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/j.lewis/32/47662_2.png) [@j.lewis](https://community.auth0.com/u/j.lewis)\
**Post date:** [June 15, 2023, 11:02pm UTC](https://community.auth0.com/t/terraform-universal-login-primary-and-background-colors/109360/1 "2023-06-15T23:02:01Z")

</div>

I’m confused by the terraform resources related to Branding and Universal Login colors. There seems to be two places where the `primary` and `page_background` colors can be specified.

- In the [‘universal\_login’ block of the ‘auth0\_tenant’ resource](https://registry.terraform.io/providers/auth0/auth0/latest/docs/resources/tenant#nestedblock--universal_login--colors)
- In the [‘colors’ block of the `auth0_branding` resource](https://registry.terraform.io/providers/auth0/auth0/latest/docs/resources/branding#nested-schema-for-colors).

Which should we use?

---

<div class="post-metadata">

**Author:** ![rueben.tiow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rueben.tiow/32/11646_2.png) [@rueben.tiow](https://community.auth0.com/u/rueben.tiow)\
**Post date:** [June 16, 2023, 6:50pm UTC](https://community.auth0.com/t/terraform-universal-login-primary-and-background-colors/109360/3 "2023-06-16T18:50:59Z")

</div>

Hi @j.lewis,

Welcome to the Auth0 Community!

To change the Universal Login primary and background colors, you should use the `auth0_branding` resource.

Following [this link](https://registry.terraform.io/providers/auth0/auth0/latest/docs/resources/branding#nested-schema-for-colors) you shared is the correct resource to update your New Universal Login colors.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [June 30, 2023, 6:51pm UTC](https://community.auth0.com/t/terraform-universal-login-primary-and-background-colors/109360/4 "2023-06-30T18:51:26Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
