Skip to content

Commit

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

---

- Upgrading terraform-provider-mongodbatlas from 1.12.3  to 1.13.0.
	Fixes #329
  • Loading branch information
pulumi-bot authored Nov 21, 2023
1 parent 3d73dcd commit fe760f3
Show file tree
Hide file tree
Showing 110 changed files with 6,166 additions and 1,497 deletions.
44 changes: 40 additions & 4 deletions provider/cmd/pulumi-resource-mongodbatlas/bridge-metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -765,6 +765,15 @@
"current": "mongodbatlas:index/projectIpAccessList:ProjectIpAccessList",
"majorVersion": 3
},
"mongodbatlas_search_deployment": {
"current": "mongodbatlas:index/searchDeployment:SearchDeployment",
"majorVersion": 3,
"fields": {
"specs": {
"maxItemsOne": false
}
}
},
"mongodbatlas_search_index": {
"current": "mongodbatlas:index/searchIndex:SearchIndex",
"majorVersion": 3,
Expand Down Expand Up @@ -2472,6 +2481,15 @@
"current": "mongodbatlas:index/getRolesOrgId:getRolesOrgId",
"majorVersion": 3
},
"mongodbatlas_search_deployment": {
"current": "mongodbatlas:index/getSearchDeployment:getSearchDeployment",
"majorVersion": 3,
"fields": {
"specs": {
"maxItemsOne": false
}
}
},
"mongodbatlas_search_index": {
"current": "mongodbatlas:index/getSearchIndex:getSearchIndex",
"majorVersion": 3,
Expand Down Expand Up @@ -2657,6 +2675,7 @@
"mongodbatlas:index/projectApiKey:ProjectApiKey": 0,
"mongodbatlas:index/projectInvitation:ProjectInvitation": 0,
"mongodbatlas:index/projectIpAccessList:ProjectIpAccessList": 1,
"mongodbatlas:index/searchDeployment:SearchDeployment": 1,
"mongodbatlas:index/searchIndex:SearchIndex": 0,
"mongodbatlas:index/serverlessInstance:ServerlessInstance": 0,
"mongodbatlas:index/team:Team": 0,
Expand Down Expand Up @@ -2741,6 +2760,7 @@
"mongodbatlas:index/getProjectIpAccessList:getProjectIpAccessList": 1,
"mongodbatlas:index/getProjects:getProjects": 1,
"mongodbatlas:index/getRolesOrgId:getRolesOrgId": 0,
"mongodbatlas:index/getSearchDeployment:getSearchDeployment": 1,
"mongodbatlas:index/getSearchIndex:getSearchIndex": 0,
"mongodbatlas:index/getSearchIndexes:getSearchIndexes": 0,
"mongodbatlas:index/getServerlessInstance:getServerlessInstance": 0,
Expand Down Expand Up @@ -2804,6 +2824,7 @@
"mongodbatlas:index/projectApiKey:ProjectApiKey": "mongodbatlas_project_api_key",
"mongodbatlas:index/projectInvitation:ProjectInvitation": "mongodbatlas_project_invitation",
"mongodbatlas:index/projectIpAccessList:ProjectIpAccessList": "mongodbatlas_project_ip_access_list",
"mongodbatlas:index/searchDeployment:SearchDeployment": "mongodbatlas_search_deployment",
"mongodbatlas:index/searchIndex:SearchIndex": "mongodbatlas_search_index",
"mongodbatlas:index/serverlessInstance:ServerlessInstance": "mongodbatlas_serverless_instance",
"mongodbatlas:index/team:Team": "mongodbatlas_team",
Expand Down Expand Up @@ -2888,6 +2909,7 @@
"mongodbatlas:index/getProjectIpAccessList:getProjectIpAccessList": "mongodbatlas_project_ip_access_list",
"mongodbatlas:index/getProjects:getProjects": "mongodbatlas_projects",
"mongodbatlas:index/getRolesOrgId:getRolesOrgId": "mongodbatlas_roles_org_id",
"mongodbatlas:index/getSearchDeployment:getSearchDeployment": "mongodbatlas_search_deployment",
"mongodbatlas:index/getSearchIndex:getSearchIndex": "mongodbatlas_search_index",
"mongodbatlas:index/getSearchIndexes:getSearchIndexes": "mongodbatlas_search_indexes",
"mongodbatlas:index/getServerlessInstance:getServerlessInstance": "mongodbatlas_serverless_instance",
Expand Down Expand Up @@ -3355,6 +3377,10 @@
"sourceIdentity": "source_identity",
"transitiveTagKeys": "transitive_tag_keys"
},
"mongodbatlas:index/SearchDeploymentSpec:SearchDeploymentSpec": {
"instanceSize": "instance_size",
"nodeCount": "node_count"
},
"mongodbatlas:index/SearchIndexSynonym:SearchIndexSynonym": {
"sourceCollection": "source_collection"
},
Expand Down Expand Up @@ -5387,6 +5413,15 @@
"mongodbatlas:index/getRolesOrgId:getRolesOrgId": {
"orgId": "org_id"
},
"mongodbatlas:index/getSearchDeployment:getSearchDeployment": {
"clusterName": "cluster_name",
"projectId": "project_id",
"stateName": "state_name"
},
"mongodbatlas:index/getSearchDeploymentSpec:getSearchDeploymentSpec": {
"instanceSize": "instance_size",
"nodeCount": "node_count"
},
"mongodbatlas:index/getSearchIndex:getSearchIndex": {
"clusterName": "cluster_name",
"collectionName": "collection_name",
Expand Down Expand Up @@ -5512,9 +5547,7 @@
"mongodbatlas:index/getThirdPartyIntegration:getThirdPartyIntegration": {
"accountId": "account_id",
"apiKey": "api_key",
"apiToken": "api_token",
"channelName": "channel_name",
"licenseKey": "license_key",
"microsoftTeamsWebhookUrl": "microsoft_teams_webhook_url",
"projectId": "project_id",
"routingKey": "routing_key",
Expand All @@ -5529,9 +5562,7 @@
"mongodbatlas:index/getThirdPartyIntegrationsResult:getThirdPartyIntegrationsResult": {
"accountId": "account_id",
"apiKey": "api_key",
"apiToken": "api_token",
"channelName": "channel_name",
"licenseKey": "license_key",
"microsoftTeamsWebhookUrl": "microsoft_teams_webhook_url",
"projectId": "project_id",
"routingKey": "routing_key",
Expand Down Expand Up @@ -5736,6 +5767,11 @@
"ipAddress": "ip_address",
"projectId": "project_id"
},
"mongodbatlas:index/searchDeployment:SearchDeployment": {
"clusterName": "cluster_name",
"projectId": "project_id",
"stateName": "state_name"
},
"mongodbatlas:index/searchIndex:SearchIndex": {
"clusterName": "cluster_name",
"collectionName": "collection_name",
Expand Down
367 changes: 303 additions & 64 deletions provider/cmd/pulumi-resource-mongodbatlas/schema.json

Large diffs are not rendered by default.

16 changes: 8 additions & 8 deletions provider/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ go 1.21
replace github.com/hashicorp/terraform-plugin-sdk/v2 => github.com/pulumi/terraform-plugin-sdk/v2 v2.0.0-20230912190043-e6d96b3b8f7e

require (
github.com/mongodb/terraform-provider-mongodbatlas v1.12.3
github.com/mongodb/terraform-provider-mongodbatlas v1.13.0
github.com/pulumi/pulumi-terraform-bridge/pf v0.19.0
github.com/pulumi/pulumi-terraform-bridge/v3 v3.65.0
github.com/pulumi/pulumi/sdk/v3 v3.93.0
Expand Down Expand Up @@ -47,7 +47,7 @@ require (
github.com/armon/go-metrics v0.4.0 // indirect
github.com/armon/go-radix v1.0.0 // indirect
github.com/atotto/clipboard v0.1.4 // indirect
github.com/aws/aws-sdk-go v1.46.3 // indirect
github.com/aws/aws-sdk-go v1.47.11 // indirect
github.com/aws/aws-sdk-go-v2 v1.17.3 // indirect
github.com/aws/aws-sdk-go-v2/config v1.15.15 // indirect
github.com/aws/aws-sdk-go-v2/credentials v1.12.10 // indirect
Expand Down Expand Up @@ -130,7 +130,7 @@ require (
github.com/hashicorp/terraform-plugin-log v0.9.0 // indirect
github.com/hashicorp/terraform-plugin-mux v0.12.0 // indirect
github.com/hashicorp/terraform-plugin-sdk v1.17.2 // indirect
github.com/hashicorp/terraform-plugin-sdk/v2 v2.29.0 // indirect
github.com/hashicorp/terraform-plugin-sdk/v2 v2.30.0 // indirect
github.com/hashicorp/terraform-registry-address v0.2.2 // indirect
github.com/hashicorp/terraform-svchost v0.1.1 // indirect
github.com/hashicorp/vault/api v1.8.2 // indirect
Expand Down Expand Up @@ -216,21 +216,21 @@ require (
github.com/zclconf/go-cty v1.14.1 // indirect
github.com/zclconf/go-cty-yaml v1.0.2 // indirect
go.mongodb.org/atlas v0.35.0 // indirect
go.mongodb.org/atlas-sdk/v20231001001 v20231001001.1.0 // indirect
go.mongodb.org/atlas-sdk/v20231115001 v20231115001.0.0 // indirect
go.mongodb.org/realm v0.1.0 // indirect
go.opencensus.io v0.24.0 // indirect
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.14.0 // indirect
golang.org/x/crypto v0.15.0 // indirect
golang.org/x/exp v0.0.0-20231006140011-7918f672742d // indirect
golang.org/x/mod v0.13.0 // indirect
golang.org/x/net v0.17.0 // indirect
golang.org/x/oauth2 v0.8.0 // indirect
golang.org/x/sync v0.4.0 // indirect
golang.org/x/sys v0.13.0 // indirect
golang.org/x/term v0.13.0 // indirect
golang.org/x/text v0.13.0 // indirect
golang.org/x/sys v0.14.0 // indirect
golang.org/x/term v0.14.0 // indirect
golang.org/x/text v0.14.0 // indirect
golang.org/x/time v0.3.0 // indirect
golang.org/x/tools v0.14.0 // indirect
golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect
Expand Down
30 changes: 16 additions & 14 deletions provider/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -823,8 +823,8 @@ github.com/aws/aws-sdk-go v1.43.31/go.mod h1:y4AeaBuwd2Lk+GepC1E9v0qOiTws0MIWAX4
github.com/aws/aws-sdk-go v1.44.45/go.mod h1:y4AeaBuwd2Lk+GepC1E9v0qOiTws0MIWAX4oIKwKHZo=
github.com/aws/aws-sdk-go v1.44.68/go.mod h1:y4AeaBuwd2Lk+GepC1E9v0qOiTws0MIWAX4oIKwKHZo=
github.com/aws/aws-sdk-go v1.44.122/go.mod h1:y4AeaBuwd2Lk+GepC1E9v0qOiTws0MIWAX4oIKwKHZo=
github.com/aws/aws-sdk-go v1.46.3 h1:zcrCu14ANOji6m38bUTxYdPqne4EXIvJQ2KXZ5oi9k0=
github.com/aws/aws-sdk-go v1.46.3/go.mod h1:aVsgQcEevwlmQ7qHE9I3h+dtQgpqhFB+i8Phjh7fkwI=
github.com/aws/aws-sdk-go v1.47.11 h1:Dol+MA+hQblbnXUI3Vk9qvoekU6O1uDEuAItezjiWNQ=
github.com/aws/aws-sdk-go v1.47.11/go.mod h1:LF8svs817+Nz+DmiMQKTO3ubZ/6IaTpq3TjupRn3Eqk=
github.com/aws/aws-sdk-go-v2 v0.18.0/go.mod h1:JWVYvqSMppoMJC0x5wdwiImzgXTI9FuZwxzkQq9wy+g=
github.com/aws/aws-sdk-go-v2 v1.16.8/go.mod h1:6CpKuLXg2w7If3ABZCl/qZ6rEgwtjZTn4eAf4RcEyuw=
github.com/aws/aws-sdk-go-v2 v1.17.3 h1:shN7NlnVzvDUgPQ+1rLMSxY8OWRNDRYtiqe0p/PgrhY=
Expand Down Expand Up @@ -1635,8 +1635,9 @@ github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ
github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8=
github.com/hashicorp/golang-lru v0.5.4 h1:YDjusn29QI/Das2iO9M0BHnIbxPeyuCHsjMW+lJfyTc=
github.com/hashicorp/golang-lru v0.5.4/go.mod h1:iADmTwqILo4mZ8BN3D2Q6+9jd8WM5uGBxy+E8yxSoD4=
github.com/hashicorp/hc-install v0.6.0 h1:fDHnU7JNFNSQebVKYhHZ0va1bC6SrPQ8fpebsvNr2w4=
github.com/hashicorp/hc-install v0.6.0/go.mod h1:10I912u3nntx9Umo1VAeYPUUuehk0aRQJYpMwbX5wQA=
github.com/hashicorp/hc-install v0.6.1 h1:IGxShH7AVhPaSuSJpKtVi/EFORNjO+OYVJJrAtGG2mY=
github.com/hashicorp/hc-install v0.6.1/go.mod h1:0fW3jpg+wraYSnFDJ6Rlie3RvLf1bIqVIkzoon4KoVE=
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=
Expand Down Expand Up @@ -1994,8 +1995,8 @@ github.com/modern-go/reflect2 v1.0.2/go.mod h1:yWuevngMOJpCy52FWWMvUC8ws7m/LJsjY
github.com/modocache/gover v0.0.0-20171022184752-b58185e213c5/go.mod h1:caMODM3PzxT8aQXRPkAt8xlV/e7d7w8GM5g0fa5F0D8=
github.com/mongodb-forks/digest v1.0.5 h1:EJu3wtLZcA0HCvsZpX5yuD193/sW9tHiNvrEM5apXMk=
github.com/mongodb-forks/digest v1.0.5/go.mod h1:rb+EX8zotClD5Dj4NdgxnJXG9nwrlx3NWKJ8xttz1Dg=
github.com/mongodb/terraform-provider-mongodbatlas v1.12.3 h1:AsY6H/kuK0bxgYWR3KHBAdMd++YKkmOQ3Cap2idEKtc=
github.com/mongodb/terraform-provider-mongodbatlas v1.12.3/go.mod h1:u3skQLZhBlaFAUHJNQfH76jkCR3bCyjWlsByn8fVifo=
github.com/mongodb/terraform-provider-mongodbatlas v1.13.0 h1:DxKthBy8YqV1s6BZ7lTiUPEEyn2oSVC9CLo+dFOnWGU=
github.com/mongodb/terraform-provider-mongodbatlas v1.13.0/go.mod h1:qMDkn7lbmkuhg8TS4V97TI4/yobGtgqG0X6kfuk6gBI=
github.com/montanaflynn/stats v0.0.0-20171201202039-1bf9dbcd8cbe/go.mod h1:wL8QJuTMNUDYhXwkmfOly8iTdp5TEcJFWZD2D7SIkUc=
github.com/montanaflynn/stats v0.6.6/go.mod h1:etXPPgVO6n31NxCd9KQUMvCM+ve0ruNzt6R8Bnaayow=
github.com/morikuni/aec v1.0.0/go.mod h1:BbKIizmSmc5MMPqRYbxO4ZU0S0+P200+tUnFx7PXmsc=
Expand Down Expand Up @@ -2479,8 +2480,8 @@ go.etcd.io/etcd/server/v3 v3.5.0/go.mod h1:3Ah5ruV+M+7RZr0+Y/5mNLwC+eQlni+mQmOVd
go.mongodb.org/atlas v0.12.0/go.mod h1:wVCnHcm/7/IfTjEB6K8K35PLG70yGz8BdkRwX0oK9/M=
go.mongodb.org/atlas v0.35.0 h1:fLSPEyv+QcrG5djPWMekaM+BEVfEVBKQO4yEUQl4CQ4=
go.mongodb.org/atlas v0.35.0/go.mod h1:nfPldE9dSama6G2IbIzmEza02Ly7yFZjMMVscaM0uEc=
go.mongodb.org/atlas-sdk/v20231001001 v20231001001.1.0 h1:CT+kpV9xzrxHnOieTn+DfT2B4K48SnEIsoQ48kVrylY=
go.mongodb.org/atlas-sdk/v20231001001 v20231001001.1.0/go.mod h1:2DismEF/fnloT92wjCkA1hpbBGrjQ5fPNAbC48mkRD4=
go.mongodb.org/atlas-sdk/v20231115001 v20231115001.0.0 h1:jYGEHBgF5ulTNzM2uItcb9DH4nzMeiQ2FbW5lz3WzUY=
go.mongodb.org/atlas-sdk/v20231115001 v20231115001.0.0/go.mod h1:nU/m9cPzYGzufugZD1QHd8DvMz9XXQdLo0BUnK8K224=
go.mongodb.org/mongo-driver v1.7.3/go.mod h1:NqaYOwnXWr5Pm7AOpO5QFxKJ503nbMse/R79oO62zWg=
go.mongodb.org/mongo-driver v1.7.5/go.mod h1:VXEWRZ6URJIkUq2SCAyapmhH0ZLRBP+FT4xhp5Zvxng=
go.mongodb.org/mongo-driver v1.8.3/go.mod h1:0sQWfOeY63QTntERDJJ/0SuKK0T1uVSgKCuAROlKEPY=
Expand Down Expand Up @@ -2619,8 +2620,8 @@ golang.org/x/crypto v0.7.0/go.mod h1:pYwdfH91IfpZVANVyUOhSIPZaFoJGxTFbZhFTx+dXZU
golang.org/x/crypto v0.8.0/go.mod h1:mRqEX+O9/h5TFCrQhkgjo2yKi0yYA+9ecGkdQoHrywE=
golang.org/x/crypto v0.11.0/go.mod h1:xgJhtzW8F9jGdVFWZESrid1U1bjeNy4zgy5cRr/CIio=
golang.org/x/crypto v0.13.0/go.mod h1:y6Z2r+Rw4iayiXXAIxJIDAJ1zMW4yaTpebo8fPOliYc=
golang.org/x/crypto v0.14.0 h1:wBqGXzWJW6m1XrIKlAH0Hs1JJ7+9KBwnIO8v66Q9cHc=
golang.org/x/crypto v0.14.0/go.mod h1:MVFd36DqK4CsrnJYDkBA3VC4m2GkXAM0PvzMCn4JQf4=
golang.org/x/crypto v0.15.0 h1:frVn1TEaCEaZcn3Tmd7Y2b5KKPaZ+I32Q2OA3kYp5TA=
golang.org/x/crypto v0.15.0/go.mod h1:4ChreQoLWfG3xLDer1WdlH5NdlQ3+mwnQq1YTKY+72g=
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=
Expand Down Expand Up @@ -2999,8 +3000,8 @@ golang.org/x/sys v0.7.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.10.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.12.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.13.0 h1:Af8nKPmuFypiUBjVoU9V20FiaFXOcuZI21p0ycVYYGE=
golang.org/x/sys v0.13.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.14.0 h1:Vz7Qs629MkJkGyHxUlRHizWJRG2j8fbQKjELVSNhy7Q=
golang.org/x/sys v0.14.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=
Expand All @@ -3017,8 +3018,8 @@ golang.org/x/term v0.7.0/go.mod h1:P32HKFT3hSsZrRxla30E9HqToFYAQPCMs/zFMBUFqPY=
golang.org/x/term v0.8.0/go.mod h1:xPskH00ivmX89bAKVGSKKtLOWNx2+17Eiy94tnKShWo=
golang.org/x/term v0.10.0/go.mod h1:lpqdcUyK/oCiQxvxVrppt5ggO2KCZ5QblwqPnfZ6d5o=
golang.org/x/term v0.12.0/go.mod h1:owVbMEjm3cBLCHdkQu9b1opXd4ETQWc3BhuQGKgXgvU=
golang.org/x/term v0.13.0 h1:bb+I9cTfFazGW51MZqBVmZy7+JEJMouUHTUSKVQLBek=
golang.org/x/term v0.13.0/go.mod h1:LTmsnFJwVN6bCy1rVCoS+qHT1HhALEFxKncY3WNNh4U=
golang.org/x/term v0.14.0 h1:LGK9IlZ8T9jvdy6cTdfKUCltatMFOehAQo9SRC46UQ8=
golang.org/x/term v0.14.0/go.mod h1:TySc+nGkYR6qt8km8wUhuFRTVSMIX3XPR58y2lC8vww=
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=
Expand All @@ -3036,8 +3037,9 @@ golang.org/x/text v0.7.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8=
golang.org/x/text v0.8.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8=
golang.org/x/text v0.9.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8=
golang.org/x/text v0.11.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE=
golang.org/x/text v0.13.0 h1:ablQoSUd0tRdKxZewP80B+BaqeKJuVhuRxj/dkrun3k=
golang.org/x/text v0.13.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE=
golang.org/x/text v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ=
golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU=
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=
Expand Down
65 changes: 65 additions & 0 deletions sdk/dotnet/CloudProviderAccess.cs
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,71 @@ namespace Pulumi.Mongodbatlas
///
/// });
/// ```
/// ### With AWS
/// ```csharp
/// using System.Collections.Generic;
/// using System.Linq;
/// using Pulumi;
/// using Mongodbatlas = Pulumi.Mongodbatlas;
///
/// return await Deployment.RunAsync(() =>
/// {
/// var setupOnly = new Mongodbatlas.CloudProviderAccessSetup("setupOnly", new()
/// {
/// ProjectId = "64259ee860c43338194b0f8e",
/// ProviderName = "AWS",
/// });
///
/// var authRole = new Mongodbatlas.CloudProviderAccessAuthorization("authRole", new()
/// {
/// ProjectId = setupOnly.ProjectId,
/// RoleId = setupOnly.RoleId,
/// Aws = new Mongodbatlas.Inputs.CloudProviderAccessAuthorizationAwsArgs
/// {
/// IamAssumedRoleArn = "arn:aws:iam::772401394250:role/test-user-role",
/// },
/// });
///
/// });
/// ```
///
/// ```csharp
/// using System.Collections.Generic;
/// using System.Linq;
/// using Pulumi;
/// using Mongodbatlas = Pulumi.Mongodbatlas;
///
/// return await Deployment.RunAsync(() =>
/// {
/// var setupOnly = new Mongodbatlas.CloudProviderAccessSetup("setupOnly", new()
/// {
/// ProjectId = "64259ee860c43338194b0f8e",
/// ProviderName = "AZURE",
/// AzureConfigs = new[]
/// {
/// new Mongodbatlas.Inputs.CloudProviderAccessSetupAzureConfigArgs
/// {
/// AtlasAzureAppId = "9f2deb0d-be22-4524-a403-df531868bac0",
/// ServicePrincipalId = "22f1d2a6-d0e9-482a-83a4-b8dd7dddc2c1",
/// TenantId = "91402384-d71e-22f5-22dd-759e272cdc1c",
/// },
/// },
/// });
///
/// var authRole = new Mongodbatlas.CloudProviderAccessAuthorization("authRole", new()
/// {
/// ProjectId = setupOnly.ProjectId,
/// RoleId = setupOnly.RoleId,
/// Azure = new Mongodbatlas.Inputs.CloudProviderAccessAuthorizationAzureArgs
/// {
/// AtlasAzureAppId = "9f2deb0d-be22-4524-a403-df531868bac0",
/// ServicePrincipalId = "22f1d2a6-d0e9-482a-83a4-b8dd7dddc2c1",
/// TenantId = "91402384-d71e-22f5-22dd-759e272cdc1c",
/// },
/// });
///
/// });
/// ```
/// ## Authorize role
///
/// Once the resource is created add the field `iam_assumed_role_arn` see [Set Up Unified AWS Access](https://docs.atlas.mongodb.com/security/set-up-unified-aws-access/#set-up-unified-aws-access) , and execute a new `pulumi up` this will create a PATCH request.
Expand Down
Loading

0 comments on commit fe760f3

Please sign in to comment.