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

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: alexkappa/terraform-provider-auth0
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.17.0
Choose a base ref
...
head repository: alexkappa/terraform-provider-auth0
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref

Commits on Dec 27, 2020

  1. remove codeql

    Alex Kalyvitis committed Dec 27, 2020
    Copy the full SHA
    9203020 View commit details

Commits on Dec 30, 2020

  1. improve gitignore

    Alex Kalyvitis committed Dec 30, 2020
    Copy the full SHA
    d98b5a6 View commit details
  2. Improve usage instruction

    Alex Kalyvitis committed Dec 30, 2020
    Copy the full SHA
    912246e View commit details
  3. fix typo

    Alex Kalyvitis committed Dec 30, 2020
    Copy the full SHA
    2b67fae View commit details
  4. isNil to include slices, maps

    Alex Kalyvitis committed Dec 30, 2020
    Copy the full SHA
    0a9ac1b View commit details
  5. Improve mobile field validation and handling

    Alex Kalyvitis committed Dec 30, 2020
    Copy the full SHA
    49a2dcf View commit details
  6. update changelog

    Alex Kalyvitis committed Dec 30, 2020
    Copy the full SHA
    0b26d3a View commit details

Commits on Jan 11, 2021

  1. Support hook dependencies

    woz5999 committed Jan 11, 2021
    Copy the full SHA
    ad7dd25 View commit details
  2. Update resource_auth0_hook.go

    woz5999 committed Jan 11, 2021
    Copy the full SHA
    3a697d4 View commit details
  3. some fixes and cleanup

    woz5999 committed Jan 11, 2021
    Copy the full SHA
    09ca064 View commit details
  4. fixes

    woz5999 committed Jan 11, 2021
    Copy the full SHA
    8ebb803 View commit details
  5. typo

    woz5999 committed Jan 11, 2021
    Copy the full SHA
    15dad5e View commit details

Commits on Jan 12, 2021

  1. Copy the full SHA
    c740cd6 View commit details

Commits on Jan 13, 2021

  1. update to v3 and add resources

    Alex Kalyvitis committed Jan 13, 2021
    Copy the full SHA
    d6f0183 View commit details
  2. dummy change to trigger labeler

    Alex Kalyvitis committed Jan 13, 2021
    Copy the full SHA
    f9e4219 View commit details
  3. Merge pull request #316 from alexkappa/labeler-v3

    update labeler to v3 and add resources
    alexkappa authored Jan 13, 2021
    Copy the full SHA
    a0c192e View commit details
  4. update tests and fix refresh

    woz5999 committed Jan 13, 2021
    Copy the full SHA
    4f295a5 View commit details

Commits on Jan 25, 2021

  1. Copy the full SHA
    65a2304 View commit details

Commits on Jan 26, 2021

  1. Update test certificate

    Alex Kalyvitis committed Jan 26, 2021
    Copy the full SHA
    30d1340 View commit details
  2. add support for connect mfa options

    woz5999 authored and Alex Kalyvitis committed Jan 26, 2021
    Copy the full SHA
    30ae57c View commit details
  3. add mfa to connection flatten/expand

    woz5999 authored and Alex Kalyvitis committed Jan 26, 2021
    Copy the full SHA
    50c9760 View commit details
  4. Test mfa.return_enroll_settings with false value

    Alex Kalyvitis committed Jan 26, 2021
    Copy the full SHA
    b1d2c8f View commit details
  5. Merge branch 'pr/woz5999/313' into master

    Alex Kalyvitis committed Jan 26, 2021
    Copy the full SHA
    88127c3 View commit details
  6. Merge branch 'pr/woz5999/314' into master

    Alex Kalyvitis committed Jan 26, 2021
    Copy the full SHA
    e78e82b View commit details
  7. Update changelog

    Alex Kalyvitis committed Jan 26, 2021
    Copy the full SHA
    2533347 View commit details
  8. Update dependencies

    Alex Kalyvitis committed Jan 26, 2021
    Copy the full SHA
    7ed9790 View commit details
  9. change labeler target

    Alex Kalyvitis committed Jan 26, 2021
    Copy the full SHA
    f879514 View commit details

Commits on Feb 1, 2021

  1. Copy the full SHA
    c5eadb8 View commit details

Commits on Feb 3, 2021

  1. Merge pull request #324 from epintos/adds-set-user-root-attributes

    Adds set_user_root_attributes to connections
    Yvo authored Feb 3, 2021
    Copy the full SHA
    0677b73 View commit details
  2. Copy the full SHA
    1f95a12 View commit details
  3. Merge pull request #326 from yvovandoorn/yvo/bumpDeps

    update dependencies for auth0 to 5.9.0
    Yvo authored Feb 3, 2021
    Copy the full SHA
    af0b73d View commit details

Commits on Feb 4, 2021

  1. bump auth0 to 5.10

    yvovandoorn committed Feb 4, 2021
    Copy the full SHA
    9ff656e View commit details
  2. Merge pull request #327 from yvovandoorn/yvo/bumpDeps-v5.10

    Bump auth0 to 5.10
    Yvo authored Feb 4, 2021
    Copy the full SHA
    61ffe11 View commit details
  3. Add support for set_user_root_attributes to more options

    Alex Kalyvitis committed Feb 4, 2021
    Copy the full SHA
    7d45966 View commit details
  4. Merge branch 'master' of github.com:alexkappa/terraform-provider-auth…

    …0 into master
    Alex Kalyvitis committed Feb 4, 2021
    Copy the full SHA
    78dc295 View commit details

Commits on Feb 11, 2021

  1. Copy the full SHA
    afcb97b View commit details
  2. formatting

    dblackhall-tyro committed Feb 11, 2021
    Copy the full SHA
    77258ef View commit details

Commits on Feb 17, 2021

  1. Copy the full SHA
    6df606c View commit details

Commits on Feb 19, 2021

  1. Copy the full SHA
    5c4bc17 View commit details

Commits on Mar 2, 2021

  1. Fix typo in connection docs

    For Google OAuth, docs specified Facebook client id and secret instead of Google
    harrisonzhao authored Mar 2, 2021
    Copy the full SHA
    ce7795d View commit details

Commits on Mar 12, 2021

  1. Copy the full SHA
    0c66e49 View commit details
  2. Minor change to argument order

    Order of argument matches source of resource_auth0_tenant.go
    hvassing authored Mar 12, 2021
    Copy the full SHA
    06c7518 View commit details
  3. Change to TypeList for enabled_locales

    The first entry in the `enabled_locales` list determines the default language.
    hvassing authored Mar 12, 2021
    Copy the full SHA
    a7e3f0d View commit details

Commits on Mar 18, 2021

  1. Copy the full SHA
    d8a43ce View commit details
  2. update the docs

    ThomasJamesCrawford committed Mar 18, 2021
    Copy the full SHA
    197ad91 View commit details

Commits on Mar 21, 2021

  1. Merge pull request #262 from yinzara/feature/hook-secrets

    Add "HookSecrets" support through "auth0_hook"
    Yvo authored Mar 21, 2021
    Copy the full SHA
    56de8e4 View commit details
  2. Merge pull request #341 from harrisonzhao/patch-1

    Fix typo in connection docs
    Yvo authored Mar 21, 2021
    Copy the full SHA
    7315ae1 View commit details
  3. Merge pull request #331 from dblackhall-tyro/master

    Support the Sumo Logic log stream type
    Yvo authored Mar 21, 2021
    Copy the full SHA
    9eb49fb View commit details
  4. Indicate needed scope to get client secrets in doc (#333)

    * Indicate needed scope to get client secrets in doc
    Jujulego authored Mar 21, 2021
    Copy the full SHA
    d1aafcd View commit details
  5. Merge pull request #335 from mamacdon/windowslive

    Hook up 'windowslive' social connection type
    Yvo authored Mar 21, 2021
    Copy the full SHA
    1cd234a View commit details
Showing with 5,708 additions and 602 deletions.
  1. +44 −0 .github/labeler.yml
  2. +8 −1 .github/workflows/build.yml
  3. +0 −34 .github/workflows/codeql.yml
  4. +2 −2 .github/workflows/labeler.yml
  5. +5 −4 .github/workflows/release.yml
  6. +0 −24 .github/workflows/stale.yml
  7. +16 −4 .github/workflows/sweep.yml
  8. +38 −17 .gitignore
  9. +162 −0 CHANGELOG.md
  10. +88 −0 CONTRIBUTING.md
  11. +5 −2 GNUmakefile
  12. +34 −57 README.md
  13. +53 −0 auth0/data_source_auth0_client.go
  14. +75 −0 auth0/data_source_auth0_client_test.go
  15. +19 −0 auth0/data_source_auth0_global_client.go
  16. +39 −0 auth0/data_source_auth0_global_client_test.go
  17. +73 −0 auth0/data_source_helpers.go
  18. +77 −0 auth0/data_source_helpers_test.go
  19. +21 −0 auth0/internal/hash/hash.go
  20. +23 −0 auth0/internal/hash/hash_test.go
  21. +1 −1 auth0/internal/validation/validation.go
  22. +81 −60 auth0/provider.go
  23. +95 −0 auth0/provider_test.go
  24. +303 −0 auth0/resource_auth0_action.go
  25. +97 −0 auth0/resource_auth0_action_test.go
  26. +231 −0 auth0/resource_auth0_branding.go
  27. +67 −0 auth0/resource_auth0_branding_test.go
  28. +151 −16 auth0/resource_auth0_client.go
  29. +143 −25 auth0/resource_auth0_client_test.go
  30. +104 −1 auth0/resource_auth0_connection.go
  31. +271 −44 auth0/resource_auth0_connection_test.go
  32. +2 −1 auth0/resource_auth0_custom_domain.go
  33. +0 −1 auth0/resource_auth0_custom_domain_test.go
  34. +73 −0 auth0/resource_auth0_custom_domain_verification.go
  35. +38 −0 auth0/resource_auth0_custom_domain_verification_test.go
  36. +2 −0 auth0/resource_auth0_email_template.go
  37. +1 −1 auth0/resource_auth0_email_template_test.go
  38. +375 −0 auth0/resource_auth0_guardian.go
  39. +227 −0 auth0/resource_auth0_guardian_test.go
  40. +48 −1 auth0/resource_auth0_hook.go
  41. +75 −12 auth0/resource_auth0_hook_test.go
  42. +25 −1 auth0/resource_auth0_log_stream.go
  43. +84 −10 auth0/resource_auth0_log_stream_test.go
  44. +239 −0 auth0/resource_auth0_organization.go
  45. +158 −0 auth0/resource_auth0_organization_test.go
  46. +6 −0 auth0/resource_auth0_prompt.go
  47. +167 −0 auth0/resource_auth0_prompt_custom_text.go
  48. +74 −0 auth0/resource_auth0_prompt_custom_text_test.go
  49. +8 −4 auth0/resource_auth0_prompt_test.go
  50. +2 −2 auth0/resource_auth0_role.go
  51. +1 −1 auth0/resource_auth0_rule_test.go
  52. +2 −2 auth0/resource_auth0_tenant.go
  53. +15 −15 auth0/resource_auth0_tenant_test.go
  54. +142 −0 auth0/resource_auth0_trigger_binding.go
  55. +103 −0 auth0/resource_auth0_trigger_binding_test.go
  56. +2 −2 auth0/resource_auth0_user.go
  57. +27 −10 auth0/resource_data.go
  58. +2 −0 auth0/resource_data_test.go
  59. +274 −90 auth0/structure_auth0_connection.go
  60. +12 −0 docker-compose.yml
  61. +5 −0 dockerfiles/wiremock/Dockerfile
  62. +16 −0 dockerfiles/wiremock/__files/custom_domain_verified.json
  63. +16 −0 dockerfiles/wiremock/__files/custom_domain_with_pending_verification.json
  64. +9 −0 dockerfiles/wiremock/mappings/delete_custom_domain_204.json
  65. +16 −0 dockerfiles/wiremock/mappings/get_custom_domain_pending_200.json
  66. +15 −0 dockerfiles/wiremock/mappings/get_custom_domain_ready_200.json
  67. +21 −0 dockerfiles/wiremock/mappings/post_custom_domain_201.json
  68. +13 −0 dockerfiles/wiremock/mappings/post_custom_domain_verify_200.json
  69. +32 −0 docs/datasources/client.md
  70. +33 −0 docs/datasources/global_client.md
  71. +7 −2 docs/index.md
  72. +86 −0 docs/resources/action.md
  73. +54 −0 docs/resources/branding.md
  74. +61 −4 docs/resources/client.md
  75. +8 −0 docs/resources/client_grant.md
  76. +98 −8 docs/resources/connection.md
  77. +48 −0 docs/resources/custom_domain_verification.md
  78. +2 −2 docs/resources/email_template.md
  79. +64 −0 docs/resources/guardian.md
  80. +13 −3 docs/resources/hook.md
  81. +78 −0 docs/resources/log_stream.md
  82. +82 −0 docs/resources/organization.md
  83. +2 −0 docs/resources/prompt.md
  84. +62 −0 docs/resources/prompt_custom_text.md
  85. +2 −3 docs/resources/role.md
  86. +2 −1 docs/resources/tenant.md
  87. +82 −0 docs/resources/trigger_binding.md
  88. +1 −1 docs/resources/user.md
  89. +47 −0 example/action/main.tf
  90. +1 −0 example/client/main.tf
  91. +14 −0 example/guardian/main.tf
  92. +22 −0 example/log_stream/main.tf
  93. +29 −0 example/organization/main.tf
  94. +1 −0 example/prompt/main.tf
  95. +5 −4 go.mod
  96. +134 −113 go.sum
  97. +17 −16 scripts/gendocs.go
44 changes: 44 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
resource/auth0_action:
- '**/*action.go'
- '**/*action_test.go'

resource/auth0_branding:
- '**/*branding.go'
- '**/*branding_test.go'

resource/auth0_client:
- '**/*client.go'
- '**/*client_test.go'
@@ -22,6 +30,34 @@ resource/auth0_email_template:
- '**/*email_template.go'
- '**/*email_template_test.go'

resource/auth0_global_client:
- '**/*global_client.go'
- '**/*global_client_test.go'

resource/auth0_guardian:
- '**/*guardian.go'
- '**/*guardian_test.go'

resource/auth0_hook:
- '**/*hook.go'
- '**/*hook_test.go'

resource/auth0_log_stream:
- '**/*log_stream.go'
- '**/*log_stream_test.go'

resource/auth0_organization:
- '**/*organization.go'
- '**/*organization_test.go'

resource/auth0_prompt:
- '**/*prompt.go'
- '**/*prompt_test.go'

resource/auth0_prompt_custom_text:
- '**/*prompt_custom_text.go'
- '**/*prompt_custom_text_test.go'

resource/auth0_resource_server:
- '**/*resource_server.go'
- '**/*resource_server_test.go'
@@ -42,6 +78,14 @@ resource/auth0_tenant:
- '**/*tenant.go'
- '**/*tenant_test.go'

resource/auth0_trigger_binding:
- '**/*trigger_binding.go'
- '**/*trigger_binding_test.go'

resource/auth0_user:
- '**/*user.go'
- '**/*user_test.go'

resource_data:
- '**/resource_data.go'
- '**/resource_data_test.go'
9 changes: 8 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -19,7 +19,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.14.1
go-version: 1.16
id: go

- name: Set up Git cookies
@@ -28,6 +28,9 @@ jobs:
- name: Build
run: make build

- name: Start containers
run: docker-compose up -d --build

- name: Test
run: make testacc OPTS=-coverprofile=c.out
env:
@@ -40,3 +43,7 @@ jobs:
with:
codeclimate-test-reporter-id: ${{ secrets.CC_TEST_REPORTER_ID }}
command: after-build --prefix github.com/alexkappa/terraform-provider-auth0

- name: Stop containers
if: always()
run: docker-compose down
34 changes: 0 additions & 34 deletions .github/workflows/codeql.yml

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
name: Label

on: [pull_request]
on: [pull_request_target]

jobs:
label:
name: Label
runs-on: ubuntu-latest
steps:

- uses: actions/labeler@v2
- uses: actions/labeler@v3
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
9 changes: 5 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -10,12 +10,12 @@ jobs:
steps:

- name: Check out source
uses: actions/checkout@v1
uses: actions/checkout@v2

- name: Set up Go
uses: actions/setup-go@v1
uses: actions/setup-go@v2
with:
go-version: 1.14
go-version: 1.16
id: go

- name: Determine version
@@ -28,7 +28,8 @@ jobs:
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}

- name: Create release notes
run: scripts/release-notes.sh ${{ env.VERSION }} > release-notes.md
run: |
scripts/release-notes.sh ${{ env.VERSION }} | tee release-notes.md
- name: Go release
uses: goreleaser/goreleaser-action@v1
24 changes: 0 additions & 24 deletions .github/workflows/stale.yml

This file was deleted.

20 changes: 16 additions & 4 deletions .github/workflows/sweep.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,24 @@
name: Sweep

on:
schedule:
- cron: "0 0 * * *"
on: [workflow_dispatch]

jobs:
sweep:
name: Sweep
runs-on: ubuntu-latest
steps:
- run: make sweep
- name: Check out source
uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.16
id: go
- name: Set up Git cookies
run: bash scripts/gogetcookie.sh
- name: Sweep
run: make sweep
env:
AUTH0_DOMAIN: ${{ secrets.AUTH0_DOMAIN }}
AUTH0_CLIENT_ID: ${{ secrets.AUTH0_CLIENT_ID }}
AUTH0_CLIENT_SECRET: ${{ secrets.AUTH0_CLIENT_SECRET }}
55 changes: 38 additions & 17 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,19 +1,40 @@
*.out
*.log
*.bak
*~
.*.swp
.idea
# Binaries for programs and plugins
*.exe
*.exe~
*.dll
*.so
*.dylib

terraform-provider-auth0

# Test binary, built with `go test -c`
*.test
*.iml
*.tfplan

# Output of the go coverage tool, specifically when used with LiteIDE
*.out

# Dependency directories (remove the comment below to include it)
vendor/

# Local .terraform directories
**/.terraform/*

# .tfstate files
*.tfstate
*.tfstate.backup
.*/
!.github/
terraform-provider-auth0
website/vendor
website/.bundle
website/build
website/node_modules
.env
*.tfstate.*
.terraform.lock.hcl

# Crash log files
crash.log

# Ignore override files as they are usually used to override resources locally and so
# are not checked in
override.tf
override.tf.json
*_override.tf
*_override.tf.json

# VSCode ###
.vscode/*
!.vscode/tasks.json
*.code-workspace
Loading