Skip to content

Commit

Permalink
test alarms in csr-development env
Browse files Browse the repository at this point in the history
  • Loading branch information
robertsweetman committed Oct 23, 2023
1 parent 47b61c6 commit 6c262f0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ locals {
user_data_raw = base64encode(file("./templates/test-user-data.yaml"))
instance_profile_policies = concat(module.baseline_presets.ec2_instance.config.default.instance_profile_policies, ["CSRWebServerPolicy"])
})

cloudwatch_metric_alarms = local.app_ec2_cloudwatch_metric_alarms
instance = merge(module.baseline_presets.ec2_instance.instance.default, {
vpc_security_group_ids = ["app", "domain", "jumpserver"]
instance_type = "t3.medium"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -246,13 +246,12 @@ locals {
baseline_ec2_autoscaling_groups = {
pp-web-tst-1 = {
config = merge(module.baseline_presets.ec2_instance.config.default, {
ami_name = "hmpps_windows_server_2022_release_2023-*" # Microsoft Windows Server 2019 Base
ami_name = "hmpps_windows_server_2022_release_2023-*" # Microsoft Windows Server 2022 Base
ami_owner = "754260907303"
ebs_volumes_copy_all_from_ami = false
user_data_raw = base64encode(file("./templates/test-user-data.yaml"))
instance_profile_policies = concat(module.baseline_presets.ec2_instance.config.default.instance_profile_policies, ["CSRWebServerPolicy"])
})
cloudwatch_metric_alarms = local.web_ec2_cloudwatch_metric_alarms

instance = merge(module.baseline_presets.ec2_instance.instance.default, {
vpc_security_group_ids = ["web", "domain", "jumpserver"]
Expand Down

0 comments on commit 6c262f0

Please sign in to comment.