Skip to content

fix: Remove limits_per_label_set from aws_prometheus_workspace_configuration conditional creation statement#31

Merged
bryantbiggs merged 1 commit intoterraform-aws-modules:masterfrom
Sudokamikaze:fix/resource-policy
Dec 15, 2025
Merged

fix: Remove limits_per_label_set from aws_prometheus_workspace_configuration conditional creation statement#31
bryantbiggs merged 1 commit intoterraform-aws-modules:masterfrom
Sudokamikaze:fix/resource-policy

Conversation

@Sudokamikaze
Copy link
Copy Markdown
Contributor

@Sudokamikaze Sudokamikaze commented Dec 15, 2025

Description

Remove limits_per_label_set from if statement of aws_prometheus_workspace_configuration resource

Motivation and Context

limits_per_label_set is an OPTIONAL in the doc https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/prometheus_workspace_configuration
Having it in the if statement, it creates a behaviour where user defines retention_period_in_days and nothing happens

Breaking Changes

Not applicable

How Has This Been Tested?

  • I have updated at least one of the examples/* to demonstrate and validate my change(s)
  • I have tested and validated these changes using one or more of the provided examples/* projects
  • I have executed pre-commit run -a on my pull request

@bryantbiggs bryantbiggs changed the title fix: Remove limits_per_label_set from if statement fix: Remove limits_per_label_set from aws_prometheus_workspace_configuration conditional creation statement Dec 15, 2025
@bryantbiggs bryantbiggs merged commit 855166c into terraform-aws-modules:master Dec 15, 2025
8 checks passed
antonbabenko pushed a commit that referenced this pull request Dec 15, 2025
## [4.2.1](v4.2.0...v4.2.1) (2025-12-15)

### Bug Fixes

* Remove `limits_per_label_set` from `aws_prometheus_workspace_configuration` conditional creation statement ([#31](#31)) ([855166c](855166c))
@antonbabenko
Copy link
Copy Markdown
Member

This PR is included in version 4.2.1 🎉

bryantbiggs added a commit that referenced this pull request Jan 9, 2026
…ace_configuration` conditional creation statement (#31) (#37)
antonbabenko pushed a commit that referenced this pull request Jan 9, 2026
## [4.3.1](v4.3.0...v4.3.1) (2026-01-09)

### Bug Fixes

* Revert remove `limits_per_label_set` from `aws_prometheus_workspace_configuration` conditional creation statement ([#31](#31)) ([#37](#37)) ([3dcf853](3dcf853))
@github-actions
Copy link
Copy Markdown

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Jan 15, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants