-
Notifications
You must be signed in to change notification settings - Fork 11
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
Conversation
…rrent and future environments
…rrent and future environments
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 |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed, thanks
scalr/resource_scalr_policy_group.go
Outdated
if environmentID.(string) == "*" { | ||
hasWildcard = true | ||
} | ||
if i != 0 && hasWildcard { |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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
…rrent and future environments
…rrent and future environments
Changelog
Documentation
State