From 4d616b6be2e952cfecca60af02de0f7d2cef008a Mon Sep 17 00:00:00 2001 From: Bobby Iliev Date: Mon, 19 Aug 2024 18:36:39 +0300 Subject: [PATCH] Update to 0.8.7 (#118) --- CHANGELOG.md | 3 + README.md | 2 +- .../pulumi-resource-materialize/schema.json | 100 ++++++++++++------ provider/go.mod | 18 ++-- provider/go.sum | 39 +++---- 5 files changed, 99 insertions(+), 63 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index dc0e4d7..b006567 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ CHANGELOG ========= +## 0.3.7 2024-08-15 +Update to Terraform Provider [0.8.7](https://github.com/MaterializeInc/terraform-provider-materialize/releases/tag/v0.8.7). + ## 0.3.6 2024-07-31 Update to Terraform Provider [0.8.6](https://github.com/MaterializeInc/terraform-provider-materialize/releases/tag/v0.8.6). diff --git a/README.md b/README.md index 88b6d96..d1bed55 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ export MZ_PASSWORD=mzp_1b2a3c4d5e6f7a8b9c0d1e2f3a4b5c6d7e8f9a0b1c2d3e4f5a6b7c8d9 export MZ_SSLMODE=disable # Start all containers -docker-compose -f examples/docker-compose.yml up -d --build +docker compose -f examples/docker-compose.yml up -d --build ``` The tests also assume that the SDKs have been built and are present at `sdk/{SDK language}`. These are not committed to git but can be built locally by running `make build_{sdk}`. diff --git a/provider/cmd/pulumi-resource-materialize/schema.json b/provider/cmd/pulumi-resource-materialize/schema.json index 2a14579..e424baa 100644 --- a/provider/cmd/pulumi-resource-materialize/schema.json +++ b/provider/cmd/pulumi-resource-materialize/schema.json @@ -419,6 +419,26 @@ "name" ] }, + "materialize:index/ConnectionKafkaAwsConnection:ConnectionKafkaAwsConnection": { + "properties": { + "databaseName": { + "type": "string", + "description": "The aws_connection database name. Defaults to `MZ_DATABASE` environment variable if set or `materialize` if environment variable is not set.\n" + }, + "name": { + "type": "string", + "description": "The aws_connection name.\n" + }, + "schemaName": { + "type": "string", + "description": "The aws_connection schema name. Defaults to `public`.\n" + } + }, + "type": "object", + "required": [ + "name" + ] + }, "materialize:index/ConnectionKafkaAwsPrivatelink:ConnectionKafkaAwsPrivatelink": { "properties": { "privatelinkConnection": { @@ -3382,7 +3402,7 @@ }, "identifyByName": { "type": "boolean", - "description": "Use the cluster name as the Terraform resource ID instead of the internal cluster ID.\n" + "description": "Use the cluster name as the resource identifier in your state file, rather than the internal cluster ID. This is particularly useful in scenarios like dbt-materialize blue/green deployments, where clusters are swapped but the ID changes. By identifying by name, the resource can be managed consistently even when the underlying cluster ID is updated.\n" }, "introspectionDebugging": { "type": "boolean", @@ -3444,7 +3464,7 @@ }, "identifyByName": { "type": "boolean", - "description": "Use the cluster name as the Terraform resource ID instead of the internal cluster ID.\n" + "description": "Use the cluster name as the resource identifier in your state file, rather than the internal cluster ID. This is particularly useful in scenarios like dbt-materialize blue/green deployments, where clusters are swapped but the ID changes. By identifying by name, the resource can be managed consistently even when the underlying cluster ID is updated.\n" }, "introspectionDebugging": { "type": "boolean", @@ -3502,7 +3522,7 @@ }, "identifyByName": { "type": "boolean", - "description": "Use the cluster name as the Terraform resource ID instead of the internal cluster ID.\n" + "description": "Use the cluster name as the resource identifier in your state file, rather than the internal cluster ID. This is particularly useful in scenarios like dbt-materialize blue/green deployments, where clusters are swapped but the ID changes. By identifying by name, the resource can be managed consistently even when the underlying cluster ID is updated.\n" }, "introspectionDebugging": { "type": "boolean", @@ -3695,7 +3715,7 @@ } }, "materialize:index/connectionAws:ConnectionAws": { - "description": "An Amazon Web Services (AWS) connection provides Materialize with access to an Identity and Access Management (IAM) user or role in your AWS account.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as materialize from \"@pulumi/materialize\";\n\n// Create a AWS Connection\nconst exampleConnection = new materialize.ConnectionAws(\"exampleConnection\", {\n accessKeyId: \"foo\",\n schemaName: \"public\",\n secretAccessKey: \"bar\",\n});\n```\n```python\nimport pulumi\nimport pulumi_materialize as materialize\n\n# Create a AWS Connection\nexample_connection = materialize.ConnectionAws(\"exampleConnection\",\n access_key_id=\"foo\",\n schema_name=\"public\",\n secret_access_key=\"bar\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Materialize = Pulumi.Materialize;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Create a AWS Connection\n var exampleConnection = new Materialize.ConnectionAws(\"exampleConnection\", new()\n {\n AccessKeyId = \"foo\",\n SchemaName = \"public\",\n SecretAccessKey = \"bar\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-materialize/sdk/go/materialize\"\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 := materialize.NewConnectionAws(ctx, \"exampleConnection\", \u0026materialize.ConnectionAwsArgs{\n\t\t\tAccessKeyId: \"foo\",\n\t\t\tSchemaName: pulumi.String(\"public\"),\n\t\t\tSecretAccessKey: \"bar\",\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.materialize.ConnectionAws;\nimport com.pulumi.materialize.ConnectionAwsArgs;\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 exampleConnection = new ConnectionAws(\"exampleConnection\", ConnectionAwsArgs.builder() \n .accessKeyId(\"foo\")\n .schemaName(\"public\")\n .secretAccessKey(\"bar\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Create a AWS Connection\n exampleConnection:\n type: materialize:ConnectionAws\n properties:\n accessKeyId: foo\n schemaName: public\n secretAccessKey: bar\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\n#Connections can be imported using the connection id\n\n```sh\n $ pulumi import materialize:index/connectionAws:ConnectionAws example \u003cregion\u003e:\u003cconnection_id\u003e\n```\n\n Connection id and information be found in the `mz_catalog.mz_connections` table The region is the region where the database is located (e.g. aws/us-east-1) ", + "description": "An Amazon Web Services (AWS) connection provides Materialize with access to an Identity and Access Management (IAM) user or role in your AWS account.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as materialize from \"@pulumi/materialize\";\n\n// Create a AWS Connection\nconst exampleConnection = new materialize.ConnectionAws(\"exampleConnection\", {\n accessKeyId: \"foo\",\n schemaName: \"public\",\n secretAccessKey: \"bar\",\n});\n```\n```python\nimport pulumi\nimport pulumi_materialize as materialize\n\n# Create a AWS Connection\nexample_connection = materialize.ConnectionAws(\"exampleConnection\",\n access_key_id=\"foo\",\n schema_name=\"public\",\n secret_access_key=\"bar\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Materialize = Pulumi.Materialize;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Create a AWS Connection\n var exampleConnection = new Materialize.ConnectionAws(\"exampleConnection\", new()\n {\n AccessKeyId = \"foo\",\n SchemaName = \"public\",\n SecretAccessKey = \"bar\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-materialize/sdk/go/materialize\"\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 := materialize.NewConnectionAws(ctx, \"exampleConnection\", \u0026materialize.ConnectionAwsArgs{\n\t\t\tAccessKeyId: \"foo\",\n\t\t\tSchemaName: pulumi.String(\"public\"),\n\t\t\tSecretAccessKey: \"bar\",\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.materialize.ConnectionAws;\nimport com.pulumi.materialize.ConnectionAwsArgs;\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 exampleConnection = new ConnectionAws(\"exampleConnection\", ConnectionAwsArgs.builder() \n .accessKeyId(\"foo\")\n .schemaName(\"public\")\n .secretAccessKey(\"bar\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Create a AWS Connection\n exampleConnection:\n type: materialize:ConnectionAws\n properties:\n accessKeyId: foo\n schemaName: public\n secretAccessKey: bar\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nConnections can be imported using the connection id\n\n```sh\n $ pulumi import materialize:index/connectionAws:ConnectionAws example \u003cregion\u003e:\u003cconnection_id\u003e\n```\n\n Connection id and information be found in the `mz_catalog.mz_connections` table The region is the region where the database is located (e.g. aws/us-east-1) ", "properties": { "accessKeyId": { "$ref": "#/types/materialize:index/ConnectionAwsAccessKeyId:ConnectionAwsAccessKeyId", @@ -3896,7 +3916,7 @@ } }, "materialize:index/connectionAwsPrivatelink:ConnectionAwsPrivatelink": { - "description": "An AWS PrivateLink connection establishes a link to an AWS PrivateLink service.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as materialize from \"@pulumi/materialize\";\n\n// Create a AWS Private Connection\n// Note: you need the max_aws_privatelink_connections increased for this to work:\n// show max_aws_privatelink_connections;\nconst examplePrivatelinkConnection = new materialize.ConnectionAwsPrivatelink(\"examplePrivatelinkConnection\", {\n availabilityZones: [\n \"use1-az2\",\n \"use1-az6\",\n ],\n schemaName: \"public\",\n serviceName: \"com.amazonaws.us-east-1.materialize.example\",\n});\n```\n```python\nimport pulumi\nimport pulumi_materialize as materialize\n\n# Create a AWS Private Connection\n# Note: you need the max_aws_privatelink_connections increased for this to work:\n# show max_aws_privatelink_connections;\nexample_privatelink_connection = materialize.ConnectionAwsPrivatelink(\"examplePrivatelinkConnection\",\n availability_zones=[\n \"use1-az2\",\n \"use1-az6\",\n ],\n schema_name=\"public\",\n service_name=\"com.amazonaws.us-east-1.materialize.example\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Materialize = Pulumi.Materialize;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Create a AWS Private Connection\n // Note: you need the max_aws_privatelink_connections increased for this to work:\n // show max_aws_privatelink_connections;\n var examplePrivatelinkConnection = new Materialize.ConnectionAwsPrivatelink(\"examplePrivatelinkConnection\", new()\n {\n AvailabilityZones = new[]\n {\n \"use1-az2\",\n \"use1-az6\",\n },\n SchemaName = \"public\",\n ServiceName = \"com.amazonaws.us-east-1.materialize.example\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-materialize/sdk/go/materialize\"\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 := materialize.NewConnectionAwsPrivatelink(ctx, \"examplePrivatelinkConnection\", \u0026materialize.ConnectionAwsPrivatelinkArgs{\n\t\t\tAvailabilityZones: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"use1-az2\"),\n\t\t\t\tpulumi.String(\"use1-az6\"),\n\t\t\t},\n\t\t\tSchemaName: pulumi.String(\"public\"),\n\t\t\tServiceName: pulumi.String(\"com.amazonaws.us-east-1.materialize.example\"),\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.materialize.ConnectionAwsPrivatelink;\nimport com.pulumi.materialize.ConnectionAwsPrivatelinkArgs;\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 examplePrivatelinkConnection = new ConnectionAwsPrivatelink(\"examplePrivatelinkConnection\", ConnectionAwsPrivatelinkArgs.builder() \n .availabilityZones( \n \"use1-az2\",\n \"use1-az6\")\n .schemaName(\"public\")\n .serviceName(\"com.amazonaws.us-east-1.materialize.example\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Create a AWS Private Connection\n # // Note: you need the max_aws_privatelink_connections increased for this to work:\n # // show max_aws_privatelink_connections;\n examplePrivatelinkConnection:\n type: materialize:ConnectionAwsPrivatelink\n properties:\n availabilityZones:\n - use1-az2\n - use1-az6\n schemaName: public\n serviceName: com.amazonaws.us-east-1.materialize.example\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\n#Connections can be imported using the connection id\n\n```sh\n $ pulumi import materialize:index/connectionAwsPrivatelink:ConnectionAwsPrivatelink example \u003cregion\u003e:\u003cconnection_id\u003e\n```\n\n Connection id and information be found in the `mz_catalog.mz_connections` table The region is the region where the database is located (e.g. aws/us-east-1) ", + "description": "An AWS PrivateLink connection establishes a link to an AWS PrivateLink service.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as materialize from \"@pulumi/materialize\";\n\n// Create a AWS Private Connection\n// Note: you need the max_aws_privatelink_connections increased for this to work:\n// show max_aws_privatelink_connections;\nconst examplePrivatelinkConnection = new materialize.ConnectionAwsPrivatelink(\"examplePrivatelinkConnection\", {\n availabilityZones: [\n \"use1-az2\",\n \"use1-az6\",\n ],\n schemaName: \"public\",\n serviceName: \"com.amazonaws.us-east-1.materialize.example\",\n});\n```\n```python\nimport pulumi\nimport pulumi_materialize as materialize\n\n# Create a AWS Private Connection\n# Note: you need the max_aws_privatelink_connections increased for this to work:\n# show max_aws_privatelink_connections;\nexample_privatelink_connection = materialize.ConnectionAwsPrivatelink(\"examplePrivatelinkConnection\",\n availability_zones=[\n \"use1-az2\",\n \"use1-az6\",\n ],\n schema_name=\"public\",\n service_name=\"com.amazonaws.us-east-1.materialize.example\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Materialize = Pulumi.Materialize;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Create a AWS Private Connection\n // Note: you need the max_aws_privatelink_connections increased for this to work:\n // show max_aws_privatelink_connections;\n var examplePrivatelinkConnection = new Materialize.ConnectionAwsPrivatelink(\"examplePrivatelinkConnection\", new()\n {\n AvailabilityZones = new[]\n {\n \"use1-az2\",\n \"use1-az6\",\n },\n SchemaName = \"public\",\n ServiceName = \"com.amazonaws.us-east-1.materialize.example\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-materialize/sdk/go/materialize\"\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 := materialize.NewConnectionAwsPrivatelink(ctx, \"examplePrivatelinkConnection\", \u0026materialize.ConnectionAwsPrivatelinkArgs{\n\t\t\tAvailabilityZones: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"use1-az2\"),\n\t\t\t\tpulumi.String(\"use1-az6\"),\n\t\t\t},\n\t\t\tSchemaName: pulumi.String(\"public\"),\n\t\t\tServiceName: pulumi.String(\"com.amazonaws.us-east-1.materialize.example\"),\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.materialize.ConnectionAwsPrivatelink;\nimport com.pulumi.materialize.ConnectionAwsPrivatelinkArgs;\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 examplePrivatelinkConnection = new ConnectionAwsPrivatelink(\"examplePrivatelinkConnection\", ConnectionAwsPrivatelinkArgs.builder() \n .availabilityZones( \n \"use1-az2\",\n \"use1-az6\")\n .schemaName(\"public\")\n .serviceName(\"com.amazonaws.us-east-1.materialize.example\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Create a AWS Private Connection\n # // Note: you need the max_aws_privatelink_connections increased for this to work:\n # // show max_aws_privatelink_connections;\n examplePrivatelinkConnection:\n type: materialize:ConnectionAwsPrivatelink\n properties:\n availabilityZones:\n - use1-az2\n - use1-az6\n schemaName: public\n serviceName: com.amazonaws.us-east-1.materialize.example\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nConnections can be imported using the connection id\n\n```sh\n $ pulumi import materialize:index/connectionAwsPrivatelink:ConnectionAwsPrivatelink example \u003cregion\u003e:\u003cconnection_id\u003e\n```\n\n Connection id and information be found in the `mz_catalog.mz_connections` table The region is the region where the database is located (e.g. aws/us-east-1) ", "properties": { "availabilityZones": { "type": "array", @@ -4063,7 +4083,7 @@ } }, "materialize:index/connectionConfluentSchemaRegistry:ConnectionConfluentSchemaRegistry": { - "description": "A Confluent Schema Registry connection establishes a link to a Confluent Schema Registry server.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as materialize from \"@pulumi/materialize\";\n\n// Create a Confluent Schema Registry Connection\nconst exampleConfluentSchemaRegistryConnection = new materialize.ConnectionConfluentSchemaRegistry(\"exampleConfluentSchemaRegistryConnection\", {\n password: {\n databaseName: \"database\",\n name: \"example\",\n schemaName: \"schema\",\n },\n url: \"https://rp-f00000bar.data.vectorized.cloud:30993\",\n username: {\n text: \"example\",\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_materialize as materialize\n\n# Create a Confluent Schema Registry Connection\nexample_confluent_schema_registry_connection = materialize.ConnectionConfluentSchemaRegistry(\"exampleConfluentSchemaRegistryConnection\",\n password=materialize.ConnectionConfluentSchemaRegistryPasswordArgs(\n database_name=\"database\",\n name=\"example\",\n schema_name=\"schema\",\n ),\n url=\"https://rp-f00000bar.data.vectorized.cloud:30993\",\n username=materialize.ConnectionConfluentSchemaRegistryUsernameArgs(\n text=\"example\",\n ))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Materialize = Pulumi.Materialize;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Create a Confluent Schema Registry Connection\n var exampleConfluentSchemaRegistryConnection = new Materialize.ConnectionConfluentSchemaRegistry(\"exampleConfluentSchemaRegistryConnection\", new()\n {\n Password = new Materialize.Inputs.ConnectionConfluentSchemaRegistryPasswordArgs\n {\n DatabaseName = \"database\",\n Name = \"example\",\n SchemaName = \"schema\",\n },\n Url = \"https://rp-f00000bar.data.vectorized.cloud:30993\",\n Username = new Materialize.Inputs.ConnectionConfluentSchemaRegistryUsernameArgs\n {\n Text = \"example\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-materialize/sdk/go/materialize\"\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 := materialize.NewConnectionConfluentSchemaRegistry(ctx, \"exampleConfluentSchemaRegistryConnection\", \u0026materialize.ConnectionConfluentSchemaRegistryArgs{\n\t\t\tPassword: \u0026materialize.ConnectionConfluentSchemaRegistryPasswordArgs{\n\t\t\t\tDatabaseName: pulumi.String(\"database\"),\n\t\t\t\tName: pulumi.String(\"example\"),\n\t\t\t\tSchemaName: pulumi.String(\"schema\"),\n\t\t\t},\n\t\t\tUrl: pulumi.String(\"https://rp-f00000bar.data.vectorized.cloud:30993\"),\n\t\t\tUsername: \u0026materialize.ConnectionConfluentSchemaRegistryUsernameArgs{\n\t\t\t\tText: pulumi.String(\"example\"),\n\t\t\t},\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.materialize.ConnectionConfluentSchemaRegistry;\nimport com.pulumi.materialize.ConnectionConfluentSchemaRegistryArgs;\nimport com.pulumi.materialize.inputs.ConnectionConfluentSchemaRegistryPasswordArgs;\nimport com.pulumi.materialize.inputs.ConnectionConfluentSchemaRegistryUsernameArgs;\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 exampleConfluentSchemaRegistryConnection = new ConnectionConfluentSchemaRegistry(\"exampleConfluentSchemaRegistryConnection\", ConnectionConfluentSchemaRegistryArgs.builder() \n .password(ConnectionConfluentSchemaRegistryPasswordArgs.builder()\n .databaseName(\"database\")\n .name(\"example\")\n .schemaName(\"schema\")\n .build())\n .url(\"https://rp-f00000bar.data.vectorized.cloud:30993\")\n .username(ConnectionConfluentSchemaRegistryUsernameArgs.builder()\n .text(\"example\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Create a Confluent Schema Registry Connection\n exampleConfluentSchemaRegistryConnection:\n type: materialize:ConnectionConfluentSchemaRegistry\n properties:\n password:\n databaseName: database\n name: example\n schemaName: schema\n url: https://rp-f00000bar.data.vectorized.cloud:30993\n username:\n text: example\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\n#Connections can be imported using the connection id\n\n```sh\n $ pulumi import materialize:index/connectionConfluentSchemaRegistry:ConnectionConfluentSchemaRegistry example \u003cregion\u003e:\u003cconnection_id\u003e\n```\n\n Connection id and information be found in the `mz_catalog.mz_connections` table The region is the region where the database is located (e.g. aws/us-east-1) ", + "description": "A Confluent Schema Registry connection establishes a link to a Confluent Schema Registry server.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as materialize from \"@pulumi/materialize\";\n\n// Create a Confluent Schema Registry Connection\nconst exampleConfluentSchemaRegistryConnection = new materialize.ConnectionConfluentSchemaRegistry(\"exampleConfluentSchemaRegistryConnection\", {\n password: {\n databaseName: \"database\",\n name: \"example\",\n schemaName: \"schema\",\n },\n url: \"https://rp-f00000bar.data.vectorized.cloud:30993\",\n username: {\n text: \"example\",\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_materialize as materialize\n\n# Create a Confluent Schema Registry Connection\nexample_confluent_schema_registry_connection = materialize.ConnectionConfluentSchemaRegistry(\"exampleConfluentSchemaRegistryConnection\",\n password=materialize.ConnectionConfluentSchemaRegistryPasswordArgs(\n database_name=\"database\",\n name=\"example\",\n schema_name=\"schema\",\n ),\n url=\"https://rp-f00000bar.data.vectorized.cloud:30993\",\n username=materialize.ConnectionConfluentSchemaRegistryUsernameArgs(\n text=\"example\",\n ))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Materialize = Pulumi.Materialize;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Create a Confluent Schema Registry Connection\n var exampleConfluentSchemaRegistryConnection = new Materialize.ConnectionConfluentSchemaRegistry(\"exampleConfluentSchemaRegistryConnection\", new()\n {\n Password = new Materialize.Inputs.ConnectionConfluentSchemaRegistryPasswordArgs\n {\n DatabaseName = \"database\",\n Name = \"example\",\n SchemaName = \"schema\",\n },\n Url = \"https://rp-f00000bar.data.vectorized.cloud:30993\",\n Username = new Materialize.Inputs.ConnectionConfluentSchemaRegistryUsernameArgs\n {\n Text = \"example\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-materialize/sdk/go/materialize\"\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 := materialize.NewConnectionConfluentSchemaRegistry(ctx, \"exampleConfluentSchemaRegistryConnection\", \u0026materialize.ConnectionConfluentSchemaRegistryArgs{\n\t\t\tPassword: \u0026materialize.ConnectionConfluentSchemaRegistryPasswordArgs{\n\t\t\t\tDatabaseName: pulumi.String(\"database\"),\n\t\t\t\tName: pulumi.String(\"example\"),\n\t\t\t\tSchemaName: pulumi.String(\"schema\"),\n\t\t\t},\n\t\t\tUrl: pulumi.String(\"https://rp-f00000bar.data.vectorized.cloud:30993\"),\n\t\t\tUsername: \u0026materialize.ConnectionConfluentSchemaRegistryUsernameArgs{\n\t\t\t\tText: pulumi.String(\"example\"),\n\t\t\t},\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.materialize.ConnectionConfluentSchemaRegistry;\nimport com.pulumi.materialize.ConnectionConfluentSchemaRegistryArgs;\nimport com.pulumi.materialize.inputs.ConnectionConfluentSchemaRegistryPasswordArgs;\nimport com.pulumi.materialize.inputs.ConnectionConfluentSchemaRegistryUsernameArgs;\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 exampleConfluentSchemaRegistryConnection = new ConnectionConfluentSchemaRegistry(\"exampleConfluentSchemaRegistryConnection\", ConnectionConfluentSchemaRegistryArgs.builder() \n .password(ConnectionConfluentSchemaRegistryPasswordArgs.builder()\n .databaseName(\"database\")\n .name(\"example\")\n .schemaName(\"schema\")\n .build())\n .url(\"https://rp-f00000bar.data.vectorized.cloud:30993\")\n .username(ConnectionConfluentSchemaRegistryUsernameArgs.builder()\n .text(\"example\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Create a Confluent Schema Registry Connection\n exampleConfluentSchemaRegistryConnection:\n type: materialize:ConnectionConfluentSchemaRegistry\n properties:\n password:\n databaseName: database\n name: example\n schemaName: schema\n url: https://rp-f00000bar.data.vectorized.cloud:30993\n username:\n text: example\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nConnections can be imported using the connection id\n\n```sh\n $ pulumi import materialize:index/connectionConfluentSchemaRegistry:ConnectionConfluentSchemaRegistry example \u003cregion\u003e:\u003cconnection_id\u003e\n```\n\n Connection id and information be found in the `mz_catalog.mz_connections` table The region is the region where the database is located (e.g. aws/us-east-1) ", "properties": { "awsPrivatelink": { "$ref": "#/types/materialize:index/ConnectionConfluentSchemaRegistryAwsPrivatelink:ConnectionConfluentSchemaRegistryAwsPrivatelink", @@ -4286,6 +4306,10 @@ "materialize:index/connectionKafka:ConnectionKafka": { "description": "A Kafka connection establishes a link to a Kafka cluster.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as materialize from \"@pulumi/materialize\";\n\n// Create a Kafka Connection\nconst exampleKafkaConnection = new materialize.ConnectionKafka(\"exampleKafkaConnection\", {\n kafkaBrokers: [{\n broker: \"b-1.hostname-1:9096\",\n }],\n progressTopic: \"example\",\n saslMechanisms: \"SCRAM-SHA-256\",\n saslPassword: {\n databaseName: \"materialize\",\n name: \"kafka_password\",\n schemaName: \"public\",\n },\n saslUsername: {\n text: \"user\",\n },\n});\nconst exampleKafkaConnectionMultipleBrokers = new materialize.ConnectionKafka(\"exampleKafkaConnectionMultipleBrokers\", {kafkaBrokers: [\n {\n availabilityZone: \"use1-az1\",\n broker: \"b-1.hostname-1:9096\",\n privatelinkConnection: {\n databaseName: \"materialize\",\n name: \"example_aws_privatelink_conn\",\n schemaName: \"public\",\n },\n targetGroupPort: 9001,\n },\n {\n availabilityZone: \"use1-az2\",\n broker: \"b-2.hostname-2:9096\",\n privatelinkConnection: {\n databaseName: \"materialize\",\n name: \"example_aws_privatelink_conn\",\n schemaName: \"public\",\n },\n targetGroupPort: 9002,\n },\n]});\n```\n```python\nimport pulumi\nimport pulumi_materialize as materialize\n\n# Create a Kafka Connection\nexample_kafka_connection = materialize.ConnectionKafka(\"exampleKafkaConnection\",\n kafka_brokers=[materialize.ConnectionKafkaKafkaBrokerArgs(\n broker=\"b-1.hostname-1:9096\",\n )],\n progress_topic=\"example\",\n sasl_mechanisms=\"SCRAM-SHA-256\",\n sasl_password=materialize.ConnectionKafkaSaslPasswordArgs(\n database_name=\"materialize\",\n name=\"kafka_password\",\n schema_name=\"public\",\n ),\n sasl_username=materialize.ConnectionKafkaSaslUsernameArgs(\n text=\"user\",\n ))\nexample_kafka_connection_multiple_brokers = materialize.ConnectionKafka(\"exampleKafkaConnectionMultipleBrokers\", kafka_brokers=[\n materialize.ConnectionKafkaKafkaBrokerArgs(\n availability_zone=\"use1-az1\",\n broker=\"b-1.hostname-1:9096\",\n privatelink_connection=materialize.ConnectionKafkaKafkaBrokerPrivatelinkConnectionArgs(\n database_name=\"materialize\",\n name=\"example_aws_privatelink_conn\",\n schema_name=\"public\",\n ),\n target_group_port=9001,\n ),\n materialize.ConnectionKafkaKafkaBrokerArgs(\n availability_zone=\"use1-az2\",\n broker=\"b-2.hostname-2:9096\",\n privatelink_connection=materialize.ConnectionKafkaKafkaBrokerPrivatelinkConnectionArgs(\n database_name=\"materialize\",\n name=\"example_aws_privatelink_conn\",\n schema_name=\"public\",\n ),\n target_group_port=9002,\n ),\n])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Materialize = Pulumi.Materialize;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Create a Kafka Connection\n var exampleKafkaConnection = new Materialize.ConnectionKafka(\"exampleKafkaConnection\", new()\n {\n KafkaBrokers = new[]\n {\n new Materialize.Inputs.ConnectionKafkaKafkaBrokerArgs\n {\n Broker = \"b-1.hostname-1:9096\",\n },\n },\n ProgressTopic = \"example\",\n SaslMechanisms = \"SCRAM-SHA-256\",\n SaslPassword = new Materialize.Inputs.ConnectionKafkaSaslPasswordArgs\n {\n DatabaseName = \"materialize\",\n Name = \"kafka_password\",\n SchemaName = \"public\",\n },\n SaslUsername = new Materialize.Inputs.ConnectionKafkaSaslUsernameArgs\n {\n Text = \"user\",\n },\n });\n\n var exampleKafkaConnectionMultipleBrokers = new Materialize.ConnectionKafka(\"exampleKafkaConnectionMultipleBrokers\", new()\n {\n KafkaBrokers = new[]\n {\n new Materialize.Inputs.ConnectionKafkaKafkaBrokerArgs\n {\n AvailabilityZone = \"use1-az1\",\n Broker = \"b-1.hostname-1:9096\",\n PrivatelinkConnection = new Materialize.Inputs.ConnectionKafkaKafkaBrokerPrivatelinkConnectionArgs\n {\n DatabaseName = \"materialize\",\n Name = \"example_aws_privatelink_conn\",\n SchemaName = \"public\",\n },\n TargetGroupPort = 9001,\n },\n new Materialize.Inputs.ConnectionKafkaKafkaBrokerArgs\n {\n AvailabilityZone = \"use1-az2\",\n Broker = \"b-2.hostname-2:9096\",\n PrivatelinkConnection = new Materialize.Inputs.ConnectionKafkaKafkaBrokerPrivatelinkConnectionArgs\n {\n DatabaseName = \"materialize\",\n Name = \"example_aws_privatelink_conn\",\n SchemaName = \"public\",\n },\n TargetGroupPort = 9002,\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-materialize/sdk/go/materialize\"\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 := materialize.NewConnectionKafka(ctx, \"exampleKafkaConnection\", \u0026materialize.ConnectionKafkaArgs{\n\t\t\tKafkaBrokers: materialize.ConnectionKafkaKafkaBrokerArray{\n\t\t\t\t\u0026materialize.ConnectionKafkaKafkaBrokerArgs{\n\t\t\t\t\tBroker: pulumi.String(\"b-1.hostname-1:9096\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tProgressTopic: pulumi.String(\"example\"),\n\t\t\tSaslMechanisms: pulumi.String(\"SCRAM-SHA-256\"),\n\t\t\tSaslPassword: \u0026materialize.ConnectionKafkaSaslPasswordArgs{\n\t\t\t\tDatabaseName: pulumi.String(\"materialize\"),\n\t\t\t\tName: pulumi.String(\"kafka_password\"),\n\t\t\t\tSchemaName: pulumi.String(\"public\"),\n\t\t\t},\n\t\t\tSaslUsername: \u0026materialize.ConnectionKafkaSaslUsernameArgs{\n\t\t\t\tText: pulumi.String(\"user\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = materialize.NewConnectionKafka(ctx, \"exampleKafkaConnectionMultipleBrokers\", \u0026materialize.ConnectionKafkaArgs{\n\t\t\tKafkaBrokers: materialize.ConnectionKafkaKafkaBrokerArray{\n\t\t\t\t\u0026materialize.ConnectionKafkaKafkaBrokerArgs{\n\t\t\t\t\tAvailabilityZone: pulumi.String(\"use1-az1\"),\n\t\t\t\t\tBroker: pulumi.String(\"b-1.hostname-1:9096\"),\n\t\t\t\t\tPrivatelinkConnection: \u0026materialize.ConnectionKafkaKafkaBrokerPrivatelinkConnectionArgs{\n\t\t\t\t\t\tDatabaseName: pulumi.String(\"materialize\"),\n\t\t\t\t\t\tName: pulumi.String(\"example_aws_privatelink_conn\"),\n\t\t\t\t\t\tSchemaName: pulumi.String(\"public\"),\n\t\t\t\t\t},\n\t\t\t\t\tTargetGroupPort: pulumi.Int(9001),\n\t\t\t\t},\n\t\t\t\t\u0026materialize.ConnectionKafkaKafkaBrokerArgs{\n\t\t\t\t\tAvailabilityZone: pulumi.String(\"use1-az2\"),\n\t\t\t\t\tBroker: pulumi.String(\"b-2.hostname-2:9096\"),\n\t\t\t\t\tPrivatelinkConnection: \u0026materialize.ConnectionKafkaKafkaBrokerPrivatelinkConnectionArgs{\n\t\t\t\t\t\tDatabaseName: pulumi.String(\"materialize\"),\n\t\t\t\t\t\tName: pulumi.String(\"example_aws_privatelink_conn\"),\n\t\t\t\t\t\tSchemaName: pulumi.String(\"public\"),\n\t\t\t\t\t},\n\t\t\t\t\tTargetGroupPort: pulumi.Int(9002),\n\t\t\t\t},\n\t\t\t},\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.materialize.ConnectionKafka;\nimport com.pulumi.materialize.ConnectionKafkaArgs;\nimport com.pulumi.materialize.inputs.ConnectionKafkaKafkaBrokerArgs;\nimport com.pulumi.materialize.inputs.ConnectionKafkaSaslPasswordArgs;\nimport com.pulumi.materialize.inputs.ConnectionKafkaSaslUsernameArgs;\nimport com.pulumi.materialize.inputs.ConnectionKafkaKafkaBrokerPrivatelinkConnectionArgs;\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 exampleKafkaConnection = new ConnectionKafka(\"exampleKafkaConnection\", ConnectionKafkaArgs.builder() \n .kafkaBrokers(ConnectionKafkaKafkaBrokerArgs.builder()\n .broker(\"b-1.hostname-1:9096\")\n .build())\n .progressTopic(\"example\")\n .saslMechanisms(\"SCRAM-SHA-256\")\n .saslPassword(ConnectionKafkaSaslPasswordArgs.builder()\n .databaseName(\"materialize\")\n .name(\"kafka_password\")\n .schemaName(\"public\")\n .build())\n .saslUsername(ConnectionKafkaSaslUsernameArgs.builder()\n .text(\"user\")\n .build())\n .build());\n\n var exampleKafkaConnectionMultipleBrokers = new ConnectionKafka(\"exampleKafkaConnectionMultipleBrokers\", ConnectionKafkaArgs.builder() \n .kafkaBrokers( \n ConnectionKafkaKafkaBrokerArgs.builder()\n .availabilityZone(\"use1-az1\")\n .broker(\"b-1.hostname-1:9096\")\n .privatelinkConnection(ConnectionKafkaKafkaBrokerPrivatelinkConnectionArgs.builder()\n .databaseName(\"materialize\")\n .name(\"example_aws_privatelink_conn\")\n .schemaName(\"public\")\n .build())\n .targetGroupPort(\"9001\")\n .build(),\n ConnectionKafkaKafkaBrokerArgs.builder()\n .availabilityZone(\"use1-az2\")\n .broker(\"b-2.hostname-2:9096\")\n .privatelinkConnection(ConnectionKafkaKafkaBrokerPrivatelinkConnectionArgs.builder()\n .databaseName(\"materialize\")\n .name(\"example_aws_privatelink_conn\")\n .schemaName(\"public\")\n .build())\n .targetGroupPort(\"9002\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Create a Kafka Connection\n exampleKafkaConnection:\n type: materialize:ConnectionKafka\n properties:\n kafkaBrokers:\n - broker: b-1.hostname-1:9096\n progressTopic: example\n saslMechanisms: SCRAM-SHA-256\n saslPassword:\n databaseName: materialize\n name: kafka_password\n schemaName: public\n saslUsername:\n text: user\n exampleKafkaConnectionMultipleBrokers:\n type: materialize:ConnectionKafka\n properties:\n kafkaBrokers:\n - availabilityZone: use1-az1\n broker: b-1.hostname-1:9096\n privatelinkConnection:\n databaseName: materialize\n name: example_aws_privatelink_conn\n schemaName: public\n targetGroupPort: '9001'\n - availabilityZone: use1-az2\n broker: b-2.hostname-2:9096\n privatelinkConnection:\n databaseName: materialize\n name: example_aws_privatelink_conn\n schemaName: public\n targetGroupPort: '9002'\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nConnections can be imported using the connection id\n\n```sh\n $ pulumi import materialize:index/connectionKafka:ConnectionKafka example \u003cregion\u003e:\u003cconnection_id\u003e\n```\n\n Connection id and information be found in the `mz_catalog.mz_connections` table The region is the region where the database is located (e.g. aws/us-east-1) ", "properties": { + "awsConnection": { + "$ref": "#/types/materialize:index/ConnectionKafkaAwsConnection:ConnectionKafkaAwsConnection", + "description": "The AWS connection to use for IAM authentication.\n" + }, "awsPrivatelink": { "$ref": "#/types/materialize:index/ConnectionKafkaAwsPrivatelink:ConnectionKafkaAwsPrivatelink", "description": "AWS PrivateLink configuration. Conflicts with `kafka_broker`.\n" @@ -4377,6 +4401,10 @@ "region" ], "inputProperties": { + "awsConnection": { + "$ref": "#/types/materialize:index/ConnectionKafkaAwsConnection:ConnectionKafkaAwsConnection", + "description": "The AWS connection to use for IAM authentication.\n" + }, "awsPrivatelink": { "$ref": "#/types/materialize:index/ConnectionKafkaAwsPrivatelink:ConnectionKafkaAwsPrivatelink", "description": "AWS PrivateLink configuration. Conflicts with `kafka_broker`.\n" @@ -4465,6 +4493,10 @@ "stateInputs": { "description": "Input properties used for looking up and filtering ConnectionKafka resources.\n", "properties": { + "awsConnection": { + "$ref": "#/types/materialize:index/ConnectionKafkaAwsConnection:ConnectionKafkaAwsConnection", + "description": "The AWS connection to use for IAM authentication.\n" + }, "awsPrivatelink": { "$ref": "#/types/materialize:index/ConnectionKafkaAwsPrivatelink:ConnectionKafkaAwsPrivatelink", "description": "AWS PrivateLink configuration. Conflicts with `kafka_broker`.\n" @@ -5307,7 +5339,7 @@ } }, "materialize:index/grantCluster:GrantCluster": { - "description": "Manages the privileges on a Materailize cluster for roles.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as materialize from \"@pulumi/materialize\";\n\n// Grant USAGE to role example_role to cluster example_cluster\nconst clusterGrantUsage = new materialize.GrantCluster(\"clusterGrantUsage\", {\n clusterName: \"example_cluster\",\n privilege: \"USAGE\",\n roleName: \"example_role\",\n});\n```\n```python\nimport pulumi\nimport pulumi_materialize as materialize\n\n# Grant USAGE to role example_role to cluster example_cluster\ncluster_grant_usage = materialize.GrantCluster(\"clusterGrantUsage\",\n cluster_name=\"example_cluster\",\n privilege=\"USAGE\",\n role_name=\"example_role\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Materialize = Pulumi.Materialize;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Grant USAGE to role example_role to cluster example_cluster\n var clusterGrantUsage = new Materialize.GrantCluster(\"clusterGrantUsage\", new()\n {\n ClusterName = \"example_cluster\",\n Privilege = \"USAGE\",\n RoleName = \"example_role\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-materialize/sdk/go/materialize\"\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 := materialize.NewGrantCluster(ctx, \"clusterGrantUsage\", \u0026materialize.GrantClusterArgs{\n\t\t\tClusterName: pulumi.String(\"example_cluster\"),\n\t\t\tPrivilege: pulumi.String(\"USAGE\"),\n\t\t\tRoleName: pulumi.String(\"example_role\"),\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.materialize.GrantCluster;\nimport com.pulumi.materialize.GrantClusterArgs;\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 clusterGrantUsage = new GrantCluster(\"clusterGrantUsage\", GrantClusterArgs.builder() \n .clusterName(\"example_cluster\")\n .privilege(\"USAGE\")\n .roleName(\"example_role\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Grant USAGE to role example_role to cluster example_cluster\n clusterGrantUsage:\n type: materialize:GrantCluster\n properties:\n clusterName: example_cluster\n privilege: USAGE\n roleName: example_role\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\n#Grants can be imported using the concatenation of GRANT, the object type, the id of the object, the id of the role and the privilege\n\n\n\n```sh\n $ pulumi import materialize:index/grantCluster:GrantCluster example \u003cregion\u003e:GRANT|CLUSTER|\u003ccluster_id\u003e|\u003crole_id\u003e|\u003cprivilege\u003e\n```\n\n The region is the region where the database is located (e.g. aws/us-east-1) ", + "description": "Manages the privileges on a Materailize cluster for roles.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as materialize from \"@pulumi/materialize\";\n\n// Grant USAGE to role example_role to cluster example_cluster\nconst clusterGrantUsage = new materialize.GrantCluster(\"clusterGrantUsage\", {\n clusterName: \"example_cluster\",\n privilege: \"USAGE\",\n roleName: \"example_role\",\n});\n```\n```python\nimport pulumi\nimport pulumi_materialize as materialize\n\n# Grant USAGE to role example_role to cluster example_cluster\ncluster_grant_usage = materialize.GrantCluster(\"clusterGrantUsage\",\n cluster_name=\"example_cluster\",\n privilege=\"USAGE\",\n role_name=\"example_role\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Materialize = Pulumi.Materialize;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Grant USAGE to role example_role to cluster example_cluster\n var clusterGrantUsage = new Materialize.GrantCluster(\"clusterGrantUsage\", new()\n {\n ClusterName = \"example_cluster\",\n Privilege = \"USAGE\",\n RoleName = \"example_role\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-materialize/sdk/go/materialize\"\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 := materialize.NewGrantCluster(ctx, \"clusterGrantUsage\", \u0026materialize.GrantClusterArgs{\n\t\t\tClusterName: pulumi.String(\"example_cluster\"),\n\t\t\tPrivilege: pulumi.String(\"USAGE\"),\n\t\t\tRoleName: pulumi.String(\"example_role\"),\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.materialize.GrantCluster;\nimport com.pulumi.materialize.GrantClusterArgs;\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 clusterGrantUsage = new GrantCluster(\"clusterGrantUsage\", GrantClusterArgs.builder() \n .clusterName(\"example_cluster\")\n .privilege(\"USAGE\")\n .roleName(\"example_role\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Grant USAGE to role example_role to cluster example_cluster\n clusterGrantUsage:\n type: materialize:GrantCluster\n properties:\n clusterName: example_cluster\n privilege: USAGE\n roleName: example_role\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nGrants can be imported using the concatenation of GRANT, the object type, the id of the object, the id of the role and the privilege\n\n```sh\n $ pulumi import materialize:index/grantCluster:GrantCluster example \u003cregion\u003e:GRANT|CLUSTER|\u003ccluster_id\u003e|\u003crole_id\u003e|\u003cprivilege\u003e\n```\n\n The region is the region where the database is located (e.g. aws/us-east-1) ", "properties": { "clusterName": { "type": "string", @@ -5387,7 +5419,7 @@ } }, "materialize:index/grantClusterDefaultPrivilege:GrantClusterDefaultPrivilege": { - "description": "Defines default privileges that will be applied to objects created in the future. It does not affect any existing objects.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as materialize from \"@pulumi/materialize\";\n\n// Grant role the privilege USAGE for objects\nconst example = new materialize.GrantClusterDefaultPrivilege(\"example\", {\n granteeName: \"grantee\",\n privilege: \"USAGE\",\n targetRoleName: \"target_role\",\n});\n```\n```python\nimport pulumi\nimport pulumi_materialize as materialize\n\n# Grant role the privilege USAGE for objects\nexample = materialize.GrantClusterDefaultPrivilege(\"example\",\n grantee_name=\"grantee\",\n privilege=\"USAGE\",\n target_role_name=\"target_role\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Materialize = Pulumi.Materialize;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Grant role the privilege USAGE for objects\n var example = new Materialize.GrantClusterDefaultPrivilege(\"example\", new()\n {\n GranteeName = \"grantee\",\n Privilege = \"USAGE\",\n TargetRoleName = \"target_role\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-materialize/sdk/go/materialize\"\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 := materialize.NewGrantClusterDefaultPrivilege(ctx, \"example\", \u0026materialize.GrantClusterDefaultPrivilegeArgs{\n\t\t\tGranteeName: pulumi.String(\"grantee\"),\n\t\t\tPrivilege: pulumi.String(\"USAGE\"),\n\t\t\tTargetRoleName: pulumi.String(\"target_role\"),\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.materialize.GrantClusterDefaultPrivilege;\nimport com.pulumi.materialize.GrantClusterDefaultPrivilegeArgs;\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 example = new GrantClusterDefaultPrivilege(\"example\", GrantClusterDefaultPrivilegeArgs.builder() \n .granteeName(\"grantee\")\n .privilege(\"USAGE\")\n .targetRoleName(\"target_role\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Grant role the privilege USAGE for objects\n example:\n type: materialize:GrantClusterDefaultPrivilege\n properties:\n granteeName: grantee\n privilege: USAGE\n targetRoleName: target_role\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\n#Grants can be imported using the concatenation of GRANT DEFAULT, the grantee id of the role #Optionally you can include the target id. The privilege is required\n\n\n\n```sh\n $ pulumi import materialize:index/grantClusterDefaultPrivilege:GrantClusterDefaultPrivilege example \u003cregion\u003e:GRANT DEFAULT|CLUSTER|\u003cgrantee_id\u003e|\u003ctarget_role_id\u003e|||\u003cprivilege\u003e\n```\n\n The region is the region where the database is located (e.g. aws/us-east-1) ", + "description": "Defines default privileges that will be applied to objects created in the future. It does not affect any existing objects.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as materialize from \"@pulumi/materialize\";\n\n// Grant role the privilege USAGE for objects\nconst example = new materialize.GrantClusterDefaultPrivilege(\"example\", {\n granteeName: \"grantee\",\n privilege: \"USAGE\",\n targetRoleName: \"target_role\",\n});\n```\n```python\nimport pulumi\nimport pulumi_materialize as materialize\n\n# Grant role the privilege USAGE for objects\nexample = materialize.GrantClusterDefaultPrivilege(\"example\",\n grantee_name=\"grantee\",\n privilege=\"USAGE\",\n target_role_name=\"target_role\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Materialize = Pulumi.Materialize;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Grant role the privilege USAGE for objects\n var example = new Materialize.GrantClusterDefaultPrivilege(\"example\", new()\n {\n GranteeName = \"grantee\",\n Privilege = \"USAGE\",\n TargetRoleName = \"target_role\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-materialize/sdk/go/materialize\"\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 := materialize.NewGrantClusterDefaultPrivilege(ctx, \"example\", \u0026materialize.GrantClusterDefaultPrivilegeArgs{\n\t\t\tGranteeName: pulumi.String(\"grantee\"),\n\t\t\tPrivilege: pulumi.String(\"USAGE\"),\n\t\t\tTargetRoleName: pulumi.String(\"target_role\"),\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.materialize.GrantClusterDefaultPrivilege;\nimport com.pulumi.materialize.GrantClusterDefaultPrivilegeArgs;\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 example = new GrantClusterDefaultPrivilege(\"example\", GrantClusterDefaultPrivilegeArgs.builder() \n .granteeName(\"grantee\")\n .privilege(\"USAGE\")\n .targetRoleName(\"target_role\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Grant role the privilege USAGE for objects\n example:\n type: materialize:GrantClusterDefaultPrivilege\n properties:\n granteeName: grantee\n privilege: USAGE\n targetRoleName: target_role\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nGrants can be imported using the concatenation of GRANT DEFAULT and the grantee id of the role. Optionally, you can include the target id. The privilege is required.\n\n```sh\n $ pulumi import materialize:index/grantClusterDefaultPrivilege:GrantClusterDefaultPrivilege example \u003cregion\u003e:GRANT DEFAULT|CLUSTER|\u003cgrantee_id\u003e|\u003ctarget_role_id\u003e|||\u003cprivilege\u003e\n```\n\n The region is the region where the database is located (e.g. aws/us-east-1) ", "properties": { "granteeName": { "type": "string", @@ -5467,7 +5499,7 @@ } }, "materialize:index/grantConnection:GrantConnection": { - "description": "Manages the privileges on a Materailize connection for roles.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as materialize from \"@pulumi/materialize\";\n\n// Grant USAGE to role example_role to connection example_database.example_schema.example_connection\nconst connectionGrantUsage = new materialize.GrantConnection(\"connectionGrantUsage\", {\n connectionName: \"example_connection\",\n databaseName: \"example_database\",\n privilege: \"USAGE\",\n roleName: \"example_role\",\n schemaName: \"example_schema\",\n});\n```\n```python\nimport pulumi\nimport pulumi_materialize as materialize\n\n# Grant USAGE to role example_role to connection example_database.example_schema.example_connection\nconnection_grant_usage = materialize.GrantConnection(\"connectionGrantUsage\",\n connection_name=\"example_connection\",\n database_name=\"example_database\",\n privilege=\"USAGE\",\n role_name=\"example_role\",\n schema_name=\"example_schema\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Materialize = Pulumi.Materialize;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Grant USAGE to role example_role to connection example_database.example_schema.example_connection\n var connectionGrantUsage = new Materialize.GrantConnection(\"connectionGrantUsage\", new()\n {\n ConnectionName = \"example_connection\",\n DatabaseName = \"example_database\",\n Privilege = \"USAGE\",\n RoleName = \"example_role\",\n SchemaName = \"example_schema\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-materialize/sdk/go/materialize\"\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 := materialize.NewGrantConnection(ctx, \"connectionGrantUsage\", \u0026materialize.GrantConnectionArgs{\n\t\t\tConnectionName: pulumi.String(\"example_connection\"),\n\t\t\tDatabaseName: pulumi.String(\"example_database\"),\n\t\t\tPrivilege: pulumi.String(\"USAGE\"),\n\t\t\tRoleName: pulumi.String(\"example_role\"),\n\t\t\tSchemaName: pulumi.String(\"example_schema\"),\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.materialize.GrantConnection;\nimport com.pulumi.materialize.GrantConnectionArgs;\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 connectionGrantUsage = new GrantConnection(\"connectionGrantUsage\", GrantConnectionArgs.builder() \n .connectionName(\"example_connection\")\n .databaseName(\"example_database\")\n .privilege(\"USAGE\")\n .roleName(\"example_role\")\n .schemaName(\"example_schema\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Grant USAGE to role example_role to connection example_database.example_schema.example_connection\n connectionGrantUsage:\n type: materialize:GrantConnection\n properties:\n connectionName: example_connection\n databaseName: example_database\n privilege: USAGE\n roleName: example_role\n schemaName: example_schema\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\n#Grants can be imported using the concatenation of GRANT, the object type, the id of the object, the id of the role and the privilege\n\n\n\n```sh\n $ pulumi import materialize:index/grantConnection:GrantConnection example \u003cregion\u003e:GRANT|CONNECTION|\u003cconnection_id\u003e|\u003crole_id\u003e|\u003cprivilege\u003e\n```\n\n The region is the region where the database is located (e.g. aws/us-east-1) ", + "description": "Manages the privileges on a Materailize connection for roles.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as materialize from \"@pulumi/materialize\";\n\n// Grant USAGE to role example_role to connection example_database.example_schema.example_connection\nconst connectionGrantUsage = new materialize.GrantConnection(\"connectionGrantUsage\", {\n connectionName: \"example_connection\",\n databaseName: \"example_database\",\n privilege: \"USAGE\",\n roleName: \"example_role\",\n schemaName: \"example_schema\",\n});\n```\n```python\nimport pulumi\nimport pulumi_materialize as materialize\n\n# Grant USAGE to role example_role to connection example_database.example_schema.example_connection\nconnection_grant_usage = materialize.GrantConnection(\"connectionGrantUsage\",\n connection_name=\"example_connection\",\n database_name=\"example_database\",\n privilege=\"USAGE\",\n role_name=\"example_role\",\n schema_name=\"example_schema\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Materialize = Pulumi.Materialize;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Grant USAGE to role example_role to connection example_database.example_schema.example_connection\n var connectionGrantUsage = new Materialize.GrantConnection(\"connectionGrantUsage\", new()\n {\n ConnectionName = \"example_connection\",\n DatabaseName = \"example_database\",\n Privilege = \"USAGE\",\n RoleName = \"example_role\",\n SchemaName = \"example_schema\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-materialize/sdk/go/materialize\"\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 := materialize.NewGrantConnection(ctx, \"connectionGrantUsage\", \u0026materialize.GrantConnectionArgs{\n\t\t\tConnectionName: pulumi.String(\"example_connection\"),\n\t\t\tDatabaseName: pulumi.String(\"example_database\"),\n\t\t\tPrivilege: pulumi.String(\"USAGE\"),\n\t\t\tRoleName: pulumi.String(\"example_role\"),\n\t\t\tSchemaName: pulumi.String(\"example_schema\"),\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.materialize.GrantConnection;\nimport com.pulumi.materialize.GrantConnectionArgs;\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 connectionGrantUsage = new GrantConnection(\"connectionGrantUsage\", GrantConnectionArgs.builder() \n .connectionName(\"example_connection\")\n .databaseName(\"example_database\")\n .privilege(\"USAGE\")\n .roleName(\"example_role\")\n .schemaName(\"example_schema\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Grant USAGE to role example_role to connection example_database.example_schema.example_connection\n connectionGrantUsage:\n type: materialize:GrantConnection\n properties:\n connectionName: example_connection\n databaseName: example_database\n privilege: USAGE\n roleName: example_role\n schemaName: example_schema\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nGrants can be imported using the concatenation of GRANT, the object type, the id of the object, the id of the role and the privilege\n\n```sh\n $ pulumi import materialize:index/grantConnection:GrantConnection example \u003cregion\u003e:GRANT|CONNECTION|\u003cconnection_id\u003e|\u003crole_id\u003e|\u003cprivilege\u003e\n```\n\n The region is the region where the database is located (e.g. aws/us-east-1) ", "properties": { "connectionName": { "type": "string", @@ -5579,7 +5611,7 @@ } }, "materialize:index/grantConnectionDefaultPrivilege:GrantConnectionDefaultPrivilege": { - "description": "Defines default privileges that will be applied to objects created in the future. It does not affect any existing objects.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as materialize from \"@pulumi/materialize\";\n\n// Grant role the privilege USAGE for objects in the schema database.schema\nconst example = new materialize.GrantConnectionDefaultPrivilege(\"example\", {\n databaseName: \"database\",\n granteeName: \"grantee\",\n privilege: \"USAGE\",\n schemaName: \"schema\",\n targetRoleName: \"target_role\",\n});\n```\n```python\nimport pulumi\nimport pulumi_materialize as materialize\n\n# Grant role the privilege USAGE for objects in the schema database.schema\nexample = materialize.GrantConnectionDefaultPrivilege(\"example\",\n database_name=\"database\",\n grantee_name=\"grantee\",\n privilege=\"USAGE\",\n schema_name=\"schema\",\n target_role_name=\"target_role\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Materialize = Pulumi.Materialize;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Grant role the privilege USAGE for objects in the schema database.schema\n var example = new Materialize.GrantConnectionDefaultPrivilege(\"example\", new()\n {\n DatabaseName = \"database\",\n GranteeName = \"grantee\",\n Privilege = \"USAGE\",\n SchemaName = \"schema\",\n TargetRoleName = \"target_role\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-materialize/sdk/go/materialize\"\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 := materialize.NewGrantConnectionDefaultPrivilege(ctx, \"example\", \u0026materialize.GrantConnectionDefaultPrivilegeArgs{\n\t\t\tDatabaseName: pulumi.String(\"database\"),\n\t\t\tGranteeName: pulumi.String(\"grantee\"),\n\t\t\tPrivilege: pulumi.String(\"USAGE\"),\n\t\t\tSchemaName: pulumi.String(\"schema\"),\n\t\t\tTargetRoleName: pulumi.String(\"target_role\"),\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.materialize.GrantConnectionDefaultPrivilege;\nimport com.pulumi.materialize.GrantConnectionDefaultPrivilegeArgs;\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 example = new GrantConnectionDefaultPrivilege(\"example\", GrantConnectionDefaultPrivilegeArgs.builder() \n .databaseName(\"database\")\n .granteeName(\"grantee\")\n .privilege(\"USAGE\")\n .schemaName(\"schema\")\n .targetRoleName(\"target_role\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Grant role the privilege USAGE for objects in the schema database.schema\n example:\n type: materialize:GrantConnectionDefaultPrivilege\n properties:\n databaseName: database\n granteeName: grantee\n privilege: USAGE\n schemaName: schema\n targetRoleName: target_role\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\n#Grants can be imported using the concatenation of GRANT DEFAULT, the grantee id of the role #Optionally you can include the target id, database id and schema id. The privilege is required\n\n\n\n```sh\n $ pulumi import materialize:index/grantConnectionDefaultPrivilege:GrantConnectionDefaultPrivilege example \u003cregion\u003e:GRANT DEFAULT|CONNECTION|\u003cgrantee_id\u003e|\u003ctarget_role_id\u003e|\u003cdatabase_id\u003e|\u003cschema_id\u003e|\u003cprivilege\u003e\n```\n\n The region is the region where the database is located (e.g. aws/us-east-1) ", + "description": "Defines default privileges that will be applied to objects created in the future. It does not affect any existing objects.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as materialize from \"@pulumi/materialize\";\n\n// Grant role the privilege USAGE for objects in the schema database.schema\nconst example = new materialize.GrantConnectionDefaultPrivilege(\"example\", {\n databaseName: \"database\",\n granteeName: \"grantee\",\n privilege: \"USAGE\",\n schemaName: \"schema\",\n targetRoleName: \"target_role\",\n});\n```\n```python\nimport pulumi\nimport pulumi_materialize as materialize\n\n# Grant role the privilege USAGE for objects in the schema database.schema\nexample = materialize.GrantConnectionDefaultPrivilege(\"example\",\n database_name=\"database\",\n grantee_name=\"grantee\",\n privilege=\"USAGE\",\n schema_name=\"schema\",\n target_role_name=\"target_role\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Materialize = Pulumi.Materialize;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Grant role the privilege USAGE for objects in the schema database.schema\n var example = new Materialize.GrantConnectionDefaultPrivilege(\"example\", new()\n {\n DatabaseName = \"database\",\n GranteeName = \"grantee\",\n Privilege = \"USAGE\",\n SchemaName = \"schema\",\n TargetRoleName = \"target_role\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-materialize/sdk/go/materialize\"\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 := materialize.NewGrantConnectionDefaultPrivilege(ctx, \"example\", \u0026materialize.GrantConnectionDefaultPrivilegeArgs{\n\t\t\tDatabaseName: pulumi.String(\"database\"),\n\t\t\tGranteeName: pulumi.String(\"grantee\"),\n\t\t\tPrivilege: pulumi.String(\"USAGE\"),\n\t\t\tSchemaName: pulumi.String(\"schema\"),\n\t\t\tTargetRoleName: pulumi.String(\"target_role\"),\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.materialize.GrantConnectionDefaultPrivilege;\nimport com.pulumi.materialize.GrantConnectionDefaultPrivilegeArgs;\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 example = new GrantConnectionDefaultPrivilege(\"example\", GrantConnectionDefaultPrivilegeArgs.builder() \n .databaseName(\"database\")\n .granteeName(\"grantee\")\n .privilege(\"USAGE\")\n .schemaName(\"schema\")\n .targetRoleName(\"target_role\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Grant role the privilege USAGE for objects in the schema database.schema\n example:\n type: materialize:GrantConnectionDefaultPrivilege\n properties:\n databaseName: database\n granteeName: grantee\n privilege: USAGE\n schemaName: schema\n targetRoleName: target_role\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nGrants can be imported using the concatenation of GRANT DEFAULT and the grantee id of the role. Optionally, you can include the target id, database id and schema id. The privilege is required.\n\n```sh\n $ pulumi import materialize:index/grantConnectionDefaultPrivilege:GrantConnectionDefaultPrivilege example \u003cregion\u003e:GRANT DEFAULT|CONNECTION|\u003cgrantee_id\u003e|\u003ctarget_role_id\u003e|\u003cdatabase_id\u003e|\u003cschema_id\u003e|\u003cprivilege\u003e\n```\n\n The region is the region where the database is located (e.g. aws/us-east-1) ", "properties": { "databaseName": { "type": "string", @@ -5687,7 +5719,7 @@ } }, "materialize:index/grantDatabase:GrantDatabase": { - "description": "Manages the privileges on a Materailize database for roles.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as materialize from \"@pulumi/materialize\";\n\n// Grant USAGE to role example_role to database example_database\nconst databaseGrantUsage = new materialize.GrantDatabase(\"databaseGrantUsage\", {\n databaseName: \"example_database\",\n privilege: \"USAGE\",\n roleName: \"example_role\",\n});\n```\n```python\nimport pulumi\nimport pulumi_materialize as materialize\n\n# Grant USAGE to role example_role to database example_database\ndatabase_grant_usage = materialize.GrantDatabase(\"databaseGrantUsage\",\n database_name=\"example_database\",\n privilege=\"USAGE\",\n role_name=\"example_role\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Materialize = Pulumi.Materialize;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Grant USAGE to role example_role to database example_database\n var databaseGrantUsage = new Materialize.GrantDatabase(\"databaseGrantUsage\", new()\n {\n DatabaseName = \"example_database\",\n Privilege = \"USAGE\",\n RoleName = \"example_role\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-materialize/sdk/go/materialize\"\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 := materialize.NewGrantDatabase(ctx, \"databaseGrantUsage\", \u0026materialize.GrantDatabaseArgs{\n\t\t\tDatabaseName: pulumi.String(\"example_database\"),\n\t\t\tPrivilege: pulumi.String(\"USAGE\"),\n\t\t\tRoleName: pulumi.String(\"example_role\"),\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.materialize.GrantDatabase;\nimport com.pulumi.materialize.GrantDatabaseArgs;\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 databaseGrantUsage = new GrantDatabase(\"databaseGrantUsage\", GrantDatabaseArgs.builder() \n .databaseName(\"example_database\")\n .privilege(\"USAGE\")\n .roleName(\"example_role\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Grant USAGE to role example_role to database example_database\n databaseGrantUsage:\n type: materialize:GrantDatabase\n properties:\n databaseName: example_database\n privilege: USAGE\n roleName: example_role\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\n#Grants can be imported using the concatenation of GRANT, the object type, the id of the object, the id of the role and the privilege\n\n\n\n```sh\n $ pulumi import materialize:index/grantDatabase:GrantDatabase example \u003cregion\u003e:GRANT|DATABASE|\u003cdatabase_id\u003e|\u003crole_id\u003e|\u003cprivilege\u003e\n```\n\n The region is the region where the database is located (e.g. aws/us-east-1) ", + "description": "Manages the privileges on a Materailize database for roles.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as materialize from \"@pulumi/materialize\";\n\n// Grant USAGE to role example_role to database example_database\nconst databaseGrantUsage = new materialize.GrantDatabase(\"databaseGrantUsage\", {\n databaseName: \"example_database\",\n privilege: \"USAGE\",\n roleName: \"example_role\",\n});\n```\n```python\nimport pulumi\nimport pulumi_materialize as materialize\n\n# Grant USAGE to role example_role to database example_database\ndatabase_grant_usage = materialize.GrantDatabase(\"databaseGrantUsage\",\n database_name=\"example_database\",\n privilege=\"USAGE\",\n role_name=\"example_role\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Materialize = Pulumi.Materialize;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Grant USAGE to role example_role to database example_database\n var databaseGrantUsage = new Materialize.GrantDatabase(\"databaseGrantUsage\", new()\n {\n DatabaseName = \"example_database\",\n Privilege = \"USAGE\",\n RoleName = \"example_role\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-materialize/sdk/go/materialize\"\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 := materialize.NewGrantDatabase(ctx, \"databaseGrantUsage\", \u0026materialize.GrantDatabaseArgs{\n\t\t\tDatabaseName: pulumi.String(\"example_database\"),\n\t\t\tPrivilege: pulumi.String(\"USAGE\"),\n\t\t\tRoleName: pulumi.String(\"example_role\"),\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.materialize.GrantDatabase;\nimport com.pulumi.materialize.GrantDatabaseArgs;\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 databaseGrantUsage = new GrantDatabase(\"databaseGrantUsage\", GrantDatabaseArgs.builder() \n .databaseName(\"example_database\")\n .privilege(\"USAGE\")\n .roleName(\"example_role\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Grant USAGE to role example_role to database example_database\n databaseGrantUsage:\n type: materialize:GrantDatabase\n properties:\n databaseName: example_database\n privilege: USAGE\n roleName: example_role\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nGrants can be imported using the concatenation of GRANT, the object type, the id of the object, the id of the role and the privilege\n\n```sh\n $ pulumi import materialize:index/grantDatabase:GrantDatabase example \u003cregion\u003e:GRANT|DATABASE|\u003cdatabase_id\u003e|\u003crole_id\u003e|\u003cprivilege\u003e\n```\n\n The region is the region where the database is located (e.g. aws/us-east-1) ", "properties": { "databaseName": { "type": "string", @@ -5767,7 +5799,7 @@ } }, "materialize:index/grantDatabaseDefaultPrivilege:GrantDatabaseDefaultPrivilege": { - "description": "Defines default privileges that will be applied to objects created in the future. It does not affect any existing objects.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as materialize from \"@pulumi/materialize\";\n\n// Grant role the privilege USAGE for objects in the database database\nconst example = new materialize.GrantDatabaseDefaultPrivilege(\"example\", {\n granteeName: \"grantee\",\n privilege: \"USAGE\",\n targetRoleName: \"target_role\",\n});\n```\n```python\nimport pulumi\nimport pulumi_materialize as materialize\n\n# Grant role the privilege USAGE for objects in the database database\nexample = materialize.GrantDatabaseDefaultPrivilege(\"example\",\n grantee_name=\"grantee\",\n privilege=\"USAGE\",\n target_role_name=\"target_role\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Materialize = Pulumi.Materialize;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Grant role the privilege USAGE for objects in the database database\n var example = new Materialize.GrantDatabaseDefaultPrivilege(\"example\", new()\n {\n GranteeName = \"grantee\",\n Privilege = \"USAGE\",\n TargetRoleName = \"target_role\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-materialize/sdk/go/materialize\"\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 := materialize.NewGrantDatabaseDefaultPrivilege(ctx, \"example\", \u0026materialize.GrantDatabaseDefaultPrivilegeArgs{\n\t\t\tGranteeName: pulumi.String(\"grantee\"),\n\t\t\tPrivilege: pulumi.String(\"USAGE\"),\n\t\t\tTargetRoleName: pulumi.String(\"target_role\"),\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.materialize.GrantDatabaseDefaultPrivilege;\nimport com.pulumi.materialize.GrantDatabaseDefaultPrivilegeArgs;\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 example = new GrantDatabaseDefaultPrivilege(\"example\", GrantDatabaseDefaultPrivilegeArgs.builder() \n .granteeName(\"grantee\")\n .privilege(\"USAGE\")\n .targetRoleName(\"target_role\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Grant role the privilege USAGE for objects in the database database\n example:\n type: materialize:GrantDatabaseDefaultPrivilege\n properties:\n granteeName: grantee\n privilege: USAGE\n targetRoleName: target_role\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\n#Grants can be imported using the concatenation of GRANT DEFAULT, the grantee id of the role #Optionally you can include the target id, database id. The privilege is required\n\n\n\n```sh\n $ pulumi import materialize:index/grantDatabaseDefaultPrivilege:GrantDatabaseDefaultPrivilege example \u003cregion\u003e:GRANT DEFAULT|CONNECTION|\u003cgrantee_id\u003e|\u003ctarget_role_id\u003e|\u003cdatabase_id\u003e||\u003cprivilege\u003e\n```\n\n The region is the region where the database is located (e.g. aws/us-east-1) ", + "description": "Defines default privileges that will be applied to objects created in the future. It does not affect any existing objects.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as materialize from \"@pulumi/materialize\";\n\n// Grant role the privilege USAGE for objects in the database database\nconst example = new materialize.GrantDatabaseDefaultPrivilege(\"example\", {\n granteeName: \"grantee\",\n privilege: \"USAGE\",\n targetRoleName: \"target_role\",\n});\n```\n```python\nimport pulumi\nimport pulumi_materialize as materialize\n\n# Grant role the privilege USAGE for objects in the database database\nexample = materialize.GrantDatabaseDefaultPrivilege(\"example\",\n grantee_name=\"grantee\",\n privilege=\"USAGE\",\n target_role_name=\"target_role\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Materialize = Pulumi.Materialize;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Grant role the privilege USAGE for objects in the database database\n var example = new Materialize.GrantDatabaseDefaultPrivilege(\"example\", new()\n {\n GranteeName = \"grantee\",\n Privilege = \"USAGE\",\n TargetRoleName = \"target_role\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-materialize/sdk/go/materialize\"\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 := materialize.NewGrantDatabaseDefaultPrivilege(ctx, \"example\", \u0026materialize.GrantDatabaseDefaultPrivilegeArgs{\n\t\t\tGranteeName: pulumi.String(\"grantee\"),\n\t\t\tPrivilege: pulumi.String(\"USAGE\"),\n\t\t\tTargetRoleName: pulumi.String(\"target_role\"),\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.materialize.GrantDatabaseDefaultPrivilege;\nimport com.pulumi.materialize.GrantDatabaseDefaultPrivilegeArgs;\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 example = new GrantDatabaseDefaultPrivilege(\"example\", GrantDatabaseDefaultPrivilegeArgs.builder() \n .granteeName(\"grantee\")\n .privilege(\"USAGE\")\n .targetRoleName(\"target_role\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Grant role the privilege USAGE for objects in the database database\n example:\n type: materialize:GrantDatabaseDefaultPrivilege\n properties:\n granteeName: grantee\n privilege: USAGE\n targetRoleName: target_role\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nGrants can be imported using the concatenation of GRANT DEFAULT and the grantee id of the role. Optionally, you can include the target id and database id. The privilege is required.\n\n```sh\n $ pulumi import materialize:index/grantDatabaseDefaultPrivilege:GrantDatabaseDefaultPrivilege example \u003cregion\u003e:GRANT DEFAULT|CONNECTION|\u003cgrantee_id\u003e|\u003ctarget_role_id\u003e|\u003cdatabase_id\u003e||\u003cprivilege\u003e\n```\n\n The region is the region where the database is located (e.g. aws/us-east-1) ", "properties": { "granteeName": { "type": "string", @@ -5847,7 +5879,7 @@ } }, "materialize:index/grantMaterializedView:GrantMaterializedView": { - "description": "Manages the privileges on a Materailize materialized view for roles.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as materialize from \"@pulumi/materialize\";\n\n// Grant SELECT to role example_role to connection example_database.example_schema.example_materialized_view\nconst materializedViewGrantSelect = new materialize.GrantMaterializedView(\"materializedViewGrantSelect\", {\n databaseName: \"example_database\",\n materializedViewName: \"example_materialized_view\",\n privilege: \"SELECT\",\n roleName: \"example_role\",\n schemaName: \"example_schema\",\n});\n```\n```python\nimport pulumi\nimport pulumi_materialize as materialize\n\n# Grant SELECT to role example_role to connection example_database.example_schema.example_materialized_view\nmaterialized_view_grant_select = materialize.GrantMaterializedView(\"materializedViewGrantSelect\",\n database_name=\"example_database\",\n materialized_view_name=\"example_materialized_view\",\n privilege=\"SELECT\",\n role_name=\"example_role\",\n schema_name=\"example_schema\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Materialize = Pulumi.Materialize;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Grant SELECT to role example_role to connection example_database.example_schema.example_materialized_view\n var materializedViewGrantSelect = new Materialize.GrantMaterializedView(\"materializedViewGrantSelect\", new()\n {\n DatabaseName = \"example_database\",\n MaterializedViewName = \"example_materialized_view\",\n Privilege = \"SELECT\",\n RoleName = \"example_role\",\n SchemaName = \"example_schema\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-materialize/sdk/go/materialize\"\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 := materialize.NewGrantMaterializedView(ctx, \"materializedViewGrantSelect\", \u0026materialize.GrantMaterializedViewArgs{\n\t\t\tDatabaseName: pulumi.String(\"example_database\"),\n\t\t\tMaterializedViewName: pulumi.String(\"example_materialized_view\"),\n\t\t\tPrivilege: pulumi.String(\"SELECT\"),\n\t\t\tRoleName: pulumi.String(\"example_role\"),\n\t\t\tSchemaName: pulumi.String(\"example_schema\"),\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.materialize.GrantMaterializedView;\nimport com.pulumi.materialize.GrantMaterializedViewArgs;\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 materializedViewGrantSelect = new GrantMaterializedView(\"materializedViewGrantSelect\", GrantMaterializedViewArgs.builder() \n .databaseName(\"example_database\")\n .materializedViewName(\"example_materialized_view\")\n .privilege(\"SELECT\")\n .roleName(\"example_role\")\n .schemaName(\"example_schema\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Grant SELECT to role example_role to connection example_database.example_schema.example_materialized_view\n materializedViewGrantSelect:\n type: materialize:GrantMaterializedView\n properties:\n databaseName: example_database\n materializedViewName: example_materialized_view\n privilege: SELECT\n roleName: example_role\n schemaName: example_schema\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\n#Grants can be imported using the concatenation of GRANT, the object type, the id of the object, the id of the role and the privilege\n\n\n\n```sh\n $ pulumi import materialize:index/grantMaterializedView:GrantMaterializedView example \u003cregion\u003e:GRANT|MATERIALIZED VIEW|\u003cmaterialized_view_id\u003e|\u003crole_id\u003e|\u003cprivilege\u003e\n```\n\n The region is the region where the database is located (e.g. aws/us-east-1) ", + "description": "Manages the privileges on a Materailize materialized view for roles.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as materialize from \"@pulumi/materialize\";\n\n// Grant SELECT to role example_role to connection example_database.example_schema.example_materialized_view\nconst materializedViewGrantSelect = new materialize.GrantMaterializedView(\"materializedViewGrantSelect\", {\n databaseName: \"example_database\",\n materializedViewName: \"example_materialized_view\",\n privilege: \"SELECT\",\n roleName: \"example_role\",\n schemaName: \"example_schema\",\n});\n```\n```python\nimport pulumi\nimport pulumi_materialize as materialize\n\n# Grant SELECT to role example_role to connection example_database.example_schema.example_materialized_view\nmaterialized_view_grant_select = materialize.GrantMaterializedView(\"materializedViewGrantSelect\",\n database_name=\"example_database\",\n materialized_view_name=\"example_materialized_view\",\n privilege=\"SELECT\",\n role_name=\"example_role\",\n schema_name=\"example_schema\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Materialize = Pulumi.Materialize;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Grant SELECT to role example_role to connection example_database.example_schema.example_materialized_view\n var materializedViewGrantSelect = new Materialize.GrantMaterializedView(\"materializedViewGrantSelect\", new()\n {\n DatabaseName = \"example_database\",\n MaterializedViewName = \"example_materialized_view\",\n Privilege = \"SELECT\",\n RoleName = \"example_role\",\n SchemaName = \"example_schema\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-materialize/sdk/go/materialize\"\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 := materialize.NewGrantMaterializedView(ctx, \"materializedViewGrantSelect\", \u0026materialize.GrantMaterializedViewArgs{\n\t\t\tDatabaseName: pulumi.String(\"example_database\"),\n\t\t\tMaterializedViewName: pulumi.String(\"example_materialized_view\"),\n\t\t\tPrivilege: pulumi.String(\"SELECT\"),\n\t\t\tRoleName: pulumi.String(\"example_role\"),\n\t\t\tSchemaName: pulumi.String(\"example_schema\"),\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.materialize.GrantMaterializedView;\nimport com.pulumi.materialize.GrantMaterializedViewArgs;\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 materializedViewGrantSelect = new GrantMaterializedView(\"materializedViewGrantSelect\", GrantMaterializedViewArgs.builder() \n .databaseName(\"example_database\")\n .materializedViewName(\"example_materialized_view\")\n .privilege(\"SELECT\")\n .roleName(\"example_role\")\n .schemaName(\"example_schema\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Grant SELECT to role example_role to connection example_database.example_schema.example_materialized_view\n materializedViewGrantSelect:\n type: materialize:GrantMaterializedView\n properties:\n databaseName: example_database\n materializedViewName: example_materialized_view\n privilege: SELECT\n roleName: example_role\n schemaName: example_schema\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nGrants can be imported using the concatenation of GRANT, the object type, the id of the object, the id of the role and the privilege\n\n```sh\n $ pulumi import materialize:index/grantMaterializedView:GrantMaterializedView example \u003cregion\u003e:GRANT|MATERIALIZED VIEW|\u003cmaterialized_view_id\u003e|\u003crole_id\u003e|\u003cprivilege\u003e\n```\n\n The region is the region where the database is located (e.g. aws/us-east-1) ", "properties": { "databaseName": { "type": "string", @@ -5959,7 +5991,7 @@ } }, "materialize:index/grantRole:GrantRole": { - "description": "Manages the system privileges for roles.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as materialize from \"@pulumi/materialize\";\n\n// Grant role to user\nconst roleGrantUser = new materialize.GrantRole(\"roleGrantUser\", {\n memberName: \"user\",\n roleName: \"role\",\n});\n```\n```python\nimport pulumi\nimport pulumi_materialize as materialize\n\n# Grant role to user\nrole_grant_user = materialize.GrantRole(\"roleGrantUser\",\n member_name=\"user\",\n role_name=\"role\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Materialize = Pulumi.Materialize;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Grant role to user\n var roleGrantUser = new Materialize.GrantRole(\"roleGrantUser\", new()\n {\n MemberName = \"user\",\n RoleName = \"role\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-materialize/sdk/go/materialize\"\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 := materialize.NewGrantRole(ctx, \"roleGrantUser\", \u0026materialize.GrantRoleArgs{\n\t\t\tMemberName: pulumi.String(\"user\"),\n\t\t\tRoleName: pulumi.String(\"role\"),\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.materialize.GrantRole;\nimport com.pulumi.materialize.GrantRoleArgs;\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 roleGrantUser = new GrantRole(\"roleGrantUser\", GrantRoleArgs.builder() \n .memberName(\"user\")\n .roleName(\"role\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Grant role to user\n roleGrantUser:\n type: materialize:GrantRole\n properties:\n memberName: user\n roleName: role\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\n#Grants can be imported using the concatenation of ROLE MEMBER, the id of the role and id of the member\n\n\n\n```sh\n $ pulumi import materialize:index/grantRole:GrantRole example \u003cregion\u003e:ROLE MEMBER|\u003crole_id\u003e|\u003cmember_id\u003e\n```\n\n The region is the region where the database is located (e.g. aws/us-east-1) ", + "description": "Manages the system privileges for roles.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as materialize from \"@pulumi/materialize\";\n\n// Grant role to user\nconst roleGrantUser = new materialize.GrantRole(\"roleGrantUser\", {\n memberName: \"user\",\n roleName: \"role\",\n});\n```\n```python\nimport pulumi\nimport pulumi_materialize as materialize\n\n# Grant role to user\nrole_grant_user = materialize.GrantRole(\"roleGrantUser\",\n member_name=\"user\",\n role_name=\"role\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Materialize = Pulumi.Materialize;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Grant role to user\n var roleGrantUser = new Materialize.GrantRole(\"roleGrantUser\", new()\n {\n MemberName = \"user\",\n RoleName = \"role\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-materialize/sdk/go/materialize\"\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 := materialize.NewGrantRole(ctx, \"roleGrantUser\", \u0026materialize.GrantRoleArgs{\n\t\t\tMemberName: pulumi.String(\"user\"),\n\t\t\tRoleName: pulumi.String(\"role\"),\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.materialize.GrantRole;\nimport com.pulumi.materialize.GrantRoleArgs;\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 roleGrantUser = new GrantRole(\"roleGrantUser\", GrantRoleArgs.builder() \n .memberName(\"user\")\n .roleName(\"role\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Grant role to user\n roleGrantUser:\n type: materialize:GrantRole\n properties:\n memberName: user\n roleName: role\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nGrants can be imported using the concatenation of ROLE MEMBER, the id of the role and id of the member\n\n```sh\n $ pulumi import materialize:index/grantRole:GrantRole example \u003cregion\u003e:ROLE MEMBER|\u003crole_id\u003e|\u003cmember_id\u003e\n```\n\n The region is the region where the database is located (e.g. aws/us-east-1) ", "properties": { "memberName": { "type": "string", @@ -6023,7 +6055,7 @@ } }, "materialize:index/grantSchema:GrantSchema": { - "description": "Manages the privileges on a Materailize schema for roles.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as materialize from \"@pulumi/materialize\";\n\n// Grant USAGE to role example_role to schema example_database.example_schema\nconst schemaGrantUsage = new materialize.GrantSchema(\"schemaGrantUsage\", {\n databaseName: \"example_database\",\n privilege: \"USAGE\",\n roleName: \"example_role\",\n schemaName: \"example_schema\",\n});\n```\n```python\nimport pulumi\nimport pulumi_materialize as materialize\n\n# Grant USAGE to role example_role to schema example_database.example_schema\nschema_grant_usage = materialize.GrantSchema(\"schemaGrantUsage\",\n database_name=\"example_database\",\n privilege=\"USAGE\",\n role_name=\"example_role\",\n schema_name=\"example_schema\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Materialize = Pulumi.Materialize;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Grant USAGE to role example_role to schema example_database.example_schema\n var schemaGrantUsage = new Materialize.GrantSchema(\"schemaGrantUsage\", new()\n {\n DatabaseName = \"example_database\",\n Privilege = \"USAGE\",\n RoleName = \"example_role\",\n SchemaName = \"example_schema\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-materialize/sdk/go/materialize\"\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 := materialize.NewGrantSchema(ctx, \"schemaGrantUsage\", \u0026materialize.GrantSchemaArgs{\n\t\t\tDatabaseName: pulumi.String(\"example_database\"),\n\t\t\tPrivilege: pulumi.String(\"USAGE\"),\n\t\t\tRoleName: pulumi.String(\"example_role\"),\n\t\t\tSchemaName: pulumi.String(\"example_schema\"),\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.materialize.GrantSchema;\nimport com.pulumi.materialize.GrantSchemaArgs;\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 schemaGrantUsage = new GrantSchema(\"schemaGrantUsage\", GrantSchemaArgs.builder() \n .databaseName(\"example_database\")\n .privilege(\"USAGE\")\n .roleName(\"example_role\")\n .schemaName(\"example_schema\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Grant USAGE to role example_role to schema example_database.example_schema\n schemaGrantUsage:\n type: materialize:GrantSchema\n properties:\n databaseName: example_database\n privilege: USAGE\n roleName: example_role\n schemaName: example_schema\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\n#Grants can be imported using the concatenation of GRANT, the object type, the id of the object, the id of the role and the privilege\n\n\n\n```sh\n $ pulumi import materialize:index/grantSchema:GrantSchema example \u003cregion\u003e:GRANT|SCHEMA|\u003cschema_id\u003e|\u003crole_id\u003e|\u003cprivilege\u003e\n```\n\n The region is the region where the database is located (e.g. aws/us-east-1) ", + "description": "Manages the privileges on a Materailize schema for roles.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as materialize from \"@pulumi/materialize\";\n\n// Grant USAGE to role example_role to schema example_database.example_schema\nconst schemaGrantUsage = new materialize.GrantSchema(\"schemaGrantUsage\", {\n databaseName: \"example_database\",\n privilege: \"USAGE\",\n roleName: \"example_role\",\n schemaName: \"example_schema\",\n});\n```\n```python\nimport pulumi\nimport pulumi_materialize as materialize\n\n# Grant USAGE to role example_role to schema example_database.example_schema\nschema_grant_usage = materialize.GrantSchema(\"schemaGrantUsage\",\n database_name=\"example_database\",\n privilege=\"USAGE\",\n role_name=\"example_role\",\n schema_name=\"example_schema\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Materialize = Pulumi.Materialize;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Grant USAGE to role example_role to schema example_database.example_schema\n var schemaGrantUsage = new Materialize.GrantSchema(\"schemaGrantUsage\", new()\n {\n DatabaseName = \"example_database\",\n Privilege = \"USAGE\",\n RoleName = \"example_role\",\n SchemaName = \"example_schema\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-materialize/sdk/go/materialize\"\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 := materialize.NewGrantSchema(ctx, \"schemaGrantUsage\", \u0026materialize.GrantSchemaArgs{\n\t\t\tDatabaseName: pulumi.String(\"example_database\"),\n\t\t\tPrivilege: pulumi.String(\"USAGE\"),\n\t\t\tRoleName: pulumi.String(\"example_role\"),\n\t\t\tSchemaName: pulumi.String(\"example_schema\"),\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.materialize.GrantSchema;\nimport com.pulumi.materialize.GrantSchemaArgs;\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 schemaGrantUsage = new GrantSchema(\"schemaGrantUsage\", GrantSchemaArgs.builder() \n .databaseName(\"example_database\")\n .privilege(\"USAGE\")\n .roleName(\"example_role\")\n .schemaName(\"example_schema\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Grant USAGE to role example_role to schema example_database.example_schema\n schemaGrantUsage:\n type: materialize:GrantSchema\n properties:\n databaseName: example_database\n privilege: USAGE\n roleName: example_role\n schemaName: example_schema\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nGrants can be imported using the concatenation of GRANT, the object type, the id of the object, the id of the role and the privilege\n\n```sh\n $ pulumi import materialize:index/grantSchema:GrantSchema example \u003cregion\u003e:GRANT|SCHEMA|\u003cschema_id\u003e|\u003crole_id\u003e|\u003cprivilege\u003e\n```\n\n The region is the region where the database is located (e.g. aws/us-east-1) ", "properties": { "databaseName": { "type": "string", @@ -6119,7 +6151,7 @@ } }, "materialize:index/grantSchemaDefaultPrivilege:GrantSchemaDefaultPrivilege": { - "description": "Defines default privileges that will be applied to objects created in the future. It does not affect any existing objects.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as materialize from \"@pulumi/materialize\";\n\n// Grant role the privilege USAGE for objects in the schema database.schema\nconst example = new materialize.GrantSchemaDefaultPrivilege(\"example\", {\n databaseName: \"database\",\n granteeName: \"grantee\",\n privilege: \"USAGE\",\n targetRoleName: \"target_role\",\n});\n```\n```python\nimport pulumi\nimport pulumi_materialize as materialize\n\n# Grant role the privilege USAGE for objects in the schema database.schema\nexample = materialize.GrantSchemaDefaultPrivilege(\"example\",\n database_name=\"database\",\n grantee_name=\"grantee\",\n privilege=\"USAGE\",\n target_role_name=\"target_role\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Materialize = Pulumi.Materialize;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Grant role the privilege USAGE for objects in the schema database.schema\n var example = new Materialize.GrantSchemaDefaultPrivilege(\"example\", new()\n {\n DatabaseName = \"database\",\n GranteeName = \"grantee\",\n Privilege = \"USAGE\",\n TargetRoleName = \"target_role\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-materialize/sdk/go/materialize\"\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 := materialize.NewGrantSchemaDefaultPrivilege(ctx, \"example\", \u0026materialize.GrantSchemaDefaultPrivilegeArgs{\n\t\t\tDatabaseName: pulumi.String(\"database\"),\n\t\t\tGranteeName: pulumi.String(\"grantee\"),\n\t\t\tPrivilege: pulumi.String(\"USAGE\"),\n\t\t\tTargetRoleName: pulumi.String(\"target_role\"),\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.materialize.GrantSchemaDefaultPrivilege;\nimport com.pulumi.materialize.GrantSchemaDefaultPrivilegeArgs;\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 example = new GrantSchemaDefaultPrivilege(\"example\", GrantSchemaDefaultPrivilegeArgs.builder() \n .databaseName(\"database\")\n .granteeName(\"grantee\")\n .privilege(\"USAGE\")\n .targetRoleName(\"target_role\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Grant role the privilege USAGE for objects in the schema database.schema\n example:\n type: materialize:GrantSchemaDefaultPrivilege\n properties:\n databaseName: database\n granteeName: grantee\n privilege: USAGE\n targetRoleName: target_role\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\n#Grants can be imported using the concatenation of GRANT DEFAULT, the grantee id of the role #Optionally you can include the target id, database id and schema id. The privilege is required\n\n\n\n```sh\n $ pulumi import materialize:index/grantSchemaDefaultPrivilege:GrantSchemaDefaultPrivilege example \u003cregion\u003e:GRANT DEFAULT|SCHEMA|\u003cgrantee_id\u003e|\u003ctarget_role_id\u003e|\u003cdatabase_id\u003e|\u003cschema_id\u003e|\u003cprivilege\u003e\n```\n\n The region is the region where the database is located (e.g. aws/us-east-1) ", + "description": "Defines default privileges that will be applied to objects created in the future. It does not affect any existing objects.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as materialize from \"@pulumi/materialize\";\n\n// Grant role the privilege USAGE for objects in the schema database.schema\nconst example = new materialize.GrantSchemaDefaultPrivilege(\"example\", {\n databaseName: \"database\",\n granteeName: \"grantee\",\n privilege: \"USAGE\",\n targetRoleName: \"target_role\",\n});\n```\n```python\nimport pulumi\nimport pulumi_materialize as materialize\n\n# Grant role the privilege USAGE for objects in the schema database.schema\nexample = materialize.GrantSchemaDefaultPrivilege(\"example\",\n database_name=\"database\",\n grantee_name=\"grantee\",\n privilege=\"USAGE\",\n target_role_name=\"target_role\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Materialize = Pulumi.Materialize;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Grant role the privilege USAGE for objects in the schema database.schema\n var example = new Materialize.GrantSchemaDefaultPrivilege(\"example\", new()\n {\n DatabaseName = \"database\",\n GranteeName = \"grantee\",\n Privilege = \"USAGE\",\n TargetRoleName = \"target_role\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-materialize/sdk/go/materialize\"\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 := materialize.NewGrantSchemaDefaultPrivilege(ctx, \"example\", \u0026materialize.GrantSchemaDefaultPrivilegeArgs{\n\t\t\tDatabaseName: pulumi.String(\"database\"),\n\t\t\tGranteeName: pulumi.String(\"grantee\"),\n\t\t\tPrivilege: pulumi.String(\"USAGE\"),\n\t\t\tTargetRoleName: pulumi.String(\"target_role\"),\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.materialize.GrantSchemaDefaultPrivilege;\nimport com.pulumi.materialize.GrantSchemaDefaultPrivilegeArgs;\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 example = new GrantSchemaDefaultPrivilege(\"example\", GrantSchemaDefaultPrivilegeArgs.builder() \n .databaseName(\"database\")\n .granteeName(\"grantee\")\n .privilege(\"USAGE\")\n .targetRoleName(\"target_role\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Grant role the privilege USAGE for objects in the schema database.schema\n example:\n type: materialize:GrantSchemaDefaultPrivilege\n properties:\n databaseName: database\n granteeName: grantee\n privilege: USAGE\n targetRoleName: target_role\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nGrants can be imported using the concatenation of GRANT DEFAULT and the grantee id of the role. Optionally, you can include the target id, database id and schema id. The privilege is required.\n\n```sh\n $ pulumi import materialize:index/grantSchemaDefaultPrivilege:GrantSchemaDefaultPrivilege example \u003cregion\u003e:GRANT DEFAULT|SCHEMA|\u003cgrantee_id\u003e|\u003ctarget_role_id\u003e|\u003cdatabase_id\u003e|\u003cschema_id\u003e|\u003cprivilege\u003e\n```\n\n The region is the region where the database is located (e.g. aws/us-east-1) ", "properties": { "databaseName": { "type": "string", @@ -6213,7 +6245,7 @@ } }, "materialize:index/grantSecret:GrantSecret": { - "description": "Manages the privileges on a Materailize secret for roles.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as materialize from \"@pulumi/materialize\";\n\n// Grant USAGE to role example_role to secret example_database.example_schema.example_secret\nconst secretGrantUsage = new materialize.GrantSecret(\"secretGrantUsage\", {\n databaseName: \"example_database\",\n privilege: \"USAGE\",\n roleName: \"example_role\",\n schemaName: \"example_schema\",\n secretName: \"example_secret\",\n});\n```\n```python\nimport pulumi\nimport pulumi_materialize as materialize\n\n# Grant USAGE to role example_role to secret example_database.example_schema.example_secret\nsecret_grant_usage = materialize.GrantSecret(\"secretGrantUsage\",\n database_name=\"example_database\",\n privilege=\"USAGE\",\n role_name=\"example_role\",\n schema_name=\"example_schema\",\n secret_name=\"example_secret\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Materialize = Pulumi.Materialize;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Grant USAGE to role example_role to secret example_database.example_schema.example_secret\n var secretGrantUsage = new Materialize.GrantSecret(\"secretGrantUsage\", new()\n {\n DatabaseName = \"example_database\",\n Privilege = \"USAGE\",\n RoleName = \"example_role\",\n SchemaName = \"example_schema\",\n SecretName = \"example_secret\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-materialize/sdk/go/materialize\"\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 := materialize.NewGrantSecret(ctx, \"secretGrantUsage\", \u0026materialize.GrantSecretArgs{\n\t\t\tDatabaseName: pulumi.String(\"example_database\"),\n\t\t\tPrivilege: pulumi.String(\"USAGE\"),\n\t\t\tRoleName: pulumi.String(\"example_role\"),\n\t\t\tSchemaName: pulumi.String(\"example_schema\"),\n\t\t\tSecretName: pulumi.String(\"example_secret\"),\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.materialize.GrantSecret;\nimport com.pulumi.materialize.GrantSecretArgs;\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 secretGrantUsage = new GrantSecret(\"secretGrantUsage\", GrantSecretArgs.builder() \n .databaseName(\"example_database\")\n .privilege(\"USAGE\")\n .roleName(\"example_role\")\n .schemaName(\"example_schema\")\n .secretName(\"example_secret\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Grant USAGE to role example_role to secret example_database.example_schema.example_secret\n secretGrantUsage:\n type: materialize:GrantSecret\n properties:\n databaseName: example_database\n privilege: USAGE\n roleName: example_role\n schemaName: example_schema\n secretName: example_secret\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\n#Grants can be imported using the concatenation of GRANT, the object type, the id of the object, the id of the role and the privilege\n\n\n\n```sh\n $ pulumi import materialize:index/grantSecret:GrantSecret example \u003cregion\u003e:GRANT|SECRET|\u003csecret_id\u003e|\u003crole_id\u003e|\u003cprivilege\u003e\n```\n\n The region is the region where the database is located (e.g. aws/us-east-1) ", + "description": "Manages the privileges on a Materailize secret for roles.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as materialize from \"@pulumi/materialize\";\n\n// Grant USAGE to role example_role to secret example_database.example_schema.example_secret\nconst secretGrantUsage = new materialize.GrantSecret(\"secretGrantUsage\", {\n databaseName: \"example_database\",\n privilege: \"USAGE\",\n roleName: \"example_role\",\n schemaName: \"example_schema\",\n secretName: \"example_secret\",\n});\n```\n```python\nimport pulumi\nimport pulumi_materialize as materialize\n\n# Grant USAGE to role example_role to secret example_database.example_schema.example_secret\nsecret_grant_usage = materialize.GrantSecret(\"secretGrantUsage\",\n database_name=\"example_database\",\n privilege=\"USAGE\",\n role_name=\"example_role\",\n schema_name=\"example_schema\",\n secret_name=\"example_secret\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Materialize = Pulumi.Materialize;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Grant USAGE to role example_role to secret example_database.example_schema.example_secret\n var secretGrantUsage = new Materialize.GrantSecret(\"secretGrantUsage\", new()\n {\n DatabaseName = \"example_database\",\n Privilege = \"USAGE\",\n RoleName = \"example_role\",\n SchemaName = \"example_schema\",\n SecretName = \"example_secret\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-materialize/sdk/go/materialize\"\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 := materialize.NewGrantSecret(ctx, \"secretGrantUsage\", \u0026materialize.GrantSecretArgs{\n\t\t\tDatabaseName: pulumi.String(\"example_database\"),\n\t\t\tPrivilege: pulumi.String(\"USAGE\"),\n\t\t\tRoleName: pulumi.String(\"example_role\"),\n\t\t\tSchemaName: pulumi.String(\"example_schema\"),\n\t\t\tSecretName: pulumi.String(\"example_secret\"),\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.materialize.GrantSecret;\nimport com.pulumi.materialize.GrantSecretArgs;\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 secretGrantUsage = new GrantSecret(\"secretGrantUsage\", GrantSecretArgs.builder() \n .databaseName(\"example_database\")\n .privilege(\"USAGE\")\n .roleName(\"example_role\")\n .schemaName(\"example_schema\")\n .secretName(\"example_secret\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Grant USAGE to role example_role to secret example_database.example_schema.example_secret\n secretGrantUsage:\n type: materialize:GrantSecret\n properties:\n databaseName: example_database\n privilege: USAGE\n roleName: example_role\n schemaName: example_schema\n secretName: example_secret\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nGrants can be imported using the concatenation of GRANT, the object type, the id of the object, the id of the role and the privilege\n\n```sh\n $ pulumi import materialize:index/grantSecret:GrantSecret example \u003cregion\u003e:GRANT|SECRET|\u003csecret_id\u003e|\u003crole_id\u003e|\u003cprivilege\u003e\n```\n\n The region is the region where the database is located (e.g. aws/us-east-1) ", "properties": { "databaseName": { "type": "string", @@ -6325,7 +6357,7 @@ } }, "materialize:index/grantSecretDefaultPrivilege:GrantSecretDefaultPrivilege": { - "description": "Defines default privileges that will be applied to objects created in the future. It does not affect any existing objects.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as materialize from \"@pulumi/materialize\";\n\n// Grant role the privilege USAGE for objects in the schema database.schema\nconst example = new materialize.GrantSecretDefaultPrivilege(\"example\", {\n databaseName: \"database\",\n granteeName: \"grantee\",\n privilege: \"USAGE\",\n schemaName: \"schema\",\n targetRoleName: \"target_role\",\n});\n```\n```python\nimport pulumi\nimport pulumi_materialize as materialize\n\n# Grant role the privilege USAGE for objects in the schema database.schema\nexample = materialize.GrantSecretDefaultPrivilege(\"example\",\n database_name=\"database\",\n grantee_name=\"grantee\",\n privilege=\"USAGE\",\n schema_name=\"schema\",\n target_role_name=\"target_role\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Materialize = Pulumi.Materialize;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Grant role the privilege USAGE for objects in the schema database.schema\n var example = new Materialize.GrantSecretDefaultPrivilege(\"example\", new()\n {\n DatabaseName = \"database\",\n GranteeName = \"grantee\",\n Privilege = \"USAGE\",\n SchemaName = \"schema\",\n TargetRoleName = \"target_role\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-materialize/sdk/go/materialize\"\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 := materialize.NewGrantSecretDefaultPrivilege(ctx, \"example\", \u0026materialize.GrantSecretDefaultPrivilegeArgs{\n\t\t\tDatabaseName: pulumi.String(\"database\"),\n\t\t\tGranteeName: pulumi.String(\"grantee\"),\n\t\t\tPrivilege: pulumi.String(\"USAGE\"),\n\t\t\tSchemaName: pulumi.String(\"schema\"),\n\t\t\tTargetRoleName: pulumi.String(\"target_role\"),\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.materialize.GrantSecretDefaultPrivilege;\nimport com.pulumi.materialize.GrantSecretDefaultPrivilegeArgs;\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 example = new GrantSecretDefaultPrivilege(\"example\", GrantSecretDefaultPrivilegeArgs.builder() \n .databaseName(\"database\")\n .granteeName(\"grantee\")\n .privilege(\"USAGE\")\n .schemaName(\"schema\")\n .targetRoleName(\"target_role\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Grant role the privilege USAGE for objects in the schema database.schema\n example:\n type: materialize:GrantSecretDefaultPrivilege\n properties:\n databaseName: database\n granteeName: grantee\n privilege: USAGE\n schemaName: schema\n targetRoleName: target_role\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\n#Grants can be imported using the concatenation of GRANT DEFAULT, the grantee id of the role #Optionally you can include the target id, database id and schema id. The privilege is required\n\n\n\n```sh\n $ pulumi import materialize:index/grantSecretDefaultPrivilege:GrantSecretDefaultPrivilege example \u003cregion\u003e:GRANT DEFAULT|SECRET|\u003cgrantee_id\u003e|\u003ctarget_role_id\u003e|\u003cdatabase_id\u003e|\u003cschema_id\u003e|\u003cprivilege\u003e\n```\n\n The region is the region where the database is located (e.g. aws/us-east-1) ", + "description": "Defines default privileges that will be applied to objects created in the future. It does not affect any existing objects.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as materialize from \"@pulumi/materialize\";\n\n// Grant role the privilege USAGE for objects in the schema database.schema\nconst example = new materialize.GrantSecretDefaultPrivilege(\"example\", {\n databaseName: \"database\",\n granteeName: \"grantee\",\n privilege: \"USAGE\",\n schemaName: \"schema\",\n targetRoleName: \"target_role\",\n});\n```\n```python\nimport pulumi\nimport pulumi_materialize as materialize\n\n# Grant role the privilege USAGE for objects in the schema database.schema\nexample = materialize.GrantSecretDefaultPrivilege(\"example\",\n database_name=\"database\",\n grantee_name=\"grantee\",\n privilege=\"USAGE\",\n schema_name=\"schema\",\n target_role_name=\"target_role\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Materialize = Pulumi.Materialize;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Grant role the privilege USAGE for objects in the schema database.schema\n var example = new Materialize.GrantSecretDefaultPrivilege(\"example\", new()\n {\n DatabaseName = \"database\",\n GranteeName = \"grantee\",\n Privilege = \"USAGE\",\n SchemaName = \"schema\",\n TargetRoleName = \"target_role\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-materialize/sdk/go/materialize\"\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 := materialize.NewGrantSecretDefaultPrivilege(ctx, \"example\", \u0026materialize.GrantSecretDefaultPrivilegeArgs{\n\t\t\tDatabaseName: pulumi.String(\"database\"),\n\t\t\tGranteeName: pulumi.String(\"grantee\"),\n\t\t\tPrivilege: pulumi.String(\"USAGE\"),\n\t\t\tSchemaName: pulumi.String(\"schema\"),\n\t\t\tTargetRoleName: pulumi.String(\"target_role\"),\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.materialize.GrantSecretDefaultPrivilege;\nimport com.pulumi.materialize.GrantSecretDefaultPrivilegeArgs;\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 example = new GrantSecretDefaultPrivilege(\"example\", GrantSecretDefaultPrivilegeArgs.builder() \n .databaseName(\"database\")\n .granteeName(\"grantee\")\n .privilege(\"USAGE\")\n .schemaName(\"schema\")\n .targetRoleName(\"target_role\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Grant role the privilege USAGE for objects in the schema database.schema\n example:\n type: materialize:GrantSecretDefaultPrivilege\n properties:\n databaseName: database\n granteeName: grantee\n privilege: USAGE\n schemaName: schema\n targetRoleName: target_role\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nGrants can be imported using the concatenation of GRANT DEFAULT and the grantee id of the role. Optionally, you can include the target id, database id and schema id. The privilege is required.\n\n```sh\n $ pulumi import materialize:index/grantSecretDefaultPrivilege:GrantSecretDefaultPrivilege example \u003cregion\u003e:GRANT DEFAULT|SECRET|\u003cgrantee_id\u003e|\u003ctarget_role_id\u003e|\u003cdatabase_id\u003e|\u003cschema_id\u003e|\u003cprivilege\u003e\n```\n\n The region is the region where the database is located (e.g. aws/us-east-1) ", "properties": { "databaseName": { "type": "string", @@ -6433,7 +6465,7 @@ } }, "materialize:index/grantSource:GrantSource": { - "description": "Manages the privileges on a Materailize source for roles.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as materialize from \"@pulumi/materialize\";\n\n// Grant SELECT to role example_role to source example_database.example_schema.example_source\nconst sourceGrantSelect = new materialize.GrantSource(\"sourceGrantSelect\", {\n databaseName: \"example_database\",\n privilege: \"SELECT\",\n roleName: \"example_role\",\n schemaName: \"example_schema\",\n sourceName: \"example_source\",\n});\n```\n```python\nimport pulumi\nimport pulumi_materialize as materialize\n\n# Grant SELECT to role example_role to source example_database.example_schema.example_source\nsource_grant_select = materialize.GrantSource(\"sourceGrantSelect\",\n database_name=\"example_database\",\n privilege=\"SELECT\",\n role_name=\"example_role\",\n schema_name=\"example_schema\",\n source_name=\"example_source\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Materialize = Pulumi.Materialize;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Grant SELECT to role example_role to source example_database.example_schema.example_source\n var sourceGrantSelect = new Materialize.GrantSource(\"sourceGrantSelect\", new()\n {\n DatabaseName = \"example_database\",\n Privilege = \"SELECT\",\n RoleName = \"example_role\",\n SchemaName = \"example_schema\",\n SourceName = \"example_source\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-materialize/sdk/go/materialize\"\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 := materialize.NewGrantSource(ctx, \"sourceGrantSelect\", \u0026materialize.GrantSourceArgs{\n\t\t\tDatabaseName: pulumi.String(\"example_database\"),\n\t\t\tPrivilege: pulumi.String(\"SELECT\"),\n\t\t\tRoleName: pulumi.String(\"example_role\"),\n\t\t\tSchemaName: pulumi.String(\"example_schema\"),\n\t\t\tSourceName: pulumi.String(\"example_source\"),\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.materialize.GrantSource;\nimport com.pulumi.materialize.GrantSourceArgs;\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 sourceGrantSelect = new GrantSource(\"sourceGrantSelect\", GrantSourceArgs.builder() \n .databaseName(\"example_database\")\n .privilege(\"SELECT\")\n .roleName(\"example_role\")\n .schemaName(\"example_schema\")\n .sourceName(\"example_source\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Grant SELECT to role example_role to source example_database.example_schema.example_source\n sourceGrantSelect:\n type: materialize:GrantSource\n properties:\n databaseName: example_database\n privilege: SELECT\n roleName: example_role\n schemaName: example_schema\n sourceName: example_source\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\n#Grants can be imported using the concatenation of GRANT, the object type, the id of the object, the id of the role and the privilege\n\n\n\n```sh\n $ pulumi import materialize:index/grantSource:GrantSource example \u003cregion\u003e:GRANT|SOURCE|\u003csource_id\u003e|\u003crole_id\u003e|\u003cprivilege\u003e\n```\n\n The region is the region where the database is located (e.g. aws/us-east-1) ", + "description": "Manages the privileges on a Materailize source for roles.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as materialize from \"@pulumi/materialize\";\n\n// Grant SELECT to role example_role to source example_database.example_schema.example_source\nconst sourceGrantSelect = new materialize.GrantSource(\"sourceGrantSelect\", {\n databaseName: \"example_database\",\n privilege: \"SELECT\",\n roleName: \"example_role\",\n schemaName: \"example_schema\",\n sourceName: \"example_source\",\n});\n```\n```python\nimport pulumi\nimport pulumi_materialize as materialize\n\n# Grant SELECT to role example_role to source example_database.example_schema.example_source\nsource_grant_select = materialize.GrantSource(\"sourceGrantSelect\",\n database_name=\"example_database\",\n privilege=\"SELECT\",\n role_name=\"example_role\",\n schema_name=\"example_schema\",\n source_name=\"example_source\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Materialize = Pulumi.Materialize;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Grant SELECT to role example_role to source example_database.example_schema.example_source\n var sourceGrantSelect = new Materialize.GrantSource(\"sourceGrantSelect\", new()\n {\n DatabaseName = \"example_database\",\n Privilege = \"SELECT\",\n RoleName = \"example_role\",\n SchemaName = \"example_schema\",\n SourceName = \"example_source\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-materialize/sdk/go/materialize\"\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 := materialize.NewGrantSource(ctx, \"sourceGrantSelect\", \u0026materialize.GrantSourceArgs{\n\t\t\tDatabaseName: pulumi.String(\"example_database\"),\n\t\t\tPrivilege: pulumi.String(\"SELECT\"),\n\t\t\tRoleName: pulumi.String(\"example_role\"),\n\t\t\tSchemaName: pulumi.String(\"example_schema\"),\n\t\t\tSourceName: pulumi.String(\"example_source\"),\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.materialize.GrantSource;\nimport com.pulumi.materialize.GrantSourceArgs;\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 sourceGrantSelect = new GrantSource(\"sourceGrantSelect\", GrantSourceArgs.builder() \n .databaseName(\"example_database\")\n .privilege(\"SELECT\")\n .roleName(\"example_role\")\n .schemaName(\"example_schema\")\n .sourceName(\"example_source\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Grant SELECT to role example_role to source example_database.example_schema.example_source\n sourceGrantSelect:\n type: materialize:GrantSource\n properties:\n databaseName: example_database\n privilege: SELECT\n roleName: example_role\n schemaName: example_schema\n sourceName: example_source\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nGrants can be imported using the concatenation of GRANT, the object type, the id of the object, the id of the role and the privilege\n\n```sh\n $ pulumi import materialize:index/grantSource:GrantSource example \u003cregion\u003e:GRANT|SOURCE|\u003csource_id\u003e|\u003crole_id\u003e|\u003cprivilege\u003e\n```\n\n The region is the region where the database is located (e.g. aws/us-east-1) ", "properties": { "databaseName": { "type": "string", @@ -6545,7 +6577,7 @@ } }, "materialize:index/grantSystemPrivilege:GrantSystemPrivilege": { - "description": "Manages the system privileges for roles.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as materialize from \"@pulumi/materialize\";\n\n// Grant role the privilege CREATEDB\nconst roleCreatedb = new materialize.GrantSystemPrivilege(\"roleCreatedb\", {\n privilege: \"CREATEDB\",\n roleName: \"role\",\n});\n```\n```python\nimport pulumi\nimport pulumi_materialize as materialize\n\n# Grant role the privilege CREATEDB\nrole_createdb = materialize.GrantSystemPrivilege(\"roleCreatedb\",\n privilege=\"CREATEDB\",\n role_name=\"role\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Materialize = Pulumi.Materialize;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Grant role the privilege CREATEDB\n var roleCreatedb = new Materialize.GrantSystemPrivilege(\"roleCreatedb\", new()\n {\n Privilege = \"CREATEDB\",\n RoleName = \"role\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-materialize/sdk/go/materialize\"\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 := materialize.NewGrantSystemPrivilege(ctx, \"roleCreatedb\", \u0026materialize.GrantSystemPrivilegeArgs{\n\t\t\tPrivilege: pulumi.String(\"CREATEDB\"),\n\t\t\tRoleName: pulumi.String(\"role\"),\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.materialize.GrantSystemPrivilege;\nimport com.pulumi.materialize.GrantSystemPrivilegeArgs;\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 roleCreatedb = new GrantSystemPrivilege(\"roleCreatedb\", GrantSystemPrivilegeArgs.builder() \n .privilege(\"CREATEDB\")\n .roleName(\"role\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Grant role the privilege CREATEDB\n roleCreatedb:\n type: materialize:GrantSystemPrivilege\n properties:\n privilege: CREATEDB\n roleName: role\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\n#Grants can be imported using the concatenation of GRANT SYSTEM, the id of the role and the privilege\n\n\n\n```sh\n $ pulumi import materialize:index/grantSystemPrivilege:GrantSystemPrivilege example \u003cregion\u003e:GRANT SYSTEM|\u003crole_id\u003e|\u003cprivilege\u003e\n```\n\n The region is the region where the database is located (e.g. aws/us-east-1) ", + "description": "Manages the system privileges for roles.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as materialize from \"@pulumi/materialize\";\n\n// Grant role the privilege CREATEDB\nconst roleCreatedb = new materialize.GrantSystemPrivilege(\"roleCreatedb\", {\n privilege: \"CREATEDB\",\n roleName: \"role\",\n});\n```\n```python\nimport pulumi\nimport pulumi_materialize as materialize\n\n# Grant role the privilege CREATEDB\nrole_createdb = materialize.GrantSystemPrivilege(\"roleCreatedb\",\n privilege=\"CREATEDB\",\n role_name=\"role\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Materialize = Pulumi.Materialize;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Grant role the privilege CREATEDB\n var roleCreatedb = new Materialize.GrantSystemPrivilege(\"roleCreatedb\", new()\n {\n Privilege = \"CREATEDB\",\n RoleName = \"role\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-materialize/sdk/go/materialize\"\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 := materialize.NewGrantSystemPrivilege(ctx, \"roleCreatedb\", \u0026materialize.GrantSystemPrivilegeArgs{\n\t\t\tPrivilege: pulumi.String(\"CREATEDB\"),\n\t\t\tRoleName: pulumi.String(\"role\"),\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.materialize.GrantSystemPrivilege;\nimport com.pulumi.materialize.GrantSystemPrivilegeArgs;\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 roleCreatedb = new GrantSystemPrivilege(\"roleCreatedb\", GrantSystemPrivilegeArgs.builder() \n .privilege(\"CREATEDB\")\n .roleName(\"role\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Grant role the privilege CREATEDB\n roleCreatedb:\n type: materialize:GrantSystemPrivilege\n properties:\n privilege: CREATEDB\n roleName: role\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nGrants can be imported using the concatenation of GRANT SYSTEM, the id of the role and the privilege\n\n```sh\n $ pulumi import materialize:index/grantSystemPrivilege:GrantSystemPrivilege example \u003cregion\u003e:GRANT SYSTEM|\u003crole_id\u003e|\u003cprivilege\u003e\n```\n\n The region is the region where the database is located (e.g. aws/us-east-1) ", "properties": { "privilege": { "type": "string", @@ -6609,7 +6641,7 @@ } }, "materialize:index/grantTable:GrantTable": { - "description": "Manages the privileges on a Materailize table for roles.\n\n*Note*: This resource applies to sources, views and materialized views (https://materialize.com/docs/sql/grant-privilege/#compatibility)\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as materialize from \"@pulumi/materialize\";\n\n// Grant USAGE to role example_role to table example_database.example_schema.example_table\nconst tableGrantUsage = new materialize.GrantTable(\"tableGrantUsage\", {\n databaseName: \"example_database\",\n privilege: \"USAGE\",\n roleName: \"example_role\",\n schemaName: \"example_schema\",\n tableName: \"example_table\",\n});\n```\n```python\nimport pulumi\nimport pulumi_materialize as materialize\n\n# Grant USAGE to role example_role to table example_database.example_schema.example_table\ntable_grant_usage = materialize.GrantTable(\"tableGrantUsage\",\n database_name=\"example_database\",\n privilege=\"USAGE\",\n role_name=\"example_role\",\n schema_name=\"example_schema\",\n table_name=\"example_table\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Materialize = Pulumi.Materialize;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Grant USAGE to role example_role to table example_database.example_schema.example_table\n var tableGrantUsage = new Materialize.GrantTable(\"tableGrantUsage\", new()\n {\n DatabaseName = \"example_database\",\n Privilege = \"USAGE\",\n RoleName = \"example_role\",\n SchemaName = \"example_schema\",\n TableName = \"example_table\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-materialize/sdk/go/materialize\"\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 := materialize.NewGrantTable(ctx, \"tableGrantUsage\", \u0026materialize.GrantTableArgs{\n\t\t\tDatabaseName: pulumi.String(\"example_database\"),\n\t\t\tPrivilege: pulumi.String(\"USAGE\"),\n\t\t\tRoleName: pulumi.String(\"example_role\"),\n\t\t\tSchemaName: pulumi.String(\"example_schema\"),\n\t\t\tTableName: pulumi.String(\"example_table\"),\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.materialize.GrantTable;\nimport com.pulumi.materialize.GrantTableArgs;\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 tableGrantUsage = new GrantTable(\"tableGrantUsage\", GrantTableArgs.builder() \n .databaseName(\"example_database\")\n .privilege(\"USAGE\")\n .roleName(\"example_role\")\n .schemaName(\"example_schema\")\n .tableName(\"example_table\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Grant USAGE to role example_role to table example_database.example_schema.example_table\n tableGrantUsage:\n type: materialize:GrantTable\n properties:\n databaseName: example_database\n privilege: USAGE\n roleName: example_role\n schemaName: example_schema\n tableName: example_table\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\n#Grants can be imported using the concatenation of GRANT, the object type, the id of the object, the id of the role and the privilege\n\n\n\n```sh\n $ pulumi import materialize:index/grantTable:GrantTable example \u003cregion\u003e:GRANT|TABLE|\u003ctable_id\u003e|\u003crole_id\u003e|\u003cprivilege\u003e\n```\n\n The region is the region where the database is located (e.g. aws/us-east-1) ", + "description": "Manages the privileges on a Materailize table for roles.\n\n*Note*: This resource applies to sources, views and materialized views (https://materialize.com/docs/sql/grant-privilege/#compatibility)\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as materialize from \"@pulumi/materialize\";\n\n// Grant USAGE to role example_role to table example_database.example_schema.example_table\nconst tableGrantUsage = new materialize.GrantTable(\"tableGrantUsage\", {\n databaseName: \"example_database\",\n privilege: \"USAGE\",\n roleName: \"example_role\",\n schemaName: \"example_schema\",\n tableName: \"example_table\",\n});\n```\n```python\nimport pulumi\nimport pulumi_materialize as materialize\n\n# Grant USAGE to role example_role to table example_database.example_schema.example_table\ntable_grant_usage = materialize.GrantTable(\"tableGrantUsage\",\n database_name=\"example_database\",\n privilege=\"USAGE\",\n role_name=\"example_role\",\n schema_name=\"example_schema\",\n table_name=\"example_table\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Materialize = Pulumi.Materialize;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Grant USAGE to role example_role to table example_database.example_schema.example_table\n var tableGrantUsage = new Materialize.GrantTable(\"tableGrantUsage\", new()\n {\n DatabaseName = \"example_database\",\n Privilege = \"USAGE\",\n RoleName = \"example_role\",\n SchemaName = \"example_schema\",\n TableName = \"example_table\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-materialize/sdk/go/materialize\"\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 := materialize.NewGrantTable(ctx, \"tableGrantUsage\", \u0026materialize.GrantTableArgs{\n\t\t\tDatabaseName: pulumi.String(\"example_database\"),\n\t\t\tPrivilege: pulumi.String(\"USAGE\"),\n\t\t\tRoleName: pulumi.String(\"example_role\"),\n\t\t\tSchemaName: pulumi.String(\"example_schema\"),\n\t\t\tTableName: pulumi.String(\"example_table\"),\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.materialize.GrantTable;\nimport com.pulumi.materialize.GrantTableArgs;\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 tableGrantUsage = new GrantTable(\"tableGrantUsage\", GrantTableArgs.builder() \n .databaseName(\"example_database\")\n .privilege(\"USAGE\")\n .roleName(\"example_role\")\n .schemaName(\"example_schema\")\n .tableName(\"example_table\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Grant USAGE to role example_role to table example_database.example_schema.example_table\n tableGrantUsage:\n type: materialize:GrantTable\n properties:\n databaseName: example_database\n privilege: USAGE\n roleName: example_role\n schemaName: example_schema\n tableName: example_table\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nGrants can be imported using the concatenation of GRANT, the object type, the id of the object, the id of the role and the privilege\n\n```sh\n $ pulumi import materialize:index/grantTable:GrantTable example \u003cregion\u003e:GRANT|TABLE|\u003ctable_id\u003e|\u003crole_id\u003e|\u003cprivilege\u003e\n```\n\n The region is the region where the database is located (e.g. aws/us-east-1) ", "properties": { "databaseName": { "type": "string", @@ -6721,7 +6753,7 @@ } }, "materialize:index/grantTableDefaultPrivilege:GrantTableDefaultPrivilege": { - "description": "Defines default privileges that will be applied to objects created in the future. It does not affect any existing objects.\n\n*Note*: This resource applies to sources, views and materialized views (https://materialize.com/docs/sql/alter-default-privileges/#compatibility)\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as materialize from \"@pulumi/materialize\";\n\n// Grant role the privilege USAGE for objects in the schema database.schema\nconst example = new materialize.GrantTableDefaultPrivilege(\"example\", {\n databaseName: \"database\",\n granteeName: \"grantee\",\n privilege: \"USAGE\",\n schemaName: \"schema\",\n targetRoleName: \"target_role\",\n});\n```\n```python\nimport pulumi\nimport pulumi_materialize as materialize\n\n# Grant role the privilege USAGE for objects in the schema database.schema\nexample = materialize.GrantTableDefaultPrivilege(\"example\",\n database_name=\"database\",\n grantee_name=\"grantee\",\n privilege=\"USAGE\",\n schema_name=\"schema\",\n target_role_name=\"target_role\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Materialize = Pulumi.Materialize;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Grant role the privilege USAGE for objects in the schema database.schema\n var example = new Materialize.GrantTableDefaultPrivilege(\"example\", new()\n {\n DatabaseName = \"database\",\n GranteeName = \"grantee\",\n Privilege = \"USAGE\",\n SchemaName = \"schema\",\n TargetRoleName = \"target_role\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-materialize/sdk/go/materialize\"\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 := materialize.NewGrantTableDefaultPrivilege(ctx, \"example\", \u0026materialize.GrantTableDefaultPrivilegeArgs{\n\t\t\tDatabaseName: pulumi.String(\"database\"),\n\t\t\tGranteeName: pulumi.String(\"grantee\"),\n\t\t\tPrivilege: pulumi.String(\"USAGE\"),\n\t\t\tSchemaName: pulumi.String(\"schema\"),\n\t\t\tTargetRoleName: pulumi.String(\"target_role\"),\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.materialize.GrantTableDefaultPrivilege;\nimport com.pulumi.materialize.GrantTableDefaultPrivilegeArgs;\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 example = new GrantTableDefaultPrivilege(\"example\", GrantTableDefaultPrivilegeArgs.builder() \n .databaseName(\"database\")\n .granteeName(\"grantee\")\n .privilege(\"USAGE\")\n .schemaName(\"schema\")\n .targetRoleName(\"target_role\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Grant role the privilege USAGE for objects in the schema database.schema\n example:\n type: materialize:GrantTableDefaultPrivilege\n properties:\n databaseName: database\n granteeName: grantee\n privilege: USAGE\n schemaName: schema\n targetRoleName: target_role\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\n#Grants can be imported using the concatenation of GRANT DEFAULT, the grantee id of the role #Optionally you can include the target id, database id and schema id. The privilege is required\n\n\n\n```sh\n $ pulumi import materialize:index/grantTableDefaultPrivilege:GrantTableDefaultPrivilege example \u003cregion\u003e:GRANT DEFAULT|TABLE|\u003cgrantee_id\u003e|\u003ctarget_role_id\u003e|\u003cdatabase_id\u003e|\u003cschema_id\u003e|\u003cprivilege\u003e\n```\n\n The region is the region where the database is located (e.g. aws/us-east-1) ", + "description": "Defines default privileges that will be applied to objects created in the future. It does not affect any existing objects.\n\n*Note*: This resource applies to sources, views and materialized views (https://materialize.com/docs/sql/alter-default-privileges/#compatibility)\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as materialize from \"@pulumi/materialize\";\n\n// Grant role the privilege USAGE for objects in the schema database.schema\nconst example = new materialize.GrantTableDefaultPrivilege(\"example\", {\n databaseName: \"database\",\n granteeName: \"grantee\",\n privilege: \"USAGE\",\n schemaName: \"schema\",\n targetRoleName: \"target_role\",\n});\n```\n```python\nimport pulumi\nimport pulumi_materialize as materialize\n\n# Grant role the privilege USAGE for objects in the schema database.schema\nexample = materialize.GrantTableDefaultPrivilege(\"example\",\n database_name=\"database\",\n grantee_name=\"grantee\",\n privilege=\"USAGE\",\n schema_name=\"schema\",\n target_role_name=\"target_role\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Materialize = Pulumi.Materialize;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Grant role the privilege USAGE for objects in the schema database.schema\n var example = new Materialize.GrantTableDefaultPrivilege(\"example\", new()\n {\n DatabaseName = \"database\",\n GranteeName = \"grantee\",\n Privilege = \"USAGE\",\n SchemaName = \"schema\",\n TargetRoleName = \"target_role\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-materialize/sdk/go/materialize\"\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 := materialize.NewGrantTableDefaultPrivilege(ctx, \"example\", \u0026materialize.GrantTableDefaultPrivilegeArgs{\n\t\t\tDatabaseName: pulumi.String(\"database\"),\n\t\t\tGranteeName: pulumi.String(\"grantee\"),\n\t\t\tPrivilege: pulumi.String(\"USAGE\"),\n\t\t\tSchemaName: pulumi.String(\"schema\"),\n\t\t\tTargetRoleName: pulumi.String(\"target_role\"),\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.materialize.GrantTableDefaultPrivilege;\nimport com.pulumi.materialize.GrantTableDefaultPrivilegeArgs;\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 example = new GrantTableDefaultPrivilege(\"example\", GrantTableDefaultPrivilegeArgs.builder() \n .databaseName(\"database\")\n .granteeName(\"grantee\")\n .privilege(\"USAGE\")\n .schemaName(\"schema\")\n .targetRoleName(\"target_role\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Grant role the privilege USAGE for objects in the schema database.schema\n example:\n type: materialize:GrantTableDefaultPrivilege\n properties:\n databaseName: database\n granteeName: grantee\n privilege: USAGE\n schemaName: schema\n targetRoleName: target_role\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nGrants can be imported using the concatenation of GRANT DEFAULT and the grantee id of the role. Optionally, you can include the target id, database id and schema id. The privilege is required.\n\n```sh\n $ pulumi import materialize:index/grantTableDefaultPrivilege:GrantTableDefaultPrivilege example \u003cregion\u003e:GRANT DEFAULT|TABLE|\u003cgrantee_id\u003e|\u003ctarget_role_id\u003e|\u003cdatabase_id\u003e|\u003cschema_id\u003e|\u003cprivilege\u003e\n```\n\n The region is the region where the database is located (e.g. aws/us-east-1) ", "properties": { "databaseName": { "type": "string", @@ -6829,7 +6861,7 @@ } }, "materialize:index/grantType:GrantType": { - "description": "Manages the privileges on a Materailize type for roles.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as materialize from \"@pulumi/materialize\";\n\n// Grant USAGE to role example_role to type example_database.example_schema.example_type\nconst typeGrantUsage = new materialize.GrantType(\"typeGrantUsage\", {\n databaseName: \"example_database\",\n privilege: \"USAGE\",\n roleName: \"example_role\",\n schemaName: \"example_schema\",\n typeName: \"example_type\",\n});\n```\n```python\nimport pulumi\nimport pulumi_materialize as materialize\n\n# Grant USAGE to role example_role to type example_database.example_schema.example_type\ntype_grant_usage = materialize.GrantType(\"typeGrantUsage\",\n database_name=\"example_database\",\n privilege=\"USAGE\",\n role_name=\"example_role\",\n schema_name=\"example_schema\",\n type_name=\"example_type\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Materialize = Pulumi.Materialize;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Grant USAGE to role example_role to type example_database.example_schema.example_type\n var typeGrantUsage = new Materialize.GrantType(\"typeGrantUsage\", new()\n {\n DatabaseName = \"example_database\",\n Privilege = \"USAGE\",\n RoleName = \"example_role\",\n SchemaName = \"example_schema\",\n TypeName = \"example_type\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-materialize/sdk/go/materialize\"\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 := materialize.NewGrantType(ctx, \"typeGrantUsage\", \u0026materialize.GrantTypeArgs{\n\t\t\tDatabaseName: pulumi.String(\"example_database\"),\n\t\t\tPrivilege: pulumi.String(\"USAGE\"),\n\t\t\tRoleName: pulumi.String(\"example_role\"),\n\t\t\tSchemaName: pulumi.String(\"example_schema\"),\n\t\t\tTypeName: pulumi.String(\"example_type\"),\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.materialize.GrantType;\nimport com.pulumi.materialize.GrantTypeArgs;\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 typeGrantUsage = new GrantType(\"typeGrantUsage\", GrantTypeArgs.builder() \n .databaseName(\"example_database\")\n .privilege(\"USAGE\")\n .roleName(\"example_role\")\n .schemaName(\"example_schema\")\n .typeName(\"example_type\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Grant USAGE to role example_role to type example_database.example_schema.example_type\n typeGrantUsage:\n type: materialize:GrantType\n properties:\n databaseName: example_database\n privilege: USAGE\n roleName: example_role\n schemaName: example_schema\n typeName: example_type\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\n#Grants can be imported using the concatenation of GRANT, the object type, the id of the object, the id of the role and the privilege\n\n\n\n```sh\n $ pulumi import materialize:index/grantType:GrantType example \u003cregion\u003e:GRANT|TYPE|\u003ctype_id\u003e|\u003crole_id\u003e|\u003cprivilege\u003e\n```\n\n The region is the region where the database is located (e.g. aws/us-east-1) ", + "description": "Manages the privileges on a Materailize type for roles.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as materialize from \"@pulumi/materialize\";\n\n// Grant USAGE to role example_role to type example_database.example_schema.example_type\nconst typeGrantUsage = new materialize.GrantType(\"typeGrantUsage\", {\n databaseName: \"example_database\",\n privilege: \"USAGE\",\n roleName: \"example_role\",\n schemaName: \"example_schema\",\n typeName: \"example_type\",\n});\n```\n```python\nimport pulumi\nimport pulumi_materialize as materialize\n\n# Grant USAGE to role example_role to type example_database.example_schema.example_type\ntype_grant_usage = materialize.GrantType(\"typeGrantUsage\",\n database_name=\"example_database\",\n privilege=\"USAGE\",\n role_name=\"example_role\",\n schema_name=\"example_schema\",\n type_name=\"example_type\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Materialize = Pulumi.Materialize;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Grant USAGE to role example_role to type example_database.example_schema.example_type\n var typeGrantUsage = new Materialize.GrantType(\"typeGrantUsage\", new()\n {\n DatabaseName = \"example_database\",\n Privilege = \"USAGE\",\n RoleName = \"example_role\",\n SchemaName = \"example_schema\",\n TypeName = \"example_type\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-materialize/sdk/go/materialize\"\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 := materialize.NewGrantType(ctx, \"typeGrantUsage\", \u0026materialize.GrantTypeArgs{\n\t\t\tDatabaseName: pulumi.String(\"example_database\"),\n\t\t\tPrivilege: pulumi.String(\"USAGE\"),\n\t\t\tRoleName: pulumi.String(\"example_role\"),\n\t\t\tSchemaName: pulumi.String(\"example_schema\"),\n\t\t\tTypeName: pulumi.String(\"example_type\"),\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.materialize.GrantType;\nimport com.pulumi.materialize.GrantTypeArgs;\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 typeGrantUsage = new GrantType(\"typeGrantUsage\", GrantTypeArgs.builder() \n .databaseName(\"example_database\")\n .privilege(\"USAGE\")\n .roleName(\"example_role\")\n .schemaName(\"example_schema\")\n .typeName(\"example_type\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Grant USAGE to role example_role to type example_database.example_schema.example_type\n typeGrantUsage:\n type: materialize:GrantType\n properties:\n databaseName: example_database\n privilege: USAGE\n roleName: example_role\n schemaName: example_schema\n typeName: example_type\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nGrants can be imported using the concatenation of GRANT, the object type, the id of the object, the id of the role and the privilege\n\n```sh\n $ pulumi import materialize:index/grantType:GrantType example \u003cregion\u003e:GRANT|TYPE|\u003ctype_id\u003e|\u003crole_id\u003e|\u003cprivilege\u003e\n```\n\n The region is the region where the database is located (e.g. aws/us-east-1) ", "properties": { "databaseName": { "type": "string", @@ -6941,7 +6973,7 @@ } }, "materialize:index/grantTypeDefaultPrivilege:GrantTypeDefaultPrivilege": { - "description": "Defines default privileges that will be applied to objects created in the future. It does not affect any existing objects.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as materialize from \"@pulumi/materialize\";\n\n// Grant role the privilege USAGE for objects in the schema database.schema\nconst example = new materialize.GrantTypeDefaultPrivilege(\"example\", {\n databaseName: \"database\",\n granteeName: \"grantee\",\n privilege: \"USAGE\",\n schemaName: \"schema\",\n targetRoleName: \"target_role\",\n});\n```\n```python\nimport pulumi\nimport pulumi_materialize as materialize\n\n# Grant role the privilege USAGE for objects in the schema database.schema\nexample = materialize.GrantTypeDefaultPrivilege(\"example\",\n database_name=\"database\",\n grantee_name=\"grantee\",\n privilege=\"USAGE\",\n schema_name=\"schema\",\n target_role_name=\"target_role\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Materialize = Pulumi.Materialize;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Grant role the privilege USAGE for objects in the schema database.schema\n var example = new Materialize.GrantTypeDefaultPrivilege(\"example\", new()\n {\n DatabaseName = \"database\",\n GranteeName = \"grantee\",\n Privilege = \"USAGE\",\n SchemaName = \"schema\",\n TargetRoleName = \"target_role\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-materialize/sdk/go/materialize\"\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 := materialize.NewGrantTypeDefaultPrivilege(ctx, \"example\", \u0026materialize.GrantTypeDefaultPrivilegeArgs{\n\t\t\tDatabaseName: pulumi.String(\"database\"),\n\t\t\tGranteeName: pulumi.String(\"grantee\"),\n\t\t\tPrivilege: pulumi.String(\"USAGE\"),\n\t\t\tSchemaName: pulumi.String(\"schema\"),\n\t\t\tTargetRoleName: pulumi.String(\"target_role\"),\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.materialize.GrantTypeDefaultPrivilege;\nimport com.pulumi.materialize.GrantTypeDefaultPrivilegeArgs;\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 example = new GrantTypeDefaultPrivilege(\"example\", GrantTypeDefaultPrivilegeArgs.builder() \n .databaseName(\"database\")\n .granteeName(\"grantee\")\n .privilege(\"USAGE\")\n .schemaName(\"schema\")\n .targetRoleName(\"target_role\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Grant role the privilege USAGE for objects in the schema database.schema\n example:\n type: materialize:GrantTypeDefaultPrivilege\n properties:\n databaseName: database\n granteeName: grantee\n privilege: USAGE\n schemaName: schema\n targetRoleName: target_role\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\n#Grants can be imported using the concatenation of GRANT DEFAULT, the grantee id of the role #Optionally you can include the target id, database id and schema id. The privilege is required\n\n\n\n```sh\n $ pulumi import materialize:index/grantTypeDefaultPrivilege:GrantTypeDefaultPrivilege example \u003cregion\u003e:GRANT DEFAULT|TYPE|\u003cgrantee_id\u003e|\u003ctarget_role_id\u003e|\u003cdatabase_id\u003e|\u003cschema_id\u003e|\u003cprivilege\u003e\n```\n\n The region is the region where the database is located (e.g. aws/us-east-1) ", + "description": "Defines default privileges that will be applied to objects created in the future. It does not affect any existing objects.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as materialize from \"@pulumi/materialize\";\n\n// Grant role the privilege USAGE for objects in the schema database.schema\nconst example = new materialize.GrantTypeDefaultPrivilege(\"example\", {\n databaseName: \"database\",\n granteeName: \"grantee\",\n privilege: \"USAGE\",\n schemaName: \"schema\",\n targetRoleName: \"target_role\",\n});\n```\n```python\nimport pulumi\nimport pulumi_materialize as materialize\n\n# Grant role the privilege USAGE for objects in the schema database.schema\nexample = materialize.GrantTypeDefaultPrivilege(\"example\",\n database_name=\"database\",\n grantee_name=\"grantee\",\n privilege=\"USAGE\",\n schema_name=\"schema\",\n target_role_name=\"target_role\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Materialize = Pulumi.Materialize;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Grant role the privilege USAGE for objects in the schema database.schema\n var example = new Materialize.GrantTypeDefaultPrivilege(\"example\", new()\n {\n DatabaseName = \"database\",\n GranteeName = \"grantee\",\n Privilege = \"USAGE\",\n SchemaName = \"schema\",\n TargetRoleName = \"target_role\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-materialize/sdk/go/materialize\"\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 := materialize.NewGrantTypeDefaultPrivilege(ctx, \"example\", \u0026materialize.GrantTypeDefaultPrivilegeArgs{\n\t\t\tDatabaseName: pulumi.String(\"database\"),\n\t\t\tGranteeName: pulumi.String(\"grantee\"),\n\t\t\tPrivilege: pulumi.String(\"USAGE\"),\n\t\t\tSchemaName: pulumi.String(\"schema\"),\n\t\t\tTargetRoleName: pulumi.String(\"target_role\"),\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.materialize.GrantTypeDefaultPrivilege;\nimport com.pulumi.materialize.GrantTypeDefaultPrivilegeArgs;\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 example = new GrantTypeDefaultPrivilege(\"example\", GrantTypeDefaultPrivilegeArgs.builder() \n .databaseName(\"database\")\n .granteeName(\"grantee\")\n .privilege(\"USAGE\")\n .schemaName(\"schema\")\n .targetRoleName(\"target_role\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Grant role the privilege USAGE for objects in the schema database.schema\n example:\n type: materialize:GrantTypeDefaultPrivilege\n properties:\n databaseName: database\n granteeName: grantee\n privilege: USAGE\n schemaName: schema\n targetRoleName: target_role\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nGrants can be imported using the concatenation of GRANT DEFAULT and the grantee id of the role. Optionally, you can include the target id, database id and schema id. The privilege is required.\n\n```sh\n $ pulumi import materialize:index/grantTypeDefaultPrivilege:GrantTypeDefaultPrivilege example \u003cregion\u003e:GRANT DEFAULT|TYPE|\u003cgrantee_id\u003e|\u003ctarget_role_id\u003e|\u003cdatabase_id\u003e|\u003cschema_id\u003e|\u003cprivilege\u003e\n```\n\n The region is the region where the database is located (e.g. aws/us-east-1) ", "properties": { "databaseName": { "type": "string", @@ -7049,7 +7081,7 @@ } }, "materialize:index/grantView:GrantView": { - "description": "Manages the privileges on a Materailize view for roles.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as materialize from \"@pulumi/materialize\";\n\n// Grant SELECT to role example_role to view example_database.example_schema.example_view\nconst viewGrantSelect = new materialize.GrantView(\"viewGrantSelect\", {\n databaseName: \"example_database\",\n privilege: \"SELECT\",\n roleName: \"example_role\",\n schemaName: \"example_schema\",\n viewName: \"example_view\",\n});\n```\n```python\nimport pulumi\nimport pulumi_materialize as materialize\n\n# Grant SELECT to role example_role to view example_database.example_schema.example_view\nview_grant_select = materialize.GrantView(\"viewGrantSelect\",\n database_name=\"example_database\",\n privilege=\"SELECT\",\n role_name=\"example_role\",\n schema_name=\"example_schema\",\n view_name=\"example_view\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Materialize = Pulumi.Materialize;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Grant SELECT to role example_role to view example_database.example_schema.example_view\n var viewGrantSelect = new Materialize.GrantView(\"viewGrantSelect\", new()\n {\n DatabaseName = \"example_database\",\n Privilege = \"SELECT\",\n RoleName = \"example_role\",\n SchemaName = \"example_schema\",\n ViewName = \"example_view\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-materialize/sdk/go/materialize\"\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 := materialize.NewGrantView(ctx, \"viewGrantSelect\", \u0026materialize.GrantViewArgs{\n\t\t\tDatabaseName: pulumi.String(\"example_database\"),\n\t\t\tPrivilege: pulumi.String(\"SELECT\"),\n\t\t\tRoleName: pulumi.String(\"example_role\"),\n\t\t\tSchemaName: pulumi.String(\"example_schema\"),\n\t\t\tViewName: pulumi.String(\"example_view\"),\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.materialize.GrantView;\nimport com.pulumi.materialize.GrantViewArgs;\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 viewGrantSelect = new GrantView(\"viewGrantSelect\", GrantViewArgs.builder() \n .databaseName(\"example_database\")\n .privilege(\"SELECT\")\n .roleName(\"example_role\")\n .schemaName(\"example_schema\")\n .viewName(\"example_view\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Grant SELECT to role example_role to view example_database.example_schema.example_view\n viewGrantSelect:\n type: materialize:GrantView\n properties:\n databaseName: example_database\n privilege: SELECT\n roleName: example_role\n schemaName: example_schema\n viewName: example_view\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\n#Grants can be imported using the concatenation of GRANT, the object type, the id of the object, the id of the role and the privilege\n\n\n\n```sh\n $ pulumi import materialize:index/grantView:GrantView example GRANT|VIEW|\u003cview_id\u003e|\u003crole_id\u003e|\u003cprivilege\u003e\n```\n\n ", + "description": "Manages the privileges on a Materailize view for roles.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as materialize from \"@pulumi/materialize\";\n\n// Grant SELECT to role example_role to view example_database.example_schema.example_view\nconst viewGrantSelect = new materialize.GrantView(\"viewGrantSelect\", {\n databaseName: \"example_database\",\n privilege: \"SELECT\",\n roleName: \"example_role\",\n schemaName: \"example_schema\",\n viewName: \"example_view\",\n});\n```\n```python\nimport pulumi\nimport pulumi_materialize as materialize\n\n# Grant SELECT to role example_role to view example_database.example_schema.example_view\nview_grant_select = materialize.GrantView(\"viewGrantSelect\",\n database_name=\"example_database\",\n privilege=\"SELECT\",\n role_name=\"example_role\",\n schema_name=\"example_schema\",\n view_name=\"example_view\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Materialize = Pulumi.Materialize;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Grant SELECT to role example_role to view example_database.example_schema.example_view\n var viewGrantSelect = new Materialize.GrantView(\"viewGrantSelect\", new()\n {\n DatabaseName = \"example_database\",\n Privilege = \"SELECT\",\n RoleName = \"example_role\",\n SchemaName = \"example_schema\",\n ViewName = \"example_view\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-materialize/sdk/go/materialize\"\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 := materialize.NewGrantView(ctx, \"viewGrantSelect\", \u0026materialize.GrantViewArgs{\n\t\t\tDatabaseName: pulumi.String(\"example_database\"),\n\t\t\tPrivilege: pulumi.String(\"SELECT\"),\n\t\t\tRoleName: pulumi.String(\"example_role\"),\n\t\t\tSchemaName: pulumi.String(\"example_schema\"),\n\t\t\tViewName: pulumi.String(\"example_view\"),\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.materialize.GrantView;\nimport com.pulumi.materialize.GrantViewArgs;\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 viewGrantSelect = new GrantView(\"viewGrantSelect\", GrantViewArgs.builder() \n .databaseName(\"example_database\")\n .privilege(\"SELECT\")\n .roleName(\"example_role\")\n .schemaName(\"example_schema\")\n .viewName(\"example_view\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Grant SELECT to role example_role to view example_database.example_schema.example_view\n viewGrantSelect:\n type: materialize:GrantView\n properties:\n databaseName: example_database\n privilege: SELECT\n roleName: example_role\n schemaName: example_schema\n viewName: example_view\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nGrants can be imported using the concatenation ofGRANT, the object type, the id of the object, the id of the role and the privilege\n\n```sh\n $ pulumi import materialize:index/grantView:GrantView example \u003cregion\u003e:GRANT|VIEW|\u003cview_id\u003e|\u003crole_id\u003e|\u003cprivilege\u003e\n```\n\n The region is the region where the database is located (e.g. aws/us-east-1) ", "properties": { "databaseName": { "type": "string", @@ -7652,7 +7684,7 @@ } }, "materialize:index/sCIM2Configuration:SCIM2Configuration": { - "description": "The SCIM 2.0 configurations resource allows you to create, read, and delete the SCIM 2.0 configurations.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as materialize from \"@pulumi/materialize\";\n\n// Create a SCIM config\nconst exampleScimConfig = new materialize.SCIM2Configuration(\"exampleScimConfig\", {\n connectionName: \"example_connection\",\n source: \"okta\",\n});\n```\n```python\nimport pulumi\nimport pulumi_materialize as materialize\n\n# Create a SCIM config\nexample_scim_config = materialize.SCIM2Configuration(\"exampleScimConfig\",\n connection_name=\"example_connection\",\n source=\"okta\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Materialize = Pulumi.Materialize;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Create a SCIM config\n var exampleScimConfig = new Materialize.SCIM2Configuration(\"exampleScimConfig\", new()\n {\n ConnectionName = \"example_connection\",\n Source = \"okta\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-materialize/sdk/go/materialize\"\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 := materialize.NewSCIM2Configuration(ctx, \"exampleScimConfig\", \u0026materialize.SCIM2ConfigurationArgs{\n\t\t\tConnectionName: pulumi.String(\"example_connection\"),\n\t\t\tSource: pulumi.String(\"okta\"),\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.materialize.SCIM2Configuration;\nimport com.pulumi.materialize.SCIM2ConfigurationArgs;\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 exampleScimConfig = new SCIM2Configuration(\"exampleScimConfig\", SCIM2ConfigurationArgs.builder() \n .connectionName(\"example_connection\")\n .source(\"okta\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Create a SCIM config\n exampleScimConfig:\n type: materialize:SCIM2Configuration\n properties:\n connectionName: example_connection\n source: okta\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nSCIM Configuration ID can be found using the `materialize_scim_configs` data source\n\n```sh\n $ pulumi import materialize:index/sCIM2Configuration:SCIM2Configuration example_scim_config \u003cscim_config_id\u003e\n```\n\n ", + "description": "The SCIM 2.0 configurations resource allows you to create, read, and delete the SCIM 2.0 configurations.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as materialize from \"@pulumi/materialize\";\n\n// Create a SCIM config\nconst exampleScimConfig = new materialize.SCIM2Configuration(\"exampleScimConfig\", {\n connectionName: \"example_connection\",\n source: \"okta\",\n});\n```\n```python\nimport pulumi\nimport pulumi_materialize as materialize\n\n# Create a SCIM config\nexample_scim_config = materialize.SCIM2Configuration(\"exampleScimConfig\",\n connection_name=\"example_connection\",\n source=\"okta\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Materialize = Pulumi.Materialize;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Create a SCIM config\n var exampleScimConfig = new Materialize.SCIM2Configuration(\"exampleScimConfig\", new()\n {\n ConnectionName = \"example_connection\",\n Source = \"okta\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-materialize/sdk/go/materialize\"\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 := materialize.NewSCIM2Configuration(ctx, \"exampleScimConfig\", \u0026materialize.SCIM2ConfigurationArgs{\n\t\t\tConnectionName: pulumi.String(\"example_connection\"),\n\t\t\tSource: pulumi.String(\"okta\"),\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.materialize.SCIM2Configuration;\nimport com.pulumi.materialize.SCIM2ConfigurationArgs;\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 exampleScimConfig = new SCIM2Configuration(\"exampleScimConfig\", SCIM2ConfigurationArgs.builder() \n .connectionName(\"example_connection\")\n .source(\"okta\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Create a SCIM config\n exampleScimConfig:\n type: materialize:SCIM2Configuration\n properties:\n connectionName: example_connection\n source: okta\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nRetrieve the SCIM Configuration ID using the materialize_scim_configs data source Example of using the data source in your configuration# data \"materialize_scim_configs\" \"all\" {} # output \"scim_config_output\" {\n\n\n\n value = data.materialize_scim_configs.all } # The ID can be retrieved using the following commandterraform output scim_config_output Import command\n\n```sh\n $ pulumi import materialize:index/sCIM2Configuration:SCIM2Configuration example_scim_config \u003cscim_config_id\u003e\n```\n\n NoteReplace \u003cscim_config_id\u003e with the actual ID of your SCIM configuration ", "properties": { "connectionName": { "type": "string", @@ -7748,7 +7780,7 @@ } }, "materialize:index/sCIM2Group:SCIM2Group": { - "description": "The SCIM group resource allows you to manage user groups in Frontegg.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as materialize from \"@pulumi/materialize\";\n\n// Create a SCIM group\nconst exampleScimGroup = new materialize.SCIM2Group(\"exampleScimGroup\", {description: \"Example SCIM group\"});\n```\n```python\nimport pulumi\nimport pulumi_materialize as materialize\n\n# Create a SCIM group\nexample_scim_group = materialize.SCIM2Group(\"exampleScimGroup\", description=\"Example SCIM group\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Materialize = Pulumi.Materialize;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Create a SCIM group\n var exampleScimGroup = new Materialize.SCIM2Group(\"exampleScimGroup\", new()\n {\n Description = \"Example SCIM group\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-materialize/sdk/go/materialize\"\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 := materialize.NewSCIM2Group(ctx, \"exampleScimGroup\", \u0026materialize.SCIM2GroupArgs{\n\t\t\tDescription: pulumi.String(\"Example SCIM group\"),\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.materialize.SCIM2Group;\nimport com.pulumi.materialize.SCIM2GroupArgs;\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 exampleScimGroup = new SCIM2Group(\"exampleScimGroup\", SCIM2GroupArgs.builder() \n .description(\"Example SCIM group\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Create a SCIM group\n exampleScimGroup:\n type: materialize:SCIM2Group\n properties:\n description: Example SCIM group\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nSCIM Group ID can be found using the `materialize_scim_groups` data source\n\n```sh\n $ pulumi import materialize:index/sCIM2Group:SCIM2Group example_scim_group \u003cscim_group_id\u003e\n```\n\n ", + "description": "The SCIM group resource allows you to manage user groups in Frontegg.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as materialize from \"@pulumi/materialize\";\n\n// Create a SCIM group\nconst exampleScimGroup = new materialize.SCIM2Group(\"exampleScimGroup\", {description: \"Example SCIM group\"});\n```\n```python\nimport pulumi\nimport pulumi_materialize as materialize\n\n# Create a SCIM group\nexample_scim_group = materialize.SCIM2Group(\"exampleScimGroup\", description=\"Example SCIM group\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Materialize = Pulumi.Materialize;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Create a SCIM group\n var exampleScimGroup = new Materialize.SCIM2Group(\"exampleScimGroup\", new()\n {\n Description = \"Example SCIM group\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-materialize/sdk/go/materialize\"\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 := materialize.NewSCIM2Group(ctx, \"exampleScimGroup\", \u0026materialize.SCIM2GroupArgs{\n\t\t\tDescription: pulumi.String(\"Example SCIM group\"),\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.materialize.SCIM2Group;\nimport com.pulumi.materialize.SCIM2GroupArgs;\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 exampleScimGroup = new SCIM2Group(\"exampleScimGroup\", SCIM2GroupArgs.builder() \n .description(\"Example SCIM group\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Create a SCIM group\n exampleScimGroup:\n type: materialize:SCIM2Group\n properties:\n description: Example SCIM group\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nRetrieve the SCIM Group ID using the materialize_scim_groups data source Example of using the data source in your configuration# data \"materialize_scim_groups\" \"all\" {} # output \"scim_group_output\" {\n\n\n\n value = data.materialize_scim_groups.all } # The ID can be retrieved using the following commandterraform output scim_group_output Import command\n\n```sh\n $ pulumi import materialize:index/sCIM2Group:SCIM2Group example_scim_group \u003cscim_group_id\u003e\n```\n\n NoteReplace \u003cscim_group_id\u003e with the SCIM Group ID retrieved using the materialize_scim_groups data source. ", "properties": { "description": { "type": "string", @@ -7788,7 +7820,7 @@ } }, "materialize:index/sCIM2GroupRoles:SCIM2GroupRoles": { - "description": "The materialize_scim_group_role resource allows managing roles within a SCIM group in Frontegg.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as materialize from \"@pulumi/materialize\";\n\n// Create a SCIM group role\nconst scimGroupExample = new materialize.SCIM2Group(\"scimGroupExample\", {description: \"scim_group_example\"});\nconst scimGroupRolesExample = new materialize.SCIM2GroupRoles(\"scimGroupRolesExample\", {\n groupId: scimGroupExample.id,\n roles: [\n \"Admin\",\n \"Member\",\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_materialize as materialize\n\n# Create a SCIM group role\nscim_group_example = materialize.SCIM2Group(\"scimGroupExample\", description=\"scim_group_example\")\nscim_group_roles_example = materialize.SCIM2GroupRoles(\"scimGroupRolesExample\",\n group_id=scim_group_example.id,\n roles=[\n \"Admin\",\n \"Member\",\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Materialize = Pulumi.Materialize;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Create a SCIM group role\n var scimGroupExample = new Materialize.SCIM2Group(\"scimGroupExample\", new()\n {\n Description = \"scim_group_example\",\n });\n\n var scimGroupRolesExample = new Materialize.SCIM2GroupRoles(\"scimGroupRolesExample\", new()\n {\n GroupId = scimGroupExample.Id,\n Roles = new[]\n {\n \"Admin\",\n \"Member\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-materialize/sdk/go/materialize\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tscimGroupExample, err := materialize.NewSCIM2Group(ctx, \"scimGroupExample\", \u0026materialize.SCIM2GroupArgs{\n\t\t\tDescription: pulumi.String(\"scim_group_example\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = materialize.NewSCIM2GroupRoles(ctx, \"scimGroupRolesExample\", \u0026materialize.SCIM2GroupRolesArgs{\n\t\t\tGroupId: scimGroupExample.ID(),\n\t\t\tRoles: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"Admin\"),\n\t\t\t\tpulumi.String(\"Member\"),\n\t\t\t},\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.materialize.SCIM2Group;\nimport com.pulumi.materialize.SCIM2GroupArgs;\nimport com.pulumi.materialize.SCIM2GroupRoles;\nimport com.pulumi.materialize.SCIM2GroupRolesArgs;\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 scimGroupExample = new SCIM2Group(\"scimGroupExample\", SCIM2GroupArgs.builder() \n .description(\"scim_group_example\")\n .build());\n\n var scimGroupRolesExample = new SCIM2GroupRoles(\"scimGroupRolesExample\", SCIM2GroupRolesArgs.builder() \n .groupId(scimGroupExample.id())\n .roles( \n \"Admin\",\n \"Member\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Create a SCIM group role\n scimGroupExample:\n type: materialize:SCIM2Group\n properties:\n description: scim_group_example\n scimGroupRolesExample:\n type: materialize:SCIM2GroupRoles\n properties:\n groupId: ${scimGroupExample.id}\n roles:\n - Admin\n - Member\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nSCIM Group ID can be found using the `materialize_scim_groups` data source\n\n```sh\n $ pulumi import materialize:index/sCIM2GroupRoles:SCIM2GroupRoles example_scim_group_roles \u003cscim_group_id\u003e\n```\n\n ", + "description": "The materialize_scim_group_role resource allows managing roles within a SCIM group in Frontegg.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as materialize from \"@pulumi/materialize\";\n\n// Create a SCIM group role\nconst scimGroupExample = new materialize.SCIM2Group(\"scimGroupExample\", {description: \"scim_group_example\"});\nconst scimGroupRolesExample = new materialize.SCIM2GroupRoles(\"scimGroupRolesExample\", {\n groupId: scimGroupExample.id,\n roles: [\n \"Admin\",\n \"Member\",\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_materialize as materialize\n\n# Create a SCIM group role\nscim_group_example = materialize.SCIM2Group(\"scimGroupExample\", description=\"scim_group_example\")\nscim_group_roles_example = materialize.SCIM2GroupRoles(\"scimGroupRolesExample\",\n group_id=scim_group_example.id,\n roles=[\n \"Admin\",\n \"Member\",\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Materialize = Pulumi.Materialize;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Create a SCIM group role\n var scimGroupExample = new Materialize.SCIM2Group(\"scimGroupExample\", new()\n {\n Description = \"scim_group_example\",\n });\n\n var scimGroupRolesExample = new Materialize.SCIM2GroupRoles(\"scimGroupRolesExample\", new()\n {\n GroupId = scimGroupExample.Id,\n Roles = new[]\n {\n \"Admin\",\n \"Member\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-materialize/sdk/go/materialize\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tscimGroupExample, err := materialize.NewSCIM2Group(ctx, \"scimGroupExample\", \u0026materialize.SCIM2GroupArgs{\n\t\t\tDescription: pulumi.String(\"scim_group_example\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = materialize.NewSCIM2GroupRoles(ctx, \"scimGroupRolesExample\", \u0026materialize.SCIM2GroupRolesArgs{\n\t\t\tGroupId: scimGroupExample.ID(),\n\t\t\tRoles: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"Admin\"),\n\t\t\t\tpulumi.String(\"Member\"),\n\t\t\t},\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.materialize.SCIM2Group;\nimport com.pulumi.materialize.SCIM2GroupArgs;\nimport com.pulumi.materialize.SCIM2GroupRoles;\nimport com.pulumi.materialize.SCIM2GroupRolesArgs;\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 scimGroupExample = new SCIM2Group(\"scimGroupExample\", SCIM2GroupArgs.builder() \n .description(\"scim_group_example\")\n .build());\n\n var scimGroupRolesExample = new SCIM2GroupRoles(\"scimGroupRolesExample\", SCIM2GroupRolesArgs.builder() \n .groupId(scimGroupExample.id())\n .roles( \n \"Admin\",\n \"Member\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Create a SCIM group role\n scimGroupExample:\n type: materialize:SCIM2Group\n properties:\n description: scim_group_example\n scimGroupRolesExample:\n type: materialize:SCIM2GroupRoles\n properties:\n groupId: ${scimGroupExample.id}\n roles:\n - Admin\n - Member\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nRetrieve the SCIM Group ID using the materialize_scim_groups data source Example of using the data source in your configuration# data \"materialize_scim_groups\" \"all\" {} # output \"scim_group_output\" {\n\n\n\n value = data.materialize_scim_groups.all } # The ID can be retrieved using the following commandterraform output scim_group_output Import command\n\n```sh\n $ pulumi import materialize:index/sCIM2GroupRoles:SCIM2GroupRoles example_scim_group_roles \u003cscim_group_id\u003e\n```\n\n NoteReplace \u003cscim_group_id\u003e with the SCIM Group ID retrieved using the materialize_scim_groups data source. ", "properties": { "groupId": { "type": "string", @@ -7840,7 +7872,7 @@ } }, "materialize:index/sCIM2GroupUsers:SCIM2GroupUsers": { - "description": "The materialize.SCIM2GroupUsers resource allows managing users within a SCIM group in Frontegg.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as materialize from \"@pulumi/materialize\";\n\n// Create a SCIM group users resource\nconst exampleUsers1 = new materialize.User(\"exampleUsers1\", {\n email: \"example-user1@example.com\",\n roles: [\"Member\"],\n});\nconst exampleUsers2 = new materialize.User(\"exampleUsers2\", {\n email: \"example-user2@example.com\",\n roles: [\"Member\"],\n});\nconst exampleScimGroupUsers = new materialize.SCIM2GroupUsers(\"exampleScimGroupUsers\", {\n groupId: materialize_scim_group.example_scim_group.id,\n users: [\n exampleUsers1.id,\n exampleUsers2.id,\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_materialize as materialize\n\n# Create a SCIM group users resource\nexample_users1 = materialize.User(\"exampleUsers1\",\n email=\"example-user1@example.com\",\n roles=[\"Member\"])\nexample_users2 = materialize.User(\"exampleUsers2\",\n email=\"example-user2@example.com\",\n roles=[\"Member\"])\nexample_scim_group_users = materialize.SCIM2GroupUsers(\"exampleScimGroupUsers\",\n group_id=materialize_scim_group[\"example_scim_group\"][\"id\"],\n users=[\n example_users1.id,\n example_users2.id,\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Materialize = Pulumi.Materialize;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Create a SCIM group users resource\n var exampleUsers1 = new Materialize.User(\"exampleUsers1\", new()\n {\n Email = \"example-user1@example.com\",\n Roles = new[]\n {\n \"Member\",\n },\n });\n\n var exampleUsers2 = new Materialize.User(\"exampleUsers2\", new()\n {\n Email = \"example-user2@example.com\",\n Roles = new[]\n {\n \"Member\",\n },\n });\n\n var exampleScimGroupUsers = new Materialize.SCIM2GroupUsers(\"exampleScimGroupUsers\", new()\n {\n GroupId = materialize_scim_group.Example_scim_group.Id,\n Users = new[]\n {\n exampleUsers1.Id,\n exampleUsers2.Id,\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-materialize/sdk/go/materialize\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texampleUsers1, err := materialize.NewUser(ctx, \"exampleUsers1\", \u0026materialize.UserArgs{\n\t\t\tEmail: pulumi.String(\"example-user1@example.com\"),\n\t\t\tRoles: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"Member\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texampleUsers2, err := materialize.NewUser(ctx, \"exampleUsers2\", \u0026materialize.UserArgs{\n\t\t\tEmail: pulumi.String(\"example-user2@example.com\"),\n\t\t\tRoles: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"Member\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = materialize.NewSCIM2GroupUsers(ctx, \"exampleScimGroupUsers\", \u0026materialize.SCIM2GroupUsersArgs{\n\t\t\tGroupId: pulumi.Any(materialize_scim_group.Example_scim_group.Id),\n\t\t\tUsers: pulumi.StringArray{\n\t\t\t\texampleUsers1.ID(),\n\t\t\t\texampleUsers2.ID(),\n\t\t\t},\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.materialize.User;\nimport com.pulumi.materialize.UserArgs;\nimport com.pulumi.materialize.SCIM2GroupUsers;\nimport com.pulumi.materialize.SCIM2GroupUsersArgs;\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 exampleUsers1 = new User(\"exampleUsers1\", UserArgs.builder() \n .email(\"example-user1@example.com\")\n .roles(\"Member\")\n .build());\n\n var exampleUsers2 = new User(\"exampleUsers2\", UserArgs.builder() \n .email(\"example-user2@example.com\")\n .roles(\"Member\")\n .build());\n\n var exampleScimGroupUsers = new SCIM2GroupUsers(\"exampleScimGroupUsers\", SCIM2GroupUsersArgs.builder() \n .groupId(materialize_scim_group.example_scim_group().id())\n .users( \n exampleUsers1.id(),\n exampleUsers2.id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Create a SCIM group users resource\n exampleUsers1:\n type: materialize:User\n properties:\n email: example-user1@example.com\n roles:\n - Member\n exampleUsers2:\n type: materialize:User\n properties:\n email: example-user2@example.com\n roles:\n - Member\n exampleScimGroupUsers:\n type: materialize:SCIM2GroupUsers\n properties:\n groupId: ${materialize_scim_group.example_scim_group.id}\n users:\n - ${exampleUsers1.id}\n - ${exampleUsers2.id}\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nSCIM group ID can be found using the `materialize_scim_groups` data source.\n\n```sh\n $ pulumi import materialize:index/sCIM2GroupUsers:SCIM2GroupUsers example_scim_group_user \u003cscim_group_id\u003e\n```\n\n ", + "description": "The materialize.SCIM2GroupUsers resource allows managing users within a SCIM group in Frontegg.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as materialize from \"@pulumi/materialize\";\n\n// Create a SCIM group users resource\nconst exampleUsers1 = new materialize.User(\"exampleUsers1\", {\n email: \"example-user1@example.com\",\n roles: [\"Member\"],\n});\nconst exampleUsers2 = new materialize.User(\"exampleUsers2\", {\n email: \"example-user2@example.com\",\n roles: [\"Member\"],\n});\nconst exampleScimGroupUsers = new materialize.SCIM2GroupUsers(\"exampleScimGroupUsers\", {\n groupId: materialize_scim_group.example_scim_group.id,\n users: [\n exampleUsers1.id,\n exampleUsers2.id,\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_materialize as materialize\n\n# Create a SCIM group users resource\nexample_users1 = materialize.User(\"exampleUsers1\",\n email=\"example-user1@example.com\",\n roles=[\"Member\"])\nexample_users2 = materialize.User(\"exampleUsers2\",\n email=\"example-user2@example.com\",\n roles=[\"Member\"])\nexample_scim_group_users = materialize.SCIM2GroupUsers(\"exampleScimGroupUsers\",\n group_id=materialize_scim_group[\"example_scim_group\"][\"id\"],\n users=[\n example_users1.id,\n example_users2.id,\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Materialize = Pulumi.Materialize;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Create a SCIM group users resource\n var exampleUsers1 = new Materialize.User(\"exampleUsers1\", new()\n {\n Email = \"example-user1@example.com\",\n Roles = new[]\n {\n \"Member\",\n },\n });\n\n var exampleUsers2 = new Materialize.User(\"exampleUsers2\", new()\n {\n Email = \"example-user2@example.com\",\n Roles = new[]\n {\n \"Member\",\n },\n });\n\n var exampleScimGroupUsers = new Materialize.SCIM2GroupUsers(\"exampleScimGroupUsers\", new()\n {\n GroupId = materialize_scim_group.Example_scim_group.Id,\n Users = new[]\n {\n exampleUsers1.Id,\n exampleUsers2.Id,\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-materialize/sdk/go/materialize\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texampleUsers1, err := materialize.NewUser(ctx, \"exampleUsers1\", \u0026materialize.UserArgs{\n\t\t\tEmail: pulumi.String(\"example-user1@example.com\"),\n\t\t\tRoles: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"Member\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texampleUsers2, err := materialize.NewUser(ctx, \"exampleUsers2\", \u0026materialize.UserArgs{\n\t\t\tEmail: pulumi.String(\"example-user2@example.com\"),\n\t\t\tRoles: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"Member\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = materialize.NewSCIM2GroupUsers(ctx, \"exampleScimGroupUsers\", \u0026materialize.SCIM2GroupUsersArgs{\n\t\t\tGroupId: pulumi.Any(materialize_scim_group.Example_scim_group.Id),\n\t\t\tUsers: pulumi.StringArray{\n\t\t\t\texampleUsers1.ID(),\n\t\t\t\texampleUsers2.ID(),\n\t\t\t},\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.materialize.User;\nimport com.pulumi.materialize.UserArgs;\nimport com.pulumi.materialize.SCIM2GroupUsers;\nimport com.pulumi.materialize.SCIM2GroupUsersArgs;\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 exampleUsers1 = new User(\"exampleUsers1\", UserArgs.builder() \n .email(\"example-user1@example.com\")\n .roles(\"Member\")\n .build());\n\n var exampleUsers2 = new User(\"exampleUsers2\", UserArgs.builder() \n .email(\"example-user2@example.com\")\n .roles(\"Member\")\n .build());\n\n var exampleScimGroupUsers = new SCIM2GroupUsers(\"exampleScimGroupUsers\", SCIM2GroupUsersArgs.builder() \n .groupId(materialize_scim_group.example_scim_group().id())\n .users( \n exampleUsers1.id(),\n exampleUsers2.id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Create a SCIM group users resource\n exampleUsers1:\n type: materialize:User\n properties:\n email: example-user1@example.com\n roles:\n - Member\n exampleUsers2:\n type: materialize:User\n properties:\n email: example-user2@example.com\n roles:\n - Member\n exampleScimGroupUsers:\n type: materialize:SCIM2GroupUsers\n properties:\n groupId: ${materialize_scim_group.example_scim_group.id}\n users:\n - ${exampleUsers1.id}\n - ${exampleUsers2.id}\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nRetrieve the SCIM Group ID using the materialize_scim_groups data source Example of using the data source in your configuration# data \"materialize_scim_groups\" \"all\" {} # output \"scim_group_output\" {\n\n\n\n value = data.materialize_scim_groups.all } # The ID can be retrieved using the following commandterraform output scim_group_output Import command\n\n```sh\n $ pulumi import materialize:index/sCIM2GroupUsers:SCIM2GroupUsers example_scim_group_user \u003cscim_group_id\u003e\n```\n\n NoteReplace \u003cscim_group_id\u003e with the SCIM Group ID retrieved using the materialize_scim_groups data source. ", "properties": { "groupId": { "type": "string", @@ -7892,7 +7924,7 @@ } }, "materialize:index/sSOConfig:SSOConfig": { - "description": "The SSO configuration resource allows you to create, read, update, and delete SSO configurations.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as materialize from \"@pulumi/materialize\";\n\nconst exampleSsoConfig = new materialize.SSOConfig(\"exampleSsoConfig\", {\n enabled: true,\n oidcClientId: \"client-id\",\n oidcSecret: \"client-secret\",\n publicCertificate: \"PUBLIC_CERTIFICATE\",\n signRequest: true,\n ssoEndpoint: \"https://sso.example2.com\",\n type: \"saml\",\n});\n```\n```python\nimport pulumi\nimport pulumi_materialize as materialize\n\nexample_sso_config = materialize.SSOConfig(\"exampleSsoConfig\",\n enabled=True,\n oidc_client_id=\"client-id\",\n oidc_secret=\"client-secret\",\n public_certificate=\"PUBLIC_CERTIFICATE\",\n sign_request=True,\n sso_endpoint=\"https://sso.example2.com\",\n type=\"saml\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Materialize = Pulumi.Materialize;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var exampleSsoConfig = new Materialize.SSOConfig(\"exampleSsoConfig\", new()\n {\n Enabled = true,\n OidcClientId = \"client-id\",\n OidcSecret = \"client-secret\",\n PublicCertificate = \"PUBLIC_CERTIFICATE\",\n SignRequest = true,\n SsoEndpoint = \"https://sso.example2.com\",\n Type = \"saml\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-materialize/sdk/go/materialize\"\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 := materialize.NewSSOConfig(ctx, \"exampleSsoConfig\", \u0026materialize.SSOConfigArgs{\n\t\t\tEnabled: pulumi.Bool(true),\n\t\t\tOidcClientId: pulumi.String(\"client-id\"),\n\t\t\tOidcSecret: pulumi.String(\"client-secret\"),\n\t\t\tPublicCertificate: pulumi.String(\"PUBLIC_CERTIFICATE\"),\n\t\t\tSignRequest: pulumi.Bool(true),\n\t\t\tSsoEndpoint: pulumi.String(\"https://sso.example2.com\"),\n\t\t\tType: pulumi.String(\"saml\"),\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.materialize.SSOConfig;\nimport com.pulumi.materialize.SSOConfigArgs;\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 exampleSsoConfig = new SSOConfig(\"exampleSsoConfig\", SSOConfigArgs.builder() \n .enabled(true)\n .oidcClientId(\"client-id\")\n .oidcSecret(\"client-secret\")\n .publicCertificate(\"PUBLIC_CERTIFICATE\")\n .signRequest(true)\n .ssoEndpoint(\"https://sso.example2.com\")\n .type(\"saml\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n exampleSsoConfig:\n type: materialize:SSOConfig\n properties:\n enabled: true\n oidcClientId: client-id\n oidcSecret: client-secret\n publicCertificate: PUBLIC_CERTIFICATE\n signRequest: true\n ssoEndpoint: https://sso.example2.com\n type: saml\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nThe SSO Configuration ID can be found using the `materialize_sso_config` data source\n\n```sh\n $ pulumi import materialize:index/sSOConfig:SSOConfig example \u003csso_config_id\u003e\n```\n\n ", + "description": "The SSO configuration resource allows you to create, read, update, and delete SSO configurations.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as materialize from \"@pulumi/materialize\";\n\nconst exampleSsoConfig = new materialize.SSOConfig(\"exampleSsoConfig\", {\n enabled: true,\n oidcClientId: \"client-id\",\n oidcSecret: \"client-secret\",\n publicCertificate: \"PUBLIC_CERTIFICATE\",\n signRequest: true,\n ssoEndpoint: \"https://sso.example2.com\",\n type: \"saml\",\n});\n```\n```python\nimport pulumi\nimport pulumi_materialize as materialize\n\nexample_sso_config = materialize.SSOConfig(\"exampleSsoConfig\",\n enabled=True,\n oidc_client_id=\"client-id\",\n oidc_secret=\"client-secret\",\n public_certificate=\"PUBLIC_CERTIFICATE\",\n sign_request=True,\n sso_endpoint=\"https://sso.example2.com\",\n type=\"saml\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Materialize = Pulumi.Materialize;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var exampleSsoConfig = new Materialize.SSOConfig(\"exampleSsoConfig\", new()\n {\n Enabled = true,\n OidcClientId = \"client-id\",\n OidcSecret = \"client-secret\",\n PublicCertificate = \"PUBLIC_CERTIFICATE\",\n SignRequest = true,\n SsoEndpoint = \"https://sso.example2.com\",\n Type = \"saml\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-materialize/sdk/go/materialize\"\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 := materialize.NewSSOConfig(ctx, \"exampleSsoConfig\", \u0026materialize.SSOConfigArgs{\n\t\t\tEnabled: pulumi.Bool(true),\n\t\t\tOidcClientId: pulumi.String(\"client-id\"),\n\t\t\tOidcSecret: pulumi.String(\"client-secret\"),\n\t\t\tPublicCertificate: pulumi.String(\"PUBLIC_CERTIFICATE\"),\n\t\t\tSignRequest: pulumi.Bool(true),\n\t\t\tSsoEndpoint: pulumi.String(\"https://sso.example2.com\"),\n\t\t\tType: pulumi.String(\"saml\"),\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.materialize.SSOConfig;\nimport com.pulumi.materialize.SSOConfigArgs;\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 exampleSsoConfig = new SSOConfig(\"exampleSsoConfig\", SSOConfigArgs.builder() \n .enabled(true)\n .oidcClientId(\"client-id\")\n .oidcSecret(\"client-secret\")\n .publicCertificate(\"PUBLIC_CERTIFICATE\")\n .signRequest(true)\n .ssoEndpoint(\"https://sso.example2.com\")\n .type(\"saml\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n exampleSsoConfig:\n type: materialize:SSOConfig\n properties:\n enabled: true\n oidcClientId: client-id\n oidcSecret: client-secret\n publicCertificate: PUBLIC_CERTIFICATE\n signRequest: true\n ssoEndpoint: https://sso.example2.com\n type: saml\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nRetrieve the SSO Configuration ID using the materialize_sso_config data source Example of using the data source in your configuration# data \"materialize_sso_config\" \"all\" {} # output \"sso_config_output\" {\n\n\n\n value = data.materialize_sso_config.all } # The SSO configuration ID can be retrieved using the following commandterraform output sso_config_output Import command\n\n```sh\n $ pulumi import materialize:index/sSOConfig:SSOConfig example \u003csso_config_id\u003e\n```\n\n ", "properties": { "enabled": { "type": "boolean", @@ -8003,7 +8035,7 @@ } }, "materialize:index/sSODefaultRoles:SSODefaultRoles": { - "description": "The SSO default roles resource allows you to set the default roles for an SSO configuration. These roles will be assigned to users who sign in with SSO.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as materialize from \"@pulumi/materialize\";\n\nconst exampleSsoDefaultRoles = new materialize.SSODefaultRoles(\"exampleSsoDefaultRoles\", {\n ssoConfigId: materialize_sso_config.example_sso_config.id,\n roles: [\"Admin\"],\n});\nconst exampleSsoDefaultRoles2 = new materialize.SSODefaultRoles(\"exampleSsoDefaultRoles2\", {\n ssoConfigId: materialize_sso_config.example_sso_config.id,\n roles: [\n \"Admin\",\n \"Member\",\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_materialize as materialize\n\nexample_sso_default_roles = materialize.SSODefaultRoles(\"exampleSsoDefaultRoles\",\n sso_config_id=materialize_sso_config[\"example_sso_config\"][\"id\"],\n roles=[\"Admin\"])\nexample_sso_default_roles2 = materialize.SSODefaultRoles(\"exampleSsoDefaultRoles2\",\n sso_config_id=materialize_sso_config[\"example_sso_config\"][\"id\"],\n roles=[\n \"Admin\",\n \"Member\",\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Materialize = Pulumi.Materialize;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var exampleSsoDefaultRoles = new Materialize.SSODefaultRoles(\"exampleSsoDefaultRoles\", new()\n {\n SsoConfigId = materialize_sso_config.Example_sso_config.Id,\n Roles = new[]\n {\n \"Admin\",\n },\n });\n\n var exampleSsoDefaultRoles2 = new Materialize.SSODefaultRoles(\"exampleSsoDefaultRoles2\", new()\n {\n SsoConfigId = materialize_sso_config.Example_sso_config.Id,\n Roles = new[]\n {\n \"Admin\",\n \"Member\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-materialize/sdk/go/materialize\"\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 := materialize.NewSSODefaultRoles(ctx, \"exampleSsoDefaultRoles\", \u0026materialize.SSODefaultRolesArgs{\n\t\t\tSsoConfigId: pulumi.Any(materialize_sso_config.Example_sso_config.Id),\n\t\t\tRoles: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"Admin\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = materialize.NewSSODefaultRoles(ctx, \"exampleSsoDefaultRoles2\", \u0026materialize.SSODefaultRolesArgs{\n\t\t\tSsoConfigId: pulumi.Any(materialize_sso_config.Example_sso_config.Id),\n\t\t\tRoles: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"Admin\"),\n\t\t\t\tpulumi.String(\"Member\"),\n\t\t\t},\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.materialize.SSODefaultRoles;\nimport com.pulumi.materialize.SSODefaultRolesArgs;\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 exampleSsoDefaultRoles = new SSODefaultRoles(\"exampleSsoDefaultRoles\", SSODefaultRolesArgs.builder() \n .ssoConfigId(materialize_sso_config.example_sso_config().id())\n .roles(\"Admin\")\n .build());\n\n var exampleSsoDefaultRoles2 = new SSODefaultRoles(\"exampleSsoDefaultRoles2\", SSODefaultRolesArgs.builder() \n .ssoConfigId(materialize_sso_config.example_sso_config().id())\n .roles( \n \"Admin\",\n \"Member\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n exampleSsoDefaultRoles:\n type: materialize:SSODefaultRoles\n properties:\n ssoConfigId: ${materialize_sso_config.example_sso_config.id}\n roles:\n - Admin\n exampleSsoDefaultRoles2:\n type: materialize:SSODefaultRoles\n properties:\n ssoConfigId: ${materialize_sso_config.example_sso_config.id}\n roles:\n - Admin\n - Member\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nDefault roles can be imported using the role id, which can be found using the `materialize_sso_config` data source\n\n```sh\n $ pulumi import materialize:index/sSODefaultRoles:SSODefaultRoles example_role \u003cconfiguration_id\u003e\n```\n\n ", + "description": "The SSO default roles resource allows you to set the default roles for an SSO configuration. These roles will be assigned to users who sign in with SSO.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as materialize from \"@pulumi/materialize\";\n\nconst exampleSsoDefaultRoles = new materialize.SSODefaultRoles(\"exampleSsoDefaultRoles\", {\n ssoConfigId: materialize_sso_config.example_sso_config.id,\n roles: [\"Admin\"],\n});\nconst exampleSsoDefaultRoles2 = new materialize.SSODefaultRoles(\"exampleSsoDefaultRoles2\", {\n ssoConfigId: materialize_sso_config.example_sso_config.id,\n roles: [\n \"Admin\",\n \"Member\",\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_materialize as materialize\n\nexample_sso_default_roles = materialize.SSODefaultRoles(\"exampleSsoDefaultRoles\",\n sso_config_id=materialize_sso_config[\"example_sso_config\"][\"id\"],\n roles=[\"Admin\"])\nexample_sso_default_roles2 = materialize.SSODefaultRoles(\"exampleSsoDefaultRoles2\",\n sso_config_id=materialize_sso_config[\"example_sso_config\"][\"id\"],\n roles=[\n \"Admin\",\n \"Member\",\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Materialize = Pulumi.Materialize;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var exampleSsoDefaultRoles = new Materialize.SSODefaultRoles(\"exampleSsoDefaultRoles\", new()\n {\n SsoConfigId = materialize_sso_config.Example_sso_config.Id,\n Roles = new[]\n {\n \"Admin\",\n },\n });\n\n var exampleSsoDefaultRoles2 = new Materialize.SSODefaultRoles(\"exampleSsoDefaultRoles2\", new()\n {\n SsoConfigId = materialize_sso_config.Example_sso_config.Id,\n Roles = new[]\n {\n \"Admin\",\n \"Member\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-materialize/sdk/go/materialize\"\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 := materialize.NewSSODefaultRoles(ctx, \"exampleSsoDefaultRoles\", \u0026materialize.SSODefaultRolesArgs{\n\t\t\tSsoConfigId: pulumi.Any(materialize_sso_config.Example_sso_config.Id),\n\t\t\tRoles: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"Admin\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = materialize.NewSSODefaultRoles(ctx, \"exampleSsoDefaultRoles2\", \u0026materialize.SSODefaultRolesArgs{\n\t\t\tSsoConfigId: pulumi.Any(materialize_sso_config.Example_sso_config.Id),\n\t\t\tRoles: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"Admin\"),\n\t\t\t\tpulumi.String(\"Member\"),\n\t\t\t},\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.materialize.SSODefaultRoles;\nimport com.pulumi.materialize.SSODefaultRolesArgs;\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 exampleSsoDefaultRoles = new SSODefaultRoles(\"exampleSsoDefaultRoles\", SSODefaultRolesArgs.builder() \n .ssoConfigId(materialize_sso_config.example_sso_config().id())\n .roles(\"Admin\")\n .build());\n\n var exampleSsoDefaultRoles2 = new SSODefaultRoles(\"exampleSsoDefaultRoles2\", SSODefaultRolesArgs.builder() \n .ssoConfigId(materialize_sso_config.example_sso_config().id())\n .roles( \n \"Admin\",\n \"Member\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n exampleSsoDefaultRoles:\n type: materialize:SSODefaultRoles\n properties:\n ssoConfigId: ${materialize_sso_config.example_sso_config.id}\n roles:\n - Admin\n exampleSsoDefaultRoles2:\n type: materialize:SSODefaultRoles\n properties:\n ssoConfigId: ${materialize_sso_config.example_sso_config.id}\n roles:\n - Admin\n - Member\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nRetrieve the SSO Configuration ID using the materialize_sso_config data source Example of using the data source in your configuration# data \"materialize_sso_config\" \"all\" {} # output \"sso_config_output\" {\n\n\n\n value = data.materialize_sso_config.all } # The SSO configuration ID can be retrieved using the following commandterraform output sso_config_output Import command\n\n```sh\n $ pulumi import materialize:index/sSODefaultRoles:SSODefaultRoles example_role \u003cconfiguration_id\u003e\n```\n\n NoteReplace \u003cconfiguration_id\u003e with the actual ID of the SSO configuration whose default roles you want to import ", "properties": { "roles": { "type": "array", @@ -8057,7 +8089,7 @@ } }, "materialize:index/sSODomain:SSODomain": { - "description": "The SSO domain resource allows you to set the domain for an SSO configuration. This domain will be used to validate the SSO configuration.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as materialize from \"@pulumi/materialize\";\n\nconst exampleSsoDomain = new materialize.SSODomain(\"exampleSsoDomain\", {\n domain: \"example.com\",\n ssoConfigId: materialize_sso_config.example_sso_config.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_materialize as materialize\n\nexample_sso_domain = materialize.SSODomain(\"exampleSsoDomain\",\n domain=\"example.com\",\n sso_config_id=materialize_sso_config[\"example_sso_config\"][\"id\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Materialize = Pulumi.Materialize;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var exampleSsoDomain = new Materialize.SSODomain(\"exampleSsoDomain\", new()\n {\n Domain = \"example.com\",\n SsoConfigId = materialize_sso_config.Example_sso_config.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-materialize/sdk/go/materialize\"\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 := materialize.NewSSODomain(ctx, \"exampleSsoDomain\", \u0026materialize.SSODomainArgs{\n\t\t\tDomain: pulumi.String(\"example.com\"),\n\t\t\tSsoConfigId: pulumi.Any(materialize_sso_config.Example_sso_config.Id),\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.materialize.SSODomain;\nimport com.pulumi.materialize.SSODomainArgs;\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 exampleSsoDomain = new SSODomain(\"exampleSsoDomain\", SSODomainArgs.builder() \n .domain(\"example.com\")\n .ssoConfigId(materialize_sso_config.example_sso_config().id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n exampleSsoDomain:\n type: materialize:SSODomain\n properties:\n domain: example.com\n ssoConfigId: ${materialize_sso_config.example_sso_config.id}\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nThe SSO Configuration ID can be found using the `materialize_sso_config` data source\n\n```sh\n $ pulumi import materialize:index/sSODomain:SSODomain example \u003csso_config_id\u003e:\u003cdomain.com\u003e\n```\n\n ", + "description": "The SSO domain resource allows you to set the domain for an SSO configuration. This domain will be used to validate the SSO configuration.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as materialize from \"@pulumi/materialize\";\n\nconst exampleSsoDomain = new materialize.SSODomain(\"exampleSsoDomain\", {\n domain: \"example.com\",\n ssoConfigId: materialize_sso_config.example_sso_config.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_materialize as materialize\n\nexample_sso_domain = materialize.SSODomain(\"exampleSsoDomain\",\n domain=\"example.com\",\n sso_config_id=materialize_sso_config[\"example_sso_config\"][\"id\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Materialize = Pulumi.Materialize;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var exampleSsoDomain = new Materialize.SSODomain(\"exampleSsoDomain\", new()\n {\n Domain = \"example.com\",\n SsoConfigId = materialize_sso_config.Example_sso_config.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-materialize/sdk/go/materialize\"\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 := materialize.NewSSODomain(ctx, \"exampleSsoDomain\", \u0026materialize.SSODomainArgs{\n\t\t\tDomain: pulumi.String(\"example.com\"),\n\t\t\tSsoConfigId: pulumi.Any(materialize_sso_config.Example_sso_config.Id),\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.materialize.SSODomain;\nimport com.pulumi.materialize.SSODomainArgs;\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 exampleSsoDomain = new SSODomain(\"exampleSsoDomain\", SSODomainArgs.builder() \n .domain(\"example.com\")\n .ssoConfigId(materialize_sso_config.example_sso_config().id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n exampleSsoDomain:\n type: materialize:SSODomain\n properties:\n domain: example.com\n ssoConfigId: ${materialize_sso_config.example_sso_config.id}\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nRetrieve the SSO Configuration ID using the materialize_sso_config data source Example of using the data source in your configuration# data \"materialize_sso_config\" \"all\" {} # output \"sso_config_output\" {\n\n\n\n value = data.materialize_sso_config.all } # The SSO Configuration ID can be retrieved using the following commandterraform output sso_config_output Import command\n\n```sh\n $ pulumi import materialize:index/sSODomain:SSODomain example \u003csso_config_id\u003e:\u003cdomain.com\u003e\n```\n\n NoteReplace \u003csso_config_id\u003e with the actual ID of the SSO configuration and \u003cdomain.com\u003e with the actual domain you want to import ", "properties": { "domain": { "type": "string", @@ -8111,7 +8143,7 @@ } }, "materialize:index/sSORoleGroupMapping:SSORoleGroupMapping": { - "description": "The SSO group role mapping resource allows you to set the roles for an SSO group. This allows you to automatically assign additional roles according to your identity provider groups\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as materialize from \"@pulumi/materialize\";\n\nconst exampleSsoGroupMapping = new materialize.SSORoleGroupMapping(\"exampleSsoGroupMapping\", {\n group: \"admins\",\n ssoConfigId: materialize_sso_config.example_sso_config.id,\n roles: [\"Admin\"],\n});\n```\n```python\nimport pulumi\nimport pulumi_materialize as materialize\n\nexample_sso_group_mapping = materialize.SSORoleGroupMapping(\"exampleSsoGroupMapping\",\n group=\"admins\",\n sso_config_id=materialize_sso_config[\"example_sso_config\"][\"id\"],\n roles=[\"Admin\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Materialize = Pulumi.Materialize;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var exampleSsoGroupMapping = new Materialize.SSORoleGroupMapping(\"exampleSsoGroupMapping\", new()\n {\n Group = \"admins\",\n SsoConfigId = materialize_sso_config.Example_sso_config.Id,\n Roles = new[]\n {\n \"Admin\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-materialize/sdk/go/materialize\"\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 := materialize.NewSSORoleGroupMapping(ctx, \"exampleSsoGroupMapping\", \u0026materialize.SSORoleGroupMappingArgs{\n\t\t\tGroup: pulumi.String(\"admins\"),\n\t\t\tSsoConfigId: pulumi.Any(materialize_sso_config.Example_sso_config.Id),\n\t\t\tRoles: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"Admin\"),\n\t\t\t},\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.materialize.SSORoleGroupMapping;\nimport com.pulumi.materialize.SSORoleGroupMappingArgs;\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 exampleSsoGroupMapping = new SSORoleGroupMapping(\"exampleSsoGroupMapping\", SSORoleGroupMappingArgs.builder() \n .group(\"admins\")\n .ssoConfigId(materialize_sso_config.example_sso_config().id())\n .roles(\"Admin\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n exampleSsoGroupMapping:\n type: materialize:SSORoleGroupMapping\n properties:\n group: admins\n ssoConfigId: ${materialize_sso_config.example_sso_config.id}\n roles:\n - Admin\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nThe SSO Configuration ID and the Group Mapping ID can be found using the `materialize_sso_config` data source\n\n```sh\n $ pulumi import materialize:index/sSORoleGroupMapping:SSORoleGroupMapping example \u003csso_config_id\u003e:\u003csso_group_mapping_id\u003e\n```\n\n ", + "description": "The SSO group role mapping resource allows you to set the roles for an SSO group. This allows you to automatically assign additional roles according to your identity provider groups\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as materialize from \"@pulumi/materialize\";\n\nconst exampleSsoGroupMapping = new materialize.SSORoleGroupMapping(\"exampleSsoGroupMapping\", {\n group: \"admins\",\n ssoConfigId: materialize_sso_config.example_sso_config.id,\n roles: [\"Admin\"],\n});\n```\n```python\nimport pulumi\nimport pulumi_materialize as materialize\n\nexample_sso_group_mapping = materialize.SSORoleGroupMapping(\"exampleSsoGroupMapping\",\n group=\"admins\",\n sso_config_id=materialize_sso_config[\"example_sso_config\"][\"id\"],\n roles=[\"Admin\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Materialize = Pulumi.Materialize;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var exampleSsoGroupMapping = new Materialize.SSORoleGroupMapping(\"exampleSsoGroupMapping\", new()\n {\n Group = \"admins\",\n SsoConfigId = materialize_sso_config.Example_sso_config.Id,\n Roles = new[]\n {\n \"Admin\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-materialize/sdk/go/materialize\"\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 := materialize.NewSSORoleGroupMapping(ctx, \"exampleSsoGroupMapping\", \u0026materialize.SSORoleGroupMappingArgs{\n\t\t\tGroup: pulumi.String(\"admins\"),\n\t\t\tSsoConfigId: pulumi.Any(materialize_sso_config.Example_sso_config.Id),\n\t\t\tRoles: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"Admin\"),\n\t\t\t},\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.materialize.SSORoleGroupMapping;\nimport com.pulumi.materialize.SSORoleGroupMappingArgs;\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 exampleSsoGroupMapping = new SSORoleGroupMapping(\"exampleSsoGroupMapping\", SSORoleGroupMappingArgs.builder() \n .group(\"admins\")\n .ssoConfigId(materialize_sso_config.example_sso_config().id())\n .roles(\"Admin\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n exampleSsoGroupMapping:\n type: materialize:SSORoleGroupMapping\n properties:\n group: admins\n ssoConfigId: ${materialize_sso_config.example_sso_config.id}\n roles:\n - Admin\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nRetrieve the SSO Configuration ID and Group Mapping ID using the materialize_sso_config data source Example of using the data source in your configuration# data \"materialize_sso_config\" \"all\" {} # output \"sso_config_output\" {\n\n\n\n value = data.materialize_sso_config.all } # The SSO Configuration ID and Group Mapping ID can be retrieved using the following commandterraform output sso_config_output Import command\n\n```sh\n $ pulumi import materialize:index/sSORoleGroupMapping:SSORoleGroupMapping example \u003csso_config_id\u003e:\u003csso_group_mapping_id\u003e\n```\n\n NoteReplace \u003csso_config_id\u003e with the actual ID of the SSO configuration and \u003csso_group_mapping_id\u003e with the actual ID of the group mapping you want to import ", "properties": { "enabled": { "type": "boolean", @@ -10404,7 +10436,7 @@ } }, "materialize:index/user:User": { - "description": "The user resource allows you to invite and delete users in your Materialize organization.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as materialize from \"@pulumi/materialize\";\n\nconst exampleUser = new materialize.User(\"exampleUser\", {\n email: \"example-user@example.com\",\n roles: [\n \"Member\",\n \"Admin\",\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_materialize as materialize\n\nexample_user = materialize.User(\"exampleUser\",\n email=\"example-user@example.com\",\n roles=[\n \"Member\",\n \"Admin\",\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Materialize = Pulumi.Materialize;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var exampleUser = new Materialize.User(\"exampleUser\", new()\n {\n Email = \"example-user@example.com\",\n Roles = new[]\n {\n \"Member\",\n \"Admin\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-materialize/sdk/go/materialize\"\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 := materialize.NewUser(ctx, \"exampleUser\", \u0026materialize.UserArgs{\n\t\t\tEmail: pulumi.String(\"example-user@example.com\"),\n\t\t\tRoles: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"Member\"),\n\t\t\t\tpulumi.String(\"Admin\"),\n\t\t\t},\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.materialize.User;\nimport com.pulumi.materialize.UserArgs;\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 exampleUser = new User(\"exampleUser\", UserArgs.builder() \n .email(\"example-user@example.com\")\n .roles( \n \"Member\",\n \"Admin\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n exampleUser:\n type: materialize:User\n properties:\n email: example-user@example.com\n roles:\n - Member\n - Admin\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nUsers can be imported using the user id. The user id can be retrieved by using the `materialize_user` data source.\n\n```sh\n $ pulumi import materialize:index/user:User example_user \u003cuser_id\u003e\n```\n\n ", + "description": "The user resource allows you to invite and delete users in your Materialize organization.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as materialize from \"@pulumi/materialize\";\n\nconst exampleUser = new materialize.User(\"exampleUser\", {\n email: \"example-user@example.com\",\n roles: [\n \"Member\",\n \"Admin\",\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_materialize as materialize\n\nexample_user = materialize.User(\"exampleUser\",\n email=\"example-user@example.com\",\n roles=[\n \"Member\",\n \"Admin\",\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Materialize = Pulumi.Materialize;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var exampleUser = new Materialize.User(\"exampleUser\", new()\n {\n Email = \"example-user@example.com\",\n Roles = new[]\n {\n \"Member\",\n \"Admin\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-materialize/sdk/go/materialize\"\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 := materialize.NewUser(ctx, \"exampleUser\", \u0026materialize.UserArgs{\n\t\t\tEmail: pulumi.String(\"example-user@example.com\"),\n\t\t\tRoles: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"Member\"),\n\t\t\t\tpulumi.String(\"Admin\"),\n\t\t\t},\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.materialize.User;\nimport com.pulumi.materialize.UserArgs;\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 exampleUser = new User(\"exampleUser\", UserArgs.builder() \n .email(\"example-user@example.com\")\n .roles( \n \"Member\",\n \"Admin\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n exampleUser:\n type: materialize:User\n properties:\n email: example-user@example.com\n roles:\n - Member\n - Admin\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nRetrieve the User ID using the materialize_user data source Example of using the data source in your configuration# data \"materialize_user\" \"example_user\" {\n\n email = \"example@example.com\" } # output \"user_output\" {\n\n value = data.materialize_user.example_user } # The User ID can be retrieved using the following commandterraform output -json user_output | jq '.id' Import command\n\n```sh\n $ pulumi import materialize:index/user:User example_user \u003cuser_id\u003e\n```\n\n NoteReplace \u003cuser_id\u003e with the actual ID of the user you want to import You can find the user ID by querying the data source with the user's email ", "properties": { "authProvider": { "type": "string", diff --git a/provider/go.mod b/provider/go.mod index 8f5d30b..1f76992 100644 --- a/provider/go.mod +++ b/provider/go.mod @@ -5,7 +5,7 @@ go 1.20 replace github.com/hashicorp/terraform-plugin-sdk/v2 => github.com/pulumi/terraform-plugin-sdk/v2 v2.0.0-20240520223432-0c0bf0d65f10 require ( - github.com/MaterializeInc/terraform-provider-materialize v0.8.6 + github.com/MaterializeInc/terraform-provider-materialize v0.8.7 github.com/pulumi/pulumi-terraform-bridge/v3 v3.59.0 github.com/pulumi/pulumi/sdk/v3 v3.81.0 ) @@ -125,7 +125,7 @@ require ( github.com/hashicorp/go-immutable-radix v1.3.1 // indirect github.com/hashicorp/go-multierror v1.1.1 // indirect github.com/hashicorp/go-plugin v1.6.0 // indirect - github.com/hashicorp/go-retryablehttp v0.7.1 // indirect + github.com/hashicorp/go-retryablehttp v0.7.7 // indirect github.com/hashicorp/go-rootcerts v1.0.2 // indirect github.com/hashicorp/go-safetemp v1.0.0 // indirect github.com/hashicorp/go-secure-stdlib/mlock v0.1.2 // indirect @@ -228,7 +228,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.4 // indirect + github.com/zclconf/go-cty v1.15.0 // indirect go.opencensus.io v0.24.0 // indirect go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.47.0 // indirect go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.47.0 // indirect @@ -238,15 +238,15 @@ require ( go.uber.org/atomic v1.9.0 // indirect gocloud.dev v0.27.0 // indirect gocloud.dev/secrets/hashivault v0.27.0 // indirect - golang.org/x/crypto v0.25.0 // indirect + golang.org/x/crypto v0.26.0 // indirect golang.org/x/exp v0.0.0-20231110203233-9a3e6036ecaa // indirect - golang.org/x/mod v0.17.0 // indirect + golang.org/x/mod v0.19.0 // indirect golang.org/x/net v0.25.0 // indirect golang.org/x/oauth2 v0.17.0 // indirect - golang.org/x/sync v0.7.0 // indirect - golang.org/x/sys v0.22.0 // indirect - golang.org/x/term v0.22.0 // indirect - golang.org/x/text v0.16.0 // indirect + golang.org/x/sync v0.8.0 // indirect + golang.org/x/sys v0.23.0 // indirect + golang.org/x/term v0.23.0 // indirect + golang.org/x/text v0.17.0 // indirect golang.org/x/time v0.5.0 // indirect golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d // indirect golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect diff --git a/provider/go.sum b/provider/go.sum index f92d2ef..febc916 100644 --- a/provider/go.sum +++ b/provider/go.sum @@ -1257,8 +1257,8 @@ github.com/Masterminds/semver/v3 v3.2.0/go.mod h1:qvl/7zhW3nngYb5+80sSMF+FG2BjYr github.com/Masterminds/sprig/v3 v3.2.1/go.mod h1:UoaO7Yp8KlPnJIYWTFkMaqPUYKTfGFPhxNuwnnxkKlk= github.com/Masterminds/sprig/v3 v3.2.3 h1:eL2fZNezLomi0uOLqjQoN6BfsDD+fyLtgbJMAj9n6YA= github.com/Masterminds/sprig/v3 v3.2.3/go.mod h1:rXcFaZ2zZbLRJv/xSysmlgIM1u11eBaRMhvYXJNkGuM= -github.com/MaterializeInc/terraform-provider-materialize v0.8.6 h1:Wfhs0NvPHIVti7s6/IaomCL237kkI9Ky9ww3n47c96A= -github.com/MaterializeInc/terraform-provider-materialize v0.8.6/go.mod h1:sjI7LGjeQGeK7s+nIUfeShsLhU2dwAHim9Cn6o1/9kg= +github.com/MaterializeInc/terraform-provider-materialize v0.8.7 h1:UWFlCVoHbuuuEcO1fLmHXgHwsc95ACBXx11HmenfC+Y= +github.com/MaterializeInc/terraform-provider-materialize v0.8.7/go.mod h1:ph08vxbbwopRDpA5TV1qzIzYGUZUTdt12DLtH2t4c04= github.com/Microsoft/go-winio v0.4.11/go.mod h1:VhR8bwka0BXejwEJY73c50VrPtXAaKcyvVC4A4RozmA= github.com/Microsoft/go-winio v0.4.14/go.mod h1:qXqCSQ3Xa7+6tgxaGTIe4Kpcdsi+P8jBhyzoq1bpyYA= github.com/Microsoft/go-winio v0.4.15-0.20190919025122-fc70bd9a86b5/go.mod h1:tTuCMEN+UleMWgg9dVx4Hu52b1bJo+59jBh3ajtinzw= @@ -2179,8 +2179,9 @@ github.com/hashicorp/go-plugin v1.6.0 h1:wgd4KxHJTVGGqWBq4QPB1i5BZNEx9BR8+OFmHDm github.com/hashicorp/go-plugin v1.6.0/go.mod h1:lBS5MtSSBZk0SHc66KACcjjlU6WzEVP/8pwz68aMkCI= github.com/hashicorp/go-retryablehttp v0.5.3/go.mod h1:9B5zBasrRhHXnJnui7y6sL7es7NDiJgTc6Er0maI1Xs= github.com/hashicorp/go-retryablehttp v0.6.6/go.mod h1:vAew36LZh98gCBJNLH42IQ1ER/9wtLZZ8meHqQvEYWY= -github.com/hashicorp/go-retryablehttp v0.7.1 h1:sUiuQAnLlbvmExtFQs72iFW/HXeUn8Z1aJLQ4LJJbTQ= github.com/hashicorp/go-retryablehttp v0.7.1/go.mod h1:vAew36LZh98gCBJNLH42IQ1ER/9wtLZZ8meHqQvEYWY= +github.com/hashicorp/go-retryablehttp v0.7.7 h1:C8hUCYzor8PIfXHa4UrZkU4VvK8o9ISHxT2Q8+VepXU= +github.com/hashicorp/go-retryablehttp v0.7.7/go.mod h1:pkQpWZeYWskR+D1tR2O5OcBFOxfA7DoAO6xtkuQnHTk= github.com/hashicorp/go-rootcerts v1.0.0/go.mod h1:K6zTfqpRlCUIjkwsN4Z+hiSfzSTQa6eBIzfwKfwNnHU= github.com/hashicorp/go-rootcerts v1.0.2 h1:jzhAVGtqPKbwpyCPELlgNWhE1znq+qwJtW5Oi2viEzc= github.com/hashicorp/go-rootcerts v1.0.2/go.mod h1:pqUvnprVnM5bf7AOirdbb01K4ccR319Vf4pU3K5EGc8= @@ -2219,7 +2220,7 @@ github.com/hashicorp/golang-lru v0.5.4 h1:YDjusn29QI/Das2iO9M0BHnIbxPeyuCHsjMW+l github.com/hashicorp/golang-lru v0.5.4/go.mod h1:iADmTwqILo4mZ8BN3D2Q6+9jd8WM5uGBxy+E8yxSoD4= github.com/hashicorp/hc-install v0.6.2/go.mod h1:2JBpd+NCFKiHiu/yYCGaPyPHhZLxXTpz8oreHa/a3Ps= github.com/hashicorp/hc-install v0.6.3/go.mod h1:KamGdbodYzlufbWh4r9NRo8y6GLHWZP2GBtdnms1Ln0= -github.com/hashicorp/hc-install v0.7.0 h1:Uu9edVqjKQxxuD28mR5TikkKDd/p55S8vzPC1659aBk= +github.com/hashicorp/hc-install v0.8.0 h1:LdpZeXkZYMQhoKPCecJHlKvUkQFixN/nvyR1CdfOLjI= github.com/hashicorp/hcl v0.0.0-20170504190234-a4b07c25de5f/go.mod h1:oZtUIOe8dh44I2q6ScRibXws4Ajl+d+nod3AaR9vL5w= github.com/hashicorp/hcl v1.0.0 h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4= github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ= @@ -2254,7 +2255,7 @@ github.com/hashicorp/terraform-plugin-log v0.9.0/go.mod h1:rKL8egZQ/eXSyDqzLUuwU github.com/hashicorp/terraform-plugin-sdk v1.7.0 h1:B//oq0ZORG+EkVrIJy0uPGSonvmXqxSzXe8+GhknoW0= github.com/hashicorp/terraform-plugin-sdk v1.7.0/go.mod h1:OjgQmey5VxnPej/buEhe+YqKm0KNvV3QqU4hkqHqPCY= github.com/hashicorp/terraform-plugin-test v1.2.0/go.mod h1:QIJHYz8j+xJtdtLrFTlzQVC0ocr3rf/OjIpgZLK56Hs= -github.com/hashicorp/terraform-plugin-testing v1.9.0 h1:xOsQRqqlHKXpFq6etTxih3ubdK3HVDtfE1IY7Rpd37o= +github.com/hashicorp/terraform-plugin-testing v1.10.0 h1:2+tmRNhvnfE4Bs8rB6v58S/VpqzGC6RCh9Y8ujdn+aw= github.com/hashicorp/terraform-registry-address v0.2.3 h1:2TAiKJ1A3MAkZlH1YI/aTVcLZRu7JseiXNRHbOAyoTI= github.com/hashicorp/terraform-registry-address v0.2.3/go.mod h1:lFHA76T8jfQteVfT7caREqguFrW3c4MFSPhZB7HHgUM= github.com/hashicorp/terraform-svchost v0.0.0-20191011084731-65d371908596/go.mod h1:kNDNcF7sN4DocDLBkQYz73HGKwN1ANB1blq4lIYLYvg= @@ -3048,8 +3049,8 @@ github.com/zclconf/go-cty v1.13.0/go.mod h1:YKQzy/7pZ7iq2jNFzy5go57xdxdWoLLpaEp4 github.com/zclconf/go-cty v1.13.1/go.mod h1:YKQzy/7pZ7iq2jNFzy5go57xdxdWoLLpaEp4u238AE0= github.com/zclconf/go-cty v1.14.1/go.mod h1:VvMs5i0vgZdhYawQNq5kePSpLAoz8u1xvZgrPIxfnZE= github.com/zclconf/go-cty v1.14.2/go.mod h1:VvMs5i0vgZdhYawQNq5kePSpLAoz8u1xvZgrPIxfnZE= -github.com/zclconf/go-cty v1.14.4 h1:uXXczd9QDGsgu0i/QFR/hzI5NYCHLf6NQw/atrbnhq8= -github.com/zclconf/go-cty v1.14.4/go.mod h1:VvMs5i0vgZdhYawQNq5kePSpLAoz8u1xvZgrPIxfnZE= +github.com/zclconf/go-cty v1.15.0 h1:tTCRWxsexYUmtt/wVxgDClUe+uQusuI443uL6e+5sXQ= +github.com/zclconf/go-cty v1.15.0/go.mod h1:VvMs5i0vgZdhYawQNq5kePSpLAoz8u1xvZgrPIxfnZE= github.com/zclconf/go-cty-debug v0.0.0-20191215020915-b22d67c1ba0b/go.mod h1:ZRKQfBXbGkpdV6QMzT3rU1kSTAnfu1dO8dPKjYprgj8= github.com/zclconf/go-cty-debug v0.0.0-20240509010212-0d6042c53940 h1:4r45xpDWB6ZMSMNJFMOjqrGHynW3DIBuR2H9j0ug+Mo= github.com/zclconf/go-cty-yaml v1.0.1 h1:up11wlgAaDvlAGENcFDnZgkn0qUJurso7k6EpURKNF8= @@ -3225,8 +3226,8 @@ golang.org/x/crypto v0.15.0/go.mod h1:4ChreQoLWfG3xLDer1WdlH5NdlQ3+mwnQq1YTKY+72 golang.org/x/crypto v0.16.0/go.mod h1:gCAAfMLgwOJRpTjQ2zCCt2OcSfYMTeZVSRtQlPC7Nq4= golang.org/x/crypto v0.17.0/go.mod h1:gCAAfMLgwOJRpTjQ2zCCt2OcSfYMTeZVSRtQlPC7Nq4= golang.org/x/crypto v0.19.0/go.mod h1:Iy9bg/ha4yyC70EfRS8jz+B6ybOBKMaSxLj6P6oBDfU= -golang.org/x/crypto v0.25.0 h1:ypSNr+bnYL2YhwoMt2zPxHFmbAN1KZs/njMG3hxUp30= -golang.org/x/crypto v0.25.0/go.mod h1:T+wALwcMOSE0kXgUAnPAHqTLW+XHgcELELW8VaDgm/M= +golang.org/x/crypto v0.26.0 h1:RrRspgV4mU+YwB4FYnuBoKsUapNIL5cohGAmSH3azsw= +golang.org/x/crypto v0.26.0/go.mod h1:GY7jblb9wI+FOo5y8/S2oY4zWP07AkOJ4+jxCqdqn54= golang.org/x/exp v0.0.0-20180321215751-8460e604b9de/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20180807140117-3d87b88a115f/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= @@ -3293,8 +3294,8 @@ golang.org/x/mod v0.11.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= golang.org/x/mod v0.12.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= golang.org/x/mod v0.14.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= golang.org/x/mod v0.15.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= -golang.org/x/mod v0.17.0 h1:zY54UmvipHiNd+pm+m0x9KhZ9hl1/7QNMyxXbc6ICqA= -golang.org/x/mod v0.17.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= +golang.org/x/mod v0.19.0 h1:fEdghXQSo20giMthA7cd28ZC+jts4amQ3YMXiP5oMQ8= +golang.org/x/mod v0.19.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= golang.org/x/net v0.0.0-20180530234432-1e491301e022/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180811021610-c39426892332/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= @@ -3462,8 +3463,8 @@ golang.org/x/sync v0.2.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.3.0/go.mod h1:FU7BRWz2tNW+3quACPkgCx/L+uEAv1htQ0V83Z9Rj+Y= golang.org/x/sync v0.4.0/go.mod h1:FU7BRWz2tNW+3quACPkgCx/L+uEAv1htQ0V83Z9Rj+Y= golang.org/x/sync v0.5.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= -golang.org/x/sync v0.7.0 h1:YsImfSBoP9QPYL0xyKJPq0gcaJdG3rInoqxTWbfQu9M= -golang.org/x/sync v0.7.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= +golang.org/x/sync v0.8.0 h1:3NFvSEYkUoMifnESzZl15y791HH1qU2xm6eCJU5ZPXQ= +golang.org/x/sync v0.8.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= golang.org/x/sys v0.0.0-20180823144017-11551d06cbcc/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= @@ -3634,8 +3635,8 @@ golang.org/x/sys v0.14.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/sys v0.15.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/sys v0.16.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/sys v0.17.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= -golang.org/x/sys v0.22.0 h1:RI27ohtqKCnwULzJLqkv897zojh5/DwS/ENaMzUOaWI= -golang.org/x/sys v0.22.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/sys v0.23.0 h1:YfKFowiIMvtgl1UERQoTPPToxltDeZfbj4H7dVUCwmM= +golang.org/x/sys v0.23.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/term v0.0.0-20210220032956-6a3ed077a48d/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= @@ -3658,8 +3659,8 @@ golang.org/x/term v0.13.0/go.mod h1:LTmsnFJwVN6bCy1rVCoS+qHT1HhALEFxKncY3WNNh4U= golang.org/x/term v0.14.0/go.mod h1:TySc+nGkYR6qt8km8wUhuFRTVSMIX3XPR58y2lC8vww= golang.org/x/term v0.15.0/go.mod h1:BDl952bC7+uMoWR75FIrCDx79TPU9oHkTZ9yRbYOrX0= golang.org/x/term v0.17.0/go.mod h1:lLRBjIVuehSbZlaOtGMbcMncT+aqLLLmKrsjNrUguwk= -golang.org/x/term v0.22.0 h1:BbsgPEJULsl2fV/AT3v15Mjva5yXKQDyKf+TbDz7QJk= -golang.org/x/term v0.22.0/go.mod h1:F3qCibpT5AMpCRfhfT53vVJwhLtIVHhB9XDjfFvnMI4= +golang.org/x/term v0.23.0 h1:F6D4vR+EHoL9/sWAWgAR1H2DcHr4PareCbAaCo1RpuU= +golang.org/x/term v0.23.0/go.mod h1:DgV24QBUrK6jhZXl+20l6UWznPlwAHm1Q1mGHtydmSk= golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= @@ -3681,8 +3682,8 @@ golang.org/x/text v0.11.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= golang.org/x/text v0.12.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= golang.org/x/text v0.13.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= -golang.org/x/text v0.16.0 h1:a94ExnEXNtEwYLGJSIUxnWoxoRz/ZcCsV63ROupILh4= -golang.org/x/text v0.16.0/go.mod h1:GhwF1Be+LQoKShO3cGOHzqOgRrGaYc9AvblQOmPVHnI= +golang.org/x/text v0.17.0 h1:XtiM5bkSOt+ewxlOE/aE/AKEHibwj/6gvWMl9Rsh0Qc= +golang.org/x/text v0.17.0/go.mod h1:BuEKDfySbSR4drPmRPG/7iBdf8hvFMuRexcpahXilzY= golang.org/x/time v0.0.0-20180412165947-fbb02b2291d2/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=