Skip to content

Commit

Permalink
Upgrade terraform-provider-dbtcloud to v0.3.7 (#41)
Browse files Browse the repository at this point in the history
* make tfgen

* make build_sdks

* Use dispatch to create docs build
  • Loading branch information
guineveresaenger authored Jun 7, 2024
1 parent d3501c0 commit 94a2bb1
Show file tree
Hide file tree
Showing 58 changed files with 1,463 additions and 590 deletions.
22 changes: 12 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,16 +129,18 @@ jobs:
needs: tag_sdk
runs-on: ubuntu-latest
steps:
- name: Install pulumictl
uses: jaxxstorm/[email protected]
with:
tag: v0.0.46
repo: pulumi/pulumictl
- env:
GITHUB_TOKEN: ${{ secrets.PULUMI_BOT_TOKEN }}
name: Dispatch Event
run: pulumictl create docs-build pulumi-dbtcloud
"${GITHUB_REF#refs/tags/}"
- name: Dispatch Metadata build
uses: peter-evans/repository-dispatch@v3
with:
token: ${{ secrets.PULUMI_BOT_TOKEN }}
repository: pulumi/pulumi-${{ env.PROVIDER }}
event-type: resource-provider
client-payload: |-
{
"project": "pulumi-${{ env.PROVIDER }}",
"shortname": "${{ env.PROVIDER }}",
"ref": "${{ env.GITHUB_REF_NAME }}"
}
lint:
name: lint
uses: ./.github/workflows/lint.yml
Expand Down
32 changes: 28 additions & 4 deletions provider/cmd/pulumi-resource-dbtcloud/bridge-metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,14 @@
"current": "dbtcloud:index/group:Group",
"fields": {
"group_permissions": {
"maxItemsOne": false
"maxItemsOne": false,
"elem": {
"fields": {
"writable_environment_categories": {
"maxItemsOne": false
}
}
}
},
"sso_mapping_groups": {
"maxItemsOne": false
Expand All @@ -46,7 +53,14 @@
"current": "dbtcloud:index/groupPartialPermissions:GroupPartialPermissions",
"fields": {
"group_permissions": {
"maxItemsOne": false
"maxItemsOne": false,
"elem": {
"fields": {
"writable_environment_categories": {
"maxItemsOne": false
}
}
}
},
"sso_mapping_groups": {
"maxItemsOne": false
Expand Down Expand Up @@ -209,6 +223,16 @@
"dbtcloud_group": {
"current": "dbtcloud:index/getGroup:getGroup",
"fields": {
"group_permissions": {
"maxItemsOne": false,
"elem": {
"fields": {
"writable_environment_categories": {
"maxItemsOne": false
}
}
}
},
"sso_mapping_groups": {
"maxItemsOne": false
}
Expand Down Expand Up @@ -311,7 +335,7 @@
"dbtcloud:index/extendedAttributes:ExtendedAttributes": 0,
"dbtcloud:index/fabricConnection:FabricConnection": 0,
"dbtcloud:index/fabricCredential:FabricCredential": 0,
"dbtcloud:index/group:Group": 0,
"dbtcloud:index/group:Group": 1,
"dbtcloud:index/groupPartialPermissions:GroupPartialPermissions": 1,
"dbtcloud:index/job:Job": 0,
"dbtcloud:index/licenseMap:LicenseMap": 0,
Expand Down Expand Up @@ -340,7 +364,7 @@
"dbtcloud:index/getEnvironmentVariable:getEnvironmentVariable": 0,
"dbtcloud:index/getEnvironments:getEnvironments": 1,
"dbtcloud:index/getExtendedAttributes:getExtendedAttributes": 0,
"dbtcloud:index/getGroup:getGroup": 0,
"dbtcloud:index/getGroup:getGroup": 1,
"dbtcloud:index/getGroupUsers:getGroupUsers": 0,
"dbtcloud:index/getJob:getJob": 0,
"dbtcloud:index/getNotification:getNotification": 1,
Expand Down
162 changes: 109 additions & 53 deletions provider/cmd/pulumi-resource-dbtcloud/schema.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion provider/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ toolchain go1.22.3
replace github.com/hashicorp/terraform-plugin-sdk/v2 => github.com/pulumi/terraform-plugin-sdk/v2 v2.0.0-20240520223432-0c0bf0d65f10

require (
github.com/dbt-labs/terraform-provider-dbtcloud v0.3.6
github.com/dbt-labs/terraform-provider-dbtcloud v0.3.7
github.com/pulumi/pulumi-terraform-bridge/pf v0.37.0
github.com/pulumi/pulumi-terraform-bridge/v3 v3.84.0
github.com/pulumi/pulumi/sdk/v3 v3.118.0
Expand Down
4 changes: 2 additions & 2 deletions provider/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -1337,8 +1337,8 @@ github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSs
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc h1:U9qPSI2PIWSS1VwoXQT9A3Wy9MM3WgvqSxFWenqJduM=
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/dbt-labs/terraform-provider-dbtcloud v0.3.6 h1:iBRwz6MBdi2viA3lowPcD/zAGMfyHhQ6NWoFF2YAjg4=
github.com/dbt-labs/terraform-provider-dbtcloud v0.3.6/go.mod h1:gMBsagHuB90h4ZB5Ya/T205vT5F+XF9ak0TsCyw1duU=
github.com/dbt-labs/terraform-provider-dbtcloud v0.3.7 h1:5h3pwFUOpQ+vBsOzOW92+nP84RBfoJcrR1CQvqzumGc=
github.com/dbt-labs/terraform-provider-dbtcloud v0.3.7/go.mod h1:gMBsagHuB90h4ZB5Ya/T205vT5F+XF9ak0TsCyw1duU=
github.com/deckarep/golang-set/v2 v2.6.0 h1:XfcQbWM1LlMB8BsJ8N9vW5ehnnPVIw0je80NsVHagjM=
github.com/deckarep/golang-set/v2 v2.6.0/go.mod h1:VAky9rY/yGXJOLEDv3OMci+7wtDpOF4IN+y82NBOac4=
github.com/djherbis/times v1.6.0 h1:w2ctJ92J8fBvWPxugmXIv7Nz7Q3iDMKNx9v5ocVH20c=
Expand Down
3 changes: 2 additions & 1 deletion provider/resources.go
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,8 @@ func Provider(ctx context.Context) tfbridge.ProviderInfo {
Tok: tfbridge.MakeResource(mainPkg, mainMod, "Repository"),
},
"dbtcloud_group": {
Tok: tfbridge.MakeResource(mainPkg, mainMod, "Group"),
Tok: tfbridge.MakeResource(mainPkg, mainMod, "Group"),
ComputeID: computeIDField("id"),
},
"dbtcloud_service_token": {
Tok: tfbridge.MakeResource(mainPkg, mainMod, "ServiceToken"),
Expand Down
6 changes: 3 additions & 3 deletions sdk/dotnet/Environment.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion sdk/dotnet/ExtendedAttributesDetails.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions sdk/dotnet/GetEnvironment.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

28 changes: 17 additions & 11 deletions sdk/dotnet/GetGroup.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

49 changes: 21 additions & 28 deletions sdk/dotnet/Group.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 94a2bb1

Please sign in to comment.