-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
feat(core): acknowledge warnings #26144
Changes from 8 commits
5ce3b70
fca3a1a
707be7f
5229dc9
bb217e3
9e19207
a9f506e
4b8ad28
eb244d8
54a2910
06f8559
4af1135
9198add
957c238
f0ce23b
6412029
df8a853
5aba9ac
ee9fc76
56625ac
cd72788
87b3b12
c0b5319
a95dde9
acca007
da5211d
9e9a6fd
52ecb54
7c5b1c7
4fb2770
af14a3f
696945d
6361023
52eab30
e8d78d6
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 |
---|---|---|
|
@@ -639,10 +639,10 @@ export abstract class FleetBase extends cdk.Resource implements IFleet { | |
} | ||
|
||
protected warnVpcPeeringAuthorizations(scope: Construct): void { | ||
cdk.Annotations.of(scope).addWarning([ | ||
cdk.Annotations.of(scope).addWarningV2('Gamelift:Fleet:AutorizeVpcPeering', [ | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. If we're going to schematize this, let's set a standard? This one uses a 3-part warning, the one below uses a 2-part warning. If we take a cue from the feature flags, which this feels a bit similar to, maybe the flag format is something like There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. yeah I like this format better |
||
'To authorize the VPC peering, call the GameLift service API CreateVpcPeeringAuthorization() or use the AWS CLI command create-vpc-peering-authorization.', | ||
'Make this call using the account that manages your non-GameLift resources.', | ||
'See: https://docs.aws.amazon.com/gamelift/latest/developerguide/vpc-peering.html', | ||
].join('\n')); | ||
} | ||
} | ||
} |
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.
Need a second opinion on this