Add secret scopes support in assets bundling#2744
Merged
Conversation
1f5b1ec to
bac1861
Compare
5021a64 to
939be8d
Compare
pietern
reviewed
Apr 29, 2025
0866f1e to
582c555
Compare
51b5162 to
33e7575
Compare
6ad0889 to
413ad92
Compare
Co-authored-by: shreyas-goenka <88374338+shreyas-goenka@users.noreply.github.com>
3b30e52 to
fe13c7e
Compare
deco-sdk-tagging bot
added a commit
that referenced
this pull request
May 14, 2025
## Release v0.252.0 ### Dependency updates * Upgraded Go SDK to 0.69.0 ([#2867](#2867)) * Upgraded to TF provider 1.79.0 ([#2869](#2869)) ### Bundles * Remove unused fields from resources.models schema: creation\_timestamp, last\_updated\_timestamp, latest\_versions and user\_id. Using them now raises a warning ([#2828](#2828)). * Preserve folder structure for app source code in bundle generate ([#2848](#2848)) * Fix normalising requirements file path in dependencies section ([#2861](#2861)) * Fix default-python template not to add environments when serverless=yes and include\_python=no ([#2866](#2866)) * Fix handling of Unicode characters in Python support ([#2873](#2873)) * Add support for secret scopes in DABs ([#2744](#2744)) * Make `artifacts.*.type` optional in bundle JSON schema ([#2881](#2881)) * Fix support for `spot_bid_max_price` field in Python support ([#2883](#2883))
denik
reviewed
Jun 26, 2025
| } | ||
| } | ||
| for _, src := range config.Resources.SecretScopes { | ||
| if src.ModifiedStatus == "" { |
Contributor
There was a problem hiding this comment.
Other resources (except for apps) also check that ID is empty string. If you don't check it, the resource is always incorrectly marked as "created" even though it is not.
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Changes
SecretScopeas a new resourceSecretScopeinto supported resource typesWhy
This change allows users to define secret scopes as part of their assets bundle:
Setting custom ACL is supported via
permissionsfield:Tests