Skip to content

Commit 3c696e6

Browse files
authored
[feat] Add CloudWatch Alarms (#257)
1 parent b47191e commit 3c696e6

11 files changed

Lines changed: 801 additions & 215 deletions

File tree

Cargo.lock

Lines changed: 11 additions & 161 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ci_template.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -520,6 +520,7 @@ Resources:
520520
- "cloudformation:SignalResource"
521521
- "cloudwatch:DeleteAlarms"
522522
- "cloudwatch:DescribeAlarms"
523+
- "cloudwatch:PutCompositeAlarm"
523524
- "cloudwatch:PutMetricAlarm"
524525
- "cloudwatch:PutMetricData"
525526
- "cloudwatch:TagResource"
@@ -832,6 +833,7 @@ Resources:
832833
"pHostedZoneId": "${pHostedZoneId}",
833834
"pDomainName": "${pDomainName}",
834835
"pInstanceRoleName": "${rInstanceRole}",
836+
"pPermissionsBoundaryArn": "${rPermissionsBoundary}",
835837
"pArtifactBucketName": {
836838
"Fn::GetArtifactAtt": [
837839
"VaultBuildOutput",
@@ -968,6 +970,15 @@ Resources:
968970
RunOrder: 2
969971
OnFailure:
970972
Result: ROLLBACK
973+
Tags:
974+
- Key: "aws-cloudformation:stack-name"
975+
Value: !Ref "AWS::StackName"
976+
- Key: "aws-cloudformation:stack-id"
977+
Value: !Ref "AWS::StackId"
978+
- Key: "aws-cloudformation:logical-id"
979+
Value: rCodePipeline
980+
- Key: AppManagerCFNStackKey
981+
Value: !Ref "AWS::StackName"
971982

972983
rCodeBuildRole:
973984
Type: "AWS::IAM::Role"

enclave/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,4 @@ zeroize = { version = "=1.8.2", default-features = false, features = ["zeroize_d
3636
mimalloc = { version = "=0.1.48", default-features = false, features = ["secure"] }
3737

3838
[dev-dependencies]
39-
proptest = { version = "1.4", default-features = false, features = ["std"] }
39+
proptest = { version = "=1.9.0", default-features = false, features = ["std"] }

parent/Cargo.toml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,7 @@ zeroize = { version = "=1.8.2", default-features = false, features = ["zeroize_d
3636
[dev-dependencies]
3737
tokio-test = { version = "=0.4.4", default-features = false }
3838
axum-test = { version = "=18.4.1", default-features = false }
39-
wiremock = { version = "=0.6.5", default-features = false }
40-
claim = { version = "=0.5.0", default-features = false }
41-
proptest = { version = "=1.6.0", default-features = false, features = ["std"] }
39+
proptest = { version = "=1.9.0", default-features = false, features = ["std"] }
4240

4341
# Clippy lints for no-panic Rust hardening
4442
# These help catch panic-prone patterns at compile time
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Seeds for failure cases proptest has generated in the past. It is
2+
# automatically read and these particular cases re-run before any
3+
# novel cases are generated.
4+
#
5+
# It is recommended to check this file in to source control so that
6+
# everyone who runs the test benefits from these saved cases.
7+
cc 51f4bcbec5039f1d26dbaec5897a4abee6274f8c877b1424f4beb866d5cf07e1 # shrinks to error = ConfigError("")

0 commit comments

Comments
 (0)