Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Beta writable_environment_categories to dbtcloud_service_token #273

Merged
merged 20 commits into from
Jul 16, 2024

Conversation

chasewalden
Copy link
Collaborator

No description provided.

@chasewalden
Copy link
Collaborator Author

CC: @b-per . Should be ready to go

This was a long one, so lmk if I missed anything before merge

@b-per b-per self-requested a review July 11, 2024 11:41
Copy link
Collaborator

@b-per b-per left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @chasewalden for doing all those changes 🙌

I added a few comments, some of them are just informative and do not require a code change.

In a nutshell, before merging it we could:

  • update the tests so that we test the new feature
  • update the docs with an example of how we set env level restrictions
  • check whether we want to keep the TODO(cwalden) in the code or remove those and maybe track future changes somewhere else

pkg/provider/sdk_provider.go Outdated Show resolved Hide resolved
pkg/provider/sdk_provider.go Outdated Show resolved Hide resolved
docs/data-sources/service_token.md Show resolved Hide resolved
pkg/dbt_cloud/environment_category.go Show resolved Hide resolved
@chasewalden
Copy link
Collaborator Author

Lets fix the typo mentioned in #275 here as well.

Seems to not work with my env. Not sure if there is an issue with writable_env_categories
not available on my instance. I am getting weird errors. Will need to see if this passes with the CI env
Also fix typo mentioned in #275
@chasewalden
Copy link
Collaborator Author

Should have everything we need to Merge & Close.

We can also close #275 with this as the fix to the typo is bundled in with this.

Copy link
Collaborator

@b-per b-per left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @chasewalden for all the new changes.

I just left a few minor comments before we can merge it.

pkg/helper/helper.go Outdated Show resolved Hide resolved
pkg/sdkv2/resources/service_token_acceptance_test.go Outdated Show resolved Hide resolved
pkg/sdkv2/resources/service_token.go Outdated Show resolved Hide resolved
@b-per b-per self-requested a review July 16, 2024 18:08
@b-per b-per merged commit d808276 into main Jul 16, 2024
9 checks passed
@b-per b-per deleted the TFPCLD-6 branch July 16, 2024 18:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants