- Notifications
You must be signed in to change notification settings - Fork22
feat: add expiration_policy parameter to prebuild resource#404
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Merged
ssncferreira merged 12 commits intomainfromssncferreira/feat-prebuild-cache-invalidationMay 23, 2025
Uh oh!
There was an error while loading.Please reload this page.
Merged
Changes fromall commits
Commits
Show all changes
12 commits Select commitHold shift + click to select a range
fd34f82
feat: add cache_invalidation parameter to prebuild resource
ssncferreira4c46171
fix: formatting
ssncferreirac6db67d
fix: remove TODO comment
ssncferreira85bec3f
fix: cache_invalidation block in integration tests
ssncferreira8baec44
fix: main.tf integration test
ssncferreira17090ae
fix: test Prebuilds_is_set_with_a_cache_invalidation_field_without_it…
ssncferreiraaff0832
fix: remove printf
ssncferreira60beaea
chore: add comment about partial match in preset test
ssncferreira1c1ea40
chore: add comment about cache_invalidation struct as slice
ssncferreira1ae84e8
chore: add max validation of 604800 seconds (7 days) for invalidate_a…
ssncferreira2a34f0d
chores: update terraform schema to expiration_policy.ttl & update max…
ssncferreirac309685
fix: comment
ssncferreiraFile filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
11 changes: 11 additions & 0 deletionsdocs/data-sources/workspace_preset.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
11 changes: 6 additions & 5 deletionsintegration/integration_test.go
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletionsintegration/test-data-source/main.tf
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
28 changes: 28 additions & 0 deletionsprovider/workspace_preset.go
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
77 changes: 77 additions & 0 deletionsprovider/workspace_preset_test.go
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Oops, something went wrong.
Uh oh!
There was an error while loading.Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.