Skip to content

Commit

Permalink
Merge pull request #843 from auth0/v1
Browse files Browse the repository at this point in the history
  • Loading branch information
sergiught committed Sep 19, 2023
2 parents 59b2dbc + c32c5ad commit d1f827e
Show file tree
Hide file tree
Showing 344 changed files with 43,481 additions and 49,468 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
uses: actions/checkout@v3

- name: Set up Go
uses: actions/setup-go@v3
uses: actions/setup-go@v4
with:
go-version-file: go.mod
check-latest: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
run: make check-docs

- name: Check for linting errors
uses: golangci/golangci-lint-action@639cd343e1d3b897ff35927a75193d57cfcba299 # pin@3.6.0
uses: golangci/golangci-lint-action@3a919529898de77ec3da873e3063ca4b10e7f5cc # pin@3.7.0
with:
version: latest
args: -v -c .golangci.yml
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,11 @@ jobs:
run: git fetch --prune --unshallow

- name: Set up Go
uses: actions/setup-go@v3
uses: actions/setup-go@v4
with:
go-version-file: go.mod
check-latest: true
cache: false

- name: Import GPG key
id: import_gpg
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sweep.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
uses: actions/checkout@v3

- name: Set up Go
uses: actions/setup-go@v3
uses: actions/setup-go@v4
with:
go-version-file: go.mod
check-latest: true
Expand Down
124 changes: 123 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,125 @@
## v1.0.0-beta.4

NOTES:

- This release supports auto generated terraform configuration. [Check our guide for more info](https://registry.terraform.io/providers/auth0/auth0/latest/docs/guides/generate_terraform_config).
- :warning: Check our [migration guide](https://github.com/auth0/terraform-provider-auth0/blob/main/MIGRATION_GUIDE.md) to navigate the breaking changes that were added in this release.

FEATURES:

- `resource/auth0_connection`: Add support for Line strategy ([#818](https://github.com/auth0/terraform-provider-auth0/pull/818))
- `resource/auth0_connection`: Add `pkce` and `attribute_map` settings to OIDC and Okta Workforce connection options ([#815](https://github.com/auth0/terraform-provider-auth0/pull/815))
- `resource/auth0_client`: Add support for pushed authorization requests setting ([#756](https://github.com/auth0/terraform-provider-auth0/pull/756))
- `resource/auth0_tenant`: Add support for pushed authorization requests setting ([#756](https://github.com/auth0/terraform-provider-auth0/pull/756))
- `resource/auth0_tenant`: Add support for `allow_organization_name_in_authentication_api` toggle ([#832](https://github.com/auth0/terraform-provider-auth0/pull/832))

ENHANCEMENTS:

- `resource/auth0_branding`: Improve validation for universal login template body ([#819](https://github.com/auth0/terraform-provider-auth0/pull/819))

BUG FIXES:

- `resource/auth0_prompt_custom_text`: Prevent `"null"` string literal when importing resource ([#821](https://github.com/auth0/terraform-provider-auth0/pull/821))
- `resource/auth0_guardian`: Remove minor `phone.message_types` validation ([#820](https://github.com/auth0/terraform-provider-auth0/pull/820))
- `resource/auth0_connection`: Allow sending `null` values for `from` and `messagingServiceSID` in SMS connection options ([#829](https://github.com/auth0/terraform-provider-auth0/pull/829))
- `resource/auth0_connection`: Passing-through Google Workspace admin tokens when managing the connection ([#830](https://github.com/auth0/terraform-provider-auth0/pull/830))
- `resource/auth0_tenant`: Allow creating native apps with device code grant ([#833](https://github.com/auth0/terraform-provider-auth0/pull/833))


## v1.0.0-beta.3

NOTES:

- :warning: Check our [migration guide](https://github.com/auth0/terraform-provider-auth0/blob/main/MIGRATION_GUIDE.md) to navigate the breaking changes that were added in this release.

ENHANCEMENTS:

- `resource/auth0_client`: Improve DX for managing `is_token_endpoint_ip_header_trusted` ([#796](https://github.com/auth0/terraform-provider-auth0/pull/796))
- `resource/auth0_log_stream`: Improve resource schema ([#798](https://github.com/auth0/terraform-provider-auth0/pull/798))

BUG FIXES:

- `resource/auth0_client_credentials`: Stop requiring `read:client_keys` permission when reading the resource ([#795](https://github.com/auth0/terraform-provider-auth0/pull/795))
- `resource/auth0_connection`: Passing-through critical connection options for following connection types: Ping Federate, AD, Azure AD, SAML ([#802](https://github.com/auth0/terraform-provider-auth0/pull/802))
- `resource/*`: Fix pagination issues when fetching resources ([#807](https://github.com/auth0/terraform-provider-auth0/pull/807))
- `data-source/*`: Fix pagination issues when fetching data sources ([#807](https://github.com/auth0/terraform-provider-auth0/pull/807))


## v1.0.0-beta.2

NOTES:

- :warning: Check our [migration guide](https://github.com/auth0/terraform-provider-auth0/blob/main/MIGRATION_GUIDE.md) to navigate the breaking changes that were added in this release.

BUG FIXES:

- `resource/auth0_client_grant`: Add validation to prevent empty string scope values ([#793](https://github.com/auth0/terraform-provider-auth0/pull/793))
- `provider`: Fix issue with rate limit retry mechanism ([#788](https://github.com/auth0/terraform-provider-auth0/pull/788))


## v1.0.0-beta.1

NOTES:

- :warning: Check our [migration guide](https://github.com/auth0/terraform-provider-auth0/blob/main/MIGRATION_GUIDE.md) to navigate the breaking changes that were added in this release.

ENHANCEMENTS:

- `data-source/auth0_role`: Add ability to retrieve users assigned to a role ([#758](https://github.com/auth0/terraform-provider-auth0/pull/758))
- `resource/auth0_email_provider`: Add support for `azure_cs` and `ms365` email providers ([#752](https://github.com/auth0/terraform-provider-auth0/pull/752))
- `resource/auth0_connection`: Add support for `decryption_key` on SAML Connection Options ([#755](https://github.com/auth0/terraform-provider-auth0/pull/755))
- `resource/auth0_tenant`: Add support for `OIDCLogoutPrompt` toggle ([#754](https://github.com/auth0/terraform-provider-auth0/pull/754))

BUG FIXES:

- `resource/auth0_client`: Prevent sending empty payloads for client addons ([#759](https://github.com/auth0/terraform-provider-auth0/pull/759))


## v1.0.0-beta.0

NOTES:

- :warning: Check our [migration guide](https://github.com/auth0/terraform-provider-auth0/blob/main/MIGRATION_GUIDE.md) to navigate the breaking changes that were added in this release.

FEATURES:

- `data-source/auth0_pages`: Add new data source to retrieve Auth0 pages ([#706](https://github.com/auth0/terraform-provider-auth0/pull/706))

ENHANCEMENTS:

- `resource/auth0_action`: Add support for GA version of Node 18 within `runtime` field ([#709](https://github.com/auth0/terraform-provider-auth0/pull/709), [#722](https://github.com/auth0/terraform-provider-auth0/pull/722))
- `resource/auth0_trigger_actions`: Add `password-reset-post-challenge` to available trigger bindings ([#726](https://github.com/auth0/terraform-provider-auth0/pull/726))
- `resource/auth0_trigger_action`: Add `password-reset-post-challenge` to available trigger bindings ([#746](https://github.com/auth0/terraform-provider-auth0/pull/746))
- `resource/auth0_*`: Improve how we check for 404 errors ([#727](https://github.com/auth0/terraform-provider-auth0/pull/727))
- `resource/auth0_client`: Add validation to prevent empty `mobile` block ([#742](https://github.com/auth0/terraform-provider-auth0/pull/742))
- `resource/auth0_prompt_custom_text`: Add support for six new languages ([#732](https://github.com/auth0/terraform-provider-auth0/pull/732))

BUG FIXES:

- `resource/auth0_connection`: Correctly expand `shopify` connection strategy types ([#728](https://github.com/auth0/terraform-provider-auth0/pull/728))
- `data-source/auth0_*`: Raise 404 errors when retrieving data sources ([#698](https://github.com/auth0/terraform-provider-auth0/pull/698))

BREAKING CHANGES:

- `resource/auth0_client`: Formally type the `addons` sub-properties ([#655](https://github.com/auth0/terraform-provider-auth0/pull/655), [#656](https://github.com/auth0/terraform-provider-auth0/pull/656), [#657](https://github.com/auth0/terraform-provider-auth0/pull/657), [#658](https://github.com/auth0/terraform-provider-auth0/pull/658), [#661](https://github.com/auth0/terraform-provider-auth0/pull/661), [#662](https://github.com/auth0/terraform-provider-auth0/pull/662), [#663](https://github.com/auth0/terraform-provider-auth0/pull/663), [#664](https://github.com/auth0/terraform-provider-auth0/pull/664), [#665](https://github.com/auth0/terraform-provider-auth0/pull/665), [#666](https://github.com/auth0/terraform-provider-auth0/pull/666), [#667](https://github.com/auth0/terraform-provider-auth0/pull/667), [#668](https://github.com/auth0/terraform-provider-auth0/pull/668), [#669](https://github.com/auth0/terraform-provider-auth0/pull/669), [#670](https://github.com/auth0/terraform-provider-auth0/pull/670), [#671](https://github.com/auth0/terraform-provider-auth0/pull/671), [#672](https://github.com/auth0/terraform-provider-auth0/pull/672), [#673](https://github.com/auth0/terraform-provider-auth0/pull/673), [#674](https://github.com/auth0/terraform-provider-auth0/pull/674), [#675](https://github.com/auth0/terraform-provider-auth0/pull/675), [#676](https://github.com/auth0/terraform-provider-auth0/pull/676), [#677](https://github.com/auth0/terraform-provider-auth0/pull/677), [#678](https://github.com/auth0/terraform-provider-auth0/pull/678), [#681](https://github.com/auth0/terraform-provider-auth0/pull/681), [#682](https://github.com/auth0/terraform-provider-auth0/pull/682))
- `resource/auth0_user`: Remove `roles` and `permissions` fields ([#703](https://github.com/auth0/terraform-provider-auth0/pull/703))
- `resource/auth0_resource_server`: Remove `scopes` field ([#703](https://github.com/auth0/terraform-provider-auth0/pull/703))
- `resource/auth0_global_client`: Remove resource ([#704](https://github.com/auth0/terraform-provider-auth0/pull/704))
- `data-source/auth0_global_client`: Remove data source ([#704](https://github.com/auth0/terraform-provider-auth0/pull/704))
- `resource/auth0_tenant`: Remove `change_password`, `error_page` and `guardian_mfa_page` fields ([#711](https://github.com/auth0/terraform-provider-auth0/pull/711))
- `resource/auth0_tenant`: Remove `universal_login` block ([#712](https://github.com/auth0/terraform-provider-auth0/pull/712))
- `resource/auth0_client`: Remove `client_secret_rotation_trigger` field ([#711](https://github.com/auth0/terraform-provider-auth0/pull/711))
- `resource/auth0_role`: Remove `permissions` field ([#714](https://github.com/auth0/terraform-provider-auth0/pull/714))
- `resource/auth0_organization_member`: Remove `roles` field ([#715](https://github.com/auth0/terraform-provider-auth0/pull/715))
- `resource/auth0_client_grant`: Rename `scope` field to `scopes` ([#717](https://github.com/auth0/terraform-provider-auth0/pull/717))
- `resource/auth0_*`: Align resource import separators ([#718](https://github.com/auth0/terraform-provider-auth0/pull/718))
- `resource/auth0_client`: Remove `client_secret` and `token_endpoint_auth_method` fields ([#725](https://github.com/auth0/terraform-provider-auth0/pull/725))
- `resource/auth0_email`: Remove `api_user` field ([#730](https://github.com/auth0/terraform-provider-auth0/pull/730))
- `resource/auth0_connection`: Remove `enabled_clients` field ([#730](https://github.com/auth0/terraform-provider-auth0/pull/730))
- `resource/auth0_trigger_binding`: Remove resource ([#730](https://github.com/auth0/terraform-provider-auth0/pull/730))
- `resource/auth0_email`: Rename resource to `auth0_email_provider` ([#731](https://github.com/auth0/terraform-provider-auth0/pull/731))


## 0.50.2

ENHANCEMENTS:
Expand All @@ -16,7 +138,7 @@ BUG FIXES:

FEATURES:

- `auth0_pages`: Add new resource to manage Auth0 pages (`change_password`, `error`, `guardian_mfa`, `login`) ([#691](https://github.com/auth0/terraform-provider-auth0/pull/691))
- `resource/auth0_pages`: Add new resource to manage Auth0 pages (`change_password`, `error`, `guardian_mfa`, `login`) ([#691](https://github.com/auth0/terraform-provider-auth0/pull/691))

ENHANCEMENTS:

Expand Down
11 changes: 5 additions & 6 deletions MIGRATION_GUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ The `auth0_trigger_binding` resource has been renamed to `auth0_trigger_actions`
`auth0_trigger_action` (1:1) resource.

Before upgrading, run a `terraform state rm auth0_trigger_binding.<resource_name>`. Then upgrade to `v1.0.0-beta.x` and
rename the resource from `auth0_trigger_binding` to `auth0_trigger_actions` and re-import the resource using
rename the resource from `auth0_trigger_binding` to `auth0_trigger_actions` and re-import the resource using
`terraform import auth0_trigger_actions.<resource_name> <trigger_id>`.

<table>
Expand Down Expand Up @@ -828,11 +828,10 @@ resource "auth0_client_grant" "my_client_grant" {

### Actions Node 18 Runtime Beta

The Node 18 Beta runtime option for actions has been removed.
On `v0.x` the `node18` runtime value was setting the runtime to Node 18 Beta, on `v1` this will now opt you in to the
GA version of Node 18. If you were using the `node18-actions` (GA) runtime on `v0.x`, simply rename that to `node18` on `v1`.

Now, you will be opted in to the GA version of Node 18 actions runtime instead.

Ensure that the versions of the trigger types you are using are allowed to use the `node18` runtime. You can retrieve
Ensure that the versions of the trigger types you are using are allowed to use the `node18` runtime. You can retrieve
the triggers available within actions and their supported runtimes following this guide: [Retrieve triggers available within actions](https://registry.terraform.io/providers/auth0/auth0/latest/docs/guides/action_triggers).

[Back to Table of Contents](#migration-guide)
Expand Down Expand Up @@ -990,7 +989,7 @@ resource "auth0_branding" "my_branding" {
colors {
primary = "#0059d6"
page_background = "#000000"
}
}
}
```

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ The Auth0 Terraform Provider is the official plugin for managing Auth0 tenant co
## Documentation

- [Official Docs](https://registry.terraform.io/providers/auth0/auth0/latest/docs)
- [Guides]
- Guides
- [Quickstart](./docs/guides/quickstart.md)
- [List available triggers for actions](./docs/guides/action_triggers.md)
- [Zero downtime client credentials rotation](./docs/guides/client_secret_rotation.md)
Expand All @@ -54,7 +54,7 @@ terraform {
required_providers {
auth0 = {
source = "auth0/auth0"
version = ">= 0.47.0" # Refer to docs for latest version
version = "1.0.0-beta.0" # Refer to docs for latest version
}
}
}
Expand Down
Loading

0 comments on commit d1f827e

Please sign in to comment.