diff --git a/examples/go.mod b/examples/go.mod index f1d8d81b..edc91a3a 100644 --- a/examples/go.mod +++ b/examples/go.mod @@ -2,7 +2,7 @@ module github.com/pulumi/pulumi-fastly/examples/v7 go 1.21 -require github.com/pulumi/pulumi/pkg/v3 v3.128.0 +require github.com/pulumi/pulumi/pkg/v3 v3.129.0 require ( cloud.google.com/go v0.112.1 // indirect @@ -123,7 +123,7 @@ require ( github.com/pmezard/go-difflib v1.0.0 // indirect github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231 // indirect github.com/pulumi/esc v0.9.1 // indirect - github.com/pulumi/pulumi/sdk/v3 v3.128.0 // indirect + github.com/pulumi/pulumi/sdk/v3 v3.129.0 // indirect github.com/rivo/uniseg v0.4.4 // indirect github.com/rogpeppe/go-internal v1.12.0 // indirect github.com/ryanuber/go-glob v1.0.0 // indirect @@ -154,14 +154,14 @@ require ( go.uber.org/atomic v1.9.0 // indirect gocloud.dev v0.37.0 // indirect gocloud.dev/secrets/hashivault v0.37.0 // indirect - golang.org/x/crypto v0.24.0 // indirect + golang.org/x/crypto v0.25.0 // indirect golang.org/x/exp v0.0.0-20240604190554-fc45aab8b7f8 // indirect golang.org/x/mod v0.18.0 // indirect - golang.org/x/net v0.26.0 // indirect + golang.org/x/net v0.27.0 // indirect golang.org/x/oauth2 v0.18.0 // indirect golang.org/x/sync v0.7.0 // indirect - golang.org/x/sys v0.21.0 // indirect - golang.org/x/term v0.21.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/time v0.5.0 // indirect golang.org/x/tools v0.22.0 // indirect diff --git a/examples/go.sum b/examples/go.sum index 01fb8a55..d9d59af9 100644 --- a/examples/go.sum +++ b/examples/go.sum @@ -342,10 +342,10 @@ github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231 h1:vkHw5I/plNdTr435 github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231/go.mod h1:murToZ2N9hNJzewjHBgfFdXhZKjY3z5cYC1VXk+lbFE= github.com/pulumi/esc v0.9.1 h1:HH5eEv8sgyxSpY5a8yePyqFXzA8cvBvapfH8457+mIs= github.com/pulumi/esc v0.9.1/go.mod h1:oEJ6bOsjYlQUpjf70GiX+CXn3VBmpwFDxUTlmtUN84c= -github.com/pulumi/pulumi/pkg/v3 v3.128.0 h1:K3qtJYjHg4DkA7LxknY/MoQZ+QHdHQDh/k2njjmjHXM= -github.com/pulumi/pulumi/pkg/v3 v3.128.0/go.mod h1:/spoJXy/mqQ8fBLgXBEbUrAnL7pHdfXOviIo5fZROEY= -github.com/pulumi/pulumi/sdk/v3 v3.128.0 h1:5VPFfygxt6rva0bEYVQZXxsGAo2/D1wsb9erGOtXxzk= -github.com/pulumi/pulumi/sdk/v3 v3.128.0/go.mod h1:p1U24en3zt51agx+WlNboSOV8eLlPWYAkxMzVEXKbnY= +github.com/pulumi/pulumi/pkg/v3 v3.129.0 h1:n4Jd4ctlvw3eqyHglb/yJKDtRqjOvdkCBfG5T+orU30= +github.com/pulumi/pulumi/pkg/v3 v3.129.0/go.mod h1:W3c7JgO064kUH5IfyQMCgmsAr5iwr3PO6KEeIQiO0dY= +github.com/pulumi/pulumi/sdk/v3 v3.129.0 h1:uZpTTwWTx7Mk8UT9FgatzxzArim47vZ6hzNCKvgvX6A= +github.com/pulumi/pulumi/sdk/v3 v3.129.0/go.mod h1:p1U24en3zt51agx+WlNboSOV8eLlPWYAkxMzVEXKbnY= github.com/rivo/uniseg v0.1.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= github.com/rivo/uniseg v0.4.4 h1:8TfxU8dW6PdqD27gjM8MVNuicgxIjxpm4K7x4jp8sis= @@ -439,8 +439,8 @@ golang.org/x/crypto v0.7.0/go.mod h1:pYwdfH91IfpZVANVyUOhSIPZaFoJGxTFbZhFTx+dXZU golang.org/x/crypto v0.13.0/go.mod h1:y6Z2r+Rw4iayiXXAIxJIDAJ1zMW4yaTpebo8fPOliYc= golang.org/x/crypto v0.18.0/go.mod h1:R0j02AL6hcrfOiy9T4ZYp/rcWeMxM3L6QYxlOuEG1mg= golang.org/x/crypto v0.19.0/go.mod h1:Iy9bg/ha4yyC70EfRS8jz+B6ybOBKMaSxLj6P6oBDfU= -golang.org/x/crypto v0.24.0 h1:mnl8DM0o513X8fdIkmyFE/5hTYxbwYOjDS/+rK6qpRI= -golang.org/x/crypto v0.24.0/go.mod h1:Z1PMYSOR5nyMcyAVAIQSKCDwalqy85Aqn1x3Ws4L5DM= +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/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20240604190554-fc45aab8b7f8 h1:LoYXNGAShUG3m/ehNk4iFctuhGX/+R1ZpfJ4/ia80JM= golang.org/x/exp v0.0.0-20240604190554-fc45aab8b7f8/go.mod h1:jj3sYF3dwk5D+ghuXyeI3r5MFf+NT2An6/9dOA95KSI= @@ -476,8 +476,8 @@ golang.org/x/net v0.8.0/go.mod h1:QVkue5JL9kW//ek3r6jTKnTFis1tRmNAW2P1shuFdJc= golang.org/x/net v0.10.0/go.mod h1:0qNGK6F8kojg2nk9dLZ2mShWaEBan6FAoqfSigmmuDg= golang.org/x/net v0.15.0/go.mod h1:idbUs1IY1+zTqbi8yxTbhexhEEk5ur9LInksu6HrEpk= golang.org/x/net v0.20.0/go.mod h1:z8BVo6PvndSri0LbOE3hAn0apkU+1YvI6E70E9jsnvY= -golang.org/x/net v0.26.0 h1:soB7SVo0PWrY4vPW/+ay0jKDNScG2X9wFeYlXIvJsOQ= -golang.org/x/net v0.26.0/go.mod h1:5YKkiSynbBIh3p6iOc/vibscux0x38BZDkn8sCUPxHE= +golang.org/x/net v0.27.0 h1:5K3Njcw06/l2y9vpGCSdcxWOYHOUk3dVNGDXN+FvAys= +golang.org/x/net v0.27.0/go.mod h1:dDi0PyhWNoiUOrAS8uXv/vnScO4wnHQO4mj9fn/RytE= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/oauth2 v0.18.0 h1:09qnuIAgzdx1XplqJvW6CQqMCtGZykZWcXzPMPUusvI= golang.org/x/oauth2 v0.18.0/go.mod h1:Wf7knwG0MPoWIMMBgFlEaSUDaKskp0dCfrlJRJXbBi8= @@ -518,8 +518,8 @@ golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.12.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= 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.21.0 h1:rF+pYz3DAGSQAxAu1CbC7catZg4ebC4UIeIhKxBZvws= -golang.org/x/sys v0.21.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/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= golang.org/x/term v0.2.0/go.mod h1:TVmDHMZPmdnySmBfhjOoOdhjzdE1h4u1VwSiw2l1Nuc= @@ -529,8 +529,8 @@ golang.org/x/term v0.8.0/go.mod h1:xPskH00ivmX89bAKVGSKKtLOWNx2+17Eiy94tnKShWo= golang.org/x/term v0.12.0/go.mod h1:owVbMEjm3cBLCHdkQu9b1opXd4ETQWc3BhuQGKgXgvU= golang.org/x/term v0.16.0/go.mod h1:yn7UURbUtPyrVJPGPq404EukNFxcm/foM+bV/bfcDsY= golang.org/x/term v0.17.0/go.mod h1:lLRBjIVuehSbZlaOtGMbcMncT+aqLLLmKrsjNrUguwk= -golang.org/x/term v0.21.0 h1:WVXCp+/EBEHOj53Rvu+7KiT/iElMrO8ACK16SMZ3jaA= -golang.org/x/term v0.21.0/go.mod h1:ooXLefLobQVslOqselCNF4SxFAaoS6KujMbsGzSDmX0= +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/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= diff --git a/provider/cmd/pulumi-resource-fastly/schema.json b/provider/cmd/pulumi-resource-fastly/schema.json index 9d4a2e7e..83bd695c 100644 --- a/provider/cmd/pulumi-resource-fastly/schema.json +++ b/provider/cmd/pulumi-resource-fastly/schema.json @@ -4616,7 +4616,7 @@ "entries": { "type": "object", "additionalProperties": { - "$ref": "pulumi.json#/Any" + "type": "string" }, "description": "A map representing an entry in the Config Store, (key/value)\n" }, @@ -4636,7 +4636,7 @@ "entries": { "type": "object", "additionalProperties": { - "$ref": "pulumi.json#/Any" + "type": "string" }, "description": "A map representing an entry in the Config Store, (key/value)\n" }, @@ -4658,7 +4658,7 @@ "entries": { "type": "object", "additionalProperties": { - "$ref": "pulumi.json#/Any" + "type": "string" }, "description": "A map representing an entry in the Config Store, (key/value)\n" }, @@ -4674,12 +4674,12 @@ } }, "fastly:index/integration:Integration": { - "description": "## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as fastly from \"@pulumi/fastly\";\n\nconst mailinglistExample = new fastly.Integration(\"mailinglist_example\", {\n name: \"my mailing list integration\",\n description: \"example mailing list integration\",\n type: \"mailinglist\",\n config: {\n address: \"incoming-hook@my.domain.com\",\n },\n});\nconst microsoftteamsExample = new fastly.Integration(\"microsoftteams_example\", {\n name: \"my Microsoft Teams integration\",\n description: \"example Microsoft Teams integration\",\n type: \"microsoftteams\",\n config: {\n webhook: \"https://m365x012345.webhook.office.com\",\n },\n});\nconst newrelicExample = new fastly.Integration(\"newrelic_example\", {\n name: \"my New Relic integration\",\n description: \"example New Relic integration\",\n type: \"newrelic\",\n config: {\n account: \"XXXXXXX\",\n key: \"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\",\n },\n});\nconst pagerdutyExample = new fastly.Integration(\"pagerduty_example\", {\n name: \"my PagerDuty integration\",\n description: \"example PagerDuty integration\",\n type: \"pagerduty\",\n config: {\n key: \"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\",\n },\n});\nconst slackExample = new fastly.Integration(\"slack_example\", {\n name: \"my Slack integration\",\n description: \"example Slack integration\",\n type: \"slack\",\n config: {\n webhook: \"https://hooks.slack.com/services/T00000000/B00000000/XXXXXXXXXXXXXXXXXXXXXXXX\",\n },\n});\nconst webhookExample = new fastly.Integration(\"webhook_example\", {\n name: \"my webhook integration\",\n description: \"example webhook integration\",\n type: \"webhook\",\n config: {\n webhook: \"https://my.domain.com/webhook\",\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_fastly as fastly\n\nmailinglist_example = fastly.Integration(\"mailinglist_example\",\n name=\"my mailing list integration\",\n description=\"example mailing list integration\",\n type=\"mailinglist\",\n config={\n \"address\": \"incoming-hook@my.domain.com\",\n })\nmicrosoftteams_example = fastly.Integration(\"microsoftteams_example\",\n name=\"my Microsoft Teams integration\",\n description=\"example Microsoft Teams integration\",\n type=\"microsoftteams\",\n config={\n \"webhook\": \"https://m365x012345.webhook.office.com\",\n })\nnewrelic_example = fastly.Integration(\"newrelic_example\",\n name=\"my New Relic integration\",\n description=\"example New Relic integration\",\n type=\"newrelic\",\n config={\n \"account\": \"XXXXXXX\",\n \"key\": \"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\",\n })\npagerduty_example = fastly.Integration(\"pagerduty_example\",\n name=\"my PagerDuty integration\",\n description=\"example PagerDuty integration\",\n type=\"pagerduty\",\n config={\n \"key\": \"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\",\n })\nslack_example = fastly.Integration(\"slack_example\",\n name=\"my Slack integration\",\n description=\"example Slack integration\",\n type=\"slack\",\n config={\n \"webhook\": \"https://hooks.slack.com/services/T00000000/B00000000/XXXXXXXXXXXXXXXXXXXXXXXX\",\n })\nwebhook_example = fastly.Integration(\"webhook_example\",\n name=\"my webhook integration\",\n description=\"example webhook integration\",\n type=\"webhook\",\n config={\n \"webhook\": \"https://my.domain.com/webhook\",\n })\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Fastly = Pulumi.Fastly;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var mailinglistExample = new Fastly.Integration(\"mailinglist_example\", new()\n {\n Name = \"my mailing list integration\",\n Description = \"example mailing list integration\",\n Type = \"mailinglist\",\n Config = \n {\n { \"address\", \"incoming-hook@my.domain.com\" },\n },\n });\n\n var microsoftteamsExample = new Fastly.Integration(\"microsoftteams_example\", new()\n {\n Name = \"my Microsoft Teams integration\",\n Description = \"example Microsoft Teams integration\",\n Type = \"microsoftteams\",\n Config = \n {\n { \"webhook\", \"https://m365x012345.webhook.office.com\" },\n },\n });\n\n var newrelicExample = new Fastly.Integration(\"newrelic_example\", new()\n {\n Name = \"my New Relic integration\",\n Description = \"example New Relic integration\",\n Type = \"newrelic\",\n Config = \n {\n { \"account\", \"XXXXXXX\" },\n { \"key\", \"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\" },\n },\n });\n\n var pagerdutyExample = new Fastly.Integration(\"pagerduty_example\", new()\n {\n Name = \"my PagerDuty integration\",\n Description = \"example PagerDuty integration\",\n Type = \"pagerduty\",\n Config = \n {\n { \"key\", \"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\" },\n },\n });\n\n var slackExample = new Fastly.Integration(\"slack_example\", new()\n {\n Name = \"my Slack integration\",\n Description = \"example Slack integration\",\n Type = \"slack\",\n Config = \n {\n { \"webhook\", \"https://hooks.slack.com/services/T00000000/B00000000/XXXXXXXXXXXXXXXXXXXXXXXX\" },\n },\n });\n\n var webhookExample = new Fastly.Integration(\"webhook_example\", new()\n {\n Name = \"my webhook integration\",\n Description = \"example webhook integration\",\n Type = \"webhook\",\n Config = \n {\n { \"webhook\", \"https://my.domain.com/webhook\" },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-fastly/sdk/v8/go/fastly\"\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 := fastly.NewIntegration(ctx, \"mailinglist_example\", \u0026fastly.IntegrationArgs{\n\t\t\tName: pulumi.String(\"my mailing list integration\"),\n\t\t\tDescription: pulumi.String(\"example mailing list integration\"),\n\t\t\tType: pulumi.String(\"mailinglist\"),\n\t\t\tConfig: pulumi.Map{\n\t\t\t\t\"address\": pulumi.Any(\"incoming-hook@my.domain.com\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = fastly.NewIntegration(ctx, \"microsoftteams_example\", \u0026fastly.IntegrationArgs{\n\t\t\tName: pulumi.String(\"my Microsoft Teams integration\"),\n\t\t\tDescription: pulumi.String(\"example Microsoft Teams integration\"),\n\t\t\tType: pulumi.String(\"microsoftteams\"),\n\t\t\tConfig: pulumi.Map{\n\t\t\t\t\"webhook\": pulumi.Any(\"https://m365x012345.webhook.office.com\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = fastly.NewIntegration(ctx, \"newrelic_example\", \u0026fastly.IntegrationArgs{\n\t\t\tName: pulumi.String(\"my New Relic integration\"),\n\t\t\tDescription: pulumi.String(\"example New Relic integration\"),\n\t\t\tType: pulumi.String(\"newrelic\"),\n\t\t\tConfig: pulumi.Map{\n\t\t\t\t\"account\": pulumi.Any(\"XXXXXXX\"),\n\t\t\t\t\"key\": pulumi.Any(\"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = fastly.NewIntegration(ctx, \"pagerduty_example\", \u0026fastly.IntegrationArgs{\n\t\t\tName: pulumi.String(\"my PagerDuty integration\"),\n\t\t\tDescription: pulumi.String(\"example PagerDuty integration\"),\n\t\t\tType: pulumi.String(\"pagerduty\"),\n\t\t\tConfig: pulumi.Map{\n\t\t\t\t\"key\": pulumi.Any(\"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = fastly.NewIntegration(ctx, \"slack_example\", \u0026fastly.IntegrationArgs{\n\t\t\tName: pulumi.String(\"my Slack integration\"),\n\t\t\tDescription: pulumi.String(\"example Slack integration\"),\n\t\t\tType: pulumi.String(\"slack\"),\n\t\t\tConfig: pulumi.Map{\n\t\t\t\t\"webhook\": pulumi.Any(\"https://hooks.slack.com/services/T00000000/B00000000/XXXXXXXXXXXXXXXXXXXXXXXX\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = fastly.NewIntegration(ctx, \"webhook_example\", \u0026fastly.IntegrationArgs{\n\t\t\tName: pulumi.String(\"my webhook integration\"),\n\t\t\tDescription: pulumi.String(\"example webhook integration\"),\n\t\t\tType: pulumi.String(\"webhook\"),\n\t\t\tConfig: pulumi.Map{\n\t\t\t\t\"webhook\": pulumi.Any(\"https://my.domain.com/webhook\"),\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.fastly.Integration;\nimport com.pulumi.fastly.IntegrationArgs;\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 mailinglistExample = new Integration(\"mailinglistExample\", IntegrationArgs.builder()\n .name(\"my mailing list integration\")\n .description(\"example mailing list integration\")\n .type(\"mailinglist\")\n .config(Map.of(\"address\", \"incoming-hook@my.domain.com\"))\n .build());\n\n var microsoftteamsExample = new Integration(\"microsoftteamsExample\", IntegrationArgs.builder()\n .name(\"my Microsoft Teams integration\")\n .description(\"example Microsoft Teams integration\")\n .type(\"microsoftteams\")\n .config(Map.of(\"webhook\", \"https://m365x012345.webhook.office.com\"))\n .build());\n\n var newrelicExample = new Integration(\"newrelicExample\", IntegrationArgs.builder()\n .name(\"my New Relic integration\")\n .description(\"example New Relic integration\")\n .type(\"newrelic\")\n .config(Map.ofEntries(\n Map.entry(\"account\", \"XXXXXXX\"),\n Map.entry(\"key\", \"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\")\n ))\n .build());\n\n var pagerdutyExample = new Integration(\"pagerdutyExample\", IntegrationArgs.builder()\n .name(\"my PagerDuty integration\")\n .description(\"example PagerDuty integration\")\n .type(\"pagerduty\")\n .config(Map.of(\"key\", \"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\"))\n .build());\n\n var slackExample = new Integration(\"slackExample\", IntegrationArgs.builder()\n .name(\"my Slack integration\")\n .description(\"example Slack integration\")\n .type(\"slack\")\n .config(Map.of(\"webhook\", \"https://hooks.slack.com/services/T00000000/B00000000/XXXXXXXXXXXXXXXXXXXXXXXX\"))\n .build());\n\n var webhookExample = new Integration(\"webhookExample\", IntegrationArgs.builder()\n .name(\"my webhook integration\")\n .description(\"example webhook integration\")\n .type(\"webhook\")\n .config(Map.of(\"webhook\", \"https://my.domain.com/webhook\"))\n .build());\n\n }\n}\n```\n```yaml\nresources:\n mailinglistExample:\n type: fastly:Integration\n name: mailinglist_example\n properties:\n name: my mailing list integration\n description: example mailing list integration\n type: mailinglist\n config:\n address: incoming-hook@my.domain.com\n microsoftteamsExample:\n type: fastly:Integration\n name: microsoftteams_example\n properties:\n name: my Microsoft Teams integration\n description: example Microsoft Teams integration\n type: microsoftteams\n config:\n webhook: https://m365x012345.webhook.office.com\n newrelicExample:\n type: fastly:Integration\n name: newrelic_example\n properties:\n name: my New Relic integration\n description: example New Relic integration\n type: newrelic\n config:\n account: XXXXXXX\n key: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\n pagerdutyExample:\n type: fastly:Integration\n name: pagerduty_example\n properties:\n name: my PagerDuty integration\n description: example PagerDuty integration\n type: pagerduty\n config:\n key: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\n slackExample:\n type: fastly:Integration\n name: slack_example\n properties:\n name: my Slack integration\n description: example Slack integration\n type: slack\n config:\n webhook: https://hooks.slack.com/services/T00000000/B00000000/XXXXXXXXXXXXXXXXXXXXXXXX\n webhookExample:\n type: fastly:Integration\n name: webhook_example\n properties:\n name: my webhook integration\n description: example webhook integration\n type: webhook\n config:\n webhook: https://my.domain.com/webhook\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as fastly from \"@pulumi/fastly\";\n\nconst mailinglistExample = new fastly.Integration(\"mailinglist_example\", {\n name: \"my mailing list integration\",\n description: \"example mailing list integration\",\n type: \"mailinglist\",\n config: {\n address: \"incoming-hook@my.domain.com\",\n },\n});\nconst microsoftteamsExample = new fastly.Integration(\"microsoftteams_example\", {\n name: \"my Microsoft Teams integration\",\n description: \"example Microsoft Teams integration\",\n type: \"microsoftteams\",\n config: {\n webhook: \"https://m365x012345.webhook.office.com\",\n },\n});\nconst newrelicExample = new fastly.Integration(\"newrelic_example\", {\n name: \"my New Relic integration\",\n description: \"example New Relic integration\",\n type: \"newrelic\",\n config: {\n account: \"XXXXXXX\",\n key: \"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\",\n },\n});\nconst pagerdutyExample = new fastly.Integration(\"pagerduty_example\", {\n name: \"my PagerDuty integration\",\n description: \"example PagerDuty integration\",\n type: \"pagerduty\",\n config: {\n key: \"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\",\n },\n});\nconst slackExample = new fastly.Integration(\"slack_example\", {\n name: \"my Slack integration\",\n description: \"example Slack integration\",\n type: \"slack\",\n config: {\n webhook: \"https://hooks.slack.com/services/T00000000/B00000000/XXXXXXXXXXXXXXXXXXXXXXXX\",\n },\n});\nconst webhookExample = new fastly.Integration(\"webhook_example\", {\n name: \"my webhook integration\",\n description: \"example webhook integration\",\n type: \"webhook\",\n config: {\n webhook: \"https://my.domain.com/webhook\",\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_fastly as fastly\n\nmailinglist_example = fastly.Integration(\"mailinglist_example\",\n name=\"my mailing list integration\",\n description=\"example mailing list integration\",\n type=\"mailinglist\",\n config={\n \"address\": \"incoming-hook@my.domain.com\",\n })\nmicrosoftteams_example = fastly.Integration(\"microsoftteams_example\",\n name=\"my Microsoft Teams integration\",\n description=\"example Microsoft Teams integration\",\n type=\"microsoftteams\",\n config={\n \"webhook\": \"https://m365x012345.webhook.office.com\",\n })\nnewrelic_example = fastly.Integration(\"newrelic_example\",\n name=\"my New Relic integration\",\n description=\"example New Relic integration\",\n type=\"newrelic\",\n config={\n \"account\": \"XXXXXXX\",\n \"key\": \"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\",\n })\npagerduty_example = fastly.Integration(\"pagerduty_example\",\n name=\"my PagerDuty integration\",\n description=\"example PagerDuty integration\",\n type=\"pagerduty\",\n config={\n \"key\": \"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\",\n })\nslack_example = fastly.Integration(\"slack_example\",\n name=\"my Slack integration\",\n description=\"example Slack integration\",\n type=\"slack\",\n config={\n \"webhook\": \"https://hooks.slack.com/services/T00000000/B00000000/XXXXXXXXXXXXXXXXXXXXXXXX\",\n })\nwebhook_example = fastly.Integration(\"webhook_example\",\n name=\"my webhook integration\",\n description=\"example webhook integration\",\n type=\"webhook\",\n config={\n \"webhook\": \"https://my.domain.com/webhook\",\n })\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Fastly = Pulumi.Fastly;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var mailinglistExample = new Fastly.Integration(\"mailinglist_example\", new()\n {\n Name = \"my mailing list integration\",\n Description = \"example mailing list integration\",\n Type = \"mailinglist\",\n Config = \n {\n { \"address\", \"incoming-hook@my.domain.com\" },\n },\n });\n\n var microsoftteamsExample = new Fastly.Integration(\"microsoftteams_example\", new()\n {\n Name = \"my Microsoft Teams integration\",\n Description = \"example Microsoft Teams integration\",\n Type = \"microsoftteams\",\n Config = \n {\n { \"webhook\", \"https://m365x012345.webhook.office.com\" },\n },\n });\n\n var newrelicExample = new Fastly.Integration(\"newrelic_example\", new()\n {\n Name = \"my New Relic integration\",\n Description = \"example New Relic integration\",\n Type = \"newrelic\",\n Config = \n {\n { \"account\", \"XXXXXXX\" },\n { \"key\", \"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\" },\n },\n });\n\n var pagerdutyExample = new Fastly.Integration(\"pagerduty_example\", new()\n {\n Name = \"my PagerDuty integration\",\n Description = \"example PagerDuty integration\",\n Type = \"pagerduty\",\n Config = \n {\n { \"key\", \"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\" },\n },\n });\n\n var slackExample = new Fastly.Integration(\"slack_example\", new()\n {\n Name = \"my Slack integration\",\n Description = \"example Slack integration\",\n Type = \"slack\",\n Config = \n {\n { \"webhook\", \"https://hooks.slack.com/services/T00000000/B00000000/XXXXXXXXXXXXXXXXXXXXXXXX\" },\n },\n });\n\n var webhookExample = new Fastly.Integration(\"webhook_example\", new()\n {\n Name = \"my webhook integration\",\n Description = \"example webhook integration\",\n Type = \"webhook\",\n Config = \n {\n { \"webhook\", \"https://my.domain.com/webhook\" },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-fastly/sdk/v8/go/fastly\"\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 := fastly.NewIntegration(ctx, \"mailinglist_example\", \u0026fastly.IntegrationArgs{\n\t\t\tName: pulumi.String(\"my mailing list integration\"),\n\t\t\tDescription: pulumi.String(\"example mailing list integration\"),\n\t\t\tType: pulumi.String(\"mailinglist\"),\n\t\t\tConfig: pulumi.StringMap{\n\t\t\t\t\"address\": pulumi.String(\"incoming-hook@my.domain.com\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = fastly.NewIntegration(ctx, \"microsoftteams_example\", \u0026fastly.IntegrationArgs{\n\t\t\tName: pulumi.String(\"my Microsoft Teams integration\"),\n\t\t\tDescription: pulumi.String(\"example Microsoft Teams integration\"),\n\t\t\tType: pulumi.String(\"microsoftteams\"),\n\t\t\tConfig: pulumi.StringMap{\n\t\t\t\t\"webhook\": pulumi.String(\"https://m365x012345.webhook.office.com\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = fastly.NewIntegration(ctx, \"newrelic_example\", \u0026fastly.IntegrationArgs{\n\t\t\tName: pulumi.String(\"my New Relic integration\"),\n\t\t\tDescription: pulumi.String(\"example New Relic integration\"),\n\t\t\tType: pulumi.String(\"newrelic\"),\n\t\t\tConfig: pulumi.StringMap{\n\t\t\t\t\"account\": pulumi.String(\"XXXXXXX\"),\n\t\t\t\t\"key\": pulumi.String(\"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = fastly.NewIntegration(ctx, \"pagerduty_example\", \u0026fastly.IntegrationArgs{\n\t\t\tName: pulumi.String(\"my PagerDuty integration\"),\n\t\t\tDescription: pulumi.String(\"example PagerDuty integration\"),\n\t\t\tType: pulumi.String(\"pagerduty\"),\n\t\t\tConfig: pulumi.StringMap{\n\t\t\t\t\"key\": pulumi.String(\"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = fastly.NewIntegration(ctx, \"slack_example\", \u0026fastly.IntegrationArgs{\n\t\t\tName: pulumi.String(\"my Slack integration\"),\n\t\t\tDescription: pulumi.String(\"example Slack integration\"),\n\t\t\tType: pulumi.String(\"slack\"),\n\t\t\tConfig: pulumi.StringMap{\n\t\t\t\t\"webhook\": pulumi.String(\"https://hooks.slack.com/services/T00000000/B00000000/XXXXXXXXXXXXXXXXXXXXXXXX\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = fastly.NewIntegration(ctx, \"webhook_example\", \u0026fastly.IntegrationArgs{\n\t\t\tName: pulumi.String(\"my webhook integration\"),\n\t\t\tDescription: pulumi.String(\"example webhook integration\"),\n\t\t\tType: pulumi.String(\"webhook\"),\n\t\t\tConfig: pulumi.StringMap{\n\t\t\t\t\"webhook\": pulumi.String(\"https://my.domain.com/webhook\"),\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.fastly.Integration;\nimport com.pulumi.fastly.IntegrationArgs;\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 mailinglistExample = new Integration(\"mailinglistExample\", IntegrationArgs.builder()\n .name(\"my mailing list integration\")\n .description(\"example mailing list integration\")\n .type(\"mailinglist\")\n .config(Map.of(\"address\", \"incoming-hook@my.domain.com\"))\n .build());\n\n var microsoftteamsExample = new Integration(\"microsoftteamsExample\", IntegrationArgs.builder()\n .name(\"my Microsoft Teams integration\")\n .description(\"example Microsoft Teams integration\")\n .type(\"microsoftteams\")\n .config(Map.of(\"webhook\", \"https://m365x012345.webhook.office.com\"))\n .build());\n\n var newrelicExample = new Integration(\"newrelicExample\", IntegrationArgs.builder()\n .name(\"my New Relic integration\")\n .description(\"example New Relic integration\")\n .type(\"newrelic\")\n .config(Map.ofEntries(\n Map.entry(\"account\", \"XXXXXXX\"),\n Map.entry(\"key\", \"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\")\n ))\n .build());\n\n var pagerdutyExample = new Integration(\"pagerdutyExample\", IntegrationArgs.builder()\n .name(\"my PagerDuty integration\")\n .description(\"example PagerDuty integration\")\n .type(\"pagerduty\")\n .config(Map.of(\"key\", \"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\"))\n .build());\n\n var slackExample = new Integration(\"slackExample\", IntegrationArgs.builder()\n .name(\"my Slack integration\")\n .description(\"example Slack integration\")\n .type(\"slack\")\n .config(Map.of(\"webhook\", \"https://hooks.slack.com/services/T00000000/B00000000/XXXXXXXXXXXXXXXXXXXXXXXX\"))\n .build());\n\n var webhookExample = new Integration(\"webhookExample\", IntegrationArgs.builder()\n .name(\"my webhook integration\")\n .description(\"example webhook integration\")\n .type(\"webhook\")\n .config(Map.of(\"webhook\", \"https://my.domain.com/webhook\"))\n .build());\n\n }\n}\n```\n```yaml\nresources:\n mailinglistExample:\n type: fastly:Integration\n name: mailinglist_example\n properties:\n name: my mailing list integration\n description: example mailing list integration\n type: mailinglist\n config:\n address: incoming-hook@my.domain.com\n microsoftteamsExample:\n type: fastly:Integration\n name: microsoftteams_example\n properties:\n name: my Microsoft Teams integration\n description: example Microsoft Teams integration\n type: microsoftteams\n config:\n webhook: https://m365x012345.webhook.office.com\n newrelicExample:\n type: fastly:Integration\n name: newrelic_example\n properties:\n name: my New Relic integration\n description: example New Relic integration\n type: newrelic\n config:\n account: XXXXXXX\n key: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\n pagerdutyExample:\n type: fastly:Integration\n name: pagerduty_example\n properties:\n name: my PagerDuty integration\n description: example PagerDuty integration\n type: pagerduty\n config:\n key: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\n slackExample:\n type: fastly:Integration\n name: slack_example\n properties:\n name: my Slack integration\n description: example Slack integration\n type: slack\n config:\n webhook: https://hooks.slack.com/services/T00000000/B00000000/XXXXXXXXXXXXXXXXXXXXXXXX\n webhookExample:\n type: fastly:Integration\n name: webhook_example\n properties:\n name: my webhook integration\n description: example webhook integration\n type: webhook\n config:\n webhook: https://my.domain.com/webhook\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "properties": { "config": { "type": "object", "additionalProperties": { - "$ref": "pulumi.json#/Any" + "type": "string" }, "description": "Configuration specific to the integration `type` (see documentation examples).\n", "secret": true @@ -4706,7 +4706,7 @@ "config": { "type": "object", "additionalProperties": { - "$ref": "pulumi.json#/Any" + "type": "string" }, "description": "Configuration specific to the integration `type` (see documentation examples).\n", "secret": true @@ -4734,7 +4734,7 @@ "config": { "type": "object", "additionalProperties": { - "$ref": "pulumi.json#/Any" + "type": "string" }, "description": "Configuration specific to the integration `type` (see documentation examples).\n", "secret": true @@ -5690,7 +5690,7 @@ "items": { "type": "object", "additionalProperties": { - "$ref": "pulumi.json#/Any" + "type": "string" }, "description": "A map representing an entry in the dictionary, (key/value)\n" }, @@ -5716,7 +5716,7 @@ "items": { "type": "object", "additionalProperties": { - "$ref": "pulumi.json#/Any" + "type": "string" }, "description": "A map representing an entry in the dictionary, (key/value)\n" }, @@ -5745,7 +5745,7 @@ "items": { "type": "object", "additionalProperties": { - "$ref": "pulumi.json#/Any" + "type": "string" }, "description": "A map representing an entry in the dictionary, (key/value)\n" }, diff --git a/provider/go.mod b/provider/go.mod index 8463962d..85e2bda8 100644 --- a/provider/go.mod +++ b/provider/go.mod @@ -4,8 +4,8 @@ go 1.21.12 require ( github.com/fastly/terraform-provider-fastly v0.0.0 - github.com/pulumi/pulumi-terraform-bridge/v3 v3.89.0 - github.com/pulumi/pulumi/sdk/v3 v3.128.0 + github.com/pulumi/pulumi-terraform-bridge/v3 v3.89.1 + github.com/pulumi/pulumi/sdk/v3 v3.129.0 ) require ( @@ -164,10 +164,10 @@ require ( github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231 // indirect github.com/pulumi/esc v0.9.1 // indirect github.com/pulumi/inflector v0.1.1 // indirect - github.com/pulumi/pulumi-java/pkg v0.11.0 // indirect + github.com/pulumi/pulumi-java/pkg v0.14.0 // indirect github.com/pulumi/pulumi-terraform-bridge/x/muxer v0.0.8 // indirect - github.com/pulumi/pulumi-yaml v1.9.1 // indirect - github.com/pulumi/pulumi/pkg/v3 v3.128.0 // indirect + github.com/pulumi/pulumi-yaml v1.9.2 // indirect + github.com/pulumi/pulumi/pkg/v3 v3.129.0 // indirect github.com/pulumi/schema-tools v0.1.2 // indirect github.com/pulumi/terraform-diff-reader v0.0.2 // indirect github.com/rivo/uniseg v0.4.4 // indirect @@ -186,6 +186,7 @@ require ( github.com/spf13/cobra v1.8.0 // indirect github.com/spf13/pflag v1.0.5 // indirect github.com/stretchr/testify v1.9.0 // indirect + github.com/teekennedy/goldmark-markdown v0.3.0 // indirect github.com/texttheater/golang-levenshtein v1.0.1 // indirect github.com/tweekmonster/luser v0.0.0-20161003172636-3fa38070dbd7 // indirect github.com/uber/jaeger-client-go v2.30.0+incompatible // indirect diff --git a/provider/go.sum b/provider/go.sum index a62d3a11..598b53e8 100644 --- a/provider/go.sum +++ b/provider/go.sum @@ -1915,18 +1915,18 @@ github.com/pulumi/inflector v0.1.1 h1:dvlxlWtXwOJTUUtcYDvwnl6Mpg33prhK+7mzeF+Sob github.com/pulumi/inflector v0.1.1/go.mod h1:HUFCjcPTz96YtTuUlwG3i3EZG4WlniBvR9bd+iJxCUY= github.com/pulumi/providertest v0.0.14 h1:5QlAPAAs82jkQraHsJvq1xgVfC7xtW8sFJwv2pHgxQ8= github.com/pulumi/providertest v0.0.14/go.mod h1:GcsqEGgSngwaNOD+kICJPIUQlnA911fGBU8HDlJvVL0= -github.com/pulumi/pulumi-java/pkg v0.11.0 h1:Jw9gBvyfmfOMq/EkYDm9+zGPxsDAA8jfeMpHmtZ+1oA= -github.com/pulumi/pulumi-java/pkg v0.11.0/go.mod h1:sXAk25P47AQVQL6ilAbFmRNgZykC7og/+87ihnqzFTc= -github.com/pulumi/pulumi-terraform-bridge/v3 v3.89.0 h1:Om0Yw07/5dVABB2ou8+XBCmbp9TUUtDZJEh2B5jPGgI= -github.com/pulumi/pulumi-terraform-bridge/v3 v3.89.0/go.mod h1:EWGqRo+ogMPty23b6rVUajgJXUDSNXU+WqcZTPlzyEI= +github.com/pulumi/pulumi-java/pkg v0.14.0 h1:CKL7lLF81Fq6VRhA5TNFsSMnHraTNCUzIhqCzYX8Wzk= +github.com/pulumi/pulumi-java/pkg v0.14.0/go.mod h1:VybuJMWJtJc9ZNbt1kcYH4TbpocMx9mEi7YWL2Co99c= +github.com/pulumi/pulumi-terraform-bridge/v3 v3.89.1 h1:FLQknb6r3r/uaj1XLbouFF88eF1Fk0h4JOVS9kHKDRY= +github.com/pulumi/pulumi-terraform-bridge/v3 v3.89.1/go.mod h1:JAxygKR/XGW6zIv6iOP6sHAYjZ7OCtqU7j6Od1lUk38= github.com/pulumi/pulumi-terraform-bridge/x/muxer v0.0.8 h1:mav2tSitA9BPJPLLahKgepHyYsMzwaTm4cvp0dcTMYw= github.com/pulumi/pulumi-terraform-bridge/x/muxer v0.0.8/go.mod h1:qUYk2c9i/yqMGNj9/bQyXpS39BxNDSXYjVN1njnq0zY= -github.com/pulumi/pulumi-yaml v1.9.1 h1:JPeI80M23SPactxgnCFS1casZlSr7ZhAXwSx4H55QQ4= -github.com/pulumi/pulumi-yaml v1.9.1/go.mod h1:OH0R34yJxA5u6zjYBN4JXcWoEvfkRoOVWi6viu8buoA= -github.com/pulumi/pulumi/pkg/v3 v3.128.0 h1:K3qtJYjHg4DkA7LxknY/MoQZ+QHdHQDh/k2njjmjHXM= -github.com/pulumi/pulumi/pkg/v3 v3.128.0/go.mod h1:/spoJXy/mqQ8fBLgXBEbUrAnL7pHdfXOviIo5fZROEY= -github.com/pulumi/pulumi/sdk/v3 v3.128.0 h1:5VPFfygxt6rva0bEYVQZXxsGAo2/D1wsb9erGOtXxzk= -github.com/pulumi/pulumi/sdk/v3 v3.128.0/go.mod h1:p1U24en3zt51agx+WlNboSOV8eLlPWYAkxMzVEXKbnY= +github.com/pulumi/pulumi-yaml v1.9.2 h1:BCUuRPA1USmFXrExiHRU8yJ+OiphLYnroPxKRgGCJrs= +github.com/pulumi/pulumi-yaml v1.9.2/go.mod h1:sIh/Oa/NLRGTojevh8D2/cPDPvo2j9iXegVDQIKKfw4= +github.com/pulumi/pulumi/pkg/v3 v3.129.0 h1:n4Jd4ctlvw3eqyHglb/yJKDtRqjOvdkCBfG5T+orU30= +github.com/pulumi/pulumi/pkg/v3 v3.129.0/go.mod h1:W3c7JgO064kUH5IfyQMCgmsAr5iwr3PO6KEeIQiO0dY= +github.com/pulumi/pulumi/sdk/v3 v3.129.0 h1:uZpTTwWTx7Mk8UT9FgatzxzArim47vZ6hzNCKvgvX6A= +github.com/pulumi/pulumi/sdk/v3 v3.129.0/go.mod h1:p1U24en3zt51agx+WlNboSOV8eLlPWYAkxMzVEXKbnY= github.com/pulumi/schema-tools v0.1.2 h1:Fd9xvUjgck4NA+7/jSk7InqCUT4Kj940+EcnbQKpfZo= github.com/pulumi/schema-tools v0.1.2/go.mod h1:62lgj52Tzq11eqWTIaKd+EVyYAu5dEcDJxMhTjvMO/k= github.com/pulumi/terraform-diff-reader v0.0.2 h1:kTE4nEXU3/SYXESvAIem+wyHMI3abqkI3OhJ0G04LLI= @@ -1935,6 +1935,8 @@ github.com/pulumi/terraform-plugin-sdk/v2 v2.0.0-20240520223432-0c0bf0d65f10 h1: github.com/pulumi/terraform-plugin-sdk/v2 v2.0.0-20240520223432-0c0bf0d65f10/go.mod h1:H+8tjs9TjV2w57QFVSMBQacf8k/E1XwLXGCARgViC6A= github.com/remyoudompheng/bigfft v0.0.0-20200410134404-eec4a21b6bb0/go.mod h1:qqbHyh8v60DhA7CoWK5oRCqLrMHRGoxYCSS9EjAz6Eo= github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec/go.mod h1:qqbHyh8v60DhA7CoWK5oRCqLrMHRGoxYCSS9EjAz6Eo= +github.com/rhysd/go-fakeio v1.0.0 h1:+TjiKCOs32dONY7DaoVz/VPOdvRkPfBkEyUDIpM8FQY= +github.com/rhysd/go-fakeio v1.0.0/go.mod h1:joYxF906trVwp2JLrE4jlN7A0z6wrz8O6o1UjarbFzE= github.com/rivo/uniseg v0.1.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= github.com/rivo/uniseg v0.4.4 h1:8TfxU8dW6PdqD27gjM8MVNuicgxIjxpm4K7x4jp8sis= @@ -2011,6 +2013,8 @@ github.com/stretchr/testify v1.8.3/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXl github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg= github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= +github.com/teekennedy/goldmark-markdown v0.3.0 h1:ik9/biVGCwGWFg8dQ3KVm2pQ/wiiG0whYiUcz9xH0W8= +github.com/teekennedy/goldmark-markdown v0.3.0/go.mod h1:kMhDz8La77A9UHvJGsxejd0QUflN9sS+QXCqnhmxmNo= github.com/texttheater/golang-levenshtein v1.0.1 h1:+cRNoVrfiwufQPhoMzB6N0Yf/Mqajr6t1lOv8GyGE2U= github.com/texttheater/golang-levenshtein v1.0.1/go.mod h1:PYAKrbF5sAiq9wd+H82hs7gNaen0CplQ9uvm6+enD/8= github.com/tweekmonster/luser v0.0.0-20161003172636-3fa38070dbd7 h1:X9dsIWPuuEJlPX//UmRKophhOKCGXc46RVIGuttks68= diff --git a/sdk/dotnet/ConfigstoreEntries.cs b/sdk/dotnet/ConfigstoreEntries.cs index 96d75c49..9e229217 100644 --- a/sdk/dotnet/ConfigstoreEntries.cs +++ b/sdk/dotnet/ConfigstoreEntries.cs @@ -25,7 +25,7 @@ public partial class ConfigstoreEntries : global::Pulumi.CustomResource /// A map representing an entry in the Config Store, (key/value) /// [Output("entries")] - public Output> Entries { get; private set; } = null!; + public Output> Entries { get; private set; } = null!; [Output("manageEntries")] public Output ManageEntries { get; private set; } = null!; @@ -83,14 +83,14 @@ public static ConfigstoreEntries Get(string name, Input id, ConfigstoreE public sealed class ConfigstoreEntriesArgs : global::Pulumi.ResourceArgs { [Input("entries", required: true)] - private InputMap? _entries; + private InputMap? _entries; /// /// A map representing an entry in the Config Store, (key/value) /// - public InputMap Entries + public InputMap Entries { - get => _entries ?? (_entries = new InputMap()); + get => _entries ?? (_entries = new InputMap()); set => _entries = value; } @@ -112,14 +112,14 @@ public ConfigstoreEntriesArgs() public sealed class ConfigstoreEntriesState : global::Pulumi.ResourceArgs { [Input("entries")] - private InputMap? _entries; + private InputMap? _entries; /// /// A map representing an entry in the Config Store, (key/value) /// - public InputMap Entries + public InputMap Entries { - get => _entries ?? (_entries = new InputMap()); + get => _entries ?? (_entries = new InputMap()); set => _entries = value; } diff --git a/sdk/dotnet/Integration.cs b/sdk/dotnet/Integration.cs index 1eb6cf33..c6d4f67a 100644 --- a/sdk/dotnet/Integration.cs +++ b/sdk/dotnet/Integration.cs @@ -97,7 +97,7 @@ public partial class Integration : global::Pulumi.CustomResource /// Configuration specific to the integration `type` (see documentation examples). /// [Output("config")] - public Output> Config { get; private set; } = null!; + public Output> Config { get; private set; } = null!; /// /// User submitted description of the integration. @@ -168,17 +168,17 @@ public static Integration Get(string name, Input id, IntegrationState? s public sealed class IntegrationArgs : global::Pulumi.ResourceArgs { [Input("config", required: true)] - private InputMap? _config; + private InputMap? _config; /// /// Configuration specific to the integration `type` (see documentation examples). /// - public InputMap Config + public InputMap Config { - get => _config ?? (_config = new InputMap()); + get => _config ?? (_config = new InputMap()); set { - var emptySecret = Output.CreateSecret(ImmutableDictionary.Create()); + var emptySecret = Output.CreateSecret(ImmutableDictionary.Create()); _config = Output.All(value, emptySecret).Apply(v => v[0]); } } @@ -210,17 +210,17 @@ public IntegrationArgs() public sealed class IntegrationState : global::Pulumi.ResourceArgs { [Input("config")] - private InputMap? _config; + private InputMap? _config; /// /// Configuration specific to the integration `type` (see documentation examples). /// - public InputMap Config + public InputMap Config { - get => _config ?? (_config = new InputMap()); + get => _config ?? (_config = new InputMap()); set { - var emptySecret = Output.CreateSecret(ImmutableDictionary.Create()); + var emptySecret = Output.CreateSecret(ImmutableDictionary.Create()); _config = Output.All(value, emptySecret).Apply(v => v[0]); } } diff --git a/sdk/dotnet/ServiceDictionaryItems.cs b/sdk/dotnet/ServiceDictionaryItems.cs index a1de2e17..63280d05 100644 --- a/sdk/dotnet/ServiceDictionaryItems.cs +++ b/sdk/dotnet/ServiceDictionaryItems.cs @@ -39,7 +39,7 @@ public partial class ServiceDictionaryItems : global::Pulumi.CustomResource /// A map representing an entry in the dictionary, (key/value) /// [Output("items")] - public Output?> Items { get; private set; } = null!; + public Output?> Items { get; private set; } = null!; /// /// Whether to reapply changes if the state of the items drifts, i.e. if items are managed externally @@ -106,14 +106,14 @@ public sealed class ServiceDictionaryItemsArgs : global::Pulumi.ResourceArgs public Input DictionaryId { get; set; } = null!; [Input("items")] - private InputMap? _items; + private InputMap? _items; /// /// A map representing an entry in the dictionary, (key/value) /// - public InputMap Items + public InputMap Items { - get => _items ?? (_items = new InputMap()); + get => _items ?? (_items = new InputMap()); set => _items = value; } @@ -144,14 +144,14 @@ public sealed class ServiceDictionaryItemsState : global::Pulumi.ResourceArgs public Input? DictionaryId { get; set; } [Input("items")] - private InputMap? _items; + private InputMap? _items; /// /// A map representing an entry in the dictionary, (key/value) /// - public InputMap Items + public InputMap Items { - get => _items ?? (_items = new InputMap()); + get => _items ?? (_items = new InputMap()); set => _items = value; } diff --git a/sdk/go.mod b/sdk/go.mod index 24f22795..c3103669 100644 --- a/sdk/go.mod +++ b/sdk/go.mod @@ -4,7 +4,7 @@ go 1.21 require ( github.com/blang/semver v3.5.1+incompatible - github.com/pulumi/pulumi/sdk/v3 v3.128.0 + github.com/pulumi/pulumi/sdk/v3 v3.129.0 ) require ( diff --git a/sdk/go.sum b/sdk/go.sum index 2543199c..07e28f48 100644 --- a/sdk/go.sum +++ b/sdk/go.sum @@ -150,8 +150,8 @@ github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231 h1:vkHw5I/plNdTr435 github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231/go.mod h1:murToZ2N9hNJzewjHBgfFdXhZKjY3z5cYC1VXk+lbFE= github.com/pulumi/esc v0.9.1 h1:HH5eEv8sgyxSpY5a8yePyqFXzA8cvBvapfH8457+mIs= github.com/pulumi/esc v0.9.1/go.mod h1:oEJ6bOsjYlQUpjf70GiX+CXn3VBmpwFDxUTlmtUN84c= -github.com/pulumi/pulumi/sdk/v3 v3.128.0 h1:5VPFfygxt6rva0bEYVQZXxsGAo2/D1wsb9erGOtXxzk= -github.com/pulumi/pulumi/sdk/v3 v3.128.0/go.mod h1:p1U24en3zt51agx+WlNboSOV8eLlPWYAkxMzVEXKbnY= +github.com/pulumi/pulumi/sdk/v3 v3.129.0 h1:uZpTTwWTx7Mk8UT9FgatzxzArim47vZ6hzNCKvgvX6A= +github.com/pulumi/pulumi/sdk/v3 v3.129.0/go.mod h1:p1U24en3zt51agx+WlNboSOV8eLlPWYAkxMzVEXKbnY= github.com/rivo/uniseg v0.1.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= github.com/rivo/uniseg v0.4.4 h1:8TfxU8dW6PdqD27gjM8MVNuicgxIjxpm4K7x4jp8sis= diff --git a/sdk/go/fastly/configstoreEntries.go b/sdk/go/fastly/configstoreEntries.go index 6bd1def8..daaa5c9c 100644 --- a/sdk/go/fastly/configstoreEntries.go +++ b/sdk/go/fastly/configstoreEntries.go @@ -23,8 +23,8 @@ type ConfigstoreEntries struct { pulumi.CustomResourceState // A map representing an entry in the Config Store, (key/value) - Entries pulumi.MapOutput `pulumi:"entries"` - ManageEntries pulumi.BoolPtrOutput `pulumi:"manageEntries"` + Entries pulumi.StringMapOutput `pulumi:"entries"` + ManageEntries pulumi.BoolPtrOutput `pulumi:"manageEntries"` // An alphanumeric string identifying the Config Store. StoreId pulumi.StringOutput `pulumi:"storeId"` } @@ -66,15 +66,15 @@ func GetConfigstoreEntries(ctx *pulumi.Context, // Input properties used for looking up and filtering ConfigstoreEntries resources. type configstoreEntriesState struct { // A map representing an entry in the Config Store, (key/value) - Entries map[string]interface{} `pulumi:"entries"` - ManageEntries *bool `pulumi:"manageEntries"` + Entries map[string]string `pulumi:"entries"` + ManageEntries *bool `pulumi:"manageEntries"` // An alphanumeric string identifying the Config Store. StoreId *string `pulumi:"storeId"` } type ConfigstoreEntriesState struct { // A map representing an entry in the Config Store, (key/value) - Entries pulumi.MapInput + Entries pulumi.StringMapInput ManageEntries pulumi.BoolPtrInput // An alphanumeric string identifying the Config Store. StoreId pulumi.StringPtrInput @@ -86,8 +86,8 @@ func (ConfigstoreEntriesState) ElementType() reflect.Type { type configstoreEntriesArgs struct { // A map representing an entry in the Config Store, (key/value) - Entries map[string]interface{} `pulumi:"entries"` - ManageEntries *bool `pulumi:"manageEntries"` + Entries map[string]string `pulumi:"entries"` + ManageEntries *bool `pulumi:"manageEntries"` // An alphanumeric string identifying the Config Store. StoreId string `pulumi:"storeId"` } @@ -95,7 +95,7 @@ type configstoreEntriesArgs struct { // The set of arguments for constructing a ConfigstoreEntries resource. type ConfigstoreEntriesArgs struct { // A map representing an entry in the Config Store, (key/value) - Entries pulumi.MapInput + Entries pulumi.StringMapInput ManageEntries pulumi.BoolPtrInput // An alphanumeric string identifying the Config Store. StoreId pulumi.StringInput @@ -189,8 +189,8 @@ func (o ConfigstoreEntriesOutput) ToConfigstoreEntriesOutputWithContext(ctx cont } // A map representing an entry in the Config Store, (key/value) -func (o ConfigstoreEntriesOutput) Entries() pulumi.MapOutput { - return o.ApplyT(func(v *ConfigstoreEntries) pulumi.MapOutput { return v.Entries }).(pulumi.MapOutput) +func (o ConfigstoreEntriesOutput) Entries() pulumi.StringMapOutput { + return o.ApplyT(func(v *ConfigstoreEntries) pulumi.StringMapOutput { return v.Entries }).(pulumi.StringMapOutput) } func (o ConfigstoreEntriesOutput) ManageEntries() pulumi.BoolPtrOutput { diff --git a/sdk/go/fastly/integration.go b/sdk/go/fastly/integration.go index 9c24abc1..70d94d9a 100644 --- a/sdk/go/fastly/integration.go +++ b/sdk/go/fastly/integration.go @@ -30,8 +30,8 @@ import ( // Name: pulumi.String("my mailing list integration"), // Description: pulumi.String("example mailing list integration"), // Type: pulumi.String("mailinglist"), -// Config: pulumi.Map{ -// "address": pulumi.Any("incoming-hook@my.domain.com"), +// Config: pulumi.StringMap{ +// "address": pulumi.String("incoming-hook@my.domain.com"), // }, // }) // if err != nil { @@ -41,8 +41,8 @@ import ( // Name: pulumi.String("my Microsoft Teams integration"), // Description: pulumi.String("example Microsoft Teams integration"), // Type: pulumi.String("microsoftteams"), -// Config: pulumi.Map{ -// "webhook": pulumi.Any("https://m365x012345.webhook.office.com"), +// Config: pulumi.StringMap{ +// "webhook": pulumi.String("https://m365x012345.webhook.office.com"), // }, // }) // if err != nil { @@ -52,9 +52,9 @@ import ( // Name: pulumi.String("my New Relic integration"), // Description: pulumi.String("example New Relic integration"), // Type: pulumi.String("newrelic"), -// Config: pulumi.Map{ -// "account": pulumi.Any("XXXXXXX"), -// "key": pulumi.Any("XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"), +// Config: pulumi.StringMap{ +// "account": pulumi.String("XXXXXXX"), +// "key": pulumi.String("XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"), // }, // }) // if err != nil { @@ -64,8 +64,8 @@ import ( // Name: pulumi.String("my PagerDuty integration"), // Description: pulumi.String("example PagerDuty integration"), // Type: pulumi.String("pagerduty"), -// Config: pulumi.Map{ -// "key": pulumi.Any("XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"), +// Config: pulumi.StringMap{ +// "key": pulumi.String("XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"), // }, // }) // if err != nil { @@ -75,8 +75,8 @@ import ( // Name: pulumi.String("my Slack integration"), // Description: pulumi.String("example Slack integration"), // Type: pulumi.String("slack"), -// Config: pulumi.Map{ -// "webhook": pulumi.Any("https://hooks.slack.com/services/T00000000/B00000000/XXXXXXXXXXXXXXXXXXXXXXXX"), +// Config: pulumi.StringMap{ +// "webhook": pulumi.String("https://hooks.slack.com/services/T00000000/B00000000/XXXXXXXXXXXXXXXXXXXXXXXX"), // }, // }) // if err != nil { @@ -86,8 +86,8 @@ import ( // Name: pulumi.String("my webhook integration"), // Description: pulumi.String("example webhook integration"), // Type: pulumi.String("webhook"), -// Config: pulumi.Map{ -// "webhook": pulumi.Any("https://my.domain.com/webhook"), +// Config: pulumi.StringMap{ +// "webhook": pulumi.String("https://my.domain.com/webhook"), // }, // }) // if err != nil { @@ -102,7 +102,7 @@ type Integration struct { pulumi.CustomResourceState // Configuration specific to the integration `type` (see documentation examples). - Config pulumi.MapOutput `pulumi:"config"` + Config pulumi.StringMapOutput `pulumi:"config"` // User submitted description of the integration. Description pulumi.StringPtrOutput `pulumi:"description"` // User submitted name of the integration. @@ -125,7 +125,7 @@ func NewIntegration(ctx *pulumi.Context, return nil, errors.New("invalid value for required argument 'Type'") } if args.Config != nil { - args.Config = pulumi.ToSecret(args.Config).(pulumi.MapInput) + args.Config = pulumi.ToSecret(args.Config).(pulumi.StringMapInput) } secrets := pulumi.AdditionalSecretOutputs([]string{ "config", @@ -155,7 +155,7 @@ func GetIntegration(ctx *pulumi.Context, // Input properties used for looking up and filtering Integration resources. type integrationState struct { // Configuration specific to the integration `type` (see documentation examples). - Config map[string]interface{} `pulumi:"config"` + Config map[string]string `pulumi:"config"` // User submitted description of the integration. Description *string `pulumi:"description"` // User submitted name of the integration. @@ -166,7 +166,7 @@ type integrationState struct { type IntegrationState struct { // Configuration specific to the integration `type` (see documentation examples). - Config pulumi.MapInput + Config pulumi.StringMapInput // User submitted description of the integration. Description pulumi.StringPtrInput // User submitted name of the integration. @@ -181,7 +181,7 @@ func (IntegrationState) ElementType() reflect.Type { type integrationArgs struct { // Configuration specific to the integration `type` (see documentation examples). - Config map[string]interface{} `pulumi:"config"` + Config map[string]string `pulumi:"config"` // User submitted description of the integration. Description *string `pulumi:"description"` // User submitted name of the integration. @@ -193,7 +193,7 @@ type integrationArgs struct { // The set of arguments for constructing a Integration resource. type IntegrationArgs struct { // Configuration specific to the integration `type` (see documentation examples). - Config pulumi.MapInput + Config pulumi.StringMapInput // User submitted description of the integration. Description pulumi.StringPtrInput // User submitted name of the integration. @@ -290,8 +290,8 @@ func (o IntegrationOutput) ToIntegrationOutputWithContext(ctx context.Context) I } // Configuration specific to the integration `type` (see documentation examples). -func (o IntegrationOutput) Config() pulumi.MapOutput { - return o.ApplyT(func(v *Integration) pulumi.MapOutput { return v.Config }).(pulumi.MapOutput) +func (o IntegrationOutput) Config() pulumi.StringMapOutput { + return o.ApplyT(func(v *Integration) pulumi.StringMapOutput { return v.Config }).(pulumi.StringMapOutput) } // User submitted description of the integration. diff --git a/sdk/go/fastly/serviceDictionaryItems.go b/sdk/go/fastly/serviceDictionaryItems.go index f4044edc..0803ac67 100644 --- a/sdk/go/fastly/serviceDictionaryItems.go +++ b/sdk/go/fastly/serviceDictionaryItems.go @@ -33,7 +33,7 @@ type ServiceDictionaryItems struct { // The ID of the dictionary that the items belong to DictionaryId pulumi.StringOutput `pulumi:"dictionaryId"` // A map representing an entry in the dictionary, (key/value) - Items pulumi.MapOutput `pulumi:"items"` + Items pulumi.StringMapOutput `pulumi:"items"` // Whether to reapply changes if the state of the items drifts, i.e. if items are managed externally ManageItems pulumi.BoolPtrOutput `pulumi:"manageItems"` // The ID of the service that the dictionary belongs to @@ -79,7 +79,7 @@ type serviceDictionaryItemsState struct { // The ID of the dictionary that the items belong to DictionaryId *string `pulumi:"dictionaryId"` // A map representing an entry in the dictionary, (key/value) - Items map[string]interface{} `pulumi:"items"` + Items map[string]string `pulumi:"items"` // Whether to reapply changes if the state of the items drifts, i.e. if items are managed externally ManageItems *bool `pulumi:"manageItems"` // The ID of the service that the dictionary belongs to @@ -90,7 +90,7 @@ type ServiceDictionaryItemsState struct { // The ID of the dictionary that the items belong to DictionaryId pulumi.StringPtrInput // A map representing an entry in the dictionary, (key/value) - Items pulumi.MapInput + Items pulumi.StringMapInput // Whether to reapply changes if the state of the items drifts, i.e. if items are managed externally ManageItems pulumi.BoolPtrInput // The ID of the service that the dictionary belongs to @@ -105,7 +105,7 @@ type serviceDictionaryItemsArgs struct { // The ID of the dictionary that the items belong to DictionaryId string `pulumi:"dictionaryId"` // A map representing an entry in the dictionary, (key/value) - Items map[string]interface{} `pulumi:"items"` + Items map[string]string `pulumi:"items"` // Whether to reapply changes if the state of the items drifts, i.e. if items are managed externally ManageItems *bool `pulumi:"manageItems"` // The ID of the service that the dictionary belongs to @@ -117,7 +117,7 @@ type ServiceDictionaryItemsArgs struct { // The ID of the dictionary that the items belong to DictionaryId pulumi.StringInput // A map representing an entry in the dictionary, (key/value) - Items pulumi.MapInput + Items pulumi.StringMapInput // Whether to reapply changes if the state of the items drifts, i.e. if items are managed externally ManageItems pulumi.BoolPtrInput // The ID of the service that the dictionary belongs to @@ -217,8 +217,8 @@ func (o ServiceDictionaryItemsOutput) DictionaryId() pulumi.StringOutput { } // A map representing an entry in the dictionary, (key/value) -func (o ServiceDictionaryItemsOutput) Items() pulumi.MapOutput { - return o.ApplyT(func(v *ServiceDictionaryItems) pulumi.MapOutput { return v.Items }).(pulumi.MapOutput) +func (o ServiceDictionaryItemsOutput) Items() pulumi.StringMapOutput { + return o.ApplyT(func(v *ServiceDictionaryItems) pulumi.StringMapOutput { return v.Items }).(pulumi.StringMapOutput) } // Whether to reapply changes if the state of the items drifts, i.e. if items are managed externally diff --git a/sdk/java/src/main/java/com/pulumi/fastly/ConfigstoreEntries.java b/sdk/java/src/main/java/com/pulumi/fastly/ConfigstoreEntries.java index 81e24a78..6b608b7a 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/ConfigstoreEntries.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/ConfigstoreEntries.java @@ -11,7 +11,6 @@ import com.pulumi.fastly.Utilities; import com.pulumi.fastly.inputs.ConfigstoreEntriesState; import java.lang.Boolean; -import java.lang.Object; import java.lang.String; import java.util.Map; import java.util.Optional; @@ -33,14 +32,14 @@ public class ConfigstoreEntries extends com.pulumi.resources.CustomResource { * A map representing an entry in the Config Store, (key/value) * */ - @Export(name="entries", refs={Map.class,String.class,Object.class}, tree="[0,1,2]") - private Output> entries; + @Export(name="entries", refs={Map.class,String.class}, tree="[0,1,1]") + private Output> entries; /** * @return A map representing an entry in the Config Store, (key/value) * */ - public Output> entries() { + public Output> entries() { return this.entries; } @Export(name="manageEntries", refs={Boolean.class}, tree="[0]") diff --git a/sdk/java/src/main/java/com/pulumi/fastly/ConfigstoreEntriesArgs.java b/sdk/java/src/main/java/com/pulumi/fastly/ConfigstoreEntriesArgs.java index 3a23c6c6..96855657 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/ConfigstoreEntriesArgs.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/ConfigstoreEntriesArgs.java @@ -7,7 +7,6 @@ import com.pulumi.core.annotations.Import; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; -import java.lang.Object; import java.lang.String; import java.util.Map; import java.util.Objects; @@ -24,13 +23,13 @@ public final class ConfigstoreEntriesArgs extends com.pulumi.resources.ResourceA * */ @Import(name="entries", required=true) - private Output> entries; + private Output> entries; /** * @return A map representing an entry in the Config Store, (key/value) * */ - public Output> entries() { + public Output> entries() { return this.entries; } @@ -88,7 +87,7 @@ public Builder(ConfigstoreEntriesArgs defaults) { * @return builder * */ - public Builder entries(Output> entries) { + public Builder entries(Output> entries) { $.entries = entries; return this; } @@ -99,7 +98,7 @@ public Builder entries(Output> entries) { * @return builder * */ - public Builder entries(Map entries) { + public Builder entries(Map entries) { return entries(Output.of(entries)); } diff --git a/sdk/java/src/main/java/com/pulumi/fastly/Integration.java b/sdk/java/src/main/java/com/pulumi/fastly/Integration.java index 775dc097..9567b677 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/Integration.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/Integration.java @@ -10,7 +10,6 @@ import com.pulumi.fastly.IntegrationArgs; import com.pulumi.fastly.Utilities; import com.pulumi.fastly.inputs.IntegrationState; -import java.lang.Object; import java.lang.String; import java.util.List; import java.util.Map; @@ -101,14 +100,14 @@ public class Integration extends com.pulumi.resources.CustomResource { * Configuration specific to the integration `type` (see documentation examples). * */ - @Export(name="config", refs={Map.class,String.class,Object.class}, tree="[0,1,2]") - private Output> config; + @Export(name="config", refs={Map.class,String.class}, tree="[0,1,1]") + private Output> config; /** * @return Configuration specific to the integration `type` (see documentation examples). * */ - public Output> config() { + public Output> config() { return this.config; } /** diff --git a/sdk/java/src/main/java/com/pulumi/fastly/IntegrationArgs.java b/sdk/java/src/main/java/com/pulumi/fastly/IntegrationArgs.java index 3df4bed2..0edd3a17 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/IntegrationArgs.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/IntegrationArgs.java @@ -6,7 +6,6 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.Object; import java.lang.String; import java.util.Map; import java.util.Objects; @@ -23,13 +22,13 @@ public final class IntegrationArgs extends com.pulumi.resources.ResourceArgs { * */ @Import(name="config", required=true) - private Output> config; + private Output> config; /** * @return Configuration specific to the integration `type` (see documentation examples). * */ - public Output> config() { + public Output> config() { return this.config; } @@ -111,7 +110,7 @@ public Builder(IntegrationArgs defaults) { * @return builder * */ - public Builder config(Output> config) { + public Builder config(Output> config) { $.config = config; return this; } @@ -122,7 +121,7 @@ public Builder config(Output> config) { * @return builder * */ - public Builder config(Map config) { + public Builder config(Map config) { return config(Output.of(config)); } diff --git a/sdk/java/src/main/java/com/pulumi/fastly/ServiceDictionaryItems.java b/sdk/java/src/main/java/com/pulumi/fastly/ServiceDictionaryItems.java index 77772232..146b1e6a 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/ServiceDictionaryItems.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/ServiceDictionaryItems.java @@ -11,7 +11,6 @@ import com.pulumi.fastly.Utilities; import com.pulumi.fastly.inputs.ServiceDictionaryItemsState; import java.lang.Boolean; -import java.lang.Object; import java.lang.String; import java.util.Map; import java.util.Optional; @@ -55,14 +54,14 @@ public Output dictionaryId() { * A map representing an entry in the dictionary, (key/value) * */ - @Export(name="items", refs={Map.class,String.class,Object.class}, tree="[0,1,2]") - private Output> items; + @Export(name="items", refs={Map.class,String.class}, tree="[0,1,1]") + private Output> items; /** * @return A map representing an entry in the dictionary, (key/value) * */ - public Output>> items() { + public Output>> items() { return Codegen.optional(this.items); } /** diff --git a/sdk/java/src/main/java/com/pulumi/fastly/ServiceDictionaryItemsArgs.java b/sdk/java/src/main/java/com/pulumi/fastly/ServiceDictionaryItemsArgs.java index 322f8116..7d7c0249 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/ServiceDictionaryItemsArgs.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/ServiceDictionaryItemsArgs.java @@ -7,7 +7,6 @@ import com.pulumi.core.annotations.Import; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Boolean; -import java.lang.Object; import java.lang.String; import java.util.Map; import java.util.Objects; @@ -39,13 +38,13 @@ public Output dictionaryId() { * */ @Import(name="items") - private @Nullable Output> items; + private @Nullable Output> items; /** * @return A map representing an entry in the dictionary, (key/value) * */ - public Optional>> items() { + public Optional>> items() { return Optional.ofNullable(this.items); } @@ -133,7 +132,7 @@ public Builder dictionaryId(String dictionaryId) { * @return builder * */ - public Builder items(@Nullable Output> items) { + public Builder items(@Nullable Output> items) { $.items = items; return this; } @@ -144,7 +143,7 @@ public Builder items(@Nullable Output> items) { * @return builder * */ - public Builder items(Map items) { + public Builder items(Map items) { return items(Output.of(items)); } diff --git a/sdk/java/src/main/java/com/pulumi/fastly/inputs/ConfigstoreEntriesState.java b/sdk/java/src/main/java/com/pulumi/fastly/inputs/ConfigstoreEntriesState.java index 79ea2e80..23e44fbb 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/inputs/ConfigstoreEntriesState.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/inputs/ConfigstoreEntriesState.java @@ -6,7 +6,6 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import java.lang.Boolean; -import java.lang.Object; import java.lang.String; import java.util.Map; import java.util.Objects; @@ -23,13 +22,13 @@ public final class ConfigstoreEntriesState extends com.pulumi.resources.Resource * */ @Import(name="entries") - private @Nullable Output> entries; + private @Nullable Output> entries; /** * @return A map representing an entry in the Config Store, (key/value) * */ - public Optional>> entries() { + public Optional>> entries() { return Optional.ofNullable(this.entries); } @@ -87,7 +86,7 @@ public Builder(ConfigstoreEntriesState defaults) { * @return builder * */ - public Builder entries(@Nullable Output> entries) { + public Builder entries(@Nullable Output> entries) { $.entries = entries; return this; } @@ -98,7 +97,7 @@ public Builder entries(@Nullable Output> entries) { * @return builder * */ - public Builder entries(Map entries) { + public Builder entries(Map entries) { return entries(Output.of(entries)); } diff --git a/sdk/java/src/main/java/com/pulumi/fastly/inputs/IntegrationState.java b/sdk/java/src/main/java/com/pulumi/fastly/inputs/IntegrationState.java index c5436775..82fd3283 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/inputs/IntegrationState.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/inputs/IntegrationState.java @@ -5,7 +5,6 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; -import java.lang.Object; import java.lang.String; import java.util.Map; import java.util.Objects; @@ -22,13 +21,13 @@ public final class IntegrationState extends com.pulumi.resources.ResourceArgs { * */ @Import(name="config") - private @Nullable Output> config; + private @Nullable Output> config; /** * @return Configuration specific to the integration `type` (see documentation examples). * */ - public Optional>> config() { + public Optional>> config() { return Optional.ofNullable(this.config); } @@ -110,7 +109,7 @@ public Builder(IntegrationState defaults) { * @return builder * */ - public Builder config(@Nullable Output> config) { + public Builder config(@Nullable Output> config) { $.config = config; return this; } @@ -121,7 +120,7 @@ public Builder config(@Nullable Output> config) { * @return builder * */ - public Builder config(Map config) { + public Builder config(Map config) { return config(Output.of(config)); } diff --git a/sdk/java/src/main/java/com/pulumi/fastly/inputs/ServiceDictionaryItemsState.java b/sdk/java/src/main/java/com/pulumi/fastly/inputs/ServiceDictionaryItemsState.java index 74e8bc6f..5a6f5d72 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/inputs/ServiceDictionaryItemsState.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/inputs/ServiceDictionaryItemsState.java @@ -6,7 +6,6 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import java.lang.Boolean; -import java.lang.Object; import java.lang.String; import java.util.Map; import java.util.Objects; @@ -38,13 +37,13 @@ public Optional> dictionaryId() { * */ @Import(name="items") - private @Nullable Output> items; + private @Nullable Output> items; /** * @return A map representing an entry in the dictionary, (key/value) * */ - public Optional>> items() { + public Optional>> items() { return Optional.ofNullable(this.items); } @@ -132,7 +131,7 @@ public Builder dictionaryId(String dictionaryId) { * @return builder * */ - public Builder items(@Nullable Output> items) { + public Builder items(@Nullable Output> items) { $.items = items; return this; } @@ -143,7 +142,7 @@ public Builder items(@Nullable Output> items) { * @return builder * */ - public Builder items(Map items) { + public Builder items(Map items) { return items(Output.of(items)); } diff --git a/sdk/nodejs/configstoreEntries.ts b/sdk/nodejs/configstoreEntries.ts index 0edea461..fd6b5e95 100644 --- a/sdk/nodejs/configstoreEntries.ts +++ b/sdk/nodejs/configstoreEntries.ts @@ -44,7 +44,7 @@ export class ConfigstoreEntries extends pulumi.CustomResource { /** * A map representing an entry in the Config Store, (key/value) */ - public readonly entries!: pulumi.Output<{[key: string]: any}>; + public readonly entries!: pulumi.Output<{[key: string]: string}>; public readonly manageEntries!: pulumi.Output; /** * An alphanumeric string identifying the Config Store. @@ -91,7 +91,7 @@ export interface ConfigstoreEntriesState { /** * A map representing an entry in the Config Store, (key/value) */ - entries?: pulumi.Input<{[key: string]: any}>; + entries?: pulumi.Input<{[key: string]: pulumi.Input}>; manageEntries?: pulumi.Input; /** * An alphanumeric string identifying the Config Store. @@ -106,7 +106,7 @@ export interface ConfigstoreEntriesArgs { /** * A map representing an entry in the Config Store, (key/value) */ - entries: pulumi.Input<{[key: string]: any}>; + entries: pulumi.Input<{[key: string]: pulumi.Input}>; manageEntries?: pulumi.Input; /** * An alphanumeric string identifying the Config Store. diff --git a/sdk/nodejs/integration.ts b/sdk/nodejs/integration.ts index 6fef01e5..bb96081f 100644 --- a/sdk/nodejs/integration.ts +++ b/sdk/nodejs/integration.ts @@ -93,7 +93,7 @@ export class Integration extends pulumi.CustomResource { /** * Configuration specific to the integration `type` (see documentation examples). */ - public readonly config!: pulumi.Output<{[key: string]: any}>; + public readonly config!: pulumi.Output<{[key: string]: string}>; /** * User submitted description of the integration. */ @@ -151,7 +151,7 @@ export interface IntegrationState { /** * Configuration specific to the integration `type` (see documentation examples). */ - config?: pulumi.Input<{[key: string]: any}>; + config?: pulumi.Input<{[key: string]: pulumi.Input}>; /** * User submitted description of the integration. */ @@ -173,7 +173,7 @@ export interface IntegrationArgs { /** * Configuration specific to the integration `type` (see documentation examples). */ - config: pulumi.Input<{[key: string]: any}>; + config: pulumi.Input<{[key: string]: pulumi.Input}>; /** * User submitted description of the integration. */ diff --git a/sdk/nodejs/serviceDictionaryItems.ts b/sdk/nodejs/serviceDictionaryItems.ts index 6793a48a..951bc44c 100644 --- a/sdk/nodejs/serviceDictionaryItems.ts +++ b/sdk/nodejs/serviceDictionaryItems.ts @@ -56,7 +56,7 @@ export class ServiceDictionaryItems extends pulumi.CustomResource { /** * A map representing an entry in the dictionary, (key/value) */ - public readonly items!: pulumi.Output<{[key: string]: any} | undefined>; + public readonly items!: pulumi.Output<{[key: string]: string} | undefined>; /** * Whether to reapply changes if the state of the items drifts, i.e. if items are managed externally */ @@ -112,7 +112,7 @@ export interface ServiceDictionaryItemsState { /** * A map representing an entry in the dictionary, (key/value) */ - items?: pulumi.Input<{[key: string]: any}>; + items?: pulumi.Input<{[key: string]: pulumi.Input}>; /** * Whether to reapply changes if the state of the items drifts, i.e. if items are managed externally */ @@ -134,7 +134,7 @@ export interface ServiceDictionaryItemsArgs { /** * A map representing an entry in the dictionary, (key/value) */ - items?: pulumi.Input<{[key: string]: any}>; + items?: pulumi.Input<{[key: string]: pulumi.Input}>; /** * Whether to reapply changes if the state of the items drifts, i.e. if items are managed externally */ diff --git a/sdk/python/pulumi_fastly/configstore_entries.py b/sdk/python/pulumi_fastly/configstore_entries.py index 90b3a6bd..00ac471c 100644 --- a/sdk/python/pulumi_fastly/configstore_entries.py +++ b/sdk/python/pulumi_fastly/configstore_entries.py @@ -14,12 +14,12 @@ @pulumi.input_type class ConfigstoreEntriesArgs: def __init__(__self__, *, - entries: pulumi.Input[Mapping[str, Any]], + entries: pulumi.Input[Mapping[str, pulumi.Input[str]]], store_id: pulumi.Input[str], manage_entries: Optional[pulumi.Input[bool]] = None): """ The set of arguments for constructing a ConfigstoreEntries resource. - :param pulumi.Input[Mapping[str, Any]] entries: A map representing an entry in the Config Store, (key/value) + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] entries: A map representing an entry in the Config Store, (key/value) :param pulumi.Input[str] store_id: An alphanumeric string identifying the Config Store. """ pulumi.set(__self__, "entries", entries) @@ -29,14 +29,14 @@ def __init__(__self__, *, @property @pulumi.getter - def entries(self) -> pulumi.Input[Mapping[str, Any]]: + def entries(self) -> pulumi.Input[Mapping[str, pulumi.Input[str]]]: """ A map representing an entry in the Config Store, (key/value) """ return pulumi.get(self, "entries") @entries.setter - def entries(self, value: pulumi.Input[Mapping[str, Any]]): + def entries(self, value: pulumi.Input[Mapping[str, pulumi.Input[str]]]): pulumi.set(self, "entries", value) @property @@ -64,12 +64,12 @@ def manage_entries(self, value: Optional[pulumi.Input[bool]]): @pulumi.input_type class _ConfigstoreEntriesState: def __init__(__self__, *, - entries: Optional[pulumi.Input[Mapping[str, Any]]] = None, + entries: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, manage_entries: Optional[pulumi.Input[bool]] = None, store_id: Optional[pulumi.Input[str]] = None): """ Input properties used for looking up and filtering ConfigstoreEntries resources. - :param pulumi.Input[Mapping[str, Any]] entries: A map representing an entry in the Config Store, (key/value) + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] entries: A map representing an entry in the Config Store, (key/value) :param pulumi.Input[str] store_id: An alphanumeric string identifying the Config Store. """ if entries is not None: @@ -81,14 +81,14 @@ def __init__(__self__, *, @property @pulumi.getter - def entries(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: + def entries(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: """ A map representing an entry in the Config Store, (key/value) """ return pulumi.get(self, "entries") @entries.setter - def entries(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): + def entries(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): pulumi.set(self, "entries", value) @property @@ -118,7 +118,7 @@ class ConfigstoreEntries(pulumi.CustomResource): def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - entries: Optional[pulumi.Input[Mapping[str, Any]]] = None, + entries: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, manage_entries: Optional[pulumi.Input[bool]] = None, store_id: Optional[pulumi.Input[str]] = None, __props__=None): @@ -133,7 +133,7 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[Mapping[str, Any]] entries: A map representing an entry in the Config Store, (key/value) + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] entries: A map representing an entry in the Config Store, (key/value) :param pulumi.Input[str] store_id: An alphanumeric string identifying the Config Store. """ ... @@ -166,7 +166,7 @@ def __init__(__self__, resource_name: str, *args, **kwargs): def _internal_init(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - entries: Optional[pulumi.Input[Mapping[str, Any]]] = None, + entries: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, manage_entries: Optional[pulumi.Input[bool]] = None, store_id: Optional[pulumi.Input[str]] = None, __props__=None): @@ -195,7 +195,7 @@ def _internal_init(__self__, def get(resource_name: str, id: pulumi.Input[str], opts: Optional[pulumi.ResourceOptions] = None, - entries: Optional[pulumi.Input[Mapping[str, Any]]] = None, + entries: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, manage_entries: Optional[pulumi.Input[bool]] = None, store_id: Optional[pulumi.Input[str]] = None) -> 'ConfigstoreEntries': """ @@ -205,7 +205,7 @@ def get(resource_name: str, :param str resource_name: The unique name of the resulting resource. :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[Mapping[str, Any]] entries: A map representing an entry in the Config Store, (key/value) + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] entries: A map representing an entry in the Config Store, (key/value) :param pulumi.Input[str] store_id: An alphanumeric string identifying the Config Store. """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -219,7 +219,7 @@ def get(resource_name: str, @property @pulumi.getter - def entries(self) -> pulumi.Output[Mapping[str, Any]]: + def entries(self) -> pulumi.Output[Mapping[str, str]]: """ A map representing an entry in the Config Store, (key/value) """ diff --git a/sdk/python/pulumi_fastly/integration.py b/sdk/python/pulumi_fastly/integration.py index 60356c12..57a834dd 100644 --- a/sdk/python/pulumi_fastly/integration.py +++ b/sdk/python/pulumi_fastly/integration.py @@ -14,13 +14,13 @@ @pulumi.input_type class IntegrationArgs: def __init__(__self__, *, - config: pulumi.Input[Mapping[str, Any]], + config: pulumi.Input[Mapping[str, pulumi.Input[str]]], type: pulumi.Input[str], description: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None): """ The set of arguments for constructing a Integration resource. - :param pulumi.Input[Mapping[str, Any]] config: Configuration specific to the integration `type` (see documentation examples). + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] config: Configuration specific to the integration `type` (see documentation examples). :param pulumi.Input[str] type: Type of the integration. One of: `mailinglist`, `microsoftteams`, `newrelic`, `pagerduty`, `slack`, `webhook`. :param pulumi.Input[str] description: User submitted description of the integration. :param pulumi.Input[str] name: User submitted name of the integration. @@ -34,14 +34,14 @@ def __init__(__self__, *, @property @pulumi.getter - def config(self) -> pulumi.Input[Mapping[str, Any]]: + def config(self) -> pulumi.Input[Mapping[str, pulumi.Input[str]]]: """ Configuration specific to the integration `type` (see documentation examples). """ return pulumi.get(self, "config") @config.setter - def config(self, value: pulumi.Input[Mapping[str, Any]]): + def config(self, value: pulumi.Input[Mapping[str, pulumi.Input[str]]]): pulumi.set(self, "config", value) @property @@ -84,13 +84,13 @@ def name(self, value: Optional[pulumi.Input[str]]): @pulumi.input_type class _IntegrationState: def __init__(__self__, *, - config: Optional[pulumi.Input[Mapping[str, Any]]] = None, + config: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, description: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, type: Optional[pulumi.Input[str]] = None): """ Input properties used for looking up and filtering Integration resources. - :param pulumi.Input[Mapping[str, Any]] config: Configuration specific to the integration `type` (see documentation examples). + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] config: Configuration specific to the integration `type` (see documentation examples). :param pulumi.Input[str] description: User submitted description of the integration. :param pulumi.Input[str] name: User submitted name of the integration. :param pulumi.Input[str] type: Type of the integration. One of: `mailinglist`, `microsoftteams`, `newrelic`, `pagerduty`, `slack`, `webhook`. @@ -106,14 +106,14 @@ def __init__(__self__, *, @property @pulumi.getter - def config(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: + def config(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: """ Configuration specific to the integration `type` (see documentation examples). """ return pulumi.get(self, "config") @config.setter - def config(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): + def config(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): pulumi.set(self, "config", value) @property @@ -158,7 +158,7 @@ class Integration(pulumi.CustomResource): def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - config: Optional[pulumi.Input[Mapping[str, Any]]] = None, + config: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, description: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, type: Optional[pulumi.Input[str]] = None, @@ -217,7 +217,7 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[Mapping[str, Any]] config: Configuration specific to the integration `type` (see documentation examples). + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] config: Configuration specific to the integration `type` (see documentation examples). :param pulumi.Input[str] description: User submitted description of the integration. :param pulumi.Input[str] name: User submitted name of the integration. :param pulumi.Input[str] type: Type of the integration. One of: `mailinglist`, `microsoftteams`, `newrelic`, `pagerduty`, `slack`, `webhook`. @@ -295,7 +295,7 @@ def __init__(__self__, resource_name: str, *args, **kwargs): def _internal_init(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - config: Optional[pulumi.Input[Mapping[str, Any]]] = None, + config: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, description: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, type: Optional[pulumi.Input[str]] = None, @@ -328,7 +328,7 @@ def _internal_init(__self__, def get(resource_name: str, id: pulumi.Input[str], opts: Optional[pulumi.ResourceOptions] = None, - config: Optional[pulumi.Input[Mapping[str, Any]]] = None, + config: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, description: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, type: Optional[pulumi.Input[str]] = None) -> 'Integration': @@ -339,7 +339,7 @@ def get(resource_name: str, :param str resource_name: The unique name of the resulting resource. :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[Mapping[str, Any]] config: Configuration specific to the integration `type` (see documentation examples). + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] config: Configuration specific to the integration `type` (see documentation examples). :param pulumi.Input[str] description: User submitted description of the integration. :param pulumi.Input[str] name: User submitted name of the integration. :param pulumi.Input[str] type: Type of the integration. One of: `mailinglist`, `microsoftteams`, `newrelic`, `pagerduty`, `slack`, `webhook`. @@ -356,7 +356,7 @@ def get(resource_name: str, @property @pulumi.getter - def config(self) -> pulumi.Output[Mapping[str, Any]]: + def config(self) -> pulumi.Output[Mapping[str, str]]: """ Configuration specific to the integration `type` (see documentation examples). """ diff --git a/sdk/python/pulumi_fastly/service_dictionary_items.py b/sdk/python/pulumi_fastly/service_dictionary_items.py index 6265701b..8321bba5 100644 --- a/sdk/python/pulumi_fastly/service_dictionary_items.py +++ b/sdk/python/pulumi_fastly/service_dictionary_items.py @@ -16,13 +16,13 @@ class ServiceDictionaryItemsArgs: def __init__(__self__, *, dictionary_id: pulumi.Input[str], service_id: pulumi.Input[str], - items: Optional[pulumi.Input[Mapping[str, Any]]] = None, + items: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, manage_items: Optional[pulumi.Input[bool]] = None): """ The set of arguments for constructing a ServiceDictionaryItems resource. :param pulumi.Input[str] dictionary_id: The ID of the dictionary that the items belong to :param pulumi.Input[str] service_id: The ID of the service that the dictionary belongs to - :param pulumi.Input[Mapping[str, Any]] items: A map representing an entry in the dictionary, (key/value) + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] items: A map representing an entry in the dictionary, (key/value) :param pulumi.Input[bool] manage_items: Whether to reapply changes if the state of the items drifts, i.e. if items are managed externally """ pulumi.set(__self__, "dictionary_id", dictionary_id) @@ -58,14 +58,14 @@ def service_id(self, value: pulumi.Input[str]): @property @pulumi.getter - def items(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: + def items(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: """ A map representing an entry in the dictionary, (key/value) """ return pulumi.get(self, "items") @items.setter - def items(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): + def items(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): pulumi.set(self, "items", value) @property @@ -85,13 +85,13 @@ def manage_items(self, value: Optional[pulumi.Input[bool]]): class _ServiceDictionaryItemsState: def __init__(__self__, *, dictionary_id: Optional[pulumi.Input[str]] = None, - items: Optional[pulumi.Input[Mapping[str, Any]]] = None, + items: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, manage_items: Optional[pulumi.Input[bool]] = None, service_id: Optional[pulumi.Input[str]] = None): """ Input properties used for looking up and filtering ServiceDictionaryItems resources. :param pulumi.Input[str] dictionary_id: The ID of the dictionary that the items belong to - :param pulumi.Input[Mapping[str, Any]] items: A map representing an entry in the dictionary, (key/value) + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] items: A map representing an entry in the dictionary, (key/value) :param pulumi.Input[bool] manage_items: Whether to reapply changes if the state of the items drifts, i.e. if items are managed externally :param pulumi.Input[str] service_id: The ID of the service that the dictionary belongs to """ @@ -118,14 +118,14 @@ def dictionary_id(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter - def items(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: + def items(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: """ A map representing an entry in the dictionary, (key/value) """ return pulumi.get(self, "items") @items.setter - def items(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): + def items(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): pulumi.set(self, "items", value) @property @@ -159,7 +159,7 @@ def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, dictionary_id: Optional[pulumi.Input[str]] = None, - items: Optional[pulumi.Input[Mapping[str, Any]]] = None, + items: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, manage_items: Optional[pulumi.Input[bool]] = None, service_id: Optional[pulumi.Input[str]] = None, __props__=None): @@ -183,7 +183,7 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] dictionary_id: The ID of the dictionary that the items belong to - :param pulumi.Input[Mapping[str, Any]] items: A map representing an entry in the dictionary, (key/value) + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] items: A map representing an entry in the dictionary, (key/value) :param pulumi.Input[bool] manage_items: Whether to reapply changes if the state of the items drifts, i.e. if items are managed externally :param pulumi.Input[str] service_id: The ID of the service that the dictionary belongs to """ @@ -226,7 +226,7 @@ def _internal_init(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, dictionary_id: Optional[pulumi.Input[str]] = None, - items: Optional[pulumi.Input[Mapping[str, Any]]] = None, + items: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, manage_items: Optional[pulumi.Input[bool]] = None, service_id: Optional[pulumi.Input[str]] = None, __props__=None): @@ -257,7 +257,7 @@ def get(resource_name: str, id: pulumi.Input[str], opts: Optional[pulumi.ResourceOptions] = None, dictionary_id: Optional[pulumi.Input[str]] = None, - items: Optional[pulumi.Input[Mapping[str, Any]]] = None, + items: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, manage_items: Optional[pulumi.Input[bool]] = None, service_id: Optional[pulumi.Input[str]] = None) -> 'ServiceDictionaryItems': """ @@ -268,7 +268,7 @@ def get(resource_name: str, :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] dictionary_id: The ID of the dictionary that the items belong to - :param pulumi.Input[Mapping[str, Any]] items: A map representing an entry in the dictionary, (key/value) + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] items: A map representing an entry in the dictionary, (key/value) :param pulumi.Input[bool] manage_items: Whether to reapply changes if the state of the items drifts, i.e. if items are managed externally :param pulumi.Input[str] service_id: The ID of the service that the dictionary belongs to """ @@ -292,7 +292,7 @@ def dictionary_id(self) -> pulumi.Output[str]: @property @pulumi.getter - def items(self) -> pulumi.Output[Optional[Mapping[str, Any]]]: + def items(self) -> pulumi.Output[Optional[Mapping[str, str]]]: """ A map representing an entry in the dictionary, (key/value) """