Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SCALRCORE-28980 API > Policy Engine > Enforce policy group for all cu… #288

Merged
merged 4 commits into from
Nov 27, 2023

Conversation

denkl
Copy link
Contributor

@denkl denkl commented Nov 17, 2023

…rrent and future environments

Changelog

Documentation

  • I have updated resource/data source documentation in docs

State

  • My changes affect the state
  • I have included a state migration and a unit test for it

CHANGELOG.md Outdated
@@ -13,6 +13,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- `scalr_workspace`: new attribute `vcs-repo.trigger_patterns` ([#282](https://github.com/Scalr/terraform-provider-scalr/pull/282))

### Changed
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should go to the 'Unreleased' section

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed, thanks

if environmentID.(string) == "*" {
hasWildcard = true
}
if i != 0 && hasWildcard {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So this allows the list to be ["*", "env-xxx", "env-yyy"]?
I find the logic in this example more clear and correct.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

logic is correct, but changed it to be consistent with existing ones

@emocharnik emocharnik merged commit 13fe246 into develop Nov 27, 2023
8 checks passed
@emocharnik emocharnik deleted the feature/SCALRCORE-28980 branch November 27, 2023 06:30
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.

None yet

4 participants