feat: Add tas_all in output.tf #355
Closed
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.
Pull Request Description
Description
Added
s3_bucket_tags_alloutput to enable validation of S3 bucket tags in Terraform tests. This output exposes the complete tag set applied to S3 buckets for testing purposes.Motivation and Context
The existing outputs.tf file was missing the
tags_alloutput, which is required for tag validation in Terraform tests. This change enables automated validation of required tags as part of the CI/CD pipeline.Breaking Changes
This is a non-breaking change as it only adds a new output without modifying existing functionality.
How Has This Been Tested?
examples/*to demonstrate and validate my change(s)examples/*projectspre-commit run -aon my pull requestAdded a simple test case to validate that the Environment tag exists on S3 buckets:
This test ensures that all S3 buckets have the required Environment tag applied.