Comments (3)
@jeffreymlewis Thanks for providing this feedback, your suggestion is certainly reasonable. And in fact it is an opportunity to review all of our data sources to ensure that they handle 404s appropriately.
We've earmarked this as a must-have for our upcoming major release. This work has been completed in #698 but not available until that release goes out; will keep this ticket open in the meantime.
from terraform-provider-auth0.
Here's a better work-around.
data "auth0_resource_server" "default" {
identifier = data.auth0_tenant.main.management_api_identifier
lifecycle {
# This `postcondition` is necessary because the auth0 provider returns null, rather then an error, when
# looking up resource servers which do not exist.
postcondition {
condition = self.identifier != null
error_message = "Could not find default Resource Server for tenant ${data.auth0_tenant.main.domain}"
}
}
}
data "auth0_tenant" "main" {}
from terraform-provider-auth0.
Hey @jeffreymlewis 👋🏻
This should be fixed now as part of the v1.0.0-beta.0 release! 🙌🏻 Please give it a try and let us know if you encounter any issues.
terraform {
required_providers {
auth0 = {
source = "auth0/auth0"
version = "1.0.0-beta.0"
}
}
}
📚 Resources
Quickstart | Documentation | Migration Guide | Changelog
from terraform-provider-auth0.
Related Issues (20)
- Add Passkey support
- Can't import or create `auth0_organization_member` on Organizations with more than 50 members HOT 1
- auth0_client: ommiting the `addons` section will make terraform plan noisy
- several attributes cause plan spam with their defaults HOT 1
- auth0_attack_protection: Brute-force protection allowlist is not updated in Tenant HOT 3
- Action Triggers
- totp is always applied HOT 5
- `tf generate` does not create a auth0_generated.tf file. `terraform plan` fails HOT 3
- Add toggle for "Customize MFA Factors using Actions" HOT 2
- Dependency error between auth0_role_permissions and auth0_resource_server_scopes HOT 6
- (auth0_resource_server_scopes) Unable to upgrade from 0.x to 1.x. Additional prop: scopes HOT 2
- log_stream.splunk_port returning a number instead of a string HOT 9
- Add captcha_widget_theme to auth0_branding_theme HOT 1
- auth0 cli not importing email templates, hooks and rules HOT 1
- Client creation suddenly no longer working with oauth2: "server_error" "callback is not a function" HOT 2
- auth0_role_permissions not allowing multiple times the permssions appending HOT 2
- Service not enabled within domain: https://sample.api.com HOT 1
- Add proper support for all oidc_logout parameters
- Add data source for auth0_action resource HOT 1
- Auth0 Terraform Provider not handling the state for `auth0_role_permissions` resources HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from terraform-provider-auth0.