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

fix: Fixes in account parameters #3310

Merged
merged 6 commits into from
Dec 20, 2024
Merged

fix: Fixes in account parameters #3310

merged 6 commits into from
Dec 20, 2024

Conversation

sfc-gh-jmichalak
Copy link
Collaborator

  • Add missing parameters based on the docs and output of SHOW PARAMETERS IN ACCOUNT
  • Add missing unit tests and implementations
  • Add missing validations
  • Relax validations for ints - just validate if they are non-negative
  • Update docs

Test Plan

  • acceptance tests

References

#3044
#3116
#3245

TODO

  • Do not add missing user parameters - this will be done in SNOW-1844996. Here, they are added only to account and session level
  • More acceptance and integration tests should be done on a separate account. This should be done during account resource follow-up (SNOW-1866453)

CheckDestroy: acc.CheckAccountParameterUnset(t, sdk.AccountParameterRequireStorageIntegrationForStageCreation),
Steps: []resource.TestStep{
{
Config: config.FromModel(t, model),
Copy link
Collaborator

Choose a reason for hiding this comment

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

We'll have problem here because in #3307 this method is completely removed (because it was deprecated). Instead, FromModels should be used. But we can do a quick follow-up after both merges.

Copy link

Integration tests failure for 1d575ac6dc5b73a227022ffd2a8dc0df2afae3a4

Copy link

Integration tests cancelled for a2355f53a6612793efdd36bd7a2782ff77efa9cb

@sfc-gh-jmichalak sfc-gh-jmichalak merged commit f5462d5 into dev Dec 20, 2024
8 of 9 checks passed
@sfc-gh-jmichalak sfc-gh-jmichalak deleted the account-parameters branch December 20, 2024 13:57
sfc-gh-asawicki pushed a commit that referenced this pull request Dec 20, 2024
<!-- Feel free to delete comments as you fill this in -->
- Add missing parameters based on the docs and output of SHOW PARAMETERS
IN ACCOUNT
- Add missing unit tests and implementations
- Add missing validations
- Relax validations for ints - just validate if they are non-negative
- Update docs
<!-- summary of changes -->

## Test Plan
<!-- detail ways in which this PR has been tested or needs to be tested
-->
* [ ] acceptance tests
<!-- add more below if you think they are relevant -->
* [ ] …

## References
<!-- issues documentation links, etc  -->
#3044 
#3116
#3245

## TODO
- Do not add missing user parameters - this will be done in
SNOW-1844996. Here, they are added only to account and session level
- More acceptance and integration tests should be done on a separate
account. This should be done during account resource follow-up
(SNOW-1866453)
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