Skip to content

Commit

Permalink
added default instance type
Browse files Browse the repository at this point in the history
  • Loading branch information
tkjwa committed Apr 3, 2023
1 parent 6dbcc61 commit 25fdde7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions environment.tf
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,12 @@ resource "aws_elastic_beanstalk_environment" "beanstalk_env" {
value = "PT5M"
}

setting {
namespace = "aws:ec2:instances"
name = "InstanceTypes"
value = var.instance_type
}

setting {
namespace = "aws:ec2:vpc"
name = "VPCId"
Expand Down
2 changes: 1 addition & 1 deletion variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ variable "solution_stack_name" {
variable "instance_type" {
type = string
description = "An AWS instance type to use for the environment. Defaults to t4g.small for production environments and t4g.micro for non-production environments"
default = null
default = "t4g.micro"
}

variable "profile_permissions_boundary_arn" {
Expand Down

0 comments on commit 25fdde7

Please sign in to comment.