-
Notifications
You must be signed in to change notification settings - Fork 4.3k
feat(ecr): image tag mutability exclusion filters #35246
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
Changes from 31 commits
e075626
0710449
b872f34
8df18cf
54e585d
f3b42f3
64be192
bc124b4
3dc8eed
711fb18
e4976de
915fc7a
6b683f6
e077f75
d130a19
d39654d
d97ddfc
4ddc2d4
92724e2
a14b761
f122ea0
8c6843b
8b9db27
a1116f2
c41ca80
139d772
c2bd402
184a127
d458333
1860ac0
8e4c5b0
7c5c095
931ec43
e6cd696
9665687
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -180,5 +180,6 @@ | |
| }, | ||
| "dependencies": { | ||
| "string-width": "^4.2.3" | ||
| } | ||
| }, | ||
| "packageManager": "[email protected]+sha1.1959a18351b811cdeedbd484a8f86c3cc3bbaf72" | ||
| } | ||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,84 @@ | ||
| { | ||
| "Resources": { | ||
| "ImmutableRepoWithExclusions905B5191": { | ||
| "Type": "AWS::ECR::Repository", | ||
| "Properties": { | ||
| "EmptyOnDelete": true, | ||
| "ImageTagMutability": "IMMUTABLE_WITH_EXCLUSION", | ||
| "ImageTagMutabilityExclusionFilters": [ | ||
| { | ||
| "ImageTagMutabilityExclusionFilterType": "WILDCARD", | ||
| "ImageTagMutabilityExclusionFilterValue": "dev-*" | ||
| }, | ||
| { | ||
| "ImageTagMutabilityExclusionFilterType": "WILDCARD", | ||
| "ImageTagMutabilityExclusionFilterValue": "test-*" | ||
| }, | ||
| { | ||
| "ImageTagMutabilityExclusionFilterType": "WILDCARD", | ||
| "ImageTagMutabilityExclusionFilterValue": "pr-*" | ||
| } | ||
| ] | ||
| }, | ||
| "UpdateReplacePolicy": "Delete", | ||
| "DeletionPolicy": "Delete" | ||
| }, | ||
| "MutableRepoWithExclusions16D45AB8": { | ||
| "Type": "AWS::ECR::Repository", | ||
| "Properties": { | ||
| "EmptyOnDelete": true, | ||
| "ImageTagMutability": "MUTABLE_WITH_EXCLUSION", | ||
| "ImageTagMutabilityExclusionFilters": [ | ||
| { | ||
| "ImageTagMutabilityExclusionFilterType": "WILDCARD", | ||
| "ImageTagMutabilityExclusionFilterValue": "dev-*" | ||
| }, | ||
| { | ||
| "ImageTagMutabilityExclusionFilterType": "WILDCARD", | ||
| "ImageTagMutabilityExclusionFilterValue": "test-*" | ||
| }, | ||
| { | ||
| "ImageTagMutabilityExclusionFilterType": "WILDCARD", | ||
| "ImageTagMutabilityExclusionFilterValue": "pr-*" | ||
| } | ||
| ] | ||
| }, | ||
| "UpdateReplacePolicy": "Delete", | ||
| "DeletionPolicy": "Delete" | ||
| } | ||
| }, | ||
| "Parameters": { | ||
| "BootstrapVersion": { | ||
| "Type": "AWS::SSM::Parameter::Value<String>", | ||
| "Default": "/cdk-bootstrap/hnb659fds/version", | ||
| "Description": "Version of the CDK Bootstrap resources in this environment, automatically retrieved from SSM Parameter Store. [cdk:skip]" | ||
| } | ||
| }, | ||
| "Rules": { | ||
| "CheckBootstrapVersion": { | ||
| "Assertions": [ | ||
| { | ||
| "Assert": { | ||
| "Fn::Not": [ | ||
| { | ||
| "Fn::Contains": [ | ||
| [ | ||
| "1", | ||
| "2", | ||
| "3", | ||
| "4", | ||
| "5" | ||
| ], | ||
| { | ||
| "Ref": "BootstrapVersion" | ||
| } | ||
| ] | ||
| } | ||
| ] | ||
| }, | ||
| "AssertDescription": "CDK bootstrap stack version 6 required. Please run 'cdk bootstrap' with a recent version of the CDK CLI." | ||
| } | ||
| ] | ||
| } | ||
| } | ||
| } |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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.
I assume this is not intended change