Skip to content

Commit

Permalink
Upgrade terraform-provider-auth0 to v1.2.0 (#440)
Browse files Browse the repository at this point in the history
This PR was generated via `$ upgrade-provider pulumi/pulumi-auth0
--kind=all --target-bridge-version=latest`.

---

- Upgrading terraform-provider-auth0 from 1.1.2  to 1.2.0.
	Fixes #439
  • Loading branch information
pulumi-bot authored Feb 29, 2024
1 parent c50b24a commit c39b957
Show file tree
Hide file tree
Showing 16 changed files with 2,291 additions and 47 deletions.
4 changes: 4 additions & 0 deletions provider/cmd/pulumi-resource-auth0/bridge-metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -630,6 +630,10 @@
"current": "auth0:index/promptCustomText:PromptCustomText",
"majorVersion": 3
},
"auth0_prompt_partials": {
"current": "auth0:index/promptPartials:PromptPartials",
"majorVersion": 3
},
"auth0_resource_server": {
"current": "auth0:index/resourceServer:ResourceServer",
"majorVersion": 3
Expand Down
103 changes: 103 additions & 0 deletions provider/cmd/pulumi-resource-auth0/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -9049,6 +9049,109 @@
"type": "object"
}
},
"auth0:index/promptPartials:PromptPartials": {
"description": "With this resource, you can manage a customized sign up and login experience by adding custom content, form elements and css/javascript. You can read more about this [here](https://auth0.com/docs/customize/universal-login-pages/customize-signup-and-login-prompts).\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as auth0 from \"@pulumi/auth0\";\n\nconst myLoginPromptPartials = new auth0.PromptPartials(\"myLoginPromptPartials\", {\n formContentEnd: \"\u003cdiv\u003eUpdated Form Content End\u003c/div\u003e\",\n formContentStart: \"\u003cdiv\u003eUpdated Form Content Start\u003c/div\u003e\",\n formFooterEnd: \"\u003cdiv\u003eUpdated Footer End\u003c/div\u003e\",\n formFooterStart: \"\u003cdiv\u003eUpdated Footer Start\u003c/div\u003e\",\n prompt: \"login\",\n secondaryActionsEnd: \"\u003cdiv\u003eUpdated Secondary Actions End\u003c/div\u003e\",\n secondaryActionsStart: \"\u003cdiv\u003eUpdated Secondary Actions Start\u003c/div\u003e\",\n});\n```\n```python\nimport pulumi\nimport pulumi_auth0 as auth0\n\nmy_login_prompt_partials = auth0.PromptPartials(\"myLoginPromptPartials\",\n form_content_end=\"\u003cdiv\u003eUpdated Form Content End\u003c/div\u003e\",\n form_content_start=\"\u003cdiv\u003eUpdated Form Content Start\u003c/div\u003e\",\n form_footer_end=\"\u003cdiv\u003eUpdated Footer End\u003c/div\u003e\",\n form_footer_start=\"\u003cdiv\u003eUpdated Footer Start\u003c/div\u003e\",\n prompt=\"login\",\n secondary_actions_end=\"\u003cdiv\u003eUpdated Secondary Actions End\u003c/div\u003e\",\n secondary_actions_start=\"\u003cdiv\u003eUpdated Secondary Actions Start\u003c/div\u003e\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Auth0 = Pulumi.Auth0;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var myLoginPromptPartials = new Auth0.PromptPartials(\"myLoginPromptPartials\", new()\n {\n FormContentEnd = \"\u003cdiv\u003eUpdated Form Content End\u003c/div\u003e\",\n FormContentStart = \"\u003cdiv\u003eUpdated Form Content Start\u003c/div\u003e\",\n FormFooterEnd = \"\u003cdiv\u003eUpdated Footer End\u003c/div\u003e\",\n FormFooterStart = \"\u003cdiv\u003eUpdated Footer Start\u003c/div\u003e\",\n Prompt = \"login\",\n SecondaryActionsEnd = \"\u003cdiv\u003eUpdated Secondary Actions End\u003c/div\u003e\",\n SecondaryActionsStart = \"\u003cdiv\u003eUpdated Secondary Actions Start\u003c/div\u003e\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-auth0/sdk/v3/go/auth0\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := auth0.NewPromptPartials(ctx, \"myLoginPromptPartials\", \u0026auth0.PromptPartialsArgs{\n\t\t\tFormContentEnd: pulumi.String(\"\u003cdiv\u003eUpdated Form Content End\u003c/div\u003e\"),\n\t\t\tFormContentStart: pulumi.String(\"\u003cdiv\u003eUpdated Form Content Start\u003c/div\u003e\"),\n\t\t\tFormFooterEnd: pulumi.String(\"\u003cdiv\u003eUpdated Footer End\u003c/div\u003e\"),\n\t\t\tFormFooterStart: pulumi.String(\"\u003cdiv\u003eUpdated Footer Start\u003c/div\u003e\"),\n\t\t\tPrompt: pulumi.String(\"login\"),\n\t\t\tSecondaryActionsEnd: pulumi.String(\"\u003cdiv\u003eUpdated Secondary Actions End\u003c/div\u003e\"),\n\t\t\tSecondaryActionsStart: pulumi.String(\"\u003cdiv\u003eUpdated Secondary Actions Start\u003c/div\u003e\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.auth0.PromptPartials;\nimport com.pulumi.auth0.PromptPartialsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var myLoginPromptPartials = new PromptPartials(\"myLoginPromptPartials\", PromptPartialsArgs.builder() \n .formContentEnd(\"\u003cdiv\u003eUpdated Form Content End\u003c/div\u003e\")\n .formContentStart(\"\u003cdiv\u003eUpdated Form Content Start\u003c/div\u003e\")\n .formFooterEnd(\"\u003cdiv\u003eUpdated Footer End\u003c/div\u003e\")\n .formFooterStart(\"\u003cdiv\u003eUpdated Footer Start\u003c/div\u003e\")\n .prompt(\"login\")\n .secondaryActionsEnd(\"\u003cdiv\u003eUpdated Secondary Actions End\u003c/div\u003e\")\n .secondaryActionsStart(\"\u003cdiv\u003eUpdated Secondary Actions Start\u003c/div\u003e\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n myLoginPromptPartials:\n type: auth0:PromptPartials\n properties:\n formContentEnd: \u003cdiv\u003eUpdated Form Content End\u003c/div\u003e\n formContentStart: \u003cdiv\u003eUpdated Form Content Start\u003c/div\u003e\n formFooterEnd: \u003cdiv\u003eUpdated Footer End\u003c/div\u003e\n formFooterStart: \u003cdiv\u003eUpdated Footer Start\u003c/div\u003e\n prompt: login\n secondaryActionsEnd: \u003cdiv\u003eUpdated Secondary Actions End\u003c/div\u003e\n secondaryActionsStart: \u003cdiv\u003eUpdated Secondary Actions Start\u003c/div\u003e\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nThis resource can be imported using the prompt name.\n\n #\n\n Example:\n\n ```sh\n $ pulumi import auth0:index/promptPartials:PromptPartials my_login_prompt_partials \"login\"\n```\n\n ",
"properties": {
"formContentEnd": {
"type": "string",
"description": "Content that goes at the end of the form.\n"
},
"formContentStart": {
"type": "string",
"description": "Content that goes at the start of the form.\n"
},
"formFooterEnd": {
"type": "string",
"description": "Footer content for the end of the footer.\n"
},
"formFooterStart": {
"type": "string",
"description": "Footer content for the start of the footer.\n"
},
"prompt": {
"type": "string",
"description": "The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`.\n"
},
"secondaryActionsEnd": {
"type": "string",
"description": "Actions that go at the end of secondary actions.\n"
},
"secondaryActionsStart": {
"type": "string",
"description": "Actions that go at the start of secondary actions.\n"
}
},
"required": [
"prompt"
],
"inputProperties": {
"formContentEnd": {
"type": "string",
"description": "Content that goes at the end of the form.\n"
},
"formContentStart": {
"type": "string",
"description": "Content that goes at the start of the form.\n"
},
"formFooterEnd": {
"type": "string",
"description": "Footer content for the end of the footer.\n"
},
"formFooterStart": {
"type": "string",
"description": "Footer content for the start of the footer.\n"
},
"prompt": {
"type": "string",
"description": "The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`.\n"
},
"secondaryActionsEnd": {
"type": "string",
"description": "Actions that go at the end of secondary actions.\n"
},
"secondaryActionsStart": {
"type": "string",
"description": "Actions that go at the start of secondary actions.\n"
}
},
"requiredInputs": [
"prompt"
],
"stateInputs": {
"description": "Input properties used for looking up and filtering PromptPartials resources.\n",
"properties": {
"formContentEnd": {
"type": "string",
"description": "Content that goes at the end of the form.\n"
},
"formContentStart": {
"type": "string",
"description": "Content that goes at the start of the form.\n"
},
"formFooterEnd": {
"type": "string",
"description": "Footer content for the end of the footer.\n"
},
"formFooterStart": {
"type": "string",
"description": "Footer content for the start of the footer.\n"
},
"prompt": {
"type": "string",
"description": "The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`.\n"
},
"secondaryActionsEnd": {
"type": "string",
"description": "Actions that go at the end of secondary actions.\n"
},
"secondaryActionsStart": {
"type": "string",
"description": "Actions that go at the start of secondary actions.\n"
}
},
"type": "object"
}
},
"auth0:index/resourceServer:ResourceServer": {
"description": "With this resource, you can set up APIs that can be consumed from your authorized applications.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as auth0 from \"@pulumi/auth0\";\n\nconst myResourceServer = new auth0.ResourceServer(\"myResourceServer\", {\n allowOfflineAccess: true,\n identifier: \"https://api.example.com\",\n signingAlg: \"RS256\",\n skipConsentForVerifiableFirstPartyClients: true,\n tokenLifetime: 8600,\n});\n```\n```python\nimport pulumi\nimport pulumi_auth0 as auth0\n\nmy_resource_server = auth0.ResourceServer(\"myResourceServer\",\n allow_offline_access=True,\n identifier=\"https://api.example.com\",\n signing_alg=\"RS256\",\n skip_consent_for_verifiable_first_party_clients=True,\n token_lifetime=8600)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Auth0 = Pulumi.Auth0;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var myResourceServer = new Auth0.ResourceServer(\"myResourceServer\", new()\n {\n AllowOfflineAccess = true,\n Identifier = \"https://api.example.com\",\n SigningAlg = \"RS256\",\n SkipConsentForVerifiableFirstPartyClients = true,\n TokenLifetime = 8600,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-auth0/sdk/v3/go/auth0\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := auth0.NewResourceServer(ctx, \"myResourceServer\", \u0026auth0.ResourceServerArgs{\n\t\t\tAllowOfflineAccess: pulumi.Bool(true),\n\t\t\tIdentifier: pulumi.String(\"https://api.example.com\"),\n\t\t\tSigningAlg: pulumi.String(\"RS256\"),\n\t\t\tSkipConsentForVerifiableFirstPartyClients: pulumi.Bool(true),\n\t\t\tTokenLifetime: pulumi.Int(8600),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.auth0.ResourceServer;\nimport com.pulumi.auth0.ResourceServerArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var myResourceServer = new ResourceServer(\"myResourceServer\", ResourceServerArgs.builder() \n .allowOfflineAccess(true)\n .identifier(\"https://api.example.com\")\n .signingAlg(\"RS256\")\n .skipConsentForVerifiableFirstPartyClients(true)\n .tokenLifetime(8600)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n myResourceServer:\n type: auth0:ResourceServer\n properties:\n allowOfflineAccess: true\n identifier: https://api.example.com\n signingAlg: RS256\n skipConsentForVerifiableFirstPartyClients: true\n tokenLifetime: 8600\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nExisting resource servers can be imported using their ID.\n\n #\n\n Example:\n\n ```sh\n $ pulumi import auth0:index/resourceServer:ResourceServer my_resource_server \"XXXXXXXXXXXXXXXXXXXXXXX\"\n```\n\n ",
"properties": {
Expand Down
30 changes: 15 additions & 15 deletions provider/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ require (
github.com/BurntSushi/toml v1.2.1 // indirect
github.com/Masterminds/goutils v1.1.1 // indirect
github.com/Masterminds/semver v1.5.0 // indirect
github.com/Masterminds/semver/v3 v3.1.1 // indirect
github.com/Masterminds/sprig/v3 v3.2.2 // indirect
github.com/Masterminds/semver/v3 v3.2.0 // indirect
github.com/Masterminds/sprig/v3 v3.2.3 // indirect
github.com/Microsoft/go-winio v0.6.1 // indirect
github.com/ProtonMail/go-crypto v0.0.0-20230828082145-3c4c8a2d2371 // indirect
github.com/ProtonMail/go-crypto v1.1.0-alpha.0 // indirect
github.com/PuerkitoBio/rehttp v1.3.0 // indirect
github.com/aead/chacha20 v0.0.0-20180709150244-8b13a72661da // indirect
github.com/agext/levenshtein v1.2.3 // indirect
Expand All @@ -48,7 +48,7 @@ require (
github.com/armon/go-metrics v0.4.0 // indirect
github.com/armon/go-radix v1.0.0 // indirect
github.com/atotto/clipboard v0.1.4 // indirect
github.com/auth0/go-auth0 v1.4.0 // indirect
github.com/auth0/go-auth0 v1.4.1 // indirect
github.com/aws/aws-sdk-go v1.49.0 // indirect
github.com/aws/aws-sdk-go-v2 v1.24.0 // indirect
github.com/aws/aws-sdk-go-v2/config v1.26.1 // indirect
Expand Down Expand Up @@ -82,7 +82,7 @@ require (
github.com/edsrzf/mmap-go v1.1.0 // indirect
github.com/emirpasic/gods v1.18.1 // indirect
github.com/ettle/strcase v0.1.1 // indirect
github.com/fatih/color v1.15.0 // indirect
github.com/fatih/color v1.16.0 // indirect
github.com/felixge/httpsnoop v1.0.4 // indirect
github.com/gedex/inflector v0.0.0-20170307190818-16278e9db813 // indirect
github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 // indirect
Expand Down Expand Up @@ -131,12 +131,12 @@ require (
github.com/hashicorp/logutils v1.0.0 // indirect
github.com/hashicorp/terraform-plugin-go v0.22.0 // indirect
github.com/hashicorp/terraform-plugin-log v0.9.0 // indirect
github.com/hashicorp/terraform-plugin-sdk/v2 v2.31.0 // indirect
github.com/hashicorp/terraform-plugin-sdk/v2 v2.33.0 // indirect
github.com/hashicorp/terraform-svchost v0.1.1 // indirect
github.com/hashicorp/vault/api v1.8.2 // indirect
github.com/hashicorp/vault/sdk v0.6.1 // indirect
github.com/hashicorp/yamux v0.1.1 // indirect
github.com/huandu/xstrings v1.3.2 // indirect
github.com/huandu/xstrings v1.3.3 // indirect
github.com/iancoleman/strcase v0.2.0 // indirect
github.com/imdario/mergo v0.3.15 // indirect
github.com/inconshreveable/mousetrap v1.1.0 // indirect
Expand All @@ -148,7 +148,7 @@ require (
github.com/kylelemons/godebug v1.1.0 // indirect
github.com/lucasb-eyer/go-colorful v1.2.0 // indirect
github.com/mattn/go-colorable v0.1.13 // indirect
github.com/mattn/go-isatty v0.0.19 // indirect
github.com/mattn/go-isatty v0.0.20 // indirect
github.com/mattn/go-localereader v0.0.1 // indirect
github.com/mattn/go-runewidth v0.0.15 // indirect
github.com/mitchellh/cli v1.1.5 // indirect
Expand Down Expand Up @@ -215,7 +215,7 @@ require (
github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f // indirect
github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 // indirect
github.com/xeipuuv/gojsonschema v1.2.0 // indirect
github.com/zclconf/go-cty v1.14.1 // indirect
github.com/zclconf/go-cty v1.14.2 // indirect
go.opencensus.io v0.24.0 // indirect
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.46.1 // indirect
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.46.1 // indirect
Expand All @@ -225,14 +225,14 @@ require (
go.uber.org/atomic v1.9.0 // indirect
gocloud.dev v0.36.0 // indirect
gocloud.dev/secrets/hashivault v0.27.0 // indirect
golang.org/x/crypto v0.18.0 // indirect
golang.org/x/crypto v0.19.0 // indirect
golang.org/x/exp v0.0.0-20231110203233-9a3e6036ecaa // indirect
golang.org/x/mod v0.14.0 // indirect
golang.org/x/net v0.20.0 // indirect
golang.org/x/oauth2 v0.16.0 // indirect
golang.org/x/mod v0.15.0 // indirect
golang.org/x/net v0.21.0 // indirect
golang.org/x/oauth2 v0.17.0 // indirect
golang.org/x/sync v0.6.0 // indirect
golang.org/x/sys v0.16.0 // indirect
golang.org/x/term v0.16.0 // indirect
golang.org/x/sys v0.17.0 // indirect
golang.org/x/term v0.17.0 // indirect
golang.org/x/text v0.14.0 // indirect
golang.org/x/time v0.5.0 // indirect
golang.org/x/tools v0.15.0 // indirect
Expand Down
Loading

0 comments on commit c39b957

Please sign in to comment.