Skip to content

feat: add demo S3 bucket without project tag#169

Open
Clause828 wants to merge 1 commit into
mainfrom
demo-missing-project-tag
Open

feat: add demo S3 bucket without project tag#169
Clause828 wants to merge 1 commit into
mainfrom
demo-missing-project-tag

Conversation

@Clause828

Copy link
Copy Markdown
Contributor

Summary

  • Adds aws_s3_bucket.demo_bucket to opentofu/aws/cloudwatch_dashboard/main.tf with tags that intentionally omit project

Demo purpose

  • The tofu-cloudwatch-dashboard stack has the require-project-tag label, which auto-attaches the require_project_tag PLAN policy (admin/policies/plan/require_project_tag.rego)
  • Expected: the plan check on this PR should be denied by that policy, since demo_bucket has a tags block with no project key

Test plan

  • tofu fmt — clean
  • tofu validate — passes
  • Confirm Spacelift denies the plan for the missing project tag

🤖 Generated with Claude Code

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@Clause828

Copy link
Copy Markdown
Contributor Author

This is kept here for Demo purposes on what a opened/failed PR looks like

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.

1 participant