Skip to content

Commit

Permalink
add health_check_grace_period
Browse files Browse the repository at this point in the history
  • Loading branch information
sandrampeter committed Jun 1, 2024
1 parent 8aebf40 commit 878be58
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
18 changes: 18 additions & 0 deletions examples/standalone-aurora/data.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: MPL-2.0

data "aws_ami" "ubuntu" {
most_recent = true

filter {
name = "name"
values = ["ubuntu/images/hvm-ssd/ubuntu-focal-20.04-amd64-server-*"]
}

filter {
name = "virtualization-type"
values = ["hvm"]
}

owners = ["099720109477"] # Canonical
}
3 changes: 3 additions & 0 deletions examples/standalone-aurora/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ module "standalone_aurora" {
aurora_db_password = var.aurora_db_password
aurora_db_username = var.aurora_db_username

ami_id = data.aws_ami.ubuntu.id
bypass_preflight_checks = true
health_check_grace_period = 3000
iact_subnet_list = ["0.0.0.0/0"]
iam_role_policy_arns = ["arn:aws:iam::aws:policy/AmazonSSMManagedInstanceCore", "arn:aws:iam::aws:policy/AmazonS3ReadOnlyAccess"]
instance_type = "m5.4xlarge"
Expand Down

0 comments on commit 878be58

Please sign in to comment.