Uh oh!
There was an error while loading. Please reload this page.
test(capacity-provider): add integration test for ManagedResourceTags - #3983
Merged
Conversation
Add integration test verifying ManagedResourceTags with explicit tags and Globals inheritance. Simplify ManagedResourceTags to Tags-only interface (Mode: Explicit + ExplicitTags).
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
…d override assertions - Add Globals.CapacityProvider.ManagedResourceTags.Tags with GlobalTag in template - Assert SimpleCapacityProvider inherits GlobalTag from Globals - Assert AdvancedCapacityProvider overrides GlobalTag at resource level - Validates PRUNE_AND_MERGE behavior end-to-end via Lambda API
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as outdated.
This comment was marked as outdated.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
ContributorAuthor
I removed CpNoManagedResourceTags |
CpNoManagedResourceTags was functionally identical to CpInheritsGlobal — both inherit from Globals with no resource-level override. Removed from input template and all partition outputs (aws, aws-cn, aws-us-gov). Clean up orphaned doc entry in sam-docs.json.
This comment was marked as duplicate.
This comment was marked as duplicate.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
vicheey
marked this pull request as ready for review
August 24, 2026 18:51
roger-zhangg
approved these changes
Aug 24, 2026
ckawl
approved these changes
Aug 24, 2026
Uh oh!
There was an error while loading. Please reload this page.
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 freeto 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.
Issue #, if available
N/A — test coverage improvement for
ManagedResourceTagsonAWS::Serverless::CapacityProvider.Description of changes
Add integration test for
ManagedResourceTags.Tagson CapacityProvider:ManagedResourceTags: { Tags: { Environment: Production, Team: Lambda-Tooling } }to the existingAdvancedCapacityProviderinfunction_lmi_default.yamlGetCapacityProviderreturnsPropagateTags.Mode: ExplicitandExplicitTagsmap with correct key-value pairsSimplify
ManagedResourceTagsto Tags-only interface:Propagatesub-property from schema sourceDescription of how you validated changes
pytestwithAWS_DEFAULT_REGION=us-east-1)test_validate_schema.py)GetCapacityProviderreturns expectedPropagateTagsconfiguration:Mode: Explicit✅ExplicitTags: { Environment: Production, Team: Lambda-Tooling }✅SamTranslatorLambdapipelineChecklist
Testing
Integration test
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.